@bagelink/vue 0.0.681 → 0.0.683
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/components/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AccordionItem.vue.d.ts +8 -8
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/Alert.vue.d.ts +11 -12
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +11 -11
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts +2 -3
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts +2 -2
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +12 -13
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +8 -8
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts +23 -30
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/Flag.vue.d.ts +2 -3
- package/dist/components/Flag.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts +8 -8
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/MaterialIcon.vue.d.ts +4 -4
- package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +8 -9
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalConfirm.vue.d.ts +8 -8
- package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts +29 -69
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts +11 -12
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts +15 -9
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.vue.d.ts +1 -1
- package/dist/components/Title.vue.d.ts.map +1 -1
- package/dist/components/TopBar.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Lineart.vue.d.ts +3 -4
- package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts +5 -6
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +12 -13
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +37 -43
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts +17 -5
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorPicker.vue.d.ts +11 -11
- package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +11 -12
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +3 -4
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts +8 -9
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts +11 -11
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +12 -7
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +12 -13
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RichText.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts +3 -4
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.vue.d.ts +3 -4
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +8 -9
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +11 -12
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TableField.vue.d.ts +11 -11
- package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts +112 -206
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +11 -12
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.vue.d.ts +37 -45
- package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts +8 -9
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Layout.vue.d.ts +11 -11
- package/dist/components/layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts +8 -9
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts +8 -9
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/Tabs.vue.d.ts +8 -9
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsBody.vue.d.ts +8 -8
- package/dist/components/layout/TabsBody.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +3 -4
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/composables/index.d.ts +0 -1
- package/dist/index.cjs +26 -12
- package/dist/index.mjs +26 -12
- package/dist/plugins/bagel.d.ts +0 -1
- package/dist/plugins/modal.d.ts +0 -1
- package/dist/types/BagelForm.d.ts +0 -1
- package/dist/types/BtnOptions.d.ts +0 -1
- package/dist/types/NavLink.d.ts +0 -1
- package/dist/utils/BagelFormUtils.d.ts +0 -1
- package/dist/utils/allCountries.d.ts +0 -1
- package/dist/utils/clickOutside.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/lang.d.ts +1 -1
- package/dist/utils/lang.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/utils/lang.ts +6 -2
|
@@ -9,14 +9,14 @@ interface LayoutProrps {
|
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
10
|
default?(_: {}): any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LayoutProrps>, {
|
|
13
13
|
gap: number;
|
|
14
14
|
h100: boolean;
|
|
15
15
|
columns: () => never[];
|
|
16
16
|
rows: () => never[];
|
|
17
17
|
mColumns: () => never[];
|
|
18
18
|
mRows: () => never[];
|
|
19
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
19
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LayoutProrps>, {
|
|
20
20
|
gap: number;
|
|
21
21
|
h100: boolean;
|
|
22
22
|
columns: () => never[];
|
|
@@ -33,15 +33,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
33
33
|
}, {}>;
|
|
34
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
35
|
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
36
|
type __VLS_WithDefaults<P, D> = {
|
|
46
37
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
38
|
default: D[K];
|
|
@@ -55,4 +46,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
55
46
|
$slots: S;
|
|
56
47
|
};
|
|
57
48
|
};
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToOption<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
58
|
//# sourceMappingURL=Layout.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Layout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Layout.vue"],"names":[],"mappings":"AA4DA,UAAU,YAAY;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;AAuCD,iBAAS,cAAc;qBA8BM,GAAG;EAmB/B;AACD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;UA9Fb,OAAO;UAIP,MAAM,EAAE;SALT,MAAM;aAEF,MAAM,EAAE;cACP,MAAM,EAAE;WACX,MAAM,EAAE;MAiGf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { NavLink } from '../..';
|
|
2
|
-
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
brand?(_: {}): any;
|
|
5
4
|
"brand-open"?(_: {}): any;
|
|
6
5
|
default?(_: {}): any;
|
|
7
6
|
footer?(_: {}): any;
|
|
8
7
|
};
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
10
9
|
navLinks?: NavLink[];
|
|
11
10
|
expandable?: boolean;
|
|
12
11
|
open: boolean;
|
|
13
12
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
13
|
"update:open": (...args: any[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
16
15
|
navLinks?: NavLink[];
|
|
17
16
|
expandable?: boolean;
|
|
18
17
|
open: boolean;
|
|
@@ -21,8 +20,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
|
|
|
21
20
|
}, {}, {}>;
|
|
22
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
22
|
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
24
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
30
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
31
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
32
|
} : {
|
|
@@ -30,9 +34,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
30
34
|
required: true;
|
|
31
35
|
};
|
|
32
36
|
};
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
37
|
//# sourceMappingURL=SidebarMenu.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SidebarMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SidebarMenu.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AA4B5C,iBAAS,cAAc;mBAqJK,GAAG;0BACI,GAAG;qBACR,GAAG;oBACJ,GAAG;EAqB/B;AACD,QAAA,MAAM,eAAe;eArMT,OAAO,EAAE;iBACP,OAAO;UACd,OAAO;;;;eAFF,OAAO,EAAE;iBACP,OAAO;UACd,OAAO;;;UA0MZ,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Router } from 'vue-router';
|
|
2
2
|
import { Raw } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
5
4
|
key: string;
|
|
6
5
|
}) => any>> & {
|
|
7
6
|
"top-section"?(_: {}): any;
|
|
8
7
|
};
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
10
9
|
title?: string;
|
|
11
10
|
tabs: string[];
|
|
12
11
|
modelValue?: string;
|
|
@@ -14,7 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
|
|
|
14
13
|
sideTabs?: boolean;
|
|
15
14
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
15
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
18
17
|
title?: string;
|
|
19
18
|
tabs: string[];
|
|
20
19
|
modelValue?: string;
|
|
@@ -25,8 +24,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
|
|
|
25
24
|
}, {}, {}>;
|
|
26
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
27
26
|
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
28
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
34
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
35
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
36
|
} : {
|
|
@@ -34,9 +38,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
34
38
|
required: true;
|
|
35
39
|
};
|
|
36
40
|
};
|
|
37
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
-
new (): {
|
|
39
|
-
$slots: S;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
41
|
//# sourceMappingURL=TabbedLayout.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabbedLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabbedLayout.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,KAAK,GAAG,EAAa,MAAM,KAAK,CAAA;AAyCzC,iBAAS,cAAc;;MAsE6D,GAAG;2BAEpD,GAAG;EAiBrC;AACD,QAAA,MAAM,eAAe;YA9HZ,MAAM;UACR,MAAM,EAAE;iBACD,MAAM;aACV,GAAG,CAAC,MAAM,CAAC;eACT,OAAO;;;;YAJV,MAAM;UACR,MAAM,EAAE;iBACD,MAAM;aACV,GAAG,CAAC,MAAM,CAAC;eACT,OAAO;;;UAiIjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Tab } from '../..';
|
|
2
|
-
|
|
3
2
|
declare function __VLS_template(): Partial<Record<any, (_: {}) => any>>;
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
5
4
|
tabs: Tab[];
|
|
6
5
|
modelValue?: string;
|
|
7
6
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
7
|
"update:modelValue": (...args: any[]) => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
10
9
|
tabs: Tab[];
|
|
11
10
|
modelValue?: string;
|
|
12
11
|
}>>> & {
|
|
@@ -14,8 +13,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
|
|
|
14
13
|
}, {}, {}>;
|
|
15
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
15
|
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
17
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type
|
|
22
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
23
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
24
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
25
|
} : {
|
|
@@ -23,9 +27,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
23
27
|
required: true;
|
|
24
28
|
};
|
|
25
29
|
};
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
30
|
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"AAkDA,OAAO,EAAE,KAAK,GAAG,EAAW,MAAM,eAAe,CAAA;AA2CjD,iBAAS,cAAc,mCAgD6D,GAAG,GAsBtF;AACD,QAAA,MAAM,eAAe;UA1Gd,GAAG,EAAE;iBACE,MAAM;;;;UADb,GAAG,EAAE;iBACE,MAAM;;;UAgHlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
declare function __VLS_template(): Partial<Record<any, (_: {}) => any>>;
|
|
2
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
2
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
group: string;
|
|
4
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
5
|
group: string;
|
|
6
6
|
}>>>, {}, {}>;
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
8
|
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
9
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
17
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
18
|
} : {
|
|
@@ -15,9 +20,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
15
20
|
required: true;
|
|
16
21
|
};
|
|
17
22
|
};
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
23
|
//# sourceMappingURL=TabsBody.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsBody.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabsBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabsBody.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabsBody.vue"],"names":[],"mappings":"AAiCA,iBAAS,cAAc,mCAqB6D,GAAG,GAgBtF;AACD,QAAA,MAAM,eAAe;WAjDb,MAAM;;WAAN,MAAM;aAuDZ,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { MaterialIcons } from '../..';
|
|
2
|
-
|
|
3
2
|
interface TabType {
|
|
4
3
|
id?: string;
|
|
5
4
|
label?: string;
|
|
6
5
|
icon?: MaterialIcons;
|
|
7
6
|
}
|
|
8
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
9
8
|
title?: string;
|
|
10
9
|
tabs: (TabType | string)[];
|
|
11
10
|
modelValue?: string;
|
|
@@ -13,7 +12,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
12
|
group: string;
|
|
14
13
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
14
|
"update:modelValue": (...args: any[]) => void;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
17
16
|
title?: string;
|
|
18
17
|
tabs: (TabType | string)[];
|
|
19
18
|
modelValue?: string;
|
|
@@ -24,7 +23,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
24
23
|
}, {}, {}>;
|
|
25
24
|
export default _default;
|
|
26
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
27
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
28
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
29
|
} : {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabsNav.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabsNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabsNav.vue"],"names":[],"mappings":"AAkIA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AAMxD,UAAU,OAAO;IAChB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,aAAa,CAAA;CACpB;;YAGQ,MAAM;UACR,CAAC,OAAO,GAAG,MAAM,CAAC,EAAE;iBACb,MAAM;eACR,OAAO;WACX,MAAM;;;;YAJL,MAAM;UACR,CAAC,OAAO,GAAG,MAAM,CAAC,EAAE;iBACb,MAAM;eACR,OAAO;WACX,MAAM;;;;AA6Id,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -5298,6 +5298,10 @@ const state$1 = vue.reactive({
|
|
|
5298
5298
|
lang: "en"
|
|
5299
5299
|
});
|
|
5300
5300
|
function $tdb(langEl) {
|
|
5301
|
+
if (!langEl) {
|
|
5302
|
+
console.warn("No language element provided for $tdb function");
|
|
5303
|
+
return "";
|
|
5304
|
+
}
|
|
5301
5305
|
return langEl[state$1.lang] || langEl[state$1.defaultLang] || "";
|
|
5302
5306
|
}
|
|
5303
5307
|
function useLang() {
|
|
@@ -32305,7 +32309,7 @@ function pasteRulesPlugin(props2) {
|
|
|
32305
32309
|
}
|
|
32306
32310
|
function findDuplicates(items) {
|
|
32307
32311
|
const filtered = items.filter((el, index2) => items.indexOf(el) !== index2);
|
|
32308
|
-
return
|
|
32312
|
+
return Array.from(new Set(filtered));
|
|
32309
32313
|
}
|
|
32310
32314
|
class ExtensionManager {
|
|
32311
32315
|
constructor(extensions, editor) {
|
|
@@ -33496,7 +33500,7 @@ function getMarksBetween(from2, to2, doc2) {
|
|
|
33496
33500
|
const marks = [];
|
|
33497
33501
|
if (from2 === to2) {
|
|
33498
33502
|
doc2.resolve(from2).marks().forEach((mark) => {
|
|
33499
|
-
const $pos = doc2.resolve(from2
|
|
33503
|
+
const $pos = doc2.resolve(from2);
|
|
33500
33504
|
const range2 = getMarkRange($pos, mark.type);
|
|
33501
33505
|
if (!range2) {
|
|
33502
33506
|
return;
|
|
@@ -33610,27 +33614,36 @@ function isList(name, extensions) {
|
|
|
33610
33614
|
}
|
|
33611
33615
|
return group.split(" ").includes("list");
|
|
33612
33616
|
}
|
|
33613
|
-
function isNodeEmpty(node, { checkChildren
|
|
33617
|
+
function isNodeEmpty(node, { checkChildren = true, ignoreWhitespace = false } = {}) {
|
|
33618
|
+
var _a2;
|
|
33619
|
+
if (ignoreWhitespace) {
|
|
33620
|
+
if (node.type.name === "hardBreak") {
|
|
33621
|
+
return true;
|
|
33622
|
+
}
|
|
33623
|
+
if (node.isText) {
|
|
33624
|
+
return /^\s*$/m.test((_a2 = node.text) !== null && _a2 !== void 0 ? _a2 : "");
|
|
33625
|
+
}
|
|
33626
|
+
}
|
|
33614
33627
|
if (node.isText) {
|
|
33615
33628
|
return !node.text;
|
|
33616
33629
|
}
|
|
33630
|
+
if (node.isAtom || node.isLeaf) {
|
|
33631
|
+
return false;
|
|
33632
|
+
}
|
|
33617
33633
|
if (node.content.childCount === 0) {
|
|
33618
33634
|
return true;
|
|
33619
33635
|
}
|
|
33620
|
-
if (node.isLeaf) {
|
|
33621
|
-
return false;
|
|
33622
|
-
}
|
|
33623
33636
|
if (checkChildren) {
|
|
33624
|
-
let
|
|
33637
|
+
let isContentEmpty = true;
|
|
33625
33638
|
node.content.forEach((childNode) => {
|
|
33626
|
-
if (
|
|
33639
|
+
if (isContentEmpty === false) {
|
|
33627
33640
|
return;
|
|
33628
33641
|
}
|
|
33629
|
-
if (!isNodeEmpty(childNode)) {
|
|
33630
|
-
|
|
33642
|
+
if (!isNodeEmpty(childNode, { ignoreWhitespace, checkChildren })) {
|
|
33643
|
+
isContentEmpty = false;
|
|
33631
33644
|
}
|
|
33632
33645
|
});
|
|
33633
|
-
return
|
|
33646
|
+
return isContentEmpty;
|
|
33634
33647
|
}
|
|
33635
33648
|
return false;
|
|
33636
33649
|
}
|
|
@@ -35626,6 +35639,7 @@ const CodeBlock = Node$2.create({
|
|
|
35626
35639
|
languageClassPrefix: "language-",
|
|
35627
35640
|
exitOnTripleEnter: true,
|
|
35628
35641
|
exitOnArrowDown: true,
|
|
35642
|
+
defaultLanguage: null,
|
|
35629
35643
|
HTMLAttributes: {}
|
|
35630
35644
|
};
|
|
35631
35645
|
},
|
|
@@ -35637,7 +35651,7 @@ const CodeBlock = Node$2.create({
|
|
|
35637
35651
|
addAttributes() {
|
|
35638
35652
|
return {
|
|
35639
35653
|
language: {
|
|
35640
|
-
default:
|
|
35654
|
+
default: this.options.defaultLanguage,
|
|
35641
35655
|
parseHTML: (element) => {
|
|
35642
35656
|
var _a2;
|
|
35643
35657
|
const { languageClassPrefix } = this.options;
|
package/dist/index.mjs
CHANGED
|
@@ -5296,6 +5296,10 @@ const state$1 = reactive({
|
|
|
5296
5296
|
lang: "en"
|
|
5297
5297
|
});
|
|
5298
5298
|
function $tdb(langEl) {
|
|
5299
|
+
if (!langEl) {
|
|
5300
|
+
console.warn("No language element provided for $tdb function");
|
|
5301
|
+
return "";
|
|
5302
|
+
}
|
|
5299
5303
|
return langEl[state$1.lang] || langEl[state$1.defaultLang] || "";
|
|
5300
5304
|
}
|
|
5301
5305
|
function useLang() {
|
|
@@ -32303,7 +32307,7 @@ function pasteRulesPlugin(props2) {
|
|
|
32303
32307
|
}
|
|
32304
32308
|
function findDuplicates(items) {
|
|
32305
32309
|
const filtered = items.filter((el, index2) => items.indexOf(el) !== index2);
|
|
32306
|
-
return
|
|
32310
|
+
return Array.from(new Set(filtered));
|
|
32307
32311
|
}
|
|
32308
32312
|
class ExtensionManager {
|
|
32309
32313
|
constructor(extensions, editor) {
|
|
@@ -33494,7 +33498,7 @@ function getMarksBetween(from2, to2, doc2) {
|
|
|
33494
33498
|
const marks = [];
|
|
33495
33499
|
if (from2 === to2) {
|
|
33496
33500
|
doc2.resolve(from2).marks().forEach((mark) => {
|
|
33497
|
-
const $pos = doc2.resolve(from2
|
|
33501
|
+
const $pos = doc2.resolve(from2);
|
|
33498
33502
|
const range2 = getMarkRange($pos, mark.type);
|
|
33499
33503
|
if (!range2) {
|
|
33500
33504
|
return;
|
|
@@ -33608,27 +33612,36 @@ function isList(name, extensions) {
|
|
|
33608
33612
|
}
|
|
33609
33613
|
return group.split(" ").includes("list");
|
|
33610
33614
|
}
|
|
33611
|
-
function isNodeEmpty(node, { checkChildren
|
|
33615
|
+
function isNodeEmpty(node, { checkChildren = true, ignoreWhitespace = false } = {}) {
|
|
33616
|
+
var _a2;
|
|
33617
|
+
if (ignoreWhitespace) {
|
|
33618
|
+
if (node.type.name === "hardBreak") {
|
|
33619
|
+
return true;
|
|
33620
|
+
}
|
|
33621
|
+
if (node.isText) {
|
|
33622
|
+
return /^\s*$/m.test((_a2 = node.text) !== null && _a2 !== void 0 ? _a2 : "");
|
|
33623
|
+
}
|
|
33624
|
+
}
|
|
33612
33625
|
if (node.isText) {
|
|
33613
33626
|
return !node.text;
|
|
33614
33627
|
}
|
|
33628
|
+
if (node.isAtom || node.isLeaf) {
|
|
33629
|
+
return false;
|
|
33630
|
+
}
|
|
33615
33631
|
if (node.content.childCount === 0) {
|
|
33616
33632
|
return true;
|
|
33617
33633
|
}
|
|
33618
|
-
if (node.isLeaf) {
|
|
33619
|
-
return false;
|
|
33620
|
-
}
|
|
33621
33634
|
if (checkChildren) {
|
|
33622
|
-
let
|
|
33635
|
+
let isContentEmpty = true;
|
|
33623
33636
|
node.content.forEach((childNode) => {
|
|
33624
|
-
if (
|
|
33637
|
+
if (isContentEmpty === false) {
|
|
33625
33638
|
return;
|
|
33626
33639
|
}
|
|
33627
|
-
if (!isNodeEmpty(childNode)) {
|
|
33628
|
-
|
|
33640
|
+
if (!isNodeEmpty(childNode, { ignoreWhitespace, checkChildren })) {
|
|
33641
|
+
isContentEmpty = false;
|
|
33629
33642
|
}
|
|
33630
33643
|
});
|
|
33631
|
-
return
|
|
33644
|
+
return isContentEmpty;
|
|
33632
33645
|
}
|
|
33633
33646
|
return false;
|
|
33634
33647
|
}
|
|
@@ -35624,6 +35637,7 @@ const CodeBlock = Node$2.create({
|
|
|
35624
35637
|
languageClassPrefix: "language-",
|
|
35625
35638
|
exitOnTripleEnter: true,
|
|
35626
35639
|
exitOnArrowDown: true,
|
|
35640
|
+
defaultLanguage: null,
|
|
35627
35641
|
HTMLAttributes: {}
|
|
35628
35642
|
};
|
|
35629
35643
|
},
|
|
@@ -35635,7 +35649,7 @@ const CodeBlock = Node$2.create({
|
|
|
35635
35649
|
addAttributes() {
|
|
35636
35650
|
return {
|
|
35637
35651
|
language: {
|
|
35638
|
-
default:
|
|
35652
|
+
default: this.options.defaultLanguage,
|
|
35639
35653
|
parseHTML: (element) => {
|
|
35640
35654
|
var _a2;
|
|
35641
35655
|
const { languageClassPrefix } = this.options;
|
package/dist/plugins/bagel.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InjectionKey, Plugin } from 'vue';
|
|
2
2
|
import { Bagel } from '../../../sdk/src/index.ts';
|
|
3
|
-
|
|
4
3
|
export declare const bagelInjectionKey: InjectionKey<Bagel>;
|
|
5
4
|
export declare const i18nTInjectionKey: InjectionKey<(key: string) => string>;
|
|
6
5
|
export declare function useBagel(): Bagel;
|
package/dist/plugins/modal.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SelectInput, TextInput } from '..';
|
|
2
|
-
|
|
3
2
|
export type AttributeValue = string | number | boolean | null | undefined | Record<string, any>;
|
|
4
3
|
export type AttributeFn<T = Record<string, any>> = (field: any, row: T) => AttributeValue;
|
|
5
4
|
export interface Attributes<T = any> {
|
package/dist/types/NavLink.d.ts
CHANGED
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Attributes, BglFormSchemaT } from '..';
|
|
2
|
-
|
|
3
2
|
export declare function debounce(fn: () => void, delay?: number): void;
|
|
4
3
|
export declare function keyToLabel(key?: string): string | undefined;
|
|
5
4
|
export declare function copyText(text: string, cb?: (msg: string) => void): Promise<void>;
|
package/dist/utils/lang.d.ts
CHANGED
package/dist/utils/lang.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lang.d.ts","sourceRoot":"","sources":["../../src/utils/lang.ts"],"names":[],"mappings":"AAcA,iBAAS,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"lang.d.ts","sourceRoot":"","sources":["../../src/utils/lang.ts"],"names":[],"mappings":"AAcA,iBAAS,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM,CAO/D;AAED,wBAAgB,OAAO;;;;;EAsBtB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.683",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/signature_pad": "^2.3.6",
|
|
55
55
|
"@vue-macros/reactivity-transform": "^1.0.3",
|
|
56
|
-
"vue": "^3.4.
|
|
56
|
+
"vue": "^3.4.36"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@bagelink/sdk": "*",
|
|
@@ -104,15 +104,15 @@
|
|
|
104
104
|
"access": "public"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@tiptap/extension-image": "^2.5.
|
|
108
|
-
"@tiptap/extension-table": "^2.5.
|
|
109
|
-
"@tiptap/extension-table-cell": "^2.5.
|
|
110
|
-
"@tiptap/extension-table-header": "^2.5.
|
|
111
|
-
"@tiptap/extension-table-row": "^2.5.
|
|
112
|
-
"@tiptap/extension-youtube": "^2.5.
|
|
113
|
-
"@tiptap/pm": "^2.5.
|
|
114
|
-
"@tiptap/starter-kit": "^2.5.
|
|
115
|
-
"@tiptap/vue-3": "^2.5.
|
|
107
|
+
"@tiptap/extension-image": "^2.5.9",
|
|
108
|
+
"@tiptap/extension-table": "^2.5.9",
|
|
109
|
+
"@tiptap/extension-table-cell": "^2.5.9",
|
|
110
|
+
"@tiptap/extension-table-header": "^2.5.9",
|
|
111
|
+
"@tiptap/extension-table-row": "^2.5.9",
|
|
112
|
+
"@tiptap/extension-youtube": "^2.5.9",
|
|
113
|
+
"@tiptap/pm": "^2.5.9",
|
|
114
|
+
"@tiptap/starter-kit": "^2.5.9",
|
|
115
|
+
"@tiptap/vue-3": "^2.5.9",
|
|
116
116
|
"@vuepic/vue-datepicker": "^8.8.1",
|
|
117
117
|
"@vueuse/core": "^10.11.0",
|
|
118
118
|
"axios": "^1.7.3",
|
package/src/utils/lang.ts
CHANGED
|
@@ -12,7 +12,12 @@ const state: State = reactive({
|
|
|
12
12
|
lang: 'en',
|
|
13
13
|
})
|
|
14
14
|
|
|
15
|
-
function $tdb<T extends Record<string, any>>(langEl
|
|
15
|
+
function $tdb<T extends Record<string, any>>(langEl?: T): string {
|
|
16
|
+
if (!langEl) {
|
|
17
|
+
console.warn('No language element provided for $tdb function')
|
|
18
|
+
return ''
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
return langEl[state.lang] || langEl[state.defaultLang] || ''
|
|
17
22
|
}
|
|
18
23
|
|
|
@@ -22,7 +27,6 @@ export function useLang() {
|
|
|
22
27
|
set: val => (state.lang = val),
|
|
23
28
|
})
|
|
24
29
|
|
|
25
|
-
|
|
26
30
|
const availableLangs = computed({
|
|
27
31
|
get: () => state.availableLangs,
|
|
28
32
|
set: val => (state.availableLangs = val),
|