How to use import method in storybook-root

Best JavaScript code snippet using storybook-root

index.d.ts

Source:index.d.ts Github

copy

Full Screen

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';...

Full Screen

Full Screen

eslint-plugin-import_vx.x.x.js

Source:eslint-plugin-import_vx.x.x.js Github

copy

Full Screen

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'>;...

Full Screen

Full Screen

three.source.unit.js

Source:three.source.unit.js Github

copy

Full Screen

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';...

Full Screen

Full Screen

icon.d.ts

Source:icon.d.ts Github

copy

Full Screen

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<{}>>, {}>;...

Full Screen

Full Screen

pdp.ts

Source:pdp.ts Github

copy

Full Screen

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';...

Full Screen

Full Screen

customer.ts

Source:customer.ts Github

copy

Full Screen

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';...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const rootImport = require('storybook-root-import');2module.exports = {3 webpackFinal: async config => {4 new rootImport({5 }),6 ];7 return config;8 },9};10module.exports = {11 webpackFinal: async config => {12 new rootImport({13 }),14 ];15 return config;16 },17};18const rootImport = require('storybook-root-import');19module.exports = async ({ config, mode }) => {20 new rootImport({21 }),22 ];23 return config;24};25import { configure } from '@storybook/react';26import { setDefaults } from '@storybook/addon-info';27setDefaults({28});29const req = require.context('../src', true, /.stories.js$/);30function loadStories() {31 req.keys().forEach(filename => req(filename));32}33configure(loadStories, module);34import { addons } from '@storybook/addons';35import { create } from '@storybook/theming';36import logo from '../src/assets/images/logo.png';37addons.setConfig({38 theme: create({39 }),40});41import { configure } from '@storybook/react';42import { setDefaults } from '@storybook/addon-info';

Full Screen

Using AI Code Generation

copy

Full Screen

1import { storiesOf } from 'storybook-root';2import { storiesOf } from 'storybook-root';3import { storiesOf } from 'storybook-root';4import { storiesOf } from 'storybook-root';5import { storiesOf } from 'storybook-root';6import { storiesOf } from 'storybook-root';7import { storiesOf } from 'storybook-root';8import { storiesOf } from 'storybook-root';9import { storiesOf } from 'storybook-root';10import { storiesOf } from 'storybook-root';11import { storiesOf } from 'storybook-root';12import { storiesOf } from 'storybook-root';13import { storiesOf } from 'storybook-root';14import { storiesOf } from 'storybook-root';15import { storiesOf } from 'storybook-root';16import { storiesOf } from 'storybook-root';17import { storiesOf } from 'storybook-root';18import { storiesOf } from 'storybook-root';19import { storiesOf } from 'storybook-root';20import { storiesOf } from 'storybook-root';

Full Screen

Using AI Code Generation

copy

Full Screen

1import { withRootDecorator } from 'storybook-root-decorator';2export default {3};4export const Test = () => <div>Test</div>;5import { withRootDecorator } from 'storybook-root-decorator';6import { addDecorator } from '@storybook/react';7addDecorator(withRootDecorator);8import { withRootDecorator } from 'storybook-root-decorator';9import { addDecorator } from '@storybook/react';10addDecorator(withRootDecorator);11import { withRootDecorator } from 'storybook-root-decorator';12import { addDecorator } from '@storybook/react';13addDecorator(withRootDecorator);14import { withRootDecorator } from 'storybook-root-decorator';15import { addDecorator } from '@storybook/react';16addDecorator(withRootDecorator);17import { withRootDecorator } from 'storybook-root-decorator';18import { addDecorator } from '@storybook/react';19addDecorator(withRootDecorator);20import { withRootDecorator } from 'storybook-root-decorator';21import { addDecorator } from '@storybook/react';22addDecorator(withRootDecorator);23import { withRootDecorator } from 'storybook-root-decorator';24import { addDecorator } from '@storybook/react';25addDecorator(withRootDecorator);26import { withRootDecorator } from 'storybook-root-decorator';27import { addDecorator } from '@storybook/react';28addDecorator(withRootDecorator);

Full Screen

Using AI Code Generation

copy

Full Screen

1import { render } from 'storybook-root';2const { render } = require('storybook-root');3const render = require('storybook-root').render;4const { render } = require('storybook-root');5const render = require('storybook-root').render;6const { render } = require('storybook-root');7const render = require('storybook-root').render;8const { render } = require('storybook-root');9const render = require('storybook-root').render;10const { render } = require('storybook-root');11const render = require('storybook-root').render;12const { render } = require('storybook-root');13const render = require('storybook-root').render;14const { render } = require('storybook-root');15const render = require('storybook-root').render;16const { render } = require('storybook-root');17const render = require('storybook-root').render;18const { render } = require('storybook-root');19const render = require('storybook-root').render;20const { render } = require('storybook-root');21const render = require('storybook-root').render;22const { render } = require('storybook-root');23const render = require('storybook-root').render;24const { render } = require('storybook-root');

Full Screen

Using AI Code Generation

copy

Full Screen

1import { configure } from '@storybook/react';2import { setOptions } from '@storybook/addon-options';3import { setDefaults } from '@storybook/addon-info';4import { configureRootImport } from 'storybook-root-import';5import { configureAddonRootImport } from 'storybook-addon-root-import';6import { configureAddonRootImport } from 'storybook-addon-root-import';7import { configureAddonRootImport } from 'storybook-addon-root-import';8import { configureAddonRootImport } from 'storybook-addon-root-import';9import { configureAddonRootImport } from 'storybook-addon-root-import';10configureRootImport(__dirname, {11});12configureAddonRootImport(__dirname, {13});14setOptions({15});16setDefaults({17});18const req = require.context('../src', true, /.stories.js$/);19function loadStories() {20 req.keys().forEach(filename => req(filename));21}22configure(loadStories, module);23import 'storybook-addon

Full Screen

Using AI Code Generation

copy

Full Screen

1const { Button } = require('storybook-root');2const { Button } = require('storybook-root');3import { Button } from 'storybook-root';4import { Button } from 'storybook-root';5const { Button } = require('storybook-root');6import { Button } from 'storybook-root';7const { Button } = require('storybook-root');8const { Button } = require('storybook-root');9const { Button } = require('storybook-root');10const { Button } = require('storybook-root');11const { Button } = require('storybook-root');12const { Button } = require('storybook-root');13const { Button } = require('storybook-root');14const { Button } = require('storybook-root');15const { Button } = require('storybook-root');16const { Button } = require('storybook-root');17const { Button } = require('storybook-root');18const { Button } = require('storybook-root');19const { Button } = require('storybook-root');20const { Button } = require('storybook-root');21const { Button } = require('storybook-root');22const { Button } = require('storybook-root');23const { Button } = require('storybook-root');24const { Button } = require('storybook-root');

Full Screen

Using AI Code Generation

copy

Full Screen

1import { Button } from 'storybook-root'2import { Button } from 'storybook-root/dist/components/Button'3import { Button } from 'storybook-root/dist/components/Button/Button'4import { Button } from 'storybook-root/dist/components/Button/Button.d.ts'5import { Button } from 'storybook-root/dist/components/Button/Button.js'6import { Button } from 'storybook-root/dist/components/Button/Button.js.map'7import { Button } from 'storybook-root/dist/components/Button/Button.module.css'8import { Button } from 'storybook-root/dist/components/Button/Button.module.css.map'9import { Button } from 'storybook-root/dist/components/Button/Button.module.scss'10import { Button } from 'storybook-root/dist/components/Button/Button.module.scss.map'11import { Button } from 'storybook-root/dist/components/Button/Button.module.sass'12import { Button } from 'storybook-root/dist/components/Button/Button.module.sass.map'13import { Button } from 'storybook-root/dist/components/Button/Button.module.styl'14import { Button } from 'storybook-root/dist/components/Button/Button.module.styl.map'15import { Button } from 'storybook-root/dist/components/Button/Button.scss'16import { Button } from 'storybook-root/dist/components/Button/Button.scss.map'17import { Button } from 'storybook-root/dist/components/Button/Button.sass'18import { Button } from 'storybook-root/dist/components/Button/Button.sass.map'19import { Button } from 'storybook-root/dist/components/Button/Button.styl'20import { Button } from 'storybook-root/dist

Full Screen

Using AI Code Generation

copy

Full Screen

1import { withRootDecorator } from 'storybook-root-decorator';2export default {3};4export const Test = () => <div>Test</div>;5export const Test2 = () => <div>Test2</div>;6Test2.decorators = [withRootDecorator];7export const Test3 = () => <div>Test3</div>;8Test3.decorators = [withRootDecorator];9export const Test4 = () => <div>Test4</div>;10Test4.decorators = [withRootDecorator];11export const Test5 = () => <div>Test5</div>;12Test5.decorators = [withRootDecorator];13export const Test6 = () => <div>Test6</div>;14Test6.decorators = [withRootDecorator];15export const Test7 = () => <div>Test7</div>;16Test7.decorators = [withRootDecorator];17export const Test8 = () => <div>Test8</div>;18Test8.decorators = [withRootDecorator];19export const Test9 = () => <div>Test9</div>;20Test9.decorators = [withRootDecorator];21export const Test10 = () => <div>Test10</div>;22Test10.decorators = [withRootDecorator];23export const Test11 = () => <div>Test11</div>;24Test11.decorators = [withRootDecorator];25export const Test12 = () => <div>Test12</div>;26Test12.decorators = [withRootDecorator];27export const Test13 = () => <div>Test13</div>;28Test13.decorators = [withRootDecorator];29export const Test14 = () => <div>Test14</div>;30Test14.decorators = [withRootDecorator];31export const Test15 = () => <div>Test15</div>;32Test15.decorators = [withRootDecorator];

Full Screen

Automation Testing Tutorials

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.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run storybook-root automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful