@onereach/ui-components 2.72.2-beta.2274.0 → 2.72.2-beta.2276.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrButton-d45772c1.js → OrButton-f1f28b9b.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-4ac89ea5.js → OrCardCollection-35abc63a.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-c5717fec.js} +1 -1
- package/dist/bundled/v2/{OrLoader-864ef92a.js → OrLoader-07f84c71.js} +11 -4
- package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-1b65273d.js} +1 -1
- package/dist/bundled/v2/{OrSidebar-a2bc21b9.js → OrSidebar-c95ef614.js} +34 -155
- package/dist/bundled/v2/{OrSwitch-782d7b43.js → OrSwitch-3804a2d8.js} +1 -1
- package/dist/bundled/v2/components/index.js +8 -9
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +16 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +1 -13
- package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +1 -7
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +9 -10
- package/dist/bundled/v2/{types-309b7b94.js → types-13daf4de.js} +1 -1
- package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-d8b1c4ac.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-d31b504f.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f76c3264.js → OrCardCollection.vue_vue_type_script_lang-23f82328.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-ab682ec1.js} +2 -2
- package/dist/bundled/v3/{OrLoader-123ef8c4.js → OrLoader-40942969.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-4c3c1ac9.js → OrLoader.vue_vue_type_script_lang-9efedfe7.js} +11 -4
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-c0eceb82.js} +2 -2
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +181 -0
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-31994be7.js → OrSwitch.vue_vue_type_script_lang-25f16621.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-2e9489f9.js} +1 -1
- package/dist/bundled/v3/components/index.js +10 -11
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +16 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +2 -16
- package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +1 -7
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +23 -40
- package/dist/bundled/v3/{types-22fbf9d6.js → types-8f6f3598.js} +2 -2
- package/dist/esm/v2/{OrButton-66964360.js → OrButton-d067bcac.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-5a9eda35.js → OrCardCollection-cab5acb9.js} +1 -1
- package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-efe95ff6.js} +1 -1
- package/dist/esm/v2/{OrLoader-76307488.js → OrLoader-a6ae193f.js} +11 -4
- package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-1acb7176.js} +1 -1
- package/dist/esm/v2/{OrSidebar-27236fbd.js → OrSidebar-fabc7bc9.js} +34 -155
- package/dist/esm/v2/{OrSwitch-8549219a.js → OrSwitch-c2429fc0.js} +1 -1
- package/dist/esm/v2/components/index.js +8 -9
- package/dist/esm/v2/components/or-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +16 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -13
- package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +1 -7
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +8 -9
- package/dist/esm/v2/{types-1f95d710.js → types-4a75cef1.js} +1 -1
- package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-d9f6c316.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-e4fde5b4.js → OrCardCollection-04b36455.js} +1 -1
- package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-d7d6255c.js} +1 -1
- package/dist/esm/v3/{OrLoader-a53d2edf.js → OrLoader-1709eb68.js} +11 -4
- package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-7cbdbb05.js} +1 -1
- package/dist/esm/v3/OrSidebar-a62972f5.js +206 -0
- package/dist/esm/v3/{OrSwitch-1c2196da.js → OrSwitch-54988e7a.js} +1 -1
- package/dist/esm/v3/components/index.js +8 -9
- package/dist/esm/v3/components/or-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +16 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/esm/v3/components/or-sidebar-v3/index.js +1 -12
- package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +1 -7
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +8 -9
- package/dist/esm/v3/{types-b79e4387.js → types-c3417028.js} +1 -1
- package/package.json +1 -1
- package/src/components/or-loader-v3/OrLoader.stories3.ts +16 -4
- package/src/components/or-loader-v3/OrLoader.vue +10 -2
- package/src/components/or-loader-v3/styles.ts +1 -2
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +0 -6
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +12 -253
- package/src/components/or-sidebar-v3/OrSidebar.vue +23 -130
- package/src/components/or-sidebar-v3/styles.ts +9 -114
- package/dist/bundled/v2/OrSidebarCollapseButton-8297ef86.js +0 -125
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +0 -18
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -18
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7f3f1a16.js +0 -291
- package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js +0 -75
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +0 -17
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -17
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
- package/dist/esm/v2/OrSidebarCollapseButton-cfe51a60.js +0 -123
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.d.ts +0 -1
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +0 -16
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -16
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
- package/dist/esm/v3/OrSidebar-61d84c3e.js +0 -313
- package/dist/esm/v3/OrSidebarCollapseButton-1b9c83ef.js +0 -94
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.d.ts +0 -1
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +0 -15
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -15
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
- package/src/components/or-sidebar-v3/partials/index.ts +0 -1
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.ts +0 -48
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue +0 -79
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.ts +0 -1
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.ts +0 -50
|
@@ -10,17 +10,7 @@ export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue
|
|
|
10
10
|
} | string[], {} & {}, {
|
|
11
11
|
[x: number]: string;
|
|
12
12
|
} | {}, true>)>;
|
|
13
|
-
export declare const
|
|
14
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
15
|
-
} | string[], {} & {}, {
|
|
16
|
-
[x: number]: string;
|
|
17
|
-
} | {}, true>)>;
|
|
18
|
-
export declare const NotDraggable: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
-
} | string[], {} & {}, {
|
|
21
|
-
[x: number]: string;
|
|
22
|
-
} | {}, true>)>;
|
|
23
|
-
export declare const Collapsible: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
13
|
+
export declare const WithMinimumWidth: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
24
14
|
[x: string]: ((...args: any[]) => any) | null;
|
|
25
15
|
} | string[], {} & {}, {
|
|
26
16
|
[x: number]: string;
|
|
@@ -40,33 +30,8 @@ export declare const WithFooter: StoryFn<import("vue").ComponentOptions<import("
|
|
|
40
30
|
} | string[], {} & {}, {
|
|
41
31
|
[x: number]: string;
|
|
42
32
|
} | {}, true>)>;
|
|
43
|
-
export declare const WithToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
44
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
45
|
-
} | string[], {} & {}, {
|
|
46
|
-
[x: number]: string;
|
|
47
|
-
} | {}, true>)>;
|
|
48
|
-
export declare const CollapsibleWithToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
49
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
50
|
-
} | string[], {} & {}, {
|
|
51
|
-
[x: number]: string;
|
|
52
|
-
} | {}, true>)>;
|
|
53
|
-
export declare const WithTabs: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
54
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
55
|
-
} | string[], {} & {}, {
|
|
56
|
-
[x: number]: string;
|
|
57
|
-
} | {}, true>)>;
|
|
58
33
|
export declare const LeftSidebar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
59
34
|
[x: string]: ((...args: any[]) => any) | null;
|
|
60
35
|
} | string[], {} & {}, {
|
|
61
36
|
[x: number]: string;
|
|
62
37
|
} | {}, true>)>;
|
|
63
|
-
export declare const WithLeftToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
64
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
65
|
-
} | string[], {} & {}, {
|
|
66
|
-
[x: number]: string;
|
|
67
|
-
} | {}, true>)>;
|
|
68
|
-
export declare const CollapsibleWithWithLeftToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
69
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
70
|
-
} | string[], {} & {}, {
|
|
71
|
-
[x: number]: string;
|
|
72
|
-
} | {}, true>)>;
|
|
@@ -4,36 +4,26 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
resizeBar: import("@vue/composition-api").Ref<HTMLElement | null>;
|
|
6
6
|
isResizing: import("@vue/composition-api").Ref<boolean>;
|
|
7
|
-
isCollapsed: import("@vue/composition-api").Ref<boolean>;
|
|
8
7
|
localWidth: import("@vue/composition-api").Ref<number>;
|
|
9
|
-
isShowingToolbar: import("@vue/composition-api").ComputedRef<boolean>;
|
|
10
8
|
sidebarStyle: import("@vue/composition-api").ComputedRef<{
|
|
11
9
|
width: string;
|
|
12
10
|
}>;
|
|
13
11
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
14
|
-
sidebarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
15
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
16
12
|
resizeStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
17
|
-
collapsibleButtonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
18
13
|
mainStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
14
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
20
15
|
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
21
16
|
footerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
22
|
-
open: () => void;
|
|
23
|
-
close: () => void;
|
|
24
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
25
18
|
width: {
|
|
26
19
|
type: NumberConstructor;
|
|
20
|
+
required: false;
|
|
27
21
|
default: number;
|
|
28
22
|
validator: (value?: any) => boolean;
|
|
29
23
|
};
|
|
30
24
|
minimumWidth: {
|
|
31
25
|
type: NumberConstructor;
|
|
32
|
-
|
|
33
|
-
validator: (value?: any) => boolean;
|
|
34
|
-
};
|
|
35
|
-
maximumWidth: {
|
|
36
|
-
type: NumberConstructor;
|
|
26
|
+
required: false;
|
|
37
27
|
default: number;
|
|
38
28
|
validator: (value?: any) => boolean;
|
|
39
29
|
};
|
|
@@ -49,27 +39,16 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
49
39
|
default: OrSidebarPlacement;
|
|
50
40
|
validator: (value?: any) => boolean;
|
|
51
41
|
};
|
|
52
|
-
draggable: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
collapsible: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
42
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
61
43
|
width: {
|
|
62
44
|
type: NumberConstructor;
|
|
45
|
+
required: false;
|
|
63
46
|
default: number;
|
|
64
47
|
validator: (value?: any) => boolean;
|
|
65
48
|
};
|
|
66
49
|
minimumWidth: {
|
|
67
50
|
type: NumberConstructor;
|
|
68
|
-
|
|
69
|
-
validator: (value?: any) => boolean;
|
|
70
|
-
};
|
|
71
|
-
maximumWidth: {
|
|
72
|
-
type: NumberConstructor;
|
|
51
|
+
required: false;
|
|
73
52
|
default: number;
|
|
74
53
|
validator: (value?: any) => boolean;
|
|
75
54
|
};
|
|
@@ -85,59 +64,35 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
85
64
|
default: OrSidebarPlacement;
|
|
86
65
|
validator: (value?: any) => boolean;
|
|
87
66
|
};
|
|
88
|
-
draggable: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
collapsible: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
67
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
97
68
|
width: number;
|
|
98
69
|
minimumWidth: number;
|
|
99
|
-
maximumWidth: number;
|
|
100
70
|
side: OrSidebarPlacement;
|
|
101
|
-
draggable: boolean;
|
|
102
|
-
collapsible: boolean;
|
|
103
71
|
} & {} & {
|
|
104
72
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
105
73
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
106
74
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
107
75
|
resizeBar: import("@vue/composition-api").Ref<HTMLElement | null>;
|
|
108
76
|
isResizing: import("@vue/composition-api").Ref<boolean>;
|
|
109
|
-
isCollapsed: import("@vue/composition-api").Ref<boolean>;
|
|
110
77
|
localWidth: import("@vue/composition-api").Ref<number>;
|
|
111
|
-
isShowingToolbar: import("@vue/composition-api").ComputedRef<boolean>;
|
|
112
78
|
sidebarStyle: import("@vue/composition-api").ComputedRef<{
|
|
113
79
|
width: string;
|
|
114
80
|
}>;
|
|
115
81
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
116
|
-
sidebarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
117
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
118
82
|
resizeStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
119
|
-
collapsibleButtonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
120
83
|
mainStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
121
84
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
122
85
|
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
123
86
|
footerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
124
|
-
open: () => void;
|
|
125
|
-
close: () => void;
|
|
126
87
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
127
88
|
width: number;
|
|
128
89
|
minimumWidth: number;
|
|
129
|
-
maximumWidth: number;
|
|
130
90
|
side: OrSidebarPlacement;
|
|
131
|
-
draggable: boolean;
|
|
132
|
-
collapsible: boolean;
|
|
133
91
|
} & {} & {
|
|
134
92
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
135
93
|
}, {
|
|
136
94
|
width: number;
|
|
137
95
|
minimumWidth: number;
|
|
138
|
-
maximumWidth: number;
|
|
139
96
|
side: OrSidebarPlacement;
|
|
140
|
-
draggable: boolean;
|
|
141
|
-
collapsible: boolean;
|
|
142
97
|
}, true>);
|
|
143
98
|
export default _default;
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
export { _ as OrSidebarV3 } from '../../OrSidebar-
|
|
2
|
-
export { O as OrSidebarPlacement } from '../../OrSidebarCollapseButton-cfe51a60.js';
|
|
1
|
+
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../../OrSidebar-fabc7bc9.js';
|
|
3
2
|
import '@vueuse/core';
|
|
4
3
|
import 'lodash';
|
|
5
4
|
import 'vue-demi';
|
|
6
5
|
import '../../normalize-component-6e8e3d80.js';
|
|
7
|
-
import '../../OrIconButton-04a3566d.js';
|
|
8
|
-
import '../../OrIcon-f34e0e6f.js';
|
|
9
|
-
import '../../OrTooltip-629d44fc.js';
|
|
10
|
-
import '../../OrPopover-d5d4f62a.js';
|
|
11
|
-
import '@floating-ui/dom';
|
|
12
|
-
import '../../useElevation-31bfe1f6.js';
|
|
13
|
-
import '../../useResponsive-a02e95b7.js';
|
|
14
|
-
import '../../OrBottomSheet-37200385.js';
|
|
15
|
-
import '../../OrOverlay-a019186f.js';
|
|
16
|
-
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
17
|
-
import 'portal-vue';
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { OrSidebarPlacement } from './props';
|
|
2
2
|
export declare const SidebarRoot: string[];
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const SidebarToolbar: string[];
|
|
5
|
-
export declare const CollapsibleSidebarToolbar: string[];
|
|
6
|
-
export declare const SidebarSides: Record<OrSidebarPlacement, string[]>;
|
|
7
|
-
export declare const SidebarToolbarSides: Record<OrSidebarPlacement, string[]>;
|
|
3
|
+
export declare const SidebarRootSides: Record<OrSidebarPlacement, string[]>;
|
|
8
4
|
export declare const SidebarResize: string[];
|
|
9
5
|
export declare const SidebarResizeSides: Record<OrSidebarPlacement, string[]>;
|
|
10
|
-
export declare const SidebarCollapseButton: string[];
|
|
11
|
-
export declare const SidebarCollapseButtonSides: Record<OrSidebarPlacement, string[]>;
|
|
12
6
|
export declare const SidebarResizingSides: Record<OrSidebarPlacement, string[]>;
|
|
13
7
|
export declare const SidebarMain: string[];
|
|
14
8
|
export declare const SidebarHeader: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { _ as OrSwitchV3 } from '../../OrSwitch-
|
|
1
|
+
export { _ as OrSwitchV3 } from '../../OrSwitch-c2429fc0.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useIdAttribute-859439f0.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../OrLabel-0945a4d9.js';
|
|
6
6
|
import '../../normalize-component-6e8e3d80.js';
|
|
7
|
-
import '../../OrLoader-
|
|
7
|
+
import '../../OrLoader-a6ae193f.js';
|
|
8
8
|
import '../../browser-82dea9ed.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-4a75cef1.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -14,5 +14,5 @@ import '../../useElevation-31bfe1f6.js';
|
|
|
14
14
|
import '../../useResponsive-a02e95b7.js';
|
|
15
15
|
import '../../OrBottomSheet-37200385.js';
|
|
16
16
|
import '../../OrOverlay-a019186f.js';
|
|
17
|
-
import '../../OrLoader-
|
|
17
|
+
import '../../OrLoader-a6ae193f.js';
|
|
18
18
|
import '../../browser-82dea9ed.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
|
|
|
5
5
|
export { _ as OrButtonV2 } from './OrButton-c4f9955b.js';
|
|
6
6
|
export { _ as OrIconButton } from './OrIconButton-014e86a7.js';
|
|
7
7
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-d067bcac.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-19582949.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-cab5acb9.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-e89c44ef.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-d4400b42.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-ede619eb.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-efe95ff6.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from './OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-80f82cdf.js';
|
|
@@ -46,7 +46,7 @@ export { L as LinkColor, _ as OrLinkV3 } from './OrLink-597e0e18.js';
|
|
|
46
46
|
export { _ as OrList } from './OrList-d4781f7b.js';
|
|
47
47
|
export { _ as OrListOfInputs } from './OrListOfInputs-4298fa2c.js';
|
|
48
48
|
export { L as LoaderViews, _ as OrLoader } from './OrLoader-003941a2.js';
|
|
49
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-
|
|
49
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-a6ae193f.js';
|
|
50
50
|
export { _ as OrMenuItemV3 } from './OrMenuItem-7b7fbf8a.js';
|
|
51
51
|
export { _ as OrMenuV3 } from './OrMenu-c276db74.js';
|
|
52
52
|
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-d5d4f62a.js';
|
|
@@ -59,7 +59,7 @@ export { _ as OrOverflowMenu } from './OrOverflowMenu-10a4166a.js';
|
|
|
59
59
|
export { _ as OrOverlay } from './OrOverlay-3b52865d.js';
|
|
60
60
|
export { _ as OrOverlayV3 } from './OrOverlay-a019186f.js';
|
|
61
61
|
export { _ as OrPassword } from './OrPassword-e6d5e968.js';
|
|
62
|
-
export { _ as OrPaginationV3 } from './OrPagination-
|
|
62
|
+
export { _ as OrPaginationV3 } from './OrPagination-1acb7176.js';
|
|
63
63
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-4ee24824.js';
|
|
64
64
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-b7d1c689.js';
|
|
65
65
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
@@ -71,15 +71,14 @@ export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmen
|
|
|
71
71
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
72
72
|
export { _ as OrSelectV3 } from './OrSelect-e31d1c8b.js';
|
|
73
73
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
74
|
-
export { _ as OrSidebarV3 } from './OrSidebar-
|
|
75
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-cfe51a60.js';
|
|
74
|
+
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
76
75
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
77
76
|
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-6ee72718.js';
|
|
78
77
|
export { _ as OrSlider } from './OrSlider-f7b9c7c2.js';
|
|
79
78
|
export { _ as OrSortHeaderV3 } from './OrSortHeader-592727dc.js';
|
|
80
79
|
export { _ as OrStepper } from './OrStepper-4f44e7b7.js';
|
|
81
80
|
export { _ as OrSwitch } from './OrSwitch-f25f27f9.js';
|
|
82
|
-
export { _ as OrSwitchV3 } from './OrSwitch-
|
|
81
|
+
export { _ as OrSwitchV3 } from './OrSwitch-c2429fc0.js';
|
|
83
82
|
export { _ as OrTab } from './OrTab-eade8ab6.js';
|
|
84
83
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-d1a340d1.js';
|
|
85
84
|
export { _ as OrTabV3 } from './OrTab-1ff87c76.js';
|
|
@@ -95,7 +94,7 @@ export { _ as OrTextareaV3 } from './OrTextarea-a5a3572b.js';
|
|
|
95
94
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2594c980.js';
|
|
96
95
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-2fbd4358.js';
|
|
97
96
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
98
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-
|
|
97
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-4a75cef1.js';
|
|
99
98
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
100
99
|
export { _ as OrTooltip } from './OrTooltip-614b016d.js';
|
|
101
100
|
export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
|
|
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTic
|
|
|
3
3
|
import { _ as __vue_component__$4 } from './OrTeleport.vue2-fb92f29f.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrIconButton-04a3566d.js';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrLoader-
|
|
6
|
+
import { _ as __vue_component__$3 } from './OrLoader-a6ae193f.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrLoader-
|
|
2
|
+
import { s as script$1 } from './OrLoader-1709eb68.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
var ButtonVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { s as script$3 } from './OrButton-
|
|
2
|
+
import { s as script$3 } from './OrButton-d9f6c316.js';
|
|
3
3
|
import { s as script$2 } from './OrIconButton-2dcfb83e.js';
|
|
4
4
|
import { s as script$6 } from './OrIcon-34f59f73.js';
|
|
5
5
|
import { s as script$5 } from './OrMenuItem-58707d47.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
|
-
import { s as script$2, a as ButtonColor } from './OrButton-
|
|
4
|
+
import { s as script$2, a as ButtonColor } from './OrButton-d9f6c316.js';
|
|
5
5
|
import { s as script$3 } from './OrInput-bd054213.js';
|
|
6
6
|
import { s as script$1 } from './OrOverlay-afad3aa4.js';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
@@ -20,7 +20,7 @@ var LoaderSize;
|
|
|
20
20
|
|
|
21
21
|
const LoaderRoot = [
|
|
22
22
|
// Layout
|
|
23
|
-
'
|
|
23
|
+
'flex', 'flex-col', 'gap-md'];
|
|
24
24
|
const LoaderRootColors = {
|
|
25
25
|
'primary': [
|
|
26
26
|
// Theme
|
|
@@ -41,10 +41,17 @@ var script = defineComponent({
|
|
|
41
41
|
type: String,
|
|
42
42
|
default: LoaderVariant.Circular
|
|
43
43
|
},
|
|
44
|
+
/**
|
|
45
|
+
* Defines a semantic color of the loading indicator.
|
|
46
|
+
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
47
|
+
*/
|
|
44
48
|
color: {
|
|
45
49
|
type: String,
|
|
46
50
|
default: LoaderColor.Primary
|
|
47
51
|
},
|
|
52
|
+
/**
|
|
53
|
+
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
54
|
+
*/
|
|
48
55
|
size: {
|
|
49
56
|
type: String,
|
|
50
57
|
default: LoaderSize.M
|
|
@@ -66,13 +73,13 @@ var script = defineComponent({
|
|
|
66
73
|
const rootStyles = computed(() => ['or-loader', ...LoaderRoot, ...LoaderRootColors[props.color]]);
|
|
67
74
|
const titleStyles = computed(() => [...LoaderTitle]);
|
|
68
75
|
const descriptionStyles = computed(() => [...LoaderDescription]);
|
|
69
|
-
const containerStyles = computed(() => [...LoaderContainer]);
|
|
76
|
+
const containerStyles = computed(() => [...LoaderContainer, `min-w-[${computedSize}px]`]);
|
|
70
77
|
// State
|
|
71
78
|
const computedSize = computed(() => {
|
|
72
79
|
switch (props.size) {
|
|
73
|
-
case
|
|
80
|
+
case LoaderSize.M:
|
|
74
81
|
return 20;
|
|
75
|
-
case
|
|
82
|
+
case LoaderSize.S:
|
|
76
83
|
return 16;
|
|
77
84
|
}
|
|
78
85
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrButton-
|
|
2
|
+
import { s as script$1 } from './OrButton-d9f6c316.js';
|
|
3
3
|
import { s as script$2 } from './OrIcon-34f59f73.js';
|
|
4
4
|
import { s as script$4 } from './OrMenuItem-58707d47.js';
|
|
5
5
|
import { s as script$3 } from './OrMenu-7f3ea117.js';
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
|
+
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createCommentVNode } from 'vue';
|
|
5
|
+
|
|
6
|
+
var OrSidebarPlacement;
|
|
7
|
+
(function (OrSidebarPlacement) {
|
|
8
|
+
OrSidebarPlacement["left"] = "left";
|
|
9
|
+
OrSidebarPlacement["right"] = "right";
|
|
10
|
+
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
11
|
+
|
|
12
|
+
const SidebarRoot = [
|
|
13
|
+
// Position
|
|
14
|
+
'relative',
|
|
15
|
+
// Layout
|
|
16
|
+
'flex', 'flex-col', 'shrink-0',
|
|
17
|
+
// Box
|
|
18
|
+
'min-h-0', 'p-0'];
|
|
19
|
+
const SidebarRootSides = {
|
|
20
|
+
[OrSidebarPlacement.left]: [
|
|
21
|
+
// Borders
|
|
22
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
|
|
23
|
+
[OrSidebarPlacement.right]: [
|
|
24
|
+
// Borders
|
|
25
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
|
|
26
|
+
};
|
|
27
|
+
const SidebarResize = [
|
|
28
|
+
// Position
|
|
29
|
+
'absolute', 'inset-y-none', 'z-[1]',
|
|
30
|
+
// Box
|
|
31
|
+
'w-[12px]', 'h-[100%]',
|
|
32
|
+
// Cursor
|
|
33
|
+
'cursor-ew-resize'];
|
|
34
|
+
const SidebarResizeSides = {
|
|
35
|
+
[OrSidebarPlacement.left]: [
|
|
36
|
+
// Position
|
|
37
|
+
'-right-[1px]',
|
|
38
|
+
// Borders
|
|
39
|
+
'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
|
|
40
|
+
// Transition
|
|
41
|
+
'transition-[border-right]'],
|
|
42
|
+
[OrSidebarPlacement.right]: [
|
|
43
|
+
// Position
|
|
44
|
+
'-left-[1px]',
|
|
45
|
+
// Borders
|
|
46
|
+
'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
|
|
47
|
+
// Transition
|
|
48
|
+
'transition-[border-left]']
|
|
49
|
+
};
|
|
50
|
+
const SidebarResizingSides = {
|
|
51
|
+
[OrSidebarPlacement.left]: [
|
|
52
|
+
// Borders
|
|
53
|
+
'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
|
|
54
|
+
[OrSidebarPlacement.right]: [
|
|
55
|
+
// Borders
|
|
56
|
+
'border-l-2', 'border-l-primary dark:border-l-primary-dark']
|
|
57
|
+
};
|
|
58
|
+
const SidebarMain = [
|
|
59
|
+
// Layout
|
|
60
|
+
'flex', 'flex-col', 'grow',
|
|
61
|
+
// Box
|
|
62
|
+
'min-h-0'];
|
|
63
|
+
const SidebarHeader = [
|
|
64
|
+
// Sizing
|
|
65
|
+
'p-md'];
|
|
66
|
+
const SidebarContent = [
|
|
67
|
+
// Layout
|
|
68
|
+
'grow', 'overflow-auto',
|
|
69
|
+
// Sizing
|
|
70
|
+
'p-md'];
|
|
71
|
+
const SidebarFooter = [
|
|
72
|
+
// Sizing
|
|
73
|
+
'p-md',
|
|
74
|
+
// Borders
|
|
75
|
+
'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
|
|
76
|
+
|
|
77
|
+
var script = defineComponent({
|
|
78
|
+
name: 'OrSidebar',
|
|
79
|
+
props: {
|
|
80
|
+
width: {
|
|
81
|
+
type: Number,
|
|
82
|
+
required: false,
|
|
83
|
+
default: 0,
|
|
84
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
85
|
+
},
|
|
86
|
+
minimumWidth: {
|
|
87
|
+
type: Number,
|
|
88
|
+
required: false,
|
|
89
|
+
default: 350,
|
|
90
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* User may put the component on the right or the left side of a container.
|
|
94
|
+
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
95
|
+
*
|
|
96
|
+
* Note: the property doesn't reposition the component in the parent container.
|
|
97
|
+
* @values left, right
|
|
98
|
+
*/
|
|
99
|
+
side: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: OrSidebarPlacement.right,
|
|
102
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
emits: ['change:width'],
|
|
106
|
+
setup(props, {
|
|
107
|
+
emit
|
|
108
|
+
}) {
|
|
109
|
+
// Refs
|
|
110
|
+
const root = ref();
|
|
111
|
+
const resizeBar = ref(null);
|
|
112
|
+
const parentContainer = computed(() => {
|
|
113
|
+
var _a;
|
|
114
|
+
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
115
|
+
});
|
|
116
|
+
// State
|
|
117
|
+
const startPositionX = ref(0);
|
|
118
|
+
const isResizing = ref(false);
|
|
119
|
+
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
120
|
+
// Styles
|
|
121
|
+
const sidebarStyle = computed(() => ({
|
|
122
|
+
width: localWidth.value + 'px'
|
|
123
|
+
}));
|
|
124
|
+
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
|
|
125
|
+
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
126
|
+
const mainStyles = computed(() => [...SidebarMain]);
|
|
127
|
+
const headerStyles = computed(() => [...SidebarHeader]);
|
|
128
|
+
const contentStyles = computed(() => [...SidebarContent]);
|
|
129
|
+
const footerStyles = computed(() => [...SidebarFooter]);
|
|
130
|
+
// Effects
|
|
131
|
+
useDraggable(resizeBar, {
|
|
132
|
+
preventDefault: true,
|
|
133
|
+
onStart: (position, event) => {
|
|
134
|
+
document.body.style.cursor = 'ew-resize';
|
|
135
|
+
document.body.style.userSelect = 'none';
|
|
136
|
+
startPositionX.value = event.x;
|
|
137
|
+
isResizing.value = true;
|
|
138
|
+
},
|
|
139
|
+
onMove: position => {
|
|
140
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
141
|
+
const newWidth = localWidth.value - delta;
|
|
142
|
+
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
143
|
+
startPositionX.value = position.x;
|
|
144
|
+
},
|
|
145
|
+
onEnd: () => {
|
|
146
|
+
document.body.style.cursor = '';
|
|
147
|
+
document.body.style.userSelect = '';
|
|
148
|
+
isResizing.value = false;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
const {
|
|
152
|
+
width: maximumWidth
|
|
153
|
+
} = useElementBounding(parentContainer);
|
|
154
|
+
watch(() => props.width, newValue => {
|
|
155
|
+
if (newValue !== localWidth.value) {
|
|
156
|
+
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
watch(() => props.minimumWidth, newMinimum => {
|
|
160
|
+
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
161
|
+
});
|
|
162
|
+
watch(maximumWidth, newMaximum => {
|
|
163
|
+
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
164
|
+
});
|
|
165
|
+
watch(localWidth, val => emit('change:width', val));
|
|
166
|
+
return {
|
|
167
|
+
root,
|
|
168
|
+
resizeBar,
|
|
169
|
+
isResizing,
|
|
170
|
+
localWidth,
|
|
171
|
+
sidebarStyle,
|
|
172
|
+
rootStyles,
|
|
173
|
+
resizeStyles,
|
|
174
|
+
mainStyles,
|
|
175
|
+
headerStyles,
|
|
176
|
+
contentStyles,
|
|
177
|
+
footerStyles
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
183
|
+
return openBlock(), createElementBlock("aside", {
|
|
184
|
+
ref: "root",
|
|
185
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
186
|
+
style: normalizeStyle(_ctx.sidebarStyle)
|
|
187
|
+
}, [createElementVNode("div", {
|
|
188
|
+
ref: "resizeBar",
|
|
189
|
+
class: normalizeClass(_ctx.resizeStyles)
|
|
190
|
+
}, null, 2 /* CLASS */), createElementVNode("div", {
|
|
191
|
+
class: normalizeClass(_ctx.mainStyles)
|
|
192
|
+
}, [_ctx.$slots.header ? (openBlock(), createElementBlock("div", {
|
|
193
|
+
key: 0,
|
|
194
|
+
class: normalizeClass(_ctx.headerStyles)
|
|
195
|
+
}, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
196
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
197
|
+
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
|
|
198
|
+
key: 0,
|
|
199
|
+
class: normalizeClass(_ctx.footerStyles)
|
|
200
|
+
}, [renderSlot(_ctx.$slots, "footer")], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
script.render = render;
|
|
204
|
+
script.__file = "src/components/or-sidebar-v3/OrSidebar.vue";
|
|
205
|
+
|
|
206
|
+
export { OrSidebarPlacement as O, script as s };
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1, L as LabelVariant } from './OrLabel-f700f9fb.js';
|
|
5
|
-
import { s as script$2 } from './OrLoader-
|
|
5
|
+
import { s as script$2 } from './OrLoader-1709eb68.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
|