@katlux/toolkit 0.1.1-alpha.92 → 0.1.1-alpha.95
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/compiled/composables/locales.mjs +554 -0
- package/dist/compiled/composables/useKatluxI18n.mjs +56 -0
- package/dist/compiled/composables/useKatluxI18n.spec.mjs +10 -0
- package/dist/compiled/composables/usePresetComponent.mjs +6 -12
- package/dist/module.cjs +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/KButton/KButton.global.d.vue.ts +1 -1
- package/dist/runtime/components/KButton/KButton.global.vue.d.ts +1 -1
- package/dist/runtime/components/KButton/KButton.logic.d.ts +1 -1
- package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +2 -2
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +2 -2
- package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +1 -1
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +8 -8
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +8 -8
- package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.d.ts +3 -3
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +2 -2
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +2 -2
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +2 -2
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +2 -2
- package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +9 -9
- package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +9 -9
- package/dist/runtime/components/KGantt/KGantt.logic.d.ts +4 -4
- package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +2 -2
- package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +2 -2
- package/dist/runtime/components/KIcon/KIcon.global.d.vue.ts +6 -6
- package/dist/runtime/components/KIcon/KIcon.global.vue.d.ts +6 -6
- package/dist/runtime/components/KIcon/KIcon.logic.d.ts +3 -3
- package/dist/runtime/components/KLoader/KLoader.global.d.vue.ts +1 -1
- package/dist/runtime/components/KLoader/KLoader.global.vue.d.ts +1 -1
- package/dist/runtime/components/KSlider/KSlider.global.d.vue.ts +1 -1
- package/dist/runtime/components/KSlider/KSlider.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KToast/KToast.global.d.vue.ts +1 -1
- package/dist/runtime/components/KToast/KToast.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTooltip/KTooltip.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTooltip/KTooltip.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +1 -1
- package/dist/runtime/composables/locales.d.ts +28 -0
- package/dist/runtime/composables/locales.js +554 -0
- package/dist/runtime/composables/useKatluxI18n.d.ts +15 -0
- package/dist/runtime/composables/useKatluxI18n.js +56 -0
- package/dist/runtime/composables/usePresetComponent.d.ts +3 -9
- package/dist/runtime/composables/usePresetComponent.js +6 -12
- package/dist/runtime/plugins/PresetPlugin.js +11 -12
- package/dist/runtime/presets/default/components/KAlert/KAlert.vue +2 -3
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue +2 -2
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +2 -2
- package/dist/runtime/presets/default/components/KModal/KModal.vue +2 -2
- package/dist/runtime/presets/default/components/KPagination/KPagination.vue +2 -2
- package/dist/runtime/presets/default/components/KTabs/KTabs.vue +2 -2
- package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue +2 -2
- package/dist/runtime/presets/default/components/KTree/KTree.vue +2 -2
- package/package.json +2 -1
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { computed, defineAsyncComponent } from "vue";
|
|
2
|
-
import { useAppConfig
|
|
3
|
-
|
|
4
|
-
return useState("katlux-preset-loaders-registry", () => ({}));
|
|
5
|
-
}
|
|
1
|
+
import { computed, defineAsyncComponent, shallowReactive } from "vue";
|
|
2
|
+
import { useAppConfig } from "#app";
|
|
3
|
+
const _loadersRegistry = shallowReactive({});
|
|
6
4
|
export function registerPresetComponents(presetName, loaders) {
|
|
7
|
-
|
|
8
|
-
registry.value[presetName] = loaders;
|
|
5
|
+
_loadersRegistry[presetName] = loaders;
|
|
9
6
|
}
|
|
10
7
|
export function usePresetComponent(componentBaseName, defaultComponent) {
|
|
11
8
|
const appConfig = useAppConfig();
|
|
12
|
-
const registry = usePresetLoadersRegistry();
|
|
13
9
|
const presetStack = computed(() => {
|
|
14
10
|
const raw = appConfig.katluxToolkit?.activePreset;
|
|
15
11
|
const list = Array.isArray(raw) ? raw : raw ? [raw] : [];
|
|
@@ -19,7 +15,7 @@ export function usePresetComponent(componentBaseName, defaultComponent) {
|
|
|
19
15
|
let loader;
|
|
20
16
|
for (const presetName of presetStack.value) {
|
|
21
17
|
if (presetName === "default") break;
|
|
22
|
-
const externalLoaders =
|
|
18
|
+
const externalLoaders = _loadersRegistry[presetName];
|
|
23
19
|
if (externalLoaders) {
|
|
24
20
|
const key = `./components/${componentBaseName}/${componentBaseName}.vue`;
|
|
25
21
|
loader = externalLoaders[key];
|
|
@@ -47,9 +43,7 @@ export function usePresetComponent(componentBaseName, defaultComponent) {
|
|
|
47
43
|
if (loader) break;
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
|
-
if (loader)
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
46
|
+
if (loader) break;
|
|
53
47
|
}
|
|
54
48
|
if (!loader) {
|
|
55
49
|
return defaultComponent;
|
package/dist/module.cjs
CHANGED
|
@@ -10,7 +10,7 @@ const module$1 = kit.defineNuxtModule({
|
|
|
10
10
|
name: "@katlux/toolkit",
|
|
11
11
|
configKey: "katluxToolkit"
|
|
12
12
|
},
|
|
13
|
-
setup(options, nuxt) {
|
|
13
|
+
async setup(options, nuxt) {
|
|
14
14
|
const { resolve } = kit.createResolver((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('module.cjs', document.baseURI).href)));
|
|
15
15
|
const runtimePath = resolve("./runtime");
|
|
16
16
|
nuxt.options.build.transpile.push(runtimePath);
|
|
@@ -73,6 +73,7 @@ const module$1 = kit.defineNuxtModule({
|
|
|
73
73
|
kit.addPlugin(resolve("./runtime/plugins/registerDirectives"));
|
|
74
74
|
kit.addPlugin(resolve("./runtime/plugins/PresetPlugin"));
|
|
75
75
|
nuxt.options.alias["#toolkit"] = resolve("./runtime");
|
|
76
|
+
nuxt.options.alias["#toolkit/*"] = resolve("./runtime/*");
|
|
76
77
|
const userSrcDir = nuxt.options.srcDir || nuxt.options.rootDir;
|
|
77
78
|
const possiblePresetsDirs = [
|
|
78
79
|
resolve(userSrcDir, "presets"),
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -7,7 +7,7 @@ const module$1 = defineNuxtModule({
|
|
|
7
7
|
name: "@katlux/toolkit",
|
|
8
8
|
configKey: "katluxToolkit"
|
|
9
9
|
},
|
|
10
|
-
setup(options, nuxt) {
|
|
10
|
+
async setup(options, nuxt) {
|
|
11
11
|
const { resolve } = createResolver(import.meta.url);
|
|
12
12
|
const runtimePath = resolve("./runtime");
|
|
13
13
|
nuxt.options.build.transpile.push(runtimePath);
|
|
@@ -70,6 +70,7 @@ const module$1 = defineNuxtModule({
|
|
|
70
70
|
addPlugin(resolve("./runtime/plugins/registerDirectives"));
|
|
71
71
|
addPlugin(resolve("./runtime/plugins/PresetPlugin"));
|
|
72
72
|
nuxt.options.alias["#toolkit"] = resolve("./runtime");
|
|
73
|
+
nuxt.options.alias["#toolkit/*"] = resolve("./runtime/*");
|
|
73
74
|
const userSrcDir = nuxt.options.srcDir || nuxt.options.rootDir;
|
|
74
75
|
const possiblePresetsDirs = [
|
|
75
76
|
resolve(userSrcDir, "presets"),
|
|
@@ -55,7 +55,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
55
55
|
onClick?: (() => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
size: "small" | "large" | "medium" | undefined;
|
|
58
|
-
type: "
|
|
58
|
+
type: "default" | "info" | "success" | "warning" | "danger" | "primary" | "light" | "dark" | undefined;
|
|
59
59
|
iconOnly: boolean;
|
|
60
60
|
disabled: boolean;
|
|
61
61
|
href: string;
|
|
@@ -55,7 +55,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
55
55
|
onClick?: (() => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
size: "small" | "large" | "medium" | undefined;
|
|
58
|
-
type: "
|
|
58
|
+
type: "default" | "info" | "success" | "warning" | "danger" | "primary" | "light" | "dark" | undefined;
|
|
59
59
|
iconOnly: boolean;
|
|
60
60
|
disabled: boolean;
|
|
61
61
|
href: string;
|
|
@@ -23,7 +23,7 @@ export interface KButtonEmits {
|
|
|
23
23
|
export declare function useKButtonLogic(props: KButtonProps, emit: KButtonEmits): {
|
|
24
24
|
isLink: import("vue").ComputedRef<boolean>;
|
|
25
25
|
isDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
26
|
-
buttonClasses: import("vue").ComputedRef<("
|
|
26
|
+
buttonClasses: import("vue").ComputedRef<("default" | "info" | "success" | "warning" | "danger" | "small" | "primary" | "light" | "dark" | "large" | "medium" | {
|
|
27
27
|
disabled: boolean | undefined;
|
|
28
28
|
'icon-only': boolean | undefined;
|
|
29
29
|
})[]>;
|
|
@@ -55,10 +55,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
55
55
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
label: string;
|
|
58
|
-
value: any;
|
|
59
58
|
disabled: boolean;
|
|
60
59
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
61
60
|
validationText: string;
|
|
61
|
+
value: any;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const _default: typeof __VLS_export;
|
|
64
64
|
export default _default;
|
|
@@ -55,10 +55,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
55
55
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
label: string;
|
|
58
|
-
value: any;
|
|
59
58
|
disabled: boolean;
|
|
60
59
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
61
60
|
validationText: string;
|
|
61
|
+
value: any;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const _default: typeof __VLS_export;
|
|
64
64
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
maxSelectedDisplay: {
|
|
24
|
-
type: (BooleanConstructor |
|
|
24
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
27
|
placeholder: {
|
|
@@ -98,7 +98,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
100
|
maxSelectedDisplay: {
|
|
101
|
-
type: (BooleanConstructor |
|
|
101
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
102
102
|
default: boolean;
|
|
103
103
|
};
|
|
104
104
|
placeholder: {
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
maxSelectedDisplay: {
|
|
24
|
-
type: (BooleanConstructor |
|
|
24
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
27
|
placeholder: {
|
|
@@ -98,7 +98,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
100
|
maxSelectedDisplay: {
|
|
101
|
-
type: (BooleanConstructor |
|
|
101
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
102
102
|
default: boolean;
|
|
103
103
|
};
|
|
104
104
|
placeholder: {
|
|
@@ -48,7 +48,7 @@ export declare const KComboboxDefaultProps: {
|
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
50
|
maxSelectedDisplay: {
|
|
51
|
-
type: (BooleanConstructor |
|
|
51
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
54
|
placeholder: {
|
|
@@ -5,11 +5,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
selectionValue: {
|
|
8
|
-
type: (
|
|
8
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
9
9
|
default: null;
|
|
10
10
|
};
|
|
11
11
|
inputValue: {
|
|
12
|
-
type: (
|
|
12
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
modelValue: {
|
|
@@ -99,11 +99,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
99
99
|
default: string;
|
|
100
100
|
};
|
|
101
101
|
selectionValue: {
|
|
102
|
-
type: (
|
|
102
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
103
103
|
default: null;
|
|
104
104
|
};
|
|
105
105
|
inputValue: {
|
|
106
|
-
type: (
|
|
106
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
107
107
|
default: string;
|
|
108
108
|
};
|
|
109
109
|
modelValue: {
|
|
@@ -188,8 +188,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
188
188
|
"onUpdate:selectionValue"?: ((value: any) => any) | undefined;
|
|
189
189
|
"onUpdate:inputValue"?: ((value: any) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
|
-
label: string;
|
|
192
191
|
type: import("./KCompositeInput.logic.js").CompositeInputType;
|
|
192
|
+
label: string;
|
|
193
193
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
194
194
|
validationText: string;
|
|
195
195
|
modelValue: import("./KCompositeInput.logic.js").ICompositeItem[];
|
|
@@ -198,13 +198,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
198
198
|
placeholder: string;
|
|
199
199
|
teleportTo: string;
|
|
200
200
|
valueField: string;
|
|
201
|
-
|
|
202
|
-
showClear: boolean;
|
|
203
|
-
inputType: "number" | "text" | "url" | "search" | "password" | "email" | "tel" | undefined;
|
|
201
|
+
inputType: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
204
202
|
selectionValue: string | number | Record<string, any> | unknown[];
|
|
205
203
|
inputValue: string | number | Record<string, any> | unknown[];
|
|
206
204
|
selectionSide: import("./KCompositeInput.logic.js").SelectionSide;
|
|
205
|
+
mask: string;
|
|
207
206
|
inputPlaceholder: string;
|
|
207
|
+
showClear: boolean;
|
|
208
208
|
inputConfigField: string;
|
|
209
209
|
validateAll: boolean;
|
|
210
210
|
inputFormat: string;
|
|
@@ -5,11 +5,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
selectionValue: {
|
|
8
|
-
type: (
|
|
8
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
9
9
|
default: null;
|
|
10
10
|
};
|
|
11
11
|
inputValue: {
|
|
12
|
-
type: (
|
|
12
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
modelValue: {
|
|
@@ -99,11 +99,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
99
99
|
default: string;
|
|
100
100
|
};
|
|
101
101
|
selectionValue: {
|
|
102
|
-
type: (
|
|
102
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
103
103
|
default: null;
|
|
104
104
|
};
|
|
105
105
|
inputValue: {
|
|
106
|
-
type: (
|
|
106
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
107
107
|
default: string;
|
|
108
108
|
};
|
|
109
109
|
modelValue: {
|
|
@@ -188,8 +188,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
188
188
|
"onUpdate:selectionValue"?: ((value: any) => any) | undefined;
|
|
189
189
|
"onUpdate:inputValue"?: ((value: any) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
|
-
label: string;
|
|
192
191
|
type: import("./KCompositeInput.logic.js").CompositeInputType;
|
|
192
|
+
label: string;
|
|
193
193
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
194
194
|
validationText: string;
|
|
195
195
|
modelValue: import("./KCompositeInput.logic.js").ICompositeItem[];
|
|
@@ -198,13 +198,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
198
198
|
placeholder: string;
|
|
199
199
|
teleportTo: string;
|
|
200
200
|
valueField: string;
|
|
201
|
-
|
|
202
|
-
showClear: boolean;
|
|
203
|
-
inputType: "number" | "text" | "url" | "search" | "password" | "email" | "tel" | undefined;
|
|
201
|
+
inputType: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
204
202
|
selectionValue: string | number | Record<string, any> | unknown[];
|
|
205
203
|
inputValue: string | number | Record<string, any> | unknown[];
|
|
206
204
|
selectionSide: import("./KCompositeInput.logic.js").SelectionSide;
|
|
205
|
+
mask: string;
|
|
207
206
|
inputPlaceholder: string;
|
|
207
|
+
showClear: boolean;
|
|
208
208
|
inputConfigField: string;
|
|
209
209
|
validateAll: boolean;
|
|
210
210
|
inputFormat: string;
|
|
@@ -73,11 +73,11 @@ export declare const KCompositeInputDefaultProps: {
|
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
75
|
selectionValue: {
|
|
76
|
-
type: (
|
|
76
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
77
77
|
default: null;
|
|
78
78
|
};
|
|
79
79
|
inputValue: {
|
|
80
|
-
type: (
|
|
80
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
81
81
|
default: string;
|
|
82
82
|
};
|
|
83
83
|
modelValue: {
|
|
@@ -176,7 +176,7 @@ export declare function useKCompositeInputLogic(props: KCompositeInputProps, emi
|
|
|
176
176
|
modelValue: any;
|
|
177
177
|
'onUpdate:modelValue': (val: any) => any;
|
|
178
178
|
placeholder: string | undefined;
|
|
179
|
-
type: "number" | "
|
|
179
|
+
type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
180
180
|
mask: string | undefined;
|
|
181
181
|
showClear: boolean | undefined;
|
|
182
182
|
}>;
|
|
@@ -120,17 +120,17 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
120
120
|
"onUpdate:calendarShow"?: ((value: boolean) => any) | undefined;
|
|
121
121
|
"onUpdate:day"?: ((value: string | Date) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
-
label: string;
|
|
124
123
|
isOpen: boolean;
|
|
124
|
+
label: string;
|
|
125
125
|
day: string | Date;
|
|
126
126
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
127
127
|
validationText: string;
|
|
128
128
|
modelValue: string | Date;
|
|
129
129
|
placeholder: string;
|
|
130
130
|
teleportTo: string;
|
|
131
|
+
showClear: boolean;
|
|
131
132
|
align: "left" | "right" | undefined;
|
|
132
133
|
format: string;
|
|
133
|
-
showClear: boolean;
|
|
134
134
|
calendarDefinedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
135
135
|
calendarMarkedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
136
136
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -120,17 +120,17 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
120
120
|
"onUpdate:calendarShow"?: ((value: boolean) => any) | undefined;
|
|
121
121
|
"onUpdate:day"?: ((value: string | Date) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
-
label: string;
|
|
124
123
|
isOpen: boolean;
|
|
124
|
+
label: string;
|
|
125
125
|
day: string | Date;
|
|
126
126
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
127
127
|
validationText: string;
|
|
128
128
|
modelValue: string | Date;
|
|
129
129
|
placeholder: string;
|
|
130
130
|
teleportTo: string;
|
|
131
|
+
showClear: boolean;
|
|
131
132
|
align: "left" | "right" | undefined;
|
|
132
133
|
format: string;
|
|
133
|
-
showClear: boolean;
|
|
134
134
|
calendarDefinedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
135
135
|
calendarMarkedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
136
136
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -126,16 +126,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
126
126
|
"onUpdate:maskedModel"?: ((value: string) => any) | undefined;
|
|
127
127
|
"onUpdate:calendarShow"?: ((value: boolean) => any) | undefined;
|
|
128
128
|
}>, {
|
|
129
|
-
label: string;
|
|
130
129
|
isOpen: boolean;
|
|
130
|
+
label: string;
|
|
131
131
|
day: string | Date;
|
|
132
132
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
133
133
|
validationText: string;
|
|
134
134
|
modelValue: string | Date;
|
|
135
135
|
placeholder: string;
|
|
136
136
|
teleportTo: string;
|
|
137
|
-
format: string;
|
|
138
137
|
showClear: boolean;
|
|
138
|
+
format: string;
|
|
139
139
|
calendarDefinedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
140
140
|
calendarMarkedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
141
141
|
timeFormat: string;
|
|
@@ -126,16 +126,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
126
126
|
"onUpdate:maskedModel"?: ((value: string) => any) | undefined;
|
|
127
127
|
"onUpdate:calendarShow"?: ((value: boolean) => any) | undefined;
|
|
128
128
|
}>, {
|
|
129
|
-
label: string;
|
|
130
129
|
isOpen: boolean;
|
|
130
|
+
label: string;
|
|
131
131
|
day: string | Date;
|
|
132
132
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
133
133
|
validationText: string;
|
|
134
134
|
modelValue: string | Date;
|
|
135
135
|
placeholder: string;
|
|
136
136
|
teleportTo: string;
|
|
137
|
-
format: string;
|
|
138
137
|
showClear: boolean;
|
|
138
|
+
format: string;
|
|
139
139
|
calendarDefinedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
140
140
|
calendarMarkedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
141
141
|
timeFormat: string;
|
|
@@ -20,19 +20,19 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
20
20
|
default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
startDate: {
|
|
23
|
-
type: (DateConstructor |
|
|
23
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
24
24
|
default: null;
|
|
25
25
|
};
|
|
26
26
|
endDate: {
|
|
27
|
-
type: (DateConstructor |
|
|
27
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
28
28
|
default: null;
|
|
29
29
|
};
|
|
30
30
|
startingPoint: {
|
|
31
|
-
type: (DateConstructor |
|
|
31
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
32
32
|
default: null;
|
|
33
33
|
};
|
|
34
34
|
endingPoint: {
|
|
35
|
-
type: (DateConstructor |
|
|
35
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
36
36
|
default: null;
|
|
37
37
|
};
|
|
38
38
|
taskMapping: {
|
|
@@ -98,19 +98,19 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
98
98
|
default: () => never[];
|
|
99
99
|
};
|
|
100
100
|
startDate: {
|
|
101
|
-
type: (DateConstructor |
|
|
101
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
102
102
|
default: null;
|
|
103
103
|
};
|
|
104
104
|
endDate: {
|
|
105
|
-
type: (DateConstructor |
|
|
105
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
106
106
|
default: null;
|
|
107
107
|
};
|
|
108
108
|
startingPoint: {
|
|
109
|
-
type: (DateConstructor |
|
|
109
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
110
110
|
default: null;
|
|
111
111
|
};
|
|
112
112
|
endingPoint: {
|
|
113
|
-
type: (DateConstructor |
|
|
113
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
114
114
|
default: null;
|
|
115
115
|
};
|
|
116
116
|
taskMapping: {
|
|
@@ -152,13 +152,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
152
152
|
"onUpdate:startingPoint"?: ((...args: any[]) => any) | undefined;
|
|
153
153
|
"onUpdate:endingPoint"?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
}>, {
|
|
155
|
-
mode: string;
|
|
156
155
|
bulkActions: unknown[];
|
|
157
156
|
rowActions: unknown[];
|
|
158
157
|
cellSlots: Record<string, any>;
|
|
159
158
|
headerSlots: Record<string, any>;
|
|
160
159
|
startDate: string | number | Date;
|
|
161
160
|
endDate: string | number | Date;
|
|
161
|
+
mode: string;
|
|
162
162
|
editable: boolean;
|
|
163
163
|
snapTo: string;
|
|
164
164
|
resourceTypeField: string;
|
|
@@ -20,19 +20,19 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
20
20
|
default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
startDate: {
|
|
23
|
-
type: (DateConstructor |
|
|
23
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
24
24
|
default: null;
|
|
25
25
|
};
|
|
26
26
|
endDate: {
|
|
27
|
-
type: (DateConstructor |
|
|
27
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
28
28
|
default: null;
|
|
29
29
|
};
|
|
30
30
|
startingPoint: {
|
|
31
|
-
type: (DateConstructor |
|
|
31
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
32
32
|
default: null;
|
|
33
33
|
};
|
|
34
34
|
endingPoint: {
|
|
35
|
-
type: (DateConstructor |
|
|
35
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
36
36
|
default: null;
|
|
37
37
|
};
|
|
38
38
|
taskMapping: {
|
|
@@ -98,19 +98,19 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
98
98
|
default: () => never[];
|
|
99
99
|
};
|
|
100
100
|
startDate: {
|
|
101
|
-
type: (DateConstructor |
|
|
101
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
102
102
|
default: null;
|
|
103
103
|
};
|
|
104
104
|
endDate: {
|
|
105
|
-
type: (DateConstructor |
|
|
105
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
106
106
|
default: null;
|
|
107
107
|
};
|
|
108
108
|
startingPoint: {
|
|
109
|
-
type: (DateConstructor |
|
|
109
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
110
110
|
default: null;
|
|
111
111
|
};
|
|
112
112
|
endingPoint: {
|
|
113
|
-
type: (DateConstructor |
|
|
113
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
114
114
|
default: null;
|
|
115
115
|
};
|
|
116
116
|
taskMapping: {
|
|
@@ -152,13 +152,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
152
152
|
"onUpdate:startingPoint"?: ((...args: any[]) => any) | undefined;
|
|
153
153
|
"onUpdate:endingPoint"?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
}>, {
|
|
155
|
-
mode: string;
|
|
156
155
|
bulkActions: unknown[];
|
|
157
156
|
rowActions: unknown[];
|
|
158
157
|
cellSlots: Record<string, any>;
|
|
159
158
|
headerSlots: Record<string, any>;
|
|
160
159
|
startDate: string | number | Date;
|
|
161
160
|
endDate: string | number | Date;
|
|
161
|
+
mode: string;
|
|
162
162
|
editable: boolean;
|
|
163
163
|
snapTo: string;
|
|
164
164
|
resourceTypeField: string;
|
|
@@ -81,19 +81,19 @@ export declare const KGanttDefaultProps: {
|
|
|
81
81
|
default: () => never[];
|
|
82
82
|
};
|
|
83
83
|
startDate: {
|
|
84
|
-
type: (DateConstructor |
|
|
84
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
85
85
|
default: null;
|
|
86
86
|
};
|
|
87
87
|
endDate: {
|
|
88
|
-
type: (DateConstructor |
|
|
88
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
89
89
|
default: null;
|
|
90
90
|
};
|
|
91
91
|
startingPoint: {
|
|
92
|
-
type: (DateConstructor |
|
|
92
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
93
93
|
default: null;
|
|
94
94
|
};
|
|
95
95
|
endingPoint: {
|
|
96
|
-
type: (DateConstructor |
|
|
96
|
+
type: (DateConstructor | StringConstructor | NumberConstructor)[];
|
|
97
97
|
default: null;
|
|
98
98
|
};
|
|
99
99
|
taskMapping: {
|
|
@@ -106,15 +106,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106
106
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
107
107
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
label: string;
|
|
110
109
|
isOpen: boolean;
|
|
110
|
+
label: string;
|
|
111
111
|
disabled: boolean;
|
|
112
112
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
113
113
|
validationText: string;
|
|
114
114
|
modelValue: string;
|
|
115
115
|
placeholder: string;
|
|
116
|
-
format: string;
|
|
117
116
|
showClear: boolean;
|
|
117
|
+
format: string;
|
|
118
118
|
step: number;
|
|
119
119
|
startHour: string;
|
|
120
120
|
endHour: string;
|
|
@@ -106,15 +106,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106
106
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
107
107
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
label: string;
|
|
110
109
|
isOpen: boolean;
|
|
110
|
+
label: string;
|
|
111
111
|
disabled: boolean;
|
|
112
112
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
113
113
|
validationText: string;
|
|
114
114
|
modelValue: string;
|
|
115
115
|
placeholder: string;
|
|
116
|
-
format: string;
|
|
117
116
|
showClear: boolean;
|
|
117
|
+
format: string;
|
|
118
118
|
step: number;
|
|
119
119
|
startHour: string;
|
|
120
120
|
endHour: string;
|
|
@@ -4,15 +4,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4
4
|
required: boolean;
|
|
5
5
|
};
|
|
6
6
|
width: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
8
|
default: undefined;
|
|
9
9
|
};
|
|
10
10
|
height: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
14
|
rotate: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
16
|
default: number;
|
|
17
17
|
};
|
|
18
18
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -21,15 +21,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
required: boolean;
|
|
22
22
|
};
|
|
23
23
|
width: {
|
|
24
|
-
type: (
|
|
24
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
25
25
|
default: undefined;
|
|
26
26
|
};
|
|
27
27
|
height: {
|
|
28
|
-
type: (
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
29
29
|
default: number;
|
|
30
30
|
};
|
|
31
31
|
rotate: {
|
|
32
|
-
type: (
|
|
32
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
33
33
|
default: number;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{}>, {
|