@katlux/toolkit 0.1.1-alpha.145 → 0.1.1-alpha.146
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/bin/ai-init.mjs +517 -0
- package/bin/ai-tokens.mjs +212 -54
- package/bin/cli.mjs +76 -47
- package/bin/create-preset.mjs +1 -0
- package/bin/preset-contracts.json +2941 -0
- package/dist/compiled/composables/locales.mjs +204 -25
- package/dist/compiled/composables/useDataProvider.mjs +36 -25
- package/dist/compiled/composables/useFilterLogic.mjs +10 -2
- package/dist/compiled/composables/useKatluxForm.mjs +6 -4
- package/dist/compiled/composables/useVirtualDataset.mjs +689 -0
- package/dist/compiled/composables/useVirtualScroll.mjs +29 -9
- package/dist/module.cjs +63 -77
- package/dist/module.d.cts +5 -0
- package/dist/module.d.mts +4 -1
- package/dist/module.mjs +60 -78
- package/dist/runtime/components/KBulkActions/KBulkActions.global.d.vue.ts +7 -3
- package/dist/runtime/components/KBulkActions/KBulkActions.global.vue +4 -1
- package/dist/runtime/components/KBulkActions/KBulkActions.global.vue.d.ts +7 -3
- package/dist/runtime/components/KBulkActions/KBulkActions.logic.d.ts +4 -2
- package/dist/runtime/components/KBulkActions/KBulkActions.logic.js +70 -37
- package/dist/runtime/components/KButton/KButton.global.d.vue.ts +2 -2
- package/dist/runtime/components/KButton/KButton.global.vue.d.ts +2 -2
- package/dist/runtime/components/KButton/KButton.logic.d.ts +1 -1
- package/dist/runtime/components/KCalendar/KCalendar.global.d.vue.ts +19 -10
- package/dist/runtime/components/KCalendar/KCalendar.global.vue +7 -2
- package/dist/runtime/components/KCalendar/KCalendar.global.vue.d.ts +19 -10
- package/dist/runtime/components/KCalendar/KCalendar.logic.d.ts +14 -201
- package/dist/runtime/components/KCalendar/KCalendar.logic.js +60 -11
- package/dist/runtime/components/KCalendar/KCalendarMonth.global.d.vue.ts +25 -5
- package/dist/runtime/components/KCalendar/KCalendarMonth.global.vue +11 -1
- package/dist/runtime/components/KCalendar/KCalendarMonth.global.vue.d.ts +25 -5
- package/dist/runtime/components/KCalendar/KCalendarMonth.logic.d.ts +19 -3
- package/dist/runtime/components/KCalendar/KCalendarMonth.logic.js +115 -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 +3 -3
- package/dist/runtime/components/KCombobox/KCombobox.global.vue +1 -1
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +3 -3
- package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +7 -1
- package/dist/runtime/components/KCombobox/KCombobox.logic.js +1 -1
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +2 -2
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +2 -2
- package/dist/runtime/components/KContextMenu/KContextMenu.logic.js +5 -0
- package/dist/runtime/components/KDatatable/KDataIterator.global.d.vue.ts +21 -17
- package/dist/runtime/components/KDatatable/KDataIterator.global.vue +23 -16
- package/dist/runtime/components/KDatatable/KDataIterator.global.vue.d.ts +21 -17
- package/dist/runtime/components/KDatatable/KDataIterator.logic.d.ts +13 -10
- package/dist/runtime/components/KDatatable/KDataIterator.logic.js +25 -20
- package/dist/runtime/components/KDatatable/KDatatable.global.d.vue.ts +9 -13
- package/dist/runtime/components/KDatatable/KDatatable.global.vue +6 -5
- package/dist/runtime/components/KDatatable/KDatatable.global.vue.d.ts +9 -13
- package/dist/runtime/components/KDatatable/KDatatable.logic.d.ts +4 -6
- package/dist/runtime/components/KDatatable/KDatatable.logic.js +26 -19
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +30 -14
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue +38 -13
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +30 -14
- package/dist/runtime/components/KDatePicker/KDatePicker.logic.d.ts +28 -6
- package/dist/runtime/components/KDatePicker/KDatePicker.logic.js +197 -53
- 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/KDateTimePicker/KDateTimePicker.logic.js +2 -0
- package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +55 -6
- package/dist/runtime/components/KGantt/KGantt.global.vue +12 -3
- package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +55 -6
- package/dist/runtime/components/KGantt/KGantt.logic.d.ts +33 -5
- package/dist/runtime/components/KGantt/KGantt.logic.js +39 -6
- package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +1 -1
- package/dist/runtime/components/KLoader/KLoader.global.vue +2 -0
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KMultiTabs/MultiTabs.global.d.vue.ts +23 -0
- package/dist/runtime/components/KMultiTabs/MultiTabs.global.vue +22 -0
- package/dist/runtime/components/KMultiTabs/MultiTabs.global.vue.d.ts +23 -0
- package/dist/runtime/components/KPagination/KPagination.global.d.vue.ts +3 -1
- package/dist/runtime/components/KPagination/KPagination.global.vue +2 -1
- package/dist/runtime/components/KPagination/KPagination.global.vue.d.ts +3 -1
- package/dist/runtime/components/KPagination/KPagination.logic.d.ts +1 -0
- package/dist/runtime/components/KPagination/KPagination.logic.js +57 -5
- 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/KTooltip/KTooltip.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTooltip/KTooltip.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTree/KTree.global.d.vue.ts +4 -4
- package/dist/runtime/components/KTree/KTree.global.vue.d.ts +4 -4
- package/dist/runtime/components/KTree/KTree.logic.d.ts +2 -2
- package/dist/runtime/components/KTree/KTree.logic.js +16 -12
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +5 -7
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue +1 -5
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +5 -7
- package/dist/runtime/components/KTreeView/KTreeView.global.d.vue.ts +39 -5
- package/dist/runtime/components/KTreeView/KTreeView.global.vue +19 -1
- package/dist/runtime/components/KTreeView/KTreeView.global.vue.d.ts +39 -5
- package/dist/runtime/components/KTreeView/KTreeView.logic.d.ts +23 -3
- package/dist/runtime/components/KTreeView/KTreeView.logic.js +76 -6
- package/dist/runtime/composables/locales.js +204 -25
- package/dist/runtime/composables/useDataProvider.d.ts +5 -3
- package/dist/runtime/composables/useDataProvider.js +36 -25
- package/dist/runtime/composables/useFilterLogic.d.ts +16 -4
- package/dist/runtime/composables/useFilterLogic.js +10 -2
- package/dist/runtime/composables/useKatluxForm.d.ts +4 -4
- package/dist/runtime/composables/useKatluxForm.js +6 -4
- package/dist/runtime/composables/useSortLogic.d.ts +1 -1
- package/dist/runtime/composables/useVirtualDataset.d.ts +121 -0
- package/dist/runtime/composables/useVirtualDataset.js +689 -0
- package/dist/runtime/composables/useVirtualScroll.d.ts +8 -4
- package/dist/runtime/composables/useVirtualScroll.js +29 -9
- package/dist/runtime/plugins/nuxtCompatPlugin.js +9 -1
- package/dist/runtime/presets/default/assets/scss/css-variables.css +3 -0
- package/dist/runtime/presets/default/assets/scss/css-variables.scss +6 -1
- package/dist/runtime/presets/default/assets/scss/index.css +3 -0
- package/dist/runtime/presets/default/assets/svg/katlux-logo.svg +7 -0
- package/dist/runtime/presets/default/assets/svg/katlux.svg +6 -0
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.d.vue.ts +3 -2
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue +31 -3
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue.d.ts +3 -2
- package/dist/runtime/presets/default/components/KCalendar/KCalendar.d.vue.ts +3 -0
- package/dist/runtime/presets/default/components/KCalendar/KCalendar.vue +6 -0
- package/dist/runtime/presets/default/components/KCalendar/KCalendar.vue.d.ts +3 -0
- package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.d.vue.ts +5 -0
- package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.vue +33 -2
- package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.vue.d.ts +5 -0
- package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.vue +7 -1
- package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.d.vue.ts +30 -8
- package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.vue +80 -164
- package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.vue.d.ts +30 -8
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.d.vue.ts +16 -9
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +99 -394
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue.d.ts +16 -9
- package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.d.vue.ts +6 -0
- package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.vue +71 -4
- package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.vue.d.ts +6 -0
- package/dist/runtime/presets/default/components/KGantt/KGantt.d.vue.ts +11 -12
- package/dist/runtime/presets/default/components/KGantt/KGantt.vue +77 -14
- package/dist/runtime/presets/default/components/KGantt/KGantt.vue.d.ts +11 -12
- package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue +1 -0
- package/dist/runtime/presets/default/components/KTree/KTree.d.vue.ts +3 -3
- package/dist/runtime/presets/default/components/KTree/KTree.vue +48 -14
- package/dist/runtime/presets/default/components/KTree/KTree.vue.d.ts +3 -3
- package/dist/runtime/presets/default/components/KTreeView/KTreeView.d.vue.ts +11 -2
- package/dist/runtime/presets/default/components/KTreeView/KTreeView.vue +14 -2
- package/dist/runtime/presets/default/components/KTreeView/KTreeView.vue.d.ts +11 -2
- package/dist/skills/KATLUX_INDEX.md +9 -6
- package/dist/skills/katlux-components/SKILL.md +2 -0
- package/dist/skills/katlux-components/components/KBulkActions.md +25 -1
- package/dist/skills/katlux-components/components/KCombobox.md +2 -2
- package/dist/skills/katlux-components/components/KDataIterator.md +12 -4
- package/dist/skills/katlux-components/components/KDatatable.md +38 -0
- package/dist/skills/katlux-components/components/KDatePicker.md +3 -1
- package/dist/skills/katlux-components/components/KGantt.md +9 -0
- package/dist/skills/katlux-components/components/KIcon.md +1 -1
- package/dist/skills/katlux-components/components/KLineChart.md +3 -0
- package/dist/skills/katlux-components/components/KProductList.md +0 -1
- package/dist/skills/katlux-components/components/KScatterChart.md +3 -0
- package/dist/skills/katlux-components/components/KTreePicker.md +2 -1
- package/dist/skills/katlux-components/components/KTreeView.md +12 -0
- package/dist/skills/katlux-config/SKILL.md +19 -8
- package/dist/skills/katlux-presets/SKILL.md +121 -1
- package/dist/skills/katlux-presets/creating-a-preset.md +67 -0
- package/dist/skills/katlux-providers/SKILL.md +7 -5
- package/dist/skills/katlux-providers/providers/ADataProvider.md +16 -9
- package/dist/skills/katlux-providers/providers/CAPIFlatClientDataProvider.md +27 -3
- package/dist/skills/katlux-providers/providers/CAPIFlatServerDataProvider.md +11 -1
- package/dist/skills/katlux-providers/providers/CFlatClientDataProvider.md +19 -4
- package/dist/skills/katlux-providers/providers/CFlatServerDataProvider.md +4 -2
- package/dist/skills/katlux-providers/providers/CTreeClientDataProvider.md +2 -2
- package/dist/skills/katlux-providers/providers/RequestProvider.md +10 -0
- package/dist/skills/katlux-providers/providers/encryption-field-level.md +63 -19
- package/dist/skills/katlux-providers/providers/encryption-key-management.md +20 -2
- package/dist/skills/katlux-providers/providers/encryption-key-pinning.md +25 -11
- package/dist/skills/katlux-providers/providers/encryption-searchable.md +218 -0
- package/dist/skills/katlux-providers/providers/encryption-symmetric.md +25 -1
- package/dist/skills/katlux-providers/providers/encryption-threat-model.md +63 -0
- package/dist/skills/katlux-providers/providers/encryption.md +26 -1
- package/dist/skills/katlux-providers/providers/types.md +3 -1
- package/dist/skills/katlux-providers/providers/useDataProvider.md +2 -1
- package/dist/skills/katlux-providers/providers/useVirtualDataset.md +154 -0
- package/dist/skills/katlux-tokens/SKILL.md +2 -1
- package/dist/types.d.mts +1 -1
- package/package.json +7 -3
- package/bin/add-ai-reference.mjs +0 -259
|
@@ -8,59 +8,97 @@ export function getApplicableRows(action, selectedRows, selectAll) {
|
|
|
8
8
|
if (!selectAll && (!selectedRows || selectedRows.length === 0)) {
|
|
9
9
|
return [];
|
|
10
10
|
}
|
|
11
|
-
const isBulkAction = action.isBulk || action.bulk || typeof action.visible === "function" && action.visible.length >= 2;
|
|
11
|
+
const isBulkAction = action.isBulk === true || action.bulk === true || action.scope === "bulk" || typeof action.visible === "function" && action.visible.length >= 2;
|
|
12
12
|
if (isBulkAction) {
|
|
13
13
|
try {
|
|
14
|
-
const isVisible = action.visible(selectedRows || [], selectAll);
|
|
14
|
+
const isVisible = Boolean(action.visible(selectedRows || [], selectAll));
|
|
15
15
|
return isVisible ? selectedRows || [] : [];
|
|
16
|
-
} catch {
|
|
17
|
-
|
|
16
|
+
} catch (err) {
|
|
17
|
+
console.error(`[KBulkActions] Error evaluating bulk action visible predicate for "${action.label}":`, err);
|
|
18
|
+
return [];
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
if (selectAll && (!selectedRows || selectedRows.length === 0)) {
|
|
21
22
|
return [];
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
if (typeof action.visible === "function" && selectedRows && selectedRows.length > 0) {
|
|
25
|
-
try {
|
|
26
|
-
const arrayResult = action.visible(selectedRows);
|
|
27
|
-
const singleResult = action.visible(selectedRows[0]);
|
|
28
|
-
if (typeof arrayResult === "boolean" && typeof singleResult !== "boolean") {
|
|
29
|
-
return arrayResult ? selectedRows : [];
|
|
30
|
-
}
|
|
31
|
-
if (typeof singleResult === "boolean") {
|
|
32
|
-
isPerRowPredicate = true;
|
|
33
|
-
}
|
|
34
|
-
} catch {
|
|
35
|
-
isPerRowPredicate = false;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
if (isPerRowPredicate) {
|
|
24
|
+
if (action.isBulk === false || action.scope === "row") {
|
|
39
25
|
return (selectedRows || []).filter((row) => {
|
|
40
26
|
try {
|
|
41
27
|
return Boolean(action.visible(row));
|
|
42
|
-
} catch {
|
|
28
|
+
} catch (err) {
|
|
29
|
+
console.error(`[KBulkActions] Error evaluating row visible predicate for "${action.label}":`, err);
|
|
43
30
|
return false;
|
|
44
31
|
}
|
|
45
32
|
});
|
|
46
33
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
34
|
+
let isBulkPredicate = false;
|
|
35
|
+
if (typeof action.visible === "function" && selectedRows && selectedRows.length > 0) {
|
|
36
|
+
let accessedArrayMethod = false;
|
|
37
|
+
let accessedRowProperty = false;
|
|
38
|
+
const sampleRow = selectedRows[0] || {};
|
|
39
|
+
const probe = new Proxy(sampleRow, {
|
|
40
|
+
get(target, prop, receiver) {
|
|
41
|
+
if (typeof prop === "string" && ["length", "filter", "map", "slice", "forEach", "some", "every", "find", "includes", "reduce"].includes(prop)) {
|
|
42
|
+
accessedArrayMethod = true;
|
|
43
|
+
if (prop === "length") return selectedRows.length;
|
|
44
|
+
if (typeof selectedRows[prop] === "function") {
|
|
45
|
+
return selectedRows[prop].bind(selectedRows);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (typeof prop === "string" && prop in target) {
|
|
49
|
+
accessedRowProperty = true;
|
|
50
|
+
}
|
|
51
|
+
return Reflect.get(target, prop, receiver);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
try {
|
|
55
|
+
const probeResult = action.visible(probe);
|
|
56
|
+
if (accessedArrayMethod && !accessedRowProperty) {
|
|
57
|
+
isBulkPredicate = true;
|
|
58
|
+
} else if (accessedRowProperty) {
|
|
59
|
+
isBulkPredicate = false;
|
|
60
|
+
} else if (typeof probeResult === "boolean") {
|
|
61
|
+
const fnStr = action.visible.toString();
|
|
62
|
+
const paramMatch = fnStr.match(/^(?:async\s*)?(?:function\s*\w*\s*)?\(([^)]*)\)/) || fnStr.match(/^(?:async\s*)?([a-zA-Z0-9_$]+)\s*=>/);
|
|
63
|
+
const paramName = paramMatch ? paramMatch[1].trim().split(/[\s,]+/)[0] : "";
|
|
64
|
+
if (["rows", "items", "selection", "records"].includes(paramName)) {
|
|
65
|
+
isBulkPredicate = true;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
} catch (err) {
|
|
69
|
+
console.error(`[KBulkActions] Error probing visible predicate for "${action.label}":`, err);
|
|
70
|
+
return [];
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (isBulkPredicate) {
|
|
74
|
+
try {
|
|
75
|
+
const isVisible = Boolean(action.visible(selectedRows || [], selectAll));
|
|
76
|
+
return isVisible ? selectedRows || [] : [];
|
|
77
|
+
} catch (err) {
|
|
78
|
+
console.error(`[KBulkActions] Error evaluating bulk action visible predicate for "${action.label}":`, err);
|
|
79
|
+
return [];
|
|
80
|
+
}
|
|
52
81
|
}
|
|
82
|
+
return (selectedRows || []).filter((row) => {
|
|
83
|
+
try {
|
|
84
|
+
return Boolean(action.visible(row));
|
|
85
|
+
} catch (err) {
|
|
86
|
+
console.error(`[KBulkActions] Error evaluating row visible predicate for "${action.label}":`, err);
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
53
90
|
}
|
|
54
91
|
export function useKBulkActionsLogic(props) {
|
|
55
92
|
const selected = ref(null);
|
|
56
|
-
const dp = new CFlatClientDataProvider();
|
|
93
|
+
const dp = props.dataProvider ?? new CFlatClientDataProvider();
|
|
57
94
|
const visibleBulkActions = computed(() => {
|
|
58
95
|
return props.bulkActions.filter((action) => {
|
|
59
96
|
if (!action.visible) return true;
|
|
60
97
|
if (!props.selectAll && (!props.selectedRows || props.selectedRows.length === 0)) {
|
|
61
98
|
try {
|
|
62
99
|
return Boolean(action.visible([], props.selectAll));
|
|
63
|
-
} catch {
|
|
100
|
+
} catch (err) {
|
|
101
|
+
console.error(`[KBulkActions] Error evaluating action visible predicate for "${action.label}":`, err);
|
|
64
102
|
return false;
|
|
65
103
|
}
|
|
66
104
|
}
|
|
@@ -78,19 +116,14 @@ export function useKBulkActionsLogic(props) {
|
|
|
78
116
|
function doAction(action) {
|
|
79
117
|
const act = action;
|
|
80
118
|
if (act && act.action) {
|
|
81
|
-
const applicableRows = getApplicableRows(act, props.selectedRows, props.selectAll);
|
|
82
119
|
const idKey = props.idKey || "id";
|
|
83
120
|
const getRowKey = (r) => r?.[idKey] ?? r?.id ?? r?._id ?? r;
|
|
84
121
|
const selectedRowKeys = (props.selectedRows || []).map(getRowKey);
|
|
85
122
|
const unselectedRowKeys = (props.unselectedRows || []).map(getRowKey);
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
unselectedRows: props.unselectedRows || [],
|
|
91
|
-
unselectedRowKeys,
|
|
92
|
-
filter: props.filter
|
|
93
|
-
};
|
|
123
|
+
const applicableRows = getApplicableRows(act, props.selectedRows, props.selectAll);
|
|
124
|
+
if (props.selectAll && (!props.selectedRows || props.selectedRows.length === 0)) {
|
|
125
|
+
console.warn(`[KBulkActions] Bulk action "${act.label}" executed in selectAll mode with an empty row array. Handlers must inspect the "isAllSelected" flag and "filter" parameter to perform dataset/query-level operations.`);
|
|
126
|
+
}
|
|
94
127
|
const payload = [...applicableRows];
|
|
95
128
|
Object.defineProperties(payload, {
|
|
96
129
|
isAllSelected: { value: Boolean(props.selectAll), enumerable: false, configurable: true, writable: true },
|
|
@@ -55,11 +55,11 @@ 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: "default" | "
|
|
59
|
-
iconOnly: boolean;
|
|
58
|
+
type: "default" | "info" | "success" | "warning" | "danger" | "primary" | "dark" | "light" | undefined;
|
|
60
59
|
disabled: boolean;
|
|
61
60
|
href: string;
|
|
62
61
|
loading: boolean;
|
|
62
|
+
iconOnly: boolean;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
export default _default;
|
|
@@ -55,11 +55,11 @@ 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: "default" | "
|
|
59
|
-
iconOnly: boolean;
|
|
58
|
+
type: "default" | "info" | "success" | "warning" | "danger" | "primary" | "dark" | "light" | undefined;
|
|
60
59
|
disabled: boolean;
|
|
61
60
|
href: string;
|
|
62
61
|
loading: boolean;
|
|
62
|
+
iconOnly: boolean;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
export default _default;
|
|
@@ -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<("small" | "default" | "
|
|
26
|
+
buttonClasses: import("vue").ComputedRef<("small" | "default" | "info" | "success" | "warning" | "danger" | "primary" | "dark" | "light" | "large" | "medium" | {
|
|
27
27
|
disabled: boolean | undefined;
|
|
28
28
|
'icon-only': boolean | undefined;
|
|
29
29
|
})[]>;
|
|
@@ -21,16 +21,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
required: boolean;
|
|
22
22
|
};
|
|
23
23
|
selectedDay: {
|
|
24
|
-
type: import("vue").PropType<Date | String>;
|
|
24
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
25
25
|
default: null;
|
|
26
26
|
};
|
|
27
27
|
modelValue: {
|
|
28
|
-
type: import("vue").PropType<Date | String>;
|
|
28
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
29
29
|
default: undefined;
|
|
30
30
|
};
|
|
31
|
+
range: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
-
"update:modelValue": (value: String | Date) => any;
|
|
33
|
-
"update:selectedDay": (value: String | Date) => any;
|
|
36
|
+
"update:modelValue": (value: String | Date | (String | Date | null)[] | [Date, Date]) => any;
|
|
37
|
+
"update:selectedDay": (value: String | Date | (String | Date | null)[] | [Date, Date]) => any;
|
|
34
38
|
dayClicked: (date: Date, marked: import("./types.js").IMarkedDay[]) => any;
|
|
35
39
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
40
|
view: {
|
|
@@ -55,24 +59,29 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
55
59
|
required: boolean;
|
|
56
60
|
};
|
|
57
61
|
selectedDay: {
|
|
58
|
-
type: import("vue").PropType<Date | String>;
|
|
62
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
59
63
|
default: null;
|
|
60
64
|
};
|
|
61
65
|
modelValue: {
|
|
62
|
-
type: import("vue").PropType<Date | String>;
|
|
66
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
63
67
|
default: undefined;
|
|
64
68
|
};
|
|
69
|
+
range: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
65
73
|
}>> & Readonly<{
|
|
66
|
-
"onUpdate:modelValue"?: ((value: String | Date) => any) | undefined;
|
|
67
|
-
"onUpdate:selectedDay"?: ((value: String | Date) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: String | Date | (String | Date | null)[] | [Date, Date]) => any) | undefined;
|
|
75
|
+
"onUpdate:selectedDay"?: ((value: String | Date | (String | Date | null)[] | [Date, Date]) => any) | undefined;
|
|
68
76
|
onDayClicked?: ((date: Date, marked: import("./types.js").IMarkedDay[]) => any) | undefined;
|
|
69
77
|
}>, {
|
|
70
|
-
modelValue: String | Date;
|
|
78
|
+
modelValue: String | Date | (String | Date | null)[];
|
|
71
79
|
view: string;
|
|
72
80
|
viewCount: number;
|
|
81
|
+
range: boolean;
|
|
73
82
|
definedDays: import("./types.js").IDefinedDay[];
|
|
74
83
|
markedDays: import("./types.js").IMarkedDay[];
|
|
75
|
-
selectedDay: String | Date;
|
|
84
|
+
selectedDay: String | Date | (String | Date | null)[];
|
|
76
85
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
86
|
declare const _default: typeof __VLS_export;
|
|
78
87
|
export default _default;
|
|
@@ -17,12 +17,15 @@ const {
|
|
|
17
17
|
showingYear,
|
|
18
18
|
getExpandedDefinedDays,
|
|
19
19
|
getExpandedMarkedDays,
|
|
20
|
-
dayClicked
|
|
20
|
+
dayClicked,
|
|
21
|
+
hoverDate,
|
|
22
|
+
onDayHover
|
|
21
23
|
} = useKCalendarLogic(props, emit);
|
|
22
24
|
const presetComponent = usePresetComponent("KCalendar", KCalendarDefault);
|
|
23
25
|
const templateProps = computed(() => ({
|
|
24
26
|
view: props.view,
|
|
25
27
|
viewCount: props.viewCount,
|
|
28
|
+
range: props.range,
|
|
26
29
|
actualYear: actualYear.value,
|
|
27
30
|
actualMonth: actualMonth.value,
|
|
28
31
|
activeDate: activeDate.value,
|
|
@@ -35,7 +38,9 @@ const templateProps = computed(() => ({
|
|
|
35
38
|
showingYear,
|
|
36
39
|
getExpandedDefinedDays,
|
|
37
40
|
getExpandedMarkedDays,
|
|
38
|
-
dayClicked
|
|
41
|
+
dayClicked,
|
|
42
|
+
hoverDate: hoverDate.value,
|
|
43
|
+
onDayHover
|
|
39
44
|
}));
|
|
40
45
|
</script>
|
|
41
46
|
|
|
@@ -21,16 +21,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
required: boolean;
|
|
22
22
|
};
|
|
23
23
|
selectedDay: {
|
|
24
|
-
type: import("vue").PropType<Date | String>;
|
|
24
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
25
25
|
default: null;
|
|
26
26
|
};
|
|
27
27
|
modelValue: {
|
|
28
|
-
type: import("vue").PropType<Date | String>;
|
|
28
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
29
29
|
default: undefined;
|
|
30
30
|
};
|
|
31
|
+
range: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
-
"update:modelValue": (value: String | Date) => any;
|
|
33
|
-
"update:selectedDay": (value: String | Date) => any;
|
|
36
|
+
"update:modelValue": (value: String | Date | (String | Date | null)[] | [Date, Date]) => any;
|
|
37
|
+
"update:selectedDay": (value: String | Date | (String | Date | null)[] | [Date, Date]) => any;
|
|
34
38
|
dayClicked: (date: Date, marked: import("./types.js").IMarkedDay[]) => any;
|
|
35
39
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
40
|
view: {
|
|
@@ -55,24 +59,29 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
55
59
|
required: boolean;
|
|
56
60
|
};
|
|
57
61
|
selectedDay: {
|
|
58
|
-
type: import("vue").PropType<Date | String>;
|
|
62
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
59
63
|
default: null;
|
|
60
64
|
};
|
|
61
65
|
modelValue: {
|
|
62
|
-
type: import("vue").PropType<Date | String>;
|
|
66
|
+
type: import("vue").PropType<Date | String | (Date | String | null)[]>;
|
|
63
67
|
default: undefined;
|
|
64
68
|
};
|
|
69
|
+
range: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
65
73
|
}>> & Readonly<{
|
|
66
|
-
"onUpdate:modelValue"?: ((value: String | Date) => any) | undefined;
|
|
67
|
-
"onUpdate:selectedDay"?: ((value: String | Date) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: String | Date | (String | Date | null)[] | [Date, Date]) => any) | undefined;
|
|
75
|
+
"onUpdate:selectedDay"?: ((value: String | Date | (String | Date | null)[] | [Date, Date]) => any) | undefined;
|
|
68
76
|
onDayClicked?: ((date: Date, marked: import("./types.js").IMarkedDay[]) => any) | undefined;
|
|
69
77
|
}>, {
|
|
70
|
-
modelValue: String | Date;
|
|
78
|
+
modelValue: String | Date | (String | Date | null)[];
|
|
71
79
|
view: string;
|
|
72
80
|
viewCount: number;
|
|
81
|
+
range: boolean;
|
|
73
82
|
definedDays: import("./types.js").IDefinedDay[];
|
|
74
83
|
markedDays: import("./types.js").IMarkedDay[];
|
|
75
|
-
selectedDay: String | Date;
|
|
84
|
+
selectedDay: String | Date | (String | Date | null)[];
|
|
76
85
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
86
|
declare const _default: typeof __VLS_export;
|
|
78
87
|
export default _default;
|
|
@@ -6,12 +6,13 @@ export interface KCalendarProps {
|
|
|
6
6
|
definedDays?: IDefinedDay[];
|
|
7
7
|
markedDays?: IMarkedDay[];
|
|
8
8
|
day?: Date | String;
|
|
9
|
-
selectedDay?: Date | String;
|
|
10
|
-
modelValue?: Date | String;
|
|
9
|
+
selectedDay?: Date | String | (Date | String | null)[];
|
|
10
|
+
modelValue?: Date | String | (Date | String | null)[];
|
|
11
|
+
range?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export interface KCalendarEmits {
|
|
13
|
-
(e: 'update:selectedDay', value: Date | String): void;
|
|
14
|
-
(e: 'update:modelValue', value: Date | String): void;
|
|
14
|
+
(e: 'update:selectedDay', value: Date | String | [Date, Date] | (Date | String | null)[]): void;
|
|
15
|
+
(e: 'update:modelValue', value: Date | String | [Date, Date] | (Date | String | null)[]): void;
|
|
15
16
|
(e: 'dayClicked', date: Date, marked: IMarkedDay[]): void;
|
|
16
17
|
}
|
|
17
18
|
export declare const KCalendarDefaultProps: {
|
|
@@ -37,210 +38,20 @@ export declare const KCalendarDefaultProps: {
|
|
|
37
38
|
required: boolean;
|
|
38
39
|
};
|
|
39
40
|
selectedDay: {
|
|
40
|
-
type: PropType<Date | String>;
|
|
41
|
+
type: PropType<Date | String | (Date | String | null)[]>;
|
|
41
42
|
default: null;
|
|
42
43
|
};
|
|
43
44
|
modelValue: {
|
|
44
|
-
type: PropType<Date | String>;
|
|
45
|
+
type: PropType<Date | String | (Date | String | null)[]>;
|
|
45
46
|
default: undefined;
|
|
46
47
|
};
|
|
48
|
+
range: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
47
52
|
};
|
|
48
53
|
export declare function useKCalendarLogic(props: KCalendarProps, emit: KCalendarEmits): {
|
|
49
|
-
monthSelectedDay: import("vue").Ref<
|
|
50
|
-
readonly [x: number]: string;
|
|
51
|
-
toString: () => string;
|
|
52
|
-
charAt: (pos: number) => string;
|
|
53
|
-
charCodeAt: (index: number) => number;
|
|
54
|
-
concat: (...strings: string[]) => string;
|
|
55
|
-
indexOf: (searchString: string, position?: number) => number;
|
|
56
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
|
57
|
-
localeCompare: {
|
|
58
|
-
(that: string): number;
|
|
59
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
60
|
-
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
|
|
61
|
-
};
|
|
62
|
-
match: {
|
|
63
|
-
(regexp: string | RegExp): RegExpMatchArray | null;
|
|
64
|
-
(matcher: {
|
|
65
|
-
[Symbol.match](string: string): RegExpMatchArray | null;
|
|
66
|
-
}): RegExpMatchArray | null;
|
|
67
|
-
};
|
|
68
|
-
replace: {
|
|
69
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
|
70
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
71
|
-
(searchValue: {
|
|
72
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
|
73
|
-
}, replaceValue: string): string;
|
|
74
|
-
(searchValue: {
|
|
75
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
76
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
|
77
|
-
};
|
|
78
|
-
search: {
|
|
79
|
-
(regexp: string | RegExp): number;
|
|
80
|
-
(searcher: {
|
|
81
|
-
[Symbol.search](string: string): number;
|
|
82
|
-
}): number;
|
|
83
|
-
};
|
|
84
|
-
slice: (start?: number, end?: number) => string;
|
|
85
|
-
split: {
|
|
86
|
-
(separator: string | RegExp, limit?: number): string[];
|
|
87
|
-
(splitter: {
|
|
88
|
-
[Symbol.split](string: string, limit?: number): string[];
|
|
89
|
-
}, limit?: number): string[];
|
|
90
|
-
};
|
|
91
|
-
substring: (start: number, end?: number) => string;
|
|
92
|
-
toLowerCase: () => string;
|
|
93
|
-
toLocaleLowerCase: {
|
|
94
|
-
(locales?: string | string[]): string;
|
|
95
|
-
(locales?: Intl.LocalesArgument): string;
|
|
96
|
-
};
|
|
97
|
-
toUpperCase: () => string;
|
|
98
|
-
toLocaleUpperCase: {
|
|
99
|
-
(locales?: string | string[]): string;
|
|
100
|
-
(locales?: Intl.LocalesArgument): string;
|
|
101
|
-
};
|
|
102
|
-
trim: () => string;
|
|
103
|
-
readonly length: number;
|
|
104
|
-
substr: (from: number, length?: number) => string;
|
|
105
|
-
valueOf: () => string;
|
|
106
|
-
codePointAt: (pos: number) => number | undefined;
|
|
107
|
-
includes: (searchString: string, position?: number) => boolean;
|
|
108
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
|
109
|
-
normalize: {
|
|
110
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
|
111
|
-
(form?: string): string;
|
|
112
|
-
};
|
|
113
|
-
repeat: (count: number) => string;
|
|
114
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
|
115
|
-
anchor: (name: string) => string;
|
|
116
|
-
big: () => string;
|
|
117
|
-
blink: () => string;
|
|
118
|
-
bold: () => string;
|
|
119
|
-
fixed: () => string;
|
|
120
|
-
fontcolor: (color: string) => string;
|
|
121
|
-
fontsize: {
|
|
122
|
-
(size: number): string;
|
|
123
|
-
(size: string): string;
|
|
124
|
-
};
|
|
125
|
-
italics: () => string;
|
|
126
|
-
link: (url: string) => string;
|
|
127
|
-
small: () => string;
|
|
128
|
-
strike: () => string;
|
|
129
|
-
sub: () => string;
|
|
130
|
-
sup: () => string;
|
|
131
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
|
132
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
|
133
|
-
trimEnd: () => string;
|
|
134
|
-
trimStart: () => string;
|
|
135
|
-
trimLeft: () => string;
|
|
136
|
-
trimRight: () => string;
|
|
137
|
-
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
|
|
138
|
-
replaceAll: {
|
|
139
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
|
140
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
141
|
-
};
|
|
142
|
-
at: (index: number) => string | undefined;
|
|
143
|
-
isWellFormed: () => boolean;
|
|
144
|
-
toWellFormed: () => string;
|
|
145
|
-
[Symbol.iterator]: () => StringIterator<string>;
|
|
146
|
-
}, String | Date | {
|
|
147
|
-
readonly [x: number]: string;
|
|
148
|
-
toString: () => string;
|
|
149
|
-
charAt: (pos: number) => string;
|
|
150
|
-
charCodeAt: (index: number) => number;
|
|
151
|
-
concat: (...strings: string[]) => string;
|
|
152
|
-
indexOf: (searchString: string, position?: number) => number;
|
|
153
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
|
154
|
-
localeCompare: {
|
|
155
|
-
(that: string): number;
|
|
156
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
157
|
-
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
|
|
158
|
-
};
|
|
159
|
-
match: {
|
|
160
|
-
(regexp: string | RegExp): RegExpMatchArray | null;
|
|
161
|
-
(matcher: {
|
|
162
|
-
[Symbol.match](string: string): RegExpMatchArray | null;
|
|
163
|
-
}): RegExpMatchArray | null;
|
|
164
|
-
};
|
|
165
|
-
replace: {
|
|
166
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
|
167
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
168
|
-
(searchValue: {
|
|
169
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
|
170
|
-
}, replaceValue: string): string;
|
|
171
|
-
(searchValue: {
|
|
172
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
173
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
|
174
|
-
};
|
|
175
|
-
search: {
|
|
176
|
-
(regexp: string | RegExp): number;
|
|
177
|
-
(searcher: {
|
|
178
|
-
[Symbol.search](string: string): number;
|
|
179
|
-
}): number;
|
|
180
|
-
};
|
|
181
|
-
slice: (start?: number, end?: number) => string;
|
|
182
|
-
split: {
|
|
183
|
-
(separator: string | RegExp, limit?: number): string[];
|
|
184
|
-
(splitter: {
|
|
185
|
-
[Symbol.split](string: string, limit?: number): string[];
|
|
186
|
-
}, limit?: number): string[];
|
|
187
|
-
};
|
|
188
|
-
substring: (start: number, end?: number) => string;
|
|
189
|
-
toLowerCase: () => string;
|
|
190
|
-
toLocaleLowerCase: {
|
|
191
|
-
(locales?: string | string[]): string;
|
|
192
|
-
(locales?: Intl.LocalesArgument): string;
|
|
193
|
-
};
|
|
194
|
-
toUpperCase: () => string;
|
|
195
|
-
toLocaleUpperCase: {
|
|
196
|
-
(locales?: string | string[]): string;
|
|
197
|
-
(locales?: Intl.LocalesArgument): string;
|
|
198
|
-
};
|
|
199
|
-
trim: () => string;
|
|
200
|
-
readonly length: number;
|
|
201
|
-
substr: (from: number, length?: number) => string;
|
|
202
|
-
valueOf: () => string;
|
|
203
|
-
codePointAt: (pos: number) => number | undefined;
|
|
204
|
-
includes: (searchString: string, position?: number) => boolean;
|
|
205
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
|
206
|
-
normalize: {
|
|
207
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
|
208
|
-
(form?: string): string;
|
|
209
|
-
};
|
|
210
|
-
repeat: (count: number) => string;
|
|
211
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
|
212
|
-
anchor: (name: string) => string;
|
|
213
|
-
big: () => string;
|
|
214
|
-
blink: () => string;
|
|
215
|
-
bold: () => string;
|
|
216
|
-
fixed: () => string;
|
|
217
|
-
fontcolor: (color: string) => string;
|
|
218
|
-
fontsize: {
|
|
219
|
-
(size: number): string;
|
|
220
|
-
(size: string): string;
|
|
221
|
-
};
|
|
222
|
-
italics: () => string;
|
|
223
|
-
link: (url: string) => string;
|
|
224
|
-
small: () => string;
|
|
225
|
-
strike: () => string;
|
|
226
|
-
sub: () => string;
|
|
227
|
-
sup: () => string;
|
|
228
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
|
229
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
|
230
|
-
trimEnd: () => string;
|
|
231
|
-
trimStart: () => string;
|
|
232
|
-
trimLeft: () => string;
|
|
233
|
-
trimRight: () => string;
|
|
234
|
-
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
|
|
235
|
-
replaceAll: {
|
|
236
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
|
237
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
238
|
-
};
|
|
239
|
-
at: (index: number) => string | undefined;
|
|
240
|
-
isWellFormed: () => boolean;
|
|
241
|
-
toWellFormed: () => string;
|
|
242
|
-
[Symbol.iterator]: () => StringIterator<string>;
|
|
243
|
-
}>;
|
|
54
|
+
monthSelectedDay: import("vue").Ref<any, any>;
|
|
244
55
|
actualYear: import("vue").Ref<any, any>;
|
|
245
56
|
actualMonth: import("vue").Ref<any, any>;
|
|
246
57
|
activeDate: import("vue").Ref<Date, Date>;
|
|
@@ -252,4 +63,6 @@ export declare function useKCalendarLogic(props: KCalendarProps, emit: KCalendar
|
|
|
252
63
|
getExpandedDefinedDays: (monthIndex: number) => IDefinedDay[];
|
|
253
64
|
getExpandedMarkedDays: (monthIndex: number) => IMarkedDay[];
|
|
254
65
|
dayClicked: (date: Date) => void;
|
|
66
|
+
hoverDate: import("vue").Ref<Date | null, Date | null>;
|
|
67
|
+
onDayHover: (date: Date | null) => void;
|
|
255
68
|
};
|