@katlux/toolkit 0.1.1-alpha.145 → 0.1.1-alpha.147
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/README.md +32 -22
- package/bin/ai-init.mjs +575 -0
- package/bin/ai-tokens/adapters/antigravityAdapter.mjs +22 -0
- package/bin/ai-tokens/adapters/claudeCodeAdapter.mjs +192 -0
- package/bin/ai-tokens/adapters/codexAdapter.mjs +176 -0
- package/bin/ai-tokens/adapters/cursorAdapter.mjs +202 -0
- package/bin/ai-tokens/adapters/index.mjs +30 -0
- package/bin/ai-tokens/cliViews.mjs +301 -0
- package/bin/ai-tokens/formatAndDates.mjs +89 -0
- package/bin/ai-tokens/reportGenerator.mjs +232 -0
- package/bin/ai-tokens/transcriptParser.mjs +299 -0
- package/bin/ai-tokens.mjs +38 -872
- package/bin/cli.mjs +81 -48
- package/bin/create-preset.mjs +1 -0
- package/bin/preset-contracts.json +2997 -0
- package/dist/compiled/composables/locales/asianAndPacific.mjs +296 -0
- package/dist/compiled/composables/locales/northernAndEasternEuropean.mjs +342 -0
- package/dist/compiled/composables/locales/westernEuropean.mjs +268 -0
- package/dist/compiled/composables/locales.mjs +32 -720
- package/dist/compiled/composables/useDataProvider.mjs +39 -26
- package/dist/compiled/composables/useFilterLogic.mjs +10 -2
- package/dist/compiled/composables/useKatluxForm.mjs +13 -11
- package/dist/compiled/composables/usePresetComponent.mjs +2 -0
- package/dist/compiled/composables/useRequestQueue.mjs +3 -1
- package/dist/compiled/composables/useVirtualDataset.mjs +657 -0
- package/dist/compiled/composables/useVirtualScroll.mjs +93 -66
- package/dist/compiled/composables/virtualDataset/cacheStateHelpers.mjs +76 -0
- package/dist/compiled/composables/virtualDataset/keyboardNavHelpers.mjs +60 -0
- package/dist/compiled/composables/virtualDataset/treeSelectionHelpers.mjs +103 -0
- package/dist/compiled/composables/virtualDataset/types.mjs +0 -0
- package/dist/compiled/utils/deprecation.mjs +44 -0
- package/dist/compiled/utils/dom.mjs +124 -0
- package/dist/module.cjs +58 -77
- package/dist/module.d.cts +5 -0
- package/dist/module.d.mts +4 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +54 -77
- package/dist/runtime/app.config.d.ts +3 -0
- package/dist/runtime/components/KAccordion/KAccordion.global.d.vue.ts +1 -1
- package/dist/runtime/components/KAccordion/KAccordion.global.vue.d.ts +1 -1
- 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 +12 -2
- package/dist/runtime/components/KBulkActions/KBulkActions.logic.js +40 -41
- 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/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 +67 -14
- package/dist/runtime/components/KCalendar/KCalendarMonth.global.d.vue.ts +25 -5
- package/dist/runtime/components/KCalendar/KCalendarMonth.global.vue +15 -1
- package/dist/runtime/components/KCalendar/KCalendarMonth.global.vue.d.ts +25 -5
- package/dist/runtime/components/KCalendar/KCalendarMonth.logic.d.ts +21 -3
- package/dist/runtime/components/KCalendar/KCalendarMonth.logic.js +136 -7
- package/dist/runtime/components/KCalendar/recurringUtils.js +6 -5
- package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +2 -2
- package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +2 -2
- package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +18 -3
- package/dist/runtime/components/KCombobox/KCombobox.global.vue +9 -4
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +18 -3
- package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +16 -2
- package/dist/runtime/components/KCombobox/KCombobox.logic.js +32 -13
- 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/KContextMenu/KContextMenu.global.d.vue.ts +3 -3
- package/dist/runtime/components/KContextMenu/KContextMenu.global.vue +4 -1
- package/dist/runtime/components/KContextMenu/KContextMenu.global.vue.d.ts +3 -3
- package/dist/runtime/components/KContextMenu/KContextMenu.logic.d.ts +24 -4
- package/dist/runtime/components/KContextMenu/KContextMenu.logic.js +43 -22
- package/dist/runtime/components/KDatatable/KDataIterator.global.d.vue.ts +38 -11
- package/dist/runtime/components/KDatatable/KDataIterator.global.vue +39 -20
- package/dist/runtime/components/KDatatable/KDataIterator.global.vue.d.ts +38 -11
- package/dist/runtime/components/KDatatable/KDataIterator.logic.d.ts +31 -8
- package/dist/runtime/components/KDatatable/KDataIterator.logic.js +69 -24
- package/dist/runtime/components/KDatatable/KDatatable.global.d.vue.ts +10 -14
- package/dist/runtime/components/KDatatable/KDatatable.global.vue +6 -5
- package/dist/runtime/components/KDatatable/KDatatable.global.vue.d.ts +10 -14
- package/dist/runtime/components/KDatatable/KDatatable.logic.d.ts +4 -6
- package/dist/runtime/components/KDatatable/KDatatable.logic.js +32 -24
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +33 -15
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue +60 -16
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +33 -15
- package/dist/runtime/components/KDatePicker/KDatePicker.logic.d.ts +30 -6
- package/dist/runtime/components/KDatePicker/KDatePicker.logic.js +249 -59
- 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/KDropdown/KDropdown.global.d.vue.ts +4 -4
- package/dist/runtime/components/KDropdown/KDropdown.global.vue.d.ts +4 -4
- package/dist/runtime/components/KDropdown/KDropdown.logic.d.ts +3 -2
- package/dist/runtime/components/KDropdown/KDropdown.logic.js +14 -13
- package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +55 -4
- package/dist/runtime/components/KGantt/KGantt.global.vue +18 -3
- package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +55 -4
- 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/KGrid/KGrid.global.d.vue.ts +1 -1
- package/dist/runtime/components/KGrid/KGrid.global.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/runtime/components/KIcon/KIcon.global.vue.d.ts +1 -1
- package/dist/runtime/components/KLayout/KLayout.global.d.vue.ts +4 -1
- package/dist/runtime/components/KLayout/KLayout.global.vue +4 -1
- package/dist/runtime/components/KLayout/KLayout.global.vue.d.ts +4 -1
- package/dist/runtime/components/KLoader/KLoader.global.d.vue.ts +9 -0
- package/dist/runtime/components/KLoader/KLoader.global.vue +3 -0
- package/dist/runtime/components/KLoader/KLoader.global.vue.d.ts +9 -0
- package/dist/runtime/components/KLoader/KLoader.logic.d.ts +5 -0
- package/dist/runtime/components/KLoader/KLoader.logic.js +4 -0
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.d.vue.ts +2 -2
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.vue.d.ts +2 -2
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.logic.js +30 -7
- package/dist/runtime/components/KMultiTabs/KMultiTabs.logic.d.ts +1 -0
- package/dist/runtime/components/KMultiTabs/MultiTabs.global.d.vue.ts +23 -0
- package/dist/runtime/components/KMultiTabs/MultiTabs.global.vue +24 -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 +2 -1
- package/dist/runtime/components/KPagination/KPagination.logic.js +74 -14
- package/dist/runtime/components/KRadiobox/KRadiobox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KRadiobox/KRadiobox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTabs/KTabs.logic.js +33 -11
- package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +2 -2
- package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +2 -2
- package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +15 -4
- package/dist/runtime/components/KTextbox/KTextbox.global.vue +8 -2
- package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +15 -4
- package/dist/runtime/components/KTextbox/KTextbox.logic.d.ts +5 -0
- package/dist/runtime/components/KTextbox/KTextbox.logic.js +4 -0
- package/dist/runtime/components/KTooltip/KTooltip.logic.d.ts +11 -2
- package/dist/runtime/components/KTooltip/KTooltip.logic.js +7 -5
- 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 +37 -13
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +7 -5
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue +4 -6
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +7 -5
- package/dist/runtime/components/KTreePicker/KTreePicker.logic.d.ts +3 -2
- package/dist/runtime/components/KTreePicker/KTreePicker.logic.js +10 -1
- package/dist/runtime/components/KTreeView/KTreeView.global.d.vue.ts +40 -6
- package/dist/runtime/components/KTreeView/KTreeView.global.vue +19 -1
- package/dist/runtime/components/KTreeView/KTreeView.global.vue.d.ts +40 -6
- package/dist/runtime/components/KTreeView/KTreeView.logic.d.ts +24 -4
- package/dist/runtime/components/KTreeView/KTreeView.logic.js +105 -11
- package/dist/runtime/composables/locales/asianAndPacific.d.ts +11 -0
- package/dist/runtime/composables/locales/asianAndPacific.js +296 -0
- package/dist/runtime/composables/locales/northernAndEasternEuropean.d.ts +12 -0
- package/dist/runtime/composables/locales/northernAndEasternEuropean.js +342 -0
- package/dist/runtime/composables/locales/westernEuropean.d.ts +10 -0
- package/dist/runtime/composables/locales/westernEuropean.js +268 -0
- package/dist/runtime/composables/locales.d.ts +4 -24
- package/dist/runtime/composables/locales.js +32 -720
- package/dist/runtime/composables/useDataProvider.d.ts +5 -3
- package/dist/runtime/composables/useDataProvider.js +39 -26
- 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 +13 -11
- package/dist/runtime/composables/usePresetComponent.js +2 -0
- package/dist/runtime/composables/useRequestQueue.d.ts +2 -0
- package/dist/runtime/composables/useRequestQueue.js +3 -1
- package/dist/runtime/composables/useSortLogic.d.ts +1 -1
- package/dist/runtime/composables/useVirtualDataset.d.ts +9 -0
- package/dist/runtime/composables/useVirtualDataset.js +657 -0
- package/dist/runtime/composables/useVirtualScroll.d.ts +14 -10
- package/dist/runtime/composables/useVirtualScroll.js +93 -66
- package/dist/runtime/composables/virtualDataset/cacheStateHelpers.d.ts +49 -0
- package/dist/runtime/composables/virtualDataset/cacheStateHelpers.js +76 -0
- package/dist/runtime/composables/virtualDataset/keyboardNavHelpers.d.ts +26 -0
- package/dist/runtime/composables/virtualDataset/keyboardNavHelpers.js +60 -0
- package/dist/runtime/composables/virtualDataset/treeSelectionHelpers.d.ts +24 -0
- package/dist/runtime/composables/virtualDataset/treeSelectionHelpers.js +103 -0
- package/dist/runtime/composables/virtualDataset/types.d.ts +113 -0
- package/dist/runtime/composables/virtualDataset/types.js +0 -0
- package/dist/runtime/directives/clickOutside.d.ts +1 -1
- package/dist/runtime/directives/clickOutside.js +41 -13
- package/dist/runtime/plugins/nuxtCompatPlugin.d.ts +2 -1
- package/dist/runtime/plugins/nuxtCompatPlugin.js +16 -1
- package/dist/runtime/plugins/toastPlugin.client.js +2 -2
- 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 +7 -0
- package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.vue +57 -2
- package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.vue.d.ts +7 -0
- package/dist/runtime/presets/default/components/KCalendar/KCalendarWeek.vue +6 -5
- package/dist/runtime/presets/default/components/KCombobox/KCombobox.d.vue.ts +4 -1
- package/dist/runtime/presets/default/components/KCombobox/KCombobox.vue +27 -17
- package/dist/runtime/presets/default/components/KCombobox/KCombobox.vue.d.ts +4 -1
- package/dist/runtime/presets/default/components/KCombobox/KComboboxList.d.vue.ts +1 -1
- package/dist/runtime/presets/default/components/KCombobox/KComboboxList.vue +10 -10
- package/dist/runtime/presets/default/components/KCombobox/KComboboxList.vue.d.ts +1 -1
- package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.d.vue.ts +2 -0
- package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.vue +67 -22
- package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.vue.d.ts +2 -0
- package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.d.vue.ts +41 -8
- package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.vue +184 -174
- package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.vue.d.ts +41 -8
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.d.vue.ts +17 -10
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +113 -394
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue.d.ts +17 -10
- 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/KDropdown/KDropdown.d.vue.ts +5 -2
- package/dist/runtime/presets/default/components/KDropdown/KDropdown.vue +15 -12
- package/dist/runtime/presets/default/components/KDropdown/KDropdown.vue.d.ts +5 -2
- package/dist/runtime/presets/default/components/KGantt/KGantt.d.vue.ts +11 -2
- package/dist/runtime/presets/default/components/KGantt/KGantt.vue +46 -29
- package/dist/runtime/presets/default/components/KGantt/KGantt.vue.d.ts +11 -2
- package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.d.vue.ts +6 -2
- package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue +23 -8
- package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue.d.ts +6 -2
- package/dist/runtime/presets/default/components/KLayout/KLayout.vue +2 -2
- package/dist/runtime/presets/default/components/KLoader/KLoader.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KLoader/KLoader.vue +13 -2
- package/dist/runtime/presets/default/components/KLoader/KLoader.vue.d.ts +1 -0
- package/dist/runtime/presets/default/components/KMaskTextbox/KMaskTextbox.vue +1 -94
- package/dist/runtime/presets/default/components/KMultiTabs/KMultiTabs.vue +69 -4
- package/dist/runtime/presets/default/components/KRangeSlider/KRangeSlider.vue +18 -46
- package/dist/runtime/presets/default/components/KSlider/KSlider.vue +11 -23
- package/dist/runtime/presets/default/components/KTextbox/KTextbox.d.vue.ts +4 -1
- package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue +24 -8
- package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue.d.ts +4 -1
- package/dist/runtime/presets/default/components/KTree/KTree.d.vue.ts +3 -3
- package/dist/runtime/presets/default/components/KTree/KTree.vue +61 -56
- package/dist/runtime/presets/default/components/KTree/KTree.vue.d.ts +3 -3
- package/dist/runtime/presets/default/components/KTree/KTreeNodeItem.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KTree/KTreeNodeItem.vue +12 -2
- package/dist/runtime/presets/default/components/KTree/KTreeNodeItem.vue.d.ts +1 -0
- 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/runtime/server/middleware/session.js +7 -0
- package/dist/runtime/utils/deprecation.d.ts +14 -0
- package/dist/runtime/utils/deprecation.js +44 -0
- package/dist/runtime/utils/dom.d.ts +31 -0
- package/dist/runtime/utils/dom.js +124 -0
- package/dist/skills/KATLUX_INDEX.md +18 -19
- package/dist/skills/katlux-components/SKILL.md +2 -0
- package/dist/skills/katlux-components/components/KBulkActions.md +26 -2
- package/dist/skills/katlux-components/components/KCombobox.md +2 -2
- package/dist/skills/katlux-components/components/KDataIterator.md +17 -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/KLayout.md +4 -0
- package/dist/skills/katlux-components/components/KLineChart.md +3 -0
- package/dist/skills/katlux-components/components/KLoader.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/KTextbox.md +1 -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 +27 -8
- package/dist/skills/katlux-presets/SKILL.md +163 -3
- package/dist/skills/katlux-presets/creating-a-preset.md +67 -0
- package/dist/skills/katlux-providers/SKILL.md +19 -5
- package/dist/skills/katlux-providers/providers/ADataProvider.md +17 -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/CAPITreeServerDataProvider.md +13 -0
- 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 +67 -20
- package/dist/skills/katlux-providers/providers/encryption-key-management.md +23 -2
- package/dist/skills/katlux-providers/providers/encryption-key-pinning.md +25 -11
- package/dist/skills/katlux-providers/providers/encryption-searchable.md +341 -0
- package/dist/skills/katlux-providers/providers/encryption-symmetric.md +29 -2
- package/dist/skills/katlux-providers/providers/encryption-threat-model.md +70 -1
- 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
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ref, watch, computed } from "vue";
|
|
2
2
|
import { CFlatClientDataProvider } from "@katlux/providers";
|
|
3
3
|
export const KBulkActionsDefaultProps = {};
|
|
4
|
+
function isArrayPropertyAccess(prop) {
|
|
5
|
+
if (typeof prop === "symbol") return true;
|
|
6
|
+
return prop === "length" || /^\d+$/.test(prop) || Reflect.has(Array.prototype, prop);
|
|
7
|
+
}
|
|
4
8
|
export function getApplicableRows(action, selectedRows, selectAll) {
|
|
5
9
|
if (!action.visible) {
|
|
6
10
|
return selectedRows || [];
|
|
@@ -8,59 +12,62 @@ export function getApplicableRows(action, selectedRows, selectAll) {
|
|
|
8
12
|
if (!selectAll && (!selectedRows || selectedRows.length === 0)) {
|
|
9
13
|
return [];
|
|
10
14
|
}
|
|
11
|
-
|
|
12
|
-
if (isBulkAction) {
|
|
15
|
+
if (typeof action.visible === "function" && action.visible.length >= 2) {
|
|
13
16
|
try {
|
|
14
|
-
const isVisible = action.visible(selectedRows || [], selectAll);
|
|
17
|
+
const isVisible = Boolean(action.visible(selectedRows || [], selectAll));
|
|
15
18
|
return isVisible ? selectedRows || [] : [];
|
|
16
|
-
} catch {
|
|
17
|
-
|
|
19
|
+
} catch (err) {
|
|
20
|
+
console.error(`[KBulkActions] Error evaluating bulk action visible predicate for "${action.label}":`, err);
|
|
21
|
+
return [];
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
24
|
if (selectAll && (!selectedRows || selectedRows.length === 0)) {
|
|
21
25
|
return [];
|
|
22
26
|
}
|
|
23
|
-
|
|
24
|
-
if (typeof action.visible === "function" &&
|
|
27
|
+
const rows = selectedRows || [];
|
|
28
|
+
if (typeof action.visible === "function" && rows.length > 0) {
|
|
29
|
+
let accessedNonArrayProp = false;
|
|
30
|
+
const arrayProbe = new Proxy(rows, {
|
|
31
|
+
get(target, prop, receiver) {
|
|
32
|
+
if (!isArrayPropertyAccess(prop)) {
|
|
33
|
+
accessedNonArrayProp = true;
|
|
34
|
+
}
|
|
35
|
+
const value = Reflect.get(target, prop, receiver);
|
|
36
|
+
return typeof value === "function" ? value.bind(target) : value;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
25
39
|
try {
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return arrayResult ? selectedRows : [];
|
|
40
|
+
const probeResult = action.visible(arrayProbe, selectAll);
|
|
41
|
+
if (!accessedNonArrayProp) {
|
|
42
|
+
return Boolean(probeResult) ? rows : [];
|
|
30
43
|
}
|
|
31
|
-
|
|
32
|
-
|
|
44
|
+
} catch (err) {
|
|
45
|
+
if (!accessedNonArrayProp) {
|
|
46
|
+
console.error(`[KBulkActions] Error probing visible predicate for "${action.label}":`, err);
|
|
47
|
+
return [];
|
|
33
48
|
}
|
|
34
|
-
} catch {
|
|
35
|
-
isPerRowPredicate = false;
|
|
36
49
|
}
|
|
37
50
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
try {
|
|
48
|
-
const isVisible = action.visible(selectedRows || [], selectAll);
|
|
49
|
-
return isVisible ? selectedRows || [] : [];
|
|
50
|
-
} catch {
|
|
51
|
-
return selectedRows || [];
|
|
52
|
-
}
|
|
51
|
+
return rows.filter((row) => {
|
|
52
|
+
try {
|
|
53
|
+
return Boolean(action.visible(row));
|
|
54
|
+
} catch (err) {
|
|
55
|
+
console.error(`[KBulkActions] Error evaluating row visible predicate for "${action.label}":`, err);
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
53
59
|
}
|
|
54
60
|
export function useKBulkActionsLogic(props) {
|
|
55
61
|
const selected = ref(null);
|
|
56
|
-
const dp = new CFlatClientDataProvider();
|
|
62
|
+
const dp = props.dataProvider ?? new CFlatClientDataProvider();
|
|
57
63
|
const visibleBulkActions = computed(() => {
|
|
58
64
|
return props.bulkActions.filter((action) => {
|
|
59
65
|
if (!action.visible) return true;
|
|
60
66
|
if (!props.selectAll && (!props.selectedRows || props.selectedRows.length === 0)) {
|
|
61
67
|
try {
|
|
62
68
|
return Boolean(action.visible([], props.selectAll));
|
|
63
|
-
} catch {
|
|
69
|
+
} catch (err) {
|
|
70
|
+
console.error(`[KBulkActions] Error evaluating action visible predicate for "${action.label}":`, err);
|
|
64
71
|
return false;
|
|
65
72
|
}
|
|
66
73
|
}
|
|
@@ -78,19 +85,11 @@ export function useKBulkActionsLogic(props) {
|
|
|
78
85
|
function doAction(action) {
|
|
79
86
|
const act = action;
|
|
80
87
|
if (act && act.action) {
|
|
81
|
-
const applicableRows = getApplicableRows(act, props.selectedRows, props.selectAll);
|
|
82
88
|
const idKey = props.idKey || "id";
|
|
83
89
|
const getRowKey = (r) => r?.[idKey] ?? r?.id ?? r?._id ?? r;
|
|
84
90
|
const selectedRowKeys = (props.selectedRows || []).map(getRowKey);
|
|
85
91
|
const unselectedRowKeys = (props.unselectedRows || []).map(getRowKey);
|
|
86
|
-
const
|
|
87
|
-
isAllSelected: Boolean(props.selectAll),
|
|
88
|
-
selectedRows: props.selectedRows || [],
|
|
89
|
-
selectedRowKeys,
|
|
90
|
-
unselectedRows: props.unselectedRows || [],
|
|
91
|
-
unselectedRowKeys,
|
|
92
|
-
filter: props.filter
|
|
93
|
-
};
|
|
92
|
+
const applicableRows = getApplicableRows(act, props.selectedRows, props.selectAll);
|
|
94
93
|
const payload = [...applicableRows];
|
|
95
94
|
Object.defineProperties(payload, {
|
|
96
95
|
isAllSelected: { value: Boolean(props.selectAll), enumerable: false, configurable: true, writable: true },
|
|
@@ -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: "default" | "
|
|
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: "default" | "
|
|
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
|
})[]>;
|
|
@@ -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 | [Date, Date] | (String | Date | null)[]) => any;
|
|
37
|
+
"update:selectedDay": (value: String | Date | [Date, Date] | (String | Date | null)[]) => 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 | [Date, Date] | (String | Date | null)[]) => any) | undefined;
|
|
75
|
+
"onUpdate:selectedDay"?: ((value: String | Date | [Date, Date] | (String | Date | null)[]) => 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 | [Date, Date] | (String | Date | null)[]) => any;
|
|
37
|
+
"update:selectedDay": (value: String | Date | [Date, Date] | (String | Date | null)[]) => 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 | [Date, Date] | (String | Date | null)[]) => any) | undefined;
|
|
75
|
+
"onUpdate:selectedDay"?: ((value: String | Date | [Date, Date] | (String | Date | null)[]) => 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
|
};
|