Best JavaScript code snippet using ava
index.d.ts
Source:index.d.ts
1export declare const ElMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{2 readonly mode: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "vertical", boolean>;3 readonly defaultActive: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;4 readonly defaultOpeneds: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;5 readonly uniqueOpened: BooleanConstructor;6 readonly router: BooleanConstructor;7 readonly menuTrigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;8 readonly collapse: BooleanConstructor;9 readonly backgroundColor: StringConstructor;10 readonly textColor: StringConstructor;11 readonly activeTextColor: StringConstructor;12 readonly collapseTransition: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;13 readonly ellipsis: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;14}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {15 [key: string]: any;16}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {17 close: (index: string, indexPath: string[]) => boolean;18 open: (index: string, indexPath: string[]) => boolean;19 select: (index: string, indexPath: string[], item: import("./src/types").MenuItemClicked, routerResult?: Promise<void | import("vue-router").NavigationFailure> | undefined) => boolean;20}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{21 readonly mode: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "vertical", boolean>;22 readonly defaultActive: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;23 readonly defaultOpeneds: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;24 readonly uniqueOpened: BooleanConstructor;25 readonly router: BooleanConstructor;26 readonly menuTrigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;27 readonly collapse: BooleanConstructor;28 readonly backgroundColor: StringConstructor;29 readonly textColor: StringConstructor;30 readonly activeTextColor: StringConstructor;31 readonly collapseTransition: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;32 readonly ellipsis: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;33}>> & {34 onClose?: ((index: string, indexPath: string[]) => any) | undefined;35 onSelect?: ((index: string, indexPath: string[], item: import("./src/types").MenuItemClicked, routerResult?: Promise<void | import("vue-router").NavigationFailure> | undefined) => any) | undefined;36 onOpen?: ((index: string, indexPath: string[]) => any) | undefined;37}, {38 readonly ellipsis: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;39 readonly collapse: boolean;40 readonly mode: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;41 readonly defaultActive: string;42 readonly defaultOpeneds: string[];43 readonly menuTrigger: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>;44 readonly collapseTransition: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;45 readonly uniqueOpened: boolean;46 readonly router: boolean;47}>> & {48 MenuItem: import("vue").DefineComponent<{49 readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown, null, boolean>;50 readonly route: {51 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;52 readonly required: false;53 readonly validator: ((val: unknown) => boolean) | undefined;54 __epPropKey: true;55 };56 readonly disabled: BooleanConstructor;57 }, {58 Effect: {59 LIGHT: string;60 DARK: string;61 };62 parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;63 rootMenu: import("./src/types").MenuProvider;64 active: import("vue").ComputedRef<boolean>;65 nsMenu: {66 namespace: import("vue").ComputedRef<string>;67 b: (blockSuffix?: string) => string;68 e: (element?: string | undefined) => string;69 m: (modifier?: string | undefined) => string;70 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;71 em: (element?: string | undefined, modifier?: string | undefined) => string;72 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;73 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;74 is: {75 (name: string, state: boolean | undefined): string;76 (name: string): string;77 };78 cssVar: (object: Record<string, string>) => Record<string, string>;79 cssVarName: (name: string) => string;80 cssVarBlock: (object: Record<string, string>) => Record<string, string>;81 cssVarBlockName: (name: string) => string;82 };83 nsMenuItem: {84 namespace: import("vue").ComputedRef<string>;85 b: (blockSuffix?: string) => string;86 e: (element?: string | undefined) => string;87 m: (modifier?: string | undefined) => string;88 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;89 em: (element?: string | undefined, modifier?: string | undefined) => string;90 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;91 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;92 is: {93 (name: string, state: boolean | undefined): string;94 (name: string): string;95 };96 cssVar: (object: Record<string, string>) => Record<string, string>;97 cssVarName: (name: string) => string;98 cssVarBlock: (object: Record<string, string>) => Record<string, string>;99 cssVarBlockName: (name: string) => string;100 };101 handleClick: () => void;102 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {103 click: (item: import("./src/types").MenuItemRegistered) => boolean;104 }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{105 readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown, null, boolean>;106 readonly route: {107 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;108 readonly required: false;109 readonly validator: ((val: unknown) => boolean) | undefined;110 __epPropKey: true;111 };112 readonly disabled: BooleanConstructor;113 }>> & {114 onClick?: ((item: import("./src/types").MenuItemRegistered) => any) | undefined;115 }, {116 readonly disabled: boolean;117 readonly index: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;118 }>;119 MenuItemGroup: import("vue").DefineComponent<{120 readonly title: StringConstructor;121 }, {122 ns: {123 namespace: import("vue").ComputedRef<string>;124 b: (blockSuffix?: string) => string;125 e: (element?: string | undefined) => string;126 m: (modifier?: string | undefined) => string;127 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;128 em: (element?: string | undefined, modifier?: string | undefined) => string;129 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;130 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;131 is: {132 (name: string, state: boolean | undefined): string;133 (name: string): string;134 };135 cssVar: (object: Record<string, string>) => Record<string, string>;136 cssVarName: (name: string) => string;137 cssVarBlock: (object: Record<string, string>) => Record<string, string>;138 cssVarBlockName: (name: string) => string;139 };140 }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{141 readonly title: StringConstructor;142 }>>, {}>;143 SubMenu: import("vue").DefineComponent<{144 readonly index: {145 readonly type: import("vue").PropType<string>;146 readonly required: true;147 readonly validator: ((val: unknown) => boolean) | undefined;148 __epPropKey: true;149 };150 readonly showTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;151 readonly hideTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;152 readonly popperClass: StringConstructor;153 readonly disabled: BooleanConstructor;154 readonly popperAppendToBody: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;155 readonly popperOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;156 readonly expandCloseIcon: {157 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {158 [key: string]: any;159 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {160 [key: string]: any;161 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {162 [key: string]: any;163 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {164 [key: string]: any;165 }>)))[], unknown, unknown>>;166 readonly required: false;167 readonly validator: ((val: unknown) => boolean) | undefined;168 __epPropKey: true;169 };170 readonly expandOpenIcon: {171 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {172 [key: string]: any;173 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {174 [key: string]: any;175 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {176 [key: string]: any;177 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {178 [key: string]: any;179 }>)))[], unknown, unknown>>;180 readonly required: false;181 readonly validator: ((val: unknown) => boolean) | undefined;182 __epPropKey: true;183 };184 readonly collapseCloseIcon: {185 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {186 [key: string]: any;187 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {188 [key: string]: any;189 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {190 [key: string]: any;191 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {192 [key: string]: any;193 }>)))[], unknown, unknown>>;194 readonly required: false;195 readonly validator: ((val: unknown) => boolean) | undefined;196 __epPropKey: true;197 };198 readonly collapseOpenIcon: {199 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {200 [key: string]: any;201 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {202 [key: string]: any;203 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {204 [key: string]: any;205 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {206 [key: string]: any;207 }>)))[], unknown, unknown>>;208 readonly required: false;209 readonly validator: ((val: unknown) => boolean) | undefined;210 __epPropKey: true;211 };212 }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {213 [key: string]: any;214 }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{215 readonly index: {216 readonly type: import("vue").PropType<string>;217 readonly required: true;218 readonly validator: ((val: unknown) => boolean) | undefined;219 __epPropKey: true;220 };221 readonly showTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;222 readonly hideTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;223 readonly popperClass: StringConstructor;224 readonly disabled: BooleanConstructor;225 readonly popperAppendToBody: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;226 readonly popperOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;227 readonly expandCloseIcon: {228 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {229 [key: string]: any;230 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {231 [key: string]: any;232 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {233 [key: string]: any;234 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {235 [key: string]: any;236 }>)))[], unknown, unknown>>;237 readonly required: false;238 readonly validator: ((val: unknown) => boolean) | undefined;239 __epPropKey: true;240 };241 readonly expandOpenIcon: {242 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {243 [key: string]: any;244 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {245 [key: string]: any;246 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {247 [key: string]: any;248 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {249 [key: string]: any;250 }>)))[], unknown, unknown>>;251 readonly required: false;252 readonly validator: ((val: unknown) => boolean) | undefined;253 __epPropKey: true;254 };255 readonly collapseCloseIcon: {256 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {257 [key: string]: any;258 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {259 [key: string]: any;260 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {261 [key: string]: any;262 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {263 [key: string]: any;264 }>)))[], unknown, unknown>>;265 readonly required: false;266 readonly validator: ((val: unknown) => boolean) | undefined;267 __epPropKey: true;268 };269 readonly collapseOpenIcon: {270 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {271 [key: string]: any;272 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {273 [key: string]: any;274 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {275 [key: string]: any;276 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {277 [key: string]: any;278 }>)))[], unknown, unknown>>;279 readonly required: false;280 readonly validator: ((val: unknown) => boolean) | undefined;281 __epPropKey: true;282 };283 }>>, {284 readonly disabled: boolean;285 readonly showTimeout: number;286 readonly hideTimeout: number;287 readonly popperAppendToBody: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;288 readonly popperOffset: number;289 }>;290};291export default ElMenu;292export declare const ElMenuItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{293 readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown, null, boolean>;294 readonly route: {295 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;296 readonly required: false;297 readonly validator: ((val: unknown) => boolean) | undefined;298 __epPropKey: true;299 };300 readonly disabled: BooleanConstructor;301}, {302 Effect: {303 LIGHT: string;304 DARK: string;305 };306 parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;307 rootMenu: import("./src/types").MenuProvider;308 active: import("vue").ComputedRef<boolean>;309 nsMenu: {310 namespace: import("vue").ComputedRef<string>;311 b: (blockSuffix?: string) => string;312 e: (element?: string | undefined) => string;313 m: (modifier?: string | undefined) => string;314 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;315 em: (element?: string | undefined, modifier?: string | undefined) => string;316 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;317 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;318 is: {319 (name: string, state: boolean | undefined): string;320 (name: string): string;321 };322 cssVar: (object: Record<string, string>) => Record<string, string>;323 cssVarName: (name: string) => string;324 cssVarBlock: (object: Record<string, string>) => Record<string, string>;325 cssVarBlockName: (name: string) => string;326 };327 nsMenuItem: {328 namespace: import("vue").ComputedRef<string>;329 b: (blockSuffix?: string) => string;330 e: (element?: string | undefined) => string;331 m: (modifier?: string | undefined) => string;332 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;333 em: (element?: string | undefined, modifier?: string | undefined) => string;334 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;335 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;336 is: {337 (name: string, state: boolean | undefined): string;338 (name: string): string;339 };340 cssVar: (object: Record<string, string>) => Record<string, string>;341 cssVarName: (name: string) => string;342 cssVarBlock: (object: Record<string, string>) => Record<string, string>;343 cssVarBlockName: (name: string) => string;344 };345 handleClick: () => void;346}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {347 click: (item: import("./src/types").MenuItemRegistered) => boolean;348}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{349 readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown, null, boolean>;350 readonly route: {351 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;352 readonly required: false;353 readonly validator: ((val: unknown) => boolean) | undefined;354 __epPropKey: true;355 };356 readonly disabled: BooleanConstructor;357}>> & {358 onClick?: ((item: import("./src/types").MenuItemRegistered) => any) | undefined;359}, {360 readonly disabled: boolean;361 readonly index: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;362}>>;363export declare const ElMenuItemGroup: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{364 readonly title: StringConstructor;365}, {366 ns: {367 namespace: import("vue").ComputedRef<string>;368 b: (blockSuffix?: string) => string;369 e: (element?: string | undefined) => string;370 m: (modifier?: string | undefined) => string;371 be: (blockSuffix?: string | undefined, element?: string | undefined) => string;372 em: (element?: string | undefined, modifier?: string | undefined) => string;373 bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;374 bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;375 is: {376 (name: string, state: boolean | undefined): string;377 (name: string): string;378 };379 cssVar: (object: Record<string, string>) => Record<string, string>;380 cssVarName: (name: string) => string;381 cssVarBlock: (object: Record<string, string>) => Record<string, string>;382 cssVarBlockName: (name: string) => string;383 };384}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{385 readonly title: StringConstructor;386}>>, {}>>;387export declare const ElSubMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{388 readonly index: {389 readonly type: import("vue").PropType<string>;390 readonly required: true;391 readonly validator: ((val: unknown) => boolean) | undefined;392 __epPropKey: true;393 };394 readonly showTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;395 readonly hideTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;396 readonly popperClass: StringConstructor;397 readonly disabled: BooleanConstructor;398 readonly popperAppendToBody: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;399 readonly popperOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;400 readonly expandCloseIcon: {401 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {402 [key: string]: any;403 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {404 [key: string]: any;405 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {406 [key: string]: any;407 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {408 [key: string]: any;409 }>)))[], unknown, unknown>>;410 readonly required: false;411 readonly validator: ((val: unknown) => boolean) | undefined;412 __epPropKey: true;413 };414 readonly expandOpenIcon: {415 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {416 [key: string]: any;417 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {418 [key: string]: any;419 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {420 [key: string]: any;421 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {422 [key: string]: any;423 }>)))[], unknown, unknown>>;424 readonly required: false;425 readonly validator: ((val: unknown) => boolean) | undefined;426 __epPropKey: true;427 };428 readonly collapseCloseIcon: {429 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {430 [key: string]: any;431 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {432 [key: string]: any;433 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {434 [key: string]: any;435 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {436 [key: string]: any;437 }>)))[], unknown, unknown>>;438 readonly required: false;439 readonly validator: ((val: unknown) => boolean) | undefined;440 __epPropKey: true;441 };442 readonly collapseOpenIcon: {443 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {444 [key: string]: any;445 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {446 [key: string]: any;447 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {448 [key: string]: any;449 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {450 [key: string]: any;451 }>)))[], unknown, unknown>>;452 readonly required: false;453 readonly validator: ((val: unknown) => boolean) | undefined;454 __epPropKey: true;455 };456}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {457 [key: string]: any;458}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{459 readonly index: {460 readonly type: import("vue").PropType<string>;461 readonly required: true;462 readonly validator: ((val: unknown) => boolean) | undefined;463 __epPropKey: true;464 };465 readonly showTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;466 readonly hideTimeout: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;467 readonly popperClass: StringConstructor;468 readonly disabled: BooleanConstructor;469 readonly popperAppendToBody: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;470 readonly popperOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;471 readonly expandCloseIcon: {472 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {473 [key: string]: any;474 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {475 [key: string]: any;476 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {477 [key: string]: any;478 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {479 [key: string]: any;480 }>)))[], unknown, unknown>>;481 readonly required: false;482 readonly validator: ((val: unknown) => boolean) | undefined;483 __epPropKey: true;484 };485 readonly expandOpenIcon: {486 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {487 [key: string]: any;488 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {489 [key: string]: any;490 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {491 [key: string]: any;492 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {493 [key: string]: any;494 }>)))[], unknown, unknown>>;495 readonly required: false;496 readonly validator: ((val: unknown) => boolean) | undefined;497 __epPropKey: true;498 };499 readonly collapseCloseIcon: {500 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {501 [key: string]: any;502 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {503 [key: string]: any;504 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {505 [key: string]: any;506 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {507 [key: string]: any;508 }>)))[], unknown, unknown>>;509 readonly required: false;510 readonly validator: ((val: unknown) => boolean) | undefined;511 __epPropKey: true;512 };513 readonly collapseOpenIcon: {514 readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {515 [key: string]: any;516 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {517 [key: string]: any;518 }>)) | ((new (...args: any[]) => (import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {519 [key: string]: any;520 }>)) & {}) | (() => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {521 [key: string]: any;522 }>)))[], unknown, unknown>>;523 readonly required: false;524 readonly validator: ((val: unknown) => boolean) | undefined;525 __epPropKey: true;526 };527}>>, {528 readonly disabled: boolean;529 readonly showTimeout: number;530 readonly hideTimeout: number;531 readonly popperAppendToBody: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;532 readonly popperOffset: number;533}>>;534export * from './src/menu';535export * from './src/menu-item';536export * from './src/menu-item-group';537export * from './src/sub-menu';...
eslint-plugin-import_vx.x.x.js
Source:eslint-plugin-import_vx.x.x.js
1// flow-typed signature: ecd93511f5976b017b974bfcad75b0a52// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.22.1/flow_v0.147.03/**4 * This is an autogenerated libdef stub for:5 *6 * 'eslint-plugin-import'7 *8 * Fill this stub out by replacing all the `any` types.9 *10 * Once filled out, we encourage you to share your work with the11 * community by sending a pull request to:12 * https://github.com/flowtype/flow-typed13 */14declare module 'eslint-plugin-import' {15 declare module.exports: any;16}17/**18 * We include stubs for each file inside this npm package in case you need to19 * require those files directly. Feel free to delete any files that aren't20 * needed.21 */22declare module 'eslint-plugin-import/config/electron' {23 declare module.exports: any;24}25declare module 'eslint-plugin-import/config/errors' {26 declare module.exports: any;27}28declare module 'eslint-plugin-import/config/react-native' {29 declare module.exports: any;30}31declare module 'eslint-plugin-import/config/react' {32 declare module.exports: any;33}34declare module 'eslint-plugin-import/config/recommended' {35 declare module.exports: any;36}37declare module 'eslint-plugin-import/config/stage-0' {38 declare module.exports: any;39}40declare module 'eslint-plugin-import/config/typescript' {41 declare module.exports: any;42}43declare module 'eslint-plugin-import/config/warnings' {44 declare module.exports: any;45}46declare module 'eslint-plugin-import/lib/core/importType' {47 declare module.exports: any;48}49declare module 'eslint-plugin-import/lib/core/staticRequire' {50 declare module.exports: any;51}52declare module 'eslint-plugin-import/lib/docsUrl' {53 declare module.exports: any;54}55declare module 'eslint-plugin-import/lib/ExportMap' {56 declare module.exports: any;57}58declare module 'eslint-plugin-import/lib/importDeclaration' {59 declare module.exports: any;60}61declare module 'eslint-plugin-import/lib' {62 declare module.exports: any;63}64declare module 'eslint-plugin-import/lib/rules/default' {65 declare module.exports: any;66}67declare module 'eslint-plugin-import/lib/rules/dynamic-import-chunkname' {68 declare module.exports: any;69}70declare module 'eslint-plugin-import/lib/rules/export' {71 declare module.exports: any;72}73declare module 'eslint-plugin-import/lib/rules/exports-last' {74 declare module.exports: any;75}76declare module 'eslint-plugin-import/lib/rules/extensions' {77 declare module.exports: any;78}79declare module 'eslint-plugin-import/lib/rules/first' {80 declare module.exports: any;81}82declare module 'eslint-plugin-import/lib/rules/group-exports' {83 declare module.exports: any;84}85declare module 'eslint-plugin-import/lib/rules/imports-first' {86 declare module.exports: any;87}88declare module 'eslint-plugin-import/lib/rules/max-dependencies' {89 declare module.exports: any;90}91declare module 'eslint-plugin-import/lib/rules/named' {92 declare module.exports: any;93}94declare module 'eslint-plugin-import/lib/rules/namespace' {95 declare module.exports: any;96}97declare module 'eslint-plugin-import/lib/rules/newline-after-import' {98 declare module.exports: any;99}100declare module 'eslint-plugin-import/lib/rules/no-absolute-path' {101 declare module.exports: any;102}103declare module 'eslint-plugin-import/lib/rules/no-amd' {104 declare module.exports: any;105}106declare module 'eslint-plugin-import/lib/rules/no-anonymous-default-export' {107 declare module.exports: any;108}109declare module 'eslint-plugin-import/lib/rules/no-commonjs' {110 declare module.exports: any;111}112declare module 'eslint-plugin-import/lib/rules/no-cycle' {113 declare module.exports: any;114}115declare module 'eslint-plugin-import/lib/rules/no-default-export' {116 declare module.exports: any;117}118declare module 'eslint-plugin-import/lib/rules/no-deprecated' {119 declare module.exports: any;120}121declare module 'eslint-plugin-import/lib/rules/no-duplicates' {122 declare module.exports: any;123}124declare module 'eslint-plugin-import/lib/rules/no-dynamic-require' {125 declare module.exports: any;126}127declare module 'eslint-plugin-import/lib/rules/no-extraneous-dependencies' {128 declare module.exports: any;129}130declare module 'eslint-plugin-import/lib/rules/no-internal-modules' {131 declare module.exports: any;132}133declare module 'eslint-plugin-import/lib/rules/no-mutable-exports' {134 declare module.exports: any;135}136declare module 'eslint-plugin-import/lib/rules/no-named-as-default-member' {137 declare module.exports: any;138}139declare module 'eslint-plugin-import/lib/rules/no-named-as-default' {140 declare module.exports: any;141}142declare module 'eslint-plugin-import/lib/rules/no-named-default' {143 declare module.exports: any;144}145declare module 'eslint-plugin-import/lib/rules/no-named-export' {146 declare module.exports: any;147}148declare module 'eslint-plugin-import/lib/rules/no-namespace' {149 declare module.exports: any;150}151declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules' {152 declare module.exports: any;153}154declare module 'eslint-plugin-import/lib/rules/no-relative-parent-imports' {155 declare module.exports: any;156}157declare module 'eslint-plugin-import/lib/rules/no-restricted-paths' {158 declare module.exports: any;159}160declare module 'eslint-plugin-import/lib/rules/no-self-import' {161 declare module.exports: any;162}163declare module 'eslint-plugin-import/lib/rules/no-unassigned-import' {164 declare module.exports: any;165}166declare module 'eslint-plugin-import/lib/rules/no-unresolved' {167 declare module.exports: any;168}169declare module 'eslint-plugin-import/lib/rules/no-unused-modules' {170 declare module.exports: any;171}172declare module 'eslint-plugin-import/lib/rules/no-useless-path-segments' {173 declare module.exports: any;174}175declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax' {176 declare module.exports: any;177}178declare module 'eslint-plugin-import/lib/rules/order' {179 declare module.exports: any;180}181declare module 'eslint-plugin-import/lib/rules/prefer-default-export' {182 declare module.exports: any;183}184declare module 'eslint-plugin-import/lib/rules/unambiguous' {185 declare module.exports: any;186}187declare module 'eslint-plugin-import/memo-parser' {188 declare module.exports: any;189}190// Filename aliases191declare module 'eslint-plugin-import/config/electron.js' {192 declare module.exports: $Exports<'eslint-plugin-import/config/electron'>;193}194declare module 'eslint-plugin-import/config/errors.js' {195 declare module.exports: $Exports<'eslint-plugin-import/config/errors'>;196}197declare module 'eslint-plugin-import/config/react-native.js' {198 declare module.exports: $Exports<'eslint-plugin-import/config/react-native'>;199}200declare module 'eslint-plugin-import/config/react.js' {201 declare module.exports: $Exports<'eslint-plugin-import/config/react'>;202}203declare module 'eslint-plugin-import/config/recommended.js' {204 declare module.exports: $Exports<'eslint-plugin-import/config/recommended'>;205}206declare module 'eslint-plugin-import/config/stage-0.js' {207 declare module.exports: $Exports<'eslint-plugin-import/config/stage-0'>;208}209declare module 'eslint-plugin-import/config/typescript.js' {210 declare module.exports: $Exports<'eslint-plugin-import/config/typescript'>;211}212declare module 'eslint-plugin-import/config/warnings.js' {213 declare module.exports: $Exports<'eslint-plugin-import/config/warnings'>;214}215declare module 'eslint-plugin-import/lib/core/importType.js' {216 declare module.exports: $Exports<'eslint-plugin-import/lib/core/importType'>;217}218declare module 'eslint-plugin-import/lib/core/staticRequire.js' {219 declare module.exports: $Exports<'eslint-plugin-import/lib/core/staticRequire'>;220}221declare module 'eslint-plugin-import/lib/docsUrl.js' {222 declare module.exports: $Exports<'eslint-plugin-import/lib/docsUrl'>;223}224declare module 'eslint-plugin-import/lib/ExportMap.js' {225 declare module.exports: $Exports<'eslint-plugin-import/lib/ExportMap'>;226}227declare module 'eslint-plugin-import/lib/importDeclaration.js' {228 declare module.exports: $Exports<'eslint-plugin-import/lib/importDeclaration'>;229}230declare module 'eslint-plugin-import/lib/index' {231 declare module.exports: $Exports<'eslint-plugin-import/lib'>;232}233declare module 'eslint-plugin-import/lib/index.js' {234 declare module.exports: $Exports<'eslint-plugin-import/lib'>;235}236declare module 'eslint-plugin-import/lib/rules/default.js' {237 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/default'>;238}239declare module 'eslint-plugin-import/lib/rules/dynamic-import-chunkname.js' {240 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/dynamic-import-chunkname'>;241}242declare module 'eslint-plugin-import/lib/rules/export.js' {243 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/export'>;244}245declare module 'eslint-plugin-import/lib/rules/exports-last.js' {246 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/exports-last'>;247}248declare module 'eslint-plugin-import/lib/rules/extensions.js' {249 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/extensions'>;250}251declare module 'eslint-plugin-import/lib/rules/first.js' {252 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/first'>;253}254declare module 'eslint-plugin-import/lib/rules/group-exports.js' {255 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/group-exports'>;256}257declare module 'eslint-plugin-import/lib/rules/imports-first.js' {258 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/imports-first'>;259}260declare module 'eslint-plugin-import/lib/rules/max-dependencies.js' {261 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/max-dependencies'>;262}263declare module 'eslint-plugin-import/lib/rules/named.js' {264 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/named'>;265}266declare module 'eslint-plugin-import/lib/rules/namespace.js' {267 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/namespace'>;268}269declare module 'eslint-plugin-import/lib/rules/newline-after-import.js' {270 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/newline-after-import'>;271}272declare module 'eslint-plugin-import/lib/rules/no-absolute-path.js' {273 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-absolute-path'>;274}275declare module 'eslint-plugin-import/lib/rules/no-amd.js' {276 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-amd'>;277}278declare module 'eslint-plugin-import/lib/rules/no-anonymous-default-export.js' {279 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-anonymous-default-export'>;280}281declare module 'eslint-plugin-import/lib/rules/no-commonjs.js' {282 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-commonjs'>;283}284declare module 'eslint-plugin-import/lib/rules/no-cycle.js' {285 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-cycle'>;286}287declare module 'eslint-plugin-import/lib/rules/no-default-export.js' {288 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-default-export'>;289}290declare module 'eslint-plugin-import/lib/rules/no-deprecated.js' {291 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-deprecated'>;292}293declare module 'eslint-plugin-import/lib/rules/no-duplicates.js' {294 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-duplicates'>;295}296declare module 'eslint-plugin-import/lib/rules/no-dynamic-require.js' {297 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-dynamic-require'>;298}299declare module 'eslint-plugin-import/lib/rules/no-extraneous-dependencies.js' {300 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-extraneous-dependencies'>;301}302declare module 'eslint-plugin-import/lib/rules/no-internal-modules.js' {303 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-internal-modules'>;304}305declare module 'eslint-plugin-import/lib/rules/no-mutable-exports.js' {306 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-mutable-exports'>;307}308declare module 'eslint-plugin-import/lib/rules/no-named-as-default-member.js' {309 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-as-default-member'>;310}311declare module 'eslint-plugin-import/lib/rules/no-named-as-default.js' {312 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-as-default'>;313}314declare module 'eslint-plugin-import/lib/rules/no-named-default.js' {315 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-default'>;316}317declare module 'eslint-plugin-import/lib/rules/no-named-export.js' {318 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-export'>;319}320declare module 'eslint-plugin-import/lib/rules/no-namespace.js' {321 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-namespace'>;322}323declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules.js' {324 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-nodejs-modules'>;325}326declare module 'eslint-plugin-import/lib/rules/no-relative-parent-imports.js' {327 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-relative-parent-imports'>;328}329declare module 'eslint-plugin-import/lib/rules/no-restricted-paths.js' {330 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-restricted-paths'>;331}332declare module 'eslint-plugin-import/lib/rules/no-self-import.js' {333 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-self-import'>;334}335declare module 'eslint-plugin-import/lib/rules/no-unassigned-import.js' {336 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unassigned-import'>;337}338declare module 'eslint-plugin-import/lib/rules/no-unresolved.js' {339 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unresolved'>;340}341declare module 'eslint-plugin-import/lib/rules/no-unused-modules.js' {342 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unused-modules'>;343}344declare module 'eslint-plugin-import/lib/rules/no-useless-path-segments.js' {345 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-useless-path-segments'>;346}347declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js' {348 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-webpack-loader-syntax'>;349}350declare module 'eslint-plugin-import/lib/rules/order.js' {351 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/order'>;352}353declare module 'eslint-plugin-import/lib/rules/prefer-default-export.js' {354 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/prefer-default-export'>;355}356declare module 'eslint-plugin-import/lib/rules/unambiguous.js' {357 declare module.exports: $Exports<'eslint-plugin-import/lib/rules/unambiguous'>;358}359declare module 'eslint-plugin-import/memo-parser/index' {360 declare module.exports: $Exports<'eslint-plugin-import/memo-parser'>;361}362declare module 'eslint-plugin-import/memo-parser/index.js' {363 declare module.exports: $Exports<'eslint-plugin-import/memo-parser'>;...
three.source.unit.js
Source:three.source.unit.js
1/**2 * @author TristanVALCKE / https://github.com/Itee3 */4import './utils/qunit-utils.js';5//src6import './src/constants.tests';7import './src/polyfills.tests';8import './src/utils.tests';9//src/animation10import './src/animation/AnimationAction.tests';11import './src/animation/AnimationClip.tests';12import './src/animation/AnimationMixer.tests';13import './src/animation/AnimationObjectGroup.tests';14import './src/animation/AnimationUtils.tests';15import './src/animation/KeyframeTrack.tests';16import './src/animation/PropertyBinding.tests';17import './src/animation/PropertyMixer.tests';18//src/animation/tracks19import './src/animation/tracks/BooleanKeyframeTrack.tests';20import './src/animation/tracks/ColorKeyframeTrack.tests';21import './src/animation/tracks/NumberKeyframeTrack.tests';22import './src/animation/tracks/QuaternionKeyframeTrack.tests';23import './src/animation/tracks/StringKeyframeTrack.tests';24import './src/animation/tracks/VectorKeyframeTrack.tests';25//src/audio26import './src/audio/Audio.tests';27import './src/audio/AudioAnalyser.tests';28import './src/audio/AudioContext.tests';29import './src/audio/AudioListener.tests';30import './src/audio/PositionalAudio.tests';31//src/cameras32import './src/cameras/ArrayCamera.tests';33import './src/cameras/Camera.tests';34import './src/cameras/CubeCamera.tests';35import './src/cameras/OrthographicCamera.tests';36import './src/cameras/PerspectiveCamera.tests';37import './src/cameras/StereoCamera.tests';38//src/core39import './src/core/BufferAttribute.tests';40import './src/core/BufferGeometry.tests';41import './src/core/Clock.tests';42import './src/core/DirectGeometry.tests';43import './src/core/EventDispatcher.tests';44import './src/core/Face3.tests';45import './src/core/Geometry.tests';46import './src/core/InstancedBufferAttribute.tests';47import './src/core/InstancedBufferGeometry.tests';48import './src/core/InstancedInterleavedBuffer.tests';49import './src/core/InterleavedBuffer.tests';50import './src/core/InterleavedBufferAttribute.tests';51import './src/core/Layers.tests';52import './src/core/Object3D.tests';53import './src/core/Raycaster.tests';54import './src/core/Uniform.tests';55//src/extras56import './src/extras/ShapeUtils.tests';57//src/extras/core58import './src/extras/core/Curve.tests';59import './src/extras/core/CurvePath.tests';60import './src/extras/core/Font.tests';61import './src/extras/core/Interpolations.tests';62import './src/extras/core/Path.tests';63import './src/extras/core/Shape.tests';64import './src/extras/core/ShapePath.tests';65//src/extras/curves66import './src/extras/curves/ArcCurve.tests';67import './src/extras/curves/CatmullRomCurve3.tests';68import './src/extras/curves/CubicBezierCurve.tests';69import './src/extras/curves/CubicBezierCurve3.tests';70import './src/extras/curves/EllipseCurve.tests';71import './src/extras/curves/LineCurve.tests';72import './src/extras/curves/LineCurve3.tests';73import './src/extras/curves/QuadraticBezierCurve.tests';74import './src/extras/curves/QuadraticBezierCurve3.tests';75import './src/extras/curves/SplineCurve.tests';76//src/extras/objects77import './src/extras/objects/ImmediateRenderObject.tests';78//src/geometries79import './src/geometries/BoxGeometry.tests';80import './src/geometries/CircleGeometry.tests';81import './src/geometries/ConeGeometry.tests';82import './src/geometries/CylinderGeometry.tests';83import './src/geometries/DodecahedronGeometry.tests';84import './src/geometries/EdgesGeometry.tests';85import './src/geometries/ExtrudeGeometry.tests';86import './src/geometries/IcosahedronGeometry.tests';87import './src/geometries/LatheGeometry.tests';88import './src/geometries/OctahedronGeometry.tests';89import './src/geometries/ParametricGeometry.tests';90import './src/geometries/PlaneGeometry.tests';91import './src/geometries/PolyhedronGeometry.tests';92import './src/geometries/RingGeometry.tests';93import './src/geometries/ShapeGeometry.tests';94import './src/geometries/SphereGeometry.tests';95import './src/geometries/TetrahedronGeometry.tests';96import './src/geometries/TextGeometry.tests';97import './src/geometries/TorusGeometry.tests';98import './src/geometries/TorusKnotGeometry.tests';99import './src/geometries/TubeGeometry.tests';100import './src/geometries/WireframeGeometry.tests';101//src/helpers102import './src/helpers/ArrowHelper.tests';103import './src/helpers/AxesHelper.tests';104import './src/helpers/Box3Helper.tests';105import './src/helpers/BoxHelper.tests';106import './src/helpers/CameraHelper.tests';107import './src/helpers/DirectionalLightHelper.tests';108import './src/helpers/GridHelper.tests';109import './src/helpers/HemisphereLightHelper.tests';110import './src/helpers/PlaneHelper.tests';111import './src/helpers/PointLightHelper.tests';112import './src/helpers/PolarGridHelper.tests';113import './src/helpers/SkeletonHelper.tests';114import './src/helpers/SpotLightHelper.tests';115//src/lights116import './src/lights/AmbientLight.tests';117import './src/lights/DirectionalLight.tests';118import './src/lights/DirectionalLightShadow.tests';119import './src/lights/HemisphereLight.tests';120import './src/lights/Light.tests';121import './src/lights/LightShadow.tests';122import './src/lights/PointLight.tests';123import './src/lights/RectAreaLight.tests';124import './src/lights/SpotLight.tests';125import './src/lights/SpotLightShadow.tests';126//src/loaders127import './src/loaders/AnimationLoader.tests';128import './src/loaders/AudioLoader.tests';129import './src/loaders/BufferGeometryLoader.tests';130import './src/loaders/Cache.tests';131import './src/loaders/CompressedTextureLoader.tests';132import './src/loaders/CubeTextureLoader.tests';133import './src/loaders/DataTextureLoader.tests';134import './src/loaders/FileLoader.tests';135import './src/loaders/FontLoader.tests';136import './src/loaders/ImageLoader.tests';137import './src/loaders/Loader.tests';138import './src/loaders/LoaderUtils.tests';139import './src/loaders/LoadingManager.tests';140import './src/loaders/MaterialLoader.tests';141import './src/loaders/ObjectLoader.tests';142import './src/loaders/TextureLoader.tests';143//src/materials144import './src/materials/LineBasicMaterial.tests';145import './src/materials/LineDashedMaterial.tests';146import './src/materials/Material.tests';147import './src/materials/MeshBasicMaterial.tests';148import './src/materials/MeshDepthMaterial.tests';149import './src/materials/MeshDistanceMaterial.tests';150import './src/materials/MeshLambertMaterial.tests';151import './src/materials/MeshNormalMaterial.tests';152import './src/materials/MeshPhongMaterial.tests';153import './src/materials/MeshPhysicalMaterial.tests';154import './src/materials/MeshStandardMaterial.tests';155import './src/materials/MeshToonMaterial.tests';156import './src/materials/PointsMaterial.tests';157import './src/materials/RawShaderMaterial.tests';158import './src/materials/ShaderMaterial.tests';159import './src/materials/ShadowMaterial.tests';160import './src/materials/SpriteMaterial.tests';161//src/math162import './src/math/Box2.tests';163import './src/math/Box3.tests';164import './src/math/Color.tests';165import './src/math/Cylindrical.tests';166import './src/math/Euler.tests';167import './src/math/Frustum.tests';168import './src/math/Interpolant.tests';169import './src/math/Line3.tests';170import './src/math/MathUtils.tests';171import './src/math/Matrix3.tests';172import './src/math/Matrix4.tests';173import './src/math/Plane.tests';174import './src/math/Quaternion.tests';175import './src/math/Ray.tests';176import './src/math/Sphere.tests';177import './src/math/Spherical.tests';178import './src/math/Triangle.tests';179import './src/math/Vector2.tests';180import './src/math/Vector3.tests';181import './src/math/Vector4.tests';182//src/math/interpolants183import './src/math/interpolants/CubicInterpolant.tests';184import './src/math/interpolants/DiscreteInterpolant.tests';185import './src/math/interpolants/LinearInterpolant.tests';186import './src/math/interpolants/QuaternionLinearInterpolant.tests';187//src/objects188import './src/objects/Bone.tests';189import './src/objects/Group.tests';190import './src/objects/Line.tests';191import './src/objects/LineLoop.tests';192import './src/objects/LineSegments.tests';193import './src/objects/LOD.tests';194import './src/objects/Mesh.tests';195import './src/objects/Points.tests';196import './src/objects/Skeleton.tests';197import './src/objects/SkinnedMesh.tests';198import './src/objects/Sprite.tests';199//src/renderers200import './src/renderers/WebGLRenderer.tests';201import './src/renderers/WebGLRenderTarget.tests';202import './src/renderers/WebGLCubeRenderTarget.tests';203//src/renderers/shaders204import './src/renderers/shaders/ShaderChunk.tests';205import './src/renderers/shaders/ShaderLib.tests';206import './src/renderers/shaders/UniformsLib.tests';207import './src/renderers/shaders/UniformsUtils.tests';208//src/renderers/webgl209import './src/renderers/webgl/WebGLAttributes.tests';210import './src/renderers/webgl/WebGLBackground.tests';211import './src/renderers/webgl/WebGLBufferRenderer.tests';212import './src/renderers/webgl/WebGLCapabilities.tests';213import './src/renderers/webgl/WebGLClipping.tests';214import './src/renderers/webgl/WebGLExtensions.tests';215import './src/renderers/webgl/WebGLGeometries.tests';216import './src/renderers/webgl/WebGLIndexedBufferRenderer.tests';217import './src/renderers/webgl/WebGLLights.tests';218import './src/renderers/webgl/WebGLMorphtargets.tests';219import './src/renderers/webgl/WebGLObjects.tests';220import './src/renderers/webgl/WebGLProgram.tests';221import './src/renderers/webgl/WebGLPrograms.tests';222import './src/renderers/webgl/WebGLProperties.tests';223import './src/renderers/webgl/WebGLRenderLists.tests';224import './src/renderers/webgl/WebGLShader.tests';225import './src/renderers/webgl/WebGLShadowMap.tests';226import './src/renderers/webgl/WebGLState.tests';227import './src/renderers/webgl/WebGLTextures.tests';228import './src/renderers/webgl/WebGLUniforms.tests';229import './src/renderers/webgl/WebGLUtils.tests';230//src/scenes231import './src/scenes/Fog.tests';232import './src/scenes/FogExp2.tests';233import './src/scenes/Scene.tests';234//src/textures235import './src/textures/CanvasTexture.tests';236import './src/textures/CompressedTexture.tests';237import './src/textures/CubeTexture.tests';238import './src/textures/DataTexture.tests';239import './src/textures/DepthTexture.tests';240import './src/textures/Texture.tests';...
icon.d.ts
Source:icon.d.ts
1import type { Component } from 'vue';2export declare const iconPropType: import("vue").PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;3export declare const CloseComponents: {4 Close: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;5};6export declare const TypeComponents: {7 Close: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;8 SuccessFilled: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;9 InfoFilled: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;10 WarningFilled: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;11 CircleCloseFilled: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;12};13export declare const TypeComponentsMap: {14 success: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;15 warning: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;16 error: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;17 info: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;18};19export declare const ValidateComponentsMap: {20 validating: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;21 success: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;22 error: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;...
pdp.ts
Source:pdp.ts
1// =============================================================================2// Product Details Page entry point3// It imports all the components required by PDP4// Each page type has own entry point containing required components.5// It allows optimizing bundles in webpack - which gathers common imports in separate package.6// It is a job of every component to initilize.7import 'config/base.scss';8// TODO: Remove this file when possible9import 'bundle.scss';10// =============================================================================11// Components12// =============================================================================13// Base components14import 'components/authorization-link';15import 'components/addtocart';16import 'components/autocomplete';17import 'components/breadcrumbs';18import 'components/button';19import 'components/container';20import 'components/cookie-message';21import 'components/display-controller';22import 'components/dropdown-switcher';23import 'components/field';24import 'components/footer';25import 'components/headline';26import 'components/header';27import 'components/lazyload';28import 'components/links-block-addto';29import 'components/logo';30import 'components/messages';31import 'components/minicart';32import 'components/minicart-product';33import 'components/free-shipping-indicator';34import 'components/modal';35import 'components/navigation';36import 'components/newsletter';37import 'components/offcanvas-toggle';38import 'components/offcanvas-navigation';39import 'components/offcanvas';40import 'components/page-title';41import 'components/page-bottom';42import 'components/price-box';43import 'components/product-tile';44import 'components/products-list';45import 'components/push-notification';46import 'components/qty-increment';47import 'components/slider';48import 'components/social-media-list';49import 'components/star-rating';50import 'components/swatches';51import 'components/topbar';52import 'components/typography';53import 'components/visually-hidden';54import 'components/select';55import 'components/product-navigation';56import 'components/pwa-notification';57import 'components/dailydeal';58import 'components/google-recaptcha';59import 'components/non-critical';60// PDP specific61import 'pages/product';62import 'components/bundle-box';63import 'components/buybox';64import 'components/form';65import 'components/indicators';66import 'components/product-gallery';67import 'components/product-details';68import 'components/review';69import 'components/reviews';70import 'components/reviews-summary';71import 'components/tabs';72import 'components/table';73import 'components/toolbar';74import 'components/captcha';75import 'customizations/plugincompany-contactforms/plugincompany-contactforms';76// Optional components - can be imported in child theme entry77// import 'components/tooltip';78// import 'components/tile-gallery';79// import 'components/reorder-banner';80// import 'components/ie11';81// import 'components/page-scroll';...
customer.ts
Source:customer.ts
1// =============================================================================2// Customer pages entry point3// It imports all the components required by pages in Customer area.4// Each page type has own entry point containing required components.5// It allows optimizing bundles in webpack - which gathers common imports in separate package.6// It is a job of every component to initilize itself.7import 'config/base.scss';8// TODO: Remove this file when possible9import 'bundle.scss';10// =============================================================================11// Components12// =============================================================================13// Base components14import 'components/authorization-link';15import 'components/addtocart';16import 'components/autocomplete';17import 'components/breadcrumbs';18import 'components/button';19import 'components/container';20import 'components/cookie-message';21import 'components/display-controller';22import 'components/dropdown-switcher';23import 'components/field';24import 'components/footer';25import 'components/grid-layout';26import 'components/headline';27import 'components/header';28import 'components/lazyload';29import 'components/links-block-addto';30import 'components/logo';31import 'components/messages';32import 'components/minicart';33import 'components/minicart-product';34import 'components/free-shipping-indicator';35import 'components/modal';36import 'components/navigation';37import 'components/newsletter';38import 'components/offcanvas-toggle';39import 'components/offcanvas-navigation';40import 'components/offcanvas';41import 'components/page-title';42import 'components/page-bottom';43import 'components/price-box';44import 'components/product-tile';45import 'components/products-list';46import 'components/push-notification';47import 'components/qty-increment';48import 'components/slider';49import 'components/social-media-list';50import 'components/star-rating';51import 'components/swatches';52import 'components/topbar';53import 'components/typography';54import 'components/visually-hidden';55import 'components/select';56import 'components/ie11-modal';57import 'components/pwa-notification';58import 'components/dailydeal';59import 'components/google-recaptcha';60import 'components/non-critical';61// Customer Area specific62import 'components/calendar';63import 'components/captcha';64import 'components/dashboard';65import 'components/form';66import 'components/password-strength-meter';67import 'components/review';68import 'components/reviews';69import 'components/reviews-summary';70import 'components/stack-nav';71import 'components/sticky-block';72import 'components/table';73import 'components/toolbar';74import 'components/latest-purchased-products';75import 'customizations/plugincompany-contactforms/plugincompany-contactforms';76// Optional components - can be imported in child theme entry77// import 'components/tooltip';78// import 'components/tile-gallery';79// import 'components/reorder-banner';...
Using AI Code Generation
1import test from 'ava';2const test = require('ava');3import test from 'ava';4const test = require('ava');5test('my passing test', t => {6 t.pass();7});8import test from 'ava';9test('my passing test', t => {10 t.pass();11});12test('my failing test', t => {13 t.fail();14});15import test from 'ava';16test.skip('my passing test', t => {17 t.pass();18});19test('my failing test', t => {20 t.fail();21});22import test from 'ava';23test.cb('my passing test', t => {24 setTimeout(() => {25 t.pass();26 t.end();27 }, 1000);28});29import test from 'ava';30test('my passing test', t => {31 return new Promise((resolve, reject) => {32 setTimeout(() => {33 resolve();34 }, 100
Using AI Code Generation
1import * as myMathModule from "math_functions";2myMathModule.add(2,3);3myMathModule.subtract(5,3);4export function add(x, y) {5 return x + y;6}7export function subtract(x, y) {8 return x - y;9}10export function multiply(x, y) {11 return x * y;12}13export function divide(x, y) {14 return x / y;15}16import { add } from "math_functions";17add(2,3);18import { add, subtract } from "math_functions";19add(2,3);20subtract(5,3);21export function add(x, y) {22 return x + y;23}24export function subtract(x, y) {25 return x - y;26}27export function multiply(x, y) {28 return x * y;29}30export function divide(x, y) {31 return x / y;32}33export default function(x, y) {34 return x - y;35}36import subtract from "math_functions";37subtract(7,4);38export function add(x, y) {39 return x + y;40}41export function subtract(x, y) {42 return x - y;43}44export function multiply(x, y) {45 return x * y;46}47export function divide(x, y) {48 return x / y;49}50export default function(x, y) {51 return x - y;52}53import { add, subtract, multiply, divide as divideFunc } from "math_functions";54add(2,3);55subtract(5,3);56multiply(2,3);57divideFunc(9,3);58export default {59 add: function(x, y) {60 return x + y;61 },62 subtract: function(x, y) {63 return x - y;64 },65 multiply: function(x, y) {66 return x * y;67 },68 divide: function(x, y) {69 return x / y;70 }71}
Using AI Code Generation
1import { add, subtract } from './math_functions.js';2add(2,3);3subtract(5,3);4export const add = (x, y) => {5 return x + y;6}7export const subtract = (x, y) => {8 return x - y;9}10import * as myMathModule from "./math_functions.js";11myMathModule.add(2,3);12myMathModule.subtract(5,3);13export {add, subtract};14import { add as addFunction, subtract as subtractFunction } from "./math_functions.js";15addFunction(2,3);16subtractFunction(5,3);17export {add as default, subtract};18import subtract from "./math_functions.js";19subtract(7,4);20export const uppercaseString = (string) => {21 return string.toUpperCase();22}23export const lowercaseString = (string) => {24 return string.toLowerCase()25}26import { uppercaseString, lowercaseString } from './math_functions.js';27uppercaseString("hello");28lowercaseString("WORLD!");29export const add = (x, y) => {30 return x + y;31}32import { add } from "./math_functions.js";33add(1,2);34export const add = (x, y) => {
Using AI Code Generation
1import {sum, pi} from './math.js';2const {sum, pi} = require('./math.js');3const math = require('./math.js');4const math = require('./math.js');5const {sum, pi} = require('./math.js');6const math = require('./math.js');7const {sum, pi} = require('./math.js');8const math = require('./math.js');9const {sum, pi} = require('./math.js');10const math = require('./math.js');
Using AI Code Generation
1import {myFunction} from './export.js';2import {myVar} from './export.js';3import {myClass} from './export.js';4import {myObject} from './export.js';5import {myArray} from './export.js';6import {myFunction2} from './export.js';7import {myVar2} from './export.js';8import {myClass2} from './export.js';9import {myObject2} from './export.js';10import {myArray2} from './export.js';11import {myFunction3} from './export.js';12import {myVar3} from './export.js';13import {myClass3} from './export.js';14import {myObject3} from './export.js';15import {myArray3} from './export.js';16import {myFunction4} from './export.js';17import {myVar4} from './export.js';18import {myClass4} from './export.js';19import {myObject4} from './export.js';20import {myArray4} from './export.js';21import {myFunction5} from './export.js';22import {myVar5} from './export.js';23import {myClass5} from './export.js';24import {myObject5} from './export.js';25import {myArray5} from './export.js';26import {myFunction6} from './export.js';27import {myVar6} from './export.js';28import {myClass6} from './export.js';29import {myObject6} from './export.js';30import {myArray6} from './export.js';31import {myFunction7} from './export.js';32import {myVar7} from './export.js';33import {myClass7} from './export.js';34import {myObject7} from './export.js';35import {myArray7} from './export.js';36import {myFunction8} from './export.js';37import {myVar8} from './export.js';38import {myClass8} from './export.js';39import {myObject8} from './export.js';40import {myArray8} from './export.js';41import {myFunction9} from './export.js';42import {myVar9} from './export.js';43import {myClass9} from './export.js';44import {myObject9} from './export.js';45import {myArray9} from './export.js';46import {myFunction10} from
Using AI Code Generation
1import { hello, bye } from './module.js';2import * as module from './module.js';3hello();4bye();5module.hello();6module.bye();7export function hello() {8 console.log('hello world');9}10export function bye() {11 console.log('bye world');12}13function hello() {14 console.log('hello world');15}16function bye() {17 console.log('bye world');18}19export { hello, bye };20export default function hello() {21 console.log('hello world');22}23import hello from './module.js';24hello();25export default function hello() {26 console.log('hello world');27}28import hello from './module.js';29hello();30export default function hello() {31 console.log('hello world');32}33import hello from './module.js';34hello();35export default function hello() {36 console.log('hello world');37}38import hello from './module.js';39hello();40export default function hello() {41 console.log('hello world');42}43import hello from './module.js';44hello();45export default function hello() {46 console.log('hello world');47}48import hello from './module.js';49hello();50export default function hello() {51 console.log('hello world');52}53import hello from './module.js';54hello();
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!