@voicenter-team/voicenter-ui-plus 3.0.12 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/library/assets/assets/sass/main.css +1 -1
  2. package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
  3. package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -0
  4. package/library/assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css +1 -0
  5. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +7 -4
  6. package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +243 -0
  7. package/library/components/VcCodeBlock/VcCodeBlock.vue3.mjs +5 -0
  8. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
  9. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  10. package/library/components/VcForm/VcForm.vue.mjs +2 -1
  11. package/library/components/VcForm/VcFormItem.vue.mjs +2 -1
  12. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  13. package/library/components/VcInput/VcInput.vue.mjs +2 -1
  14. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
  15. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  16. package/library/components/VcRadio/VcRadio.vue.mjs +2 -1
  17. package/library/components/VcSelect/VcSelect.vue.mjs +2 -1
  18. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  19. package/library/entity/components/Table/VcEntityListTable.vue.mjs +61 -43
  20. package/library/index.mjs +169 -167
  21. package/library/index.mjs.br +0 -0
  22. package/library/index.mjs.gz +0 -0
  23. package/library/plugin.mjs +186 -182
  24. package/library/plugin.mjs.br +0 -0
  25. package/library/plugin.mjs.gz +0 -0
  26. package/library/style.css +11 -7
  27. package/library/style.css.br +0 -0
  28. package/library/style.css.gz +0 -0
  29. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +3 -0
  30. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +3 -3
  31. package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +92 -0
  32. package/library/types/components/VcTable/VcTable.vue.d.ts +18 -18
  33. package/library/types/components/exports.d.ts +7 -1
  34. package/library/types/directives/click-outside.d.ts +7 -0
  35. package/library/types/directives/input-mask.d.ts +8 -0
  36. package/library/types/directives/long-press.d.ts +8 -0
  37. package/library/types/directives/resize.d.ts +10 -0
  38. package/library/types/index.d.ts +1 -0
  39. package/library/types/types/Entity.basic.types.d.ts +4 -0
  40. package/library/types/utils/element-plus-imports.d.ts +1 -1
  41. package/library/utils/lucideIcon.mjs +4 -1
  42. package/package.json +156 -153
  43. /package/library/assets/node_modules/element-plus/theme-chalk/src/{dropdown-item.css → tooltip.css} +0 -0
Binary file
@@ -7,6 +7,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
7
7
  name?: string | undefined;
8
8
  modelValue?: Model | undefined;
9
9
  readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
10
+ value?: Model | undefined;
10
11
  dataTestName?: string | undefined;
11
12
  prefixIconColor?: string | undefined;
12
13
  prefixIcon?: import('../../types').TIcon | undefined;
@@ -37,6 +38,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
37
38
  name?: string | undefined;
38
39
  modelValue?: Model | undefined;
39
40
  readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
41
+ value?: Model | undefined;
40
42
  dataTestName?: string | undefined;
41
43
  prefixIconColor?: string | undefined;
42
44
  prefixIcon?: import('../../types').TIcon | undefined;
@@ -71,6 +73,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
71
73
  name?: string | undefined;
72
74
  modelValue?: Model | undefined;
73
75
  readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
76
+ value?: Model | undefined;
74
77
  dataTestName?: string | undefined;
75
78
  prefixIconColor?: string | undefined;
76
79
  prefixIcon?: import('../../types').TIcon | undefined;
@@ -11,9 +11,9 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
11
11
  valueKey?: IsObjectWithKeys<Option> | undefined;
12
12
  dataTestName?: string | undefined;
13
13
  checkboxes?: Option[] | undefined;
14
+ config?: Config | undefined;
14
15
  selectAllLabel?: string | undefined;
15
16
  visibleAll?: boolean | undefined;
16
- config?: Config | undefined;
17
17
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
18
18
  attrs: any;
19
19
  slots: {
@@ -37,9 +37,9 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
37
37
  valueKey?: IsObjectWithKeys<Option> | undefined;
38
38
  dataTestName?: string | undefined;
39
39
  checkboxes?: Option[] | undefined;
40
+ config?: Config | undefined;
40
41
  selectAllLabel?: string | undefined;
41
42
  visibleAll?: boolean | undefined;
42
- config?: Config | undefined;
43
43
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
44
44
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
45
45
  attrs: any;
@@ -67,9 +67,9 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
67
67
  valueKey?: IsObjectWithKeys<Option> | undefined;
68
68
  dataTestName?: string | undefined;
69
69
  checkboxes?: Option[] | undefined;
70
+ config?: Config | undefined;
70
71
  selectAllLabel?: string | undefined;
71
72
  visibleAll?: boolean | undefined;
72
- config?: Config | undefined;
73
73
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
74
74
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
75
75
  attrs: any;
@@ -0,0 +1,92 @@
1
+ interface ICodeBlockProps {
2
+ /**
3
+ * @description Source code to display. Leading blank lines and trailing
4
+ * whitespace are stripped.
5
+ */
6
+ code?: string;
7
+ /**
8
+ * @description highlight.js language name or alias (e.g. 'ts', 'html',
9
+ * 'bash'). Case-insensitive. Unknown or empty values fall back to
10
+ * auto-detection.
11
+ */
12
+ language?: string;
13
+ /**
14
+ * @description Optional label rendered in a header bar above the code
15
+ * (commonly a file name). Without it the copy button and language label
16
+ * float over the code and appear on hover.
17
+ */
18
+ title?: string;
19
+ /**
20
+ * @description Show the resolved language label.
21
+ */
22
+ showLanguageLabel?: boolean;
23
+ /**
24
+ * @description Show the copy-to-clipboard button.
25
+ */
26
+ copyable?: boolean;
27
+ /**
28
+ * @description Render a line-number gutter. Disables soft wrapping to
29
+ * keep numbers aligned to lines.
30
+ */
31
+ lineNumbers?: boolean;
32
+ /**
33
+ * @description Soft-wrap long lines instead of horizontal scrolling.
34
+ * Ignored when `lineNumbers` is enabled.
35
+ */
36
+ wrap?: boolean;
37
+ /**
38
+ * @description Max height of the code area (number of px or any CSS
39
+ * size). Content beyond it scrolls vertically.
40
+ */
41
+ maxHeight?: string | number;
42
+ }
43
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICodeBlockProps>, {
44
+ code: string;
45
+ language: string;
46
+ title: string;
47
+ showLanguageLabel: boolean;
48
+ copyable: boolean;
49
+ lineNumbers: boolean;
50
+ wrap: boolean;
51
+ maxHeight: string;
52
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ copy: (code: string) => void;
54
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICodeBlockProps>, {
55
+ code: string;
56
+ language: string;
57
+ title: string;
58
+ showLanguageLabel: boolean;
59
+ copyable: boolean;
60
+ lineNumbers: boolean;
61
+ wrap: boolean;
62
+ maxHeight: string;
63
+ }>>> & Readonly<{
64
+ onCopy?: ((code: string) => any) | undefined;
65
+ }>, {
66
+ code: string;
67
+ title: string;
68
+ maxHeight: string | number;
69
+ language: string;
70
+ showLanguageLabel: boolean;
71
+ copyable: boolean;
72
+ lineNumbers: boolean;
73
+ wrap: boolean;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
+ export default _default;
76
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
77
+ type __VLS_TypePropsToRuntimeProps<T> = {
78
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
79
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
80
+ } : {
81
+ type: import('vue').PropType<T[K]>;
82
+ required: true;
83
+ };
84
+ };
85
+ type __VLS_WithDefaults<P, D> = {
86
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
87
+ default: D[K];
88
+ }> : P[K];
89
+ };
90
+ type __VLS_Prettify<T> = {
91
+ [K in keyof T]: T[K];
92
+ } & {};
@@ -23,7 +23,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
23
23
  readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
24
24
  readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
25
25
  readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
26
- columns?: ColumnType<Option> | undefined;
26
+ columns?: ColumnType | undefined;
27
27
  showSelection?: boolean | undefined;
28
28
  expandableRow?: boolean | undefined;
29
29
  rowSelectable?: boolean | undefined;
@@ -55,18 +55,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
55
55
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
56
56
  attrs: any;
57
57
  slots: Partial<Record<string, (_: {
58
- column: ColumnTypeItem<Option>;
58
+ column: ColumnTypeItem<Record<string, unknown>>;
59
59
  }) => any>> & Partial<Record<`${string}-title`, (_: {
60
- column: ColumnTypeItem<Option>;
60
+ column: ColumnTypeItem<Record<string, unknown>>;
61
61
  title: string;
62
62
  }) => any>> & Partial<Record<`${string}-filter-option`, (_: {
63
63
  option: {
64
64
  value: string | number;
65
65
  label: string;
66
66
  };
67
- column: ColumnTypeItem<Option>;
67
+ column: ColumnTypeItem<Record<string, unknown>>;
68
68
  }) => any>> & Partial<Record<`${string}-extra`, (_: {
69
- column: ColumnTypeItem<Option>;
69
+ column: ColumnTypeItem<Record<string, unknown>>;
70
70
  }) => any>> & Partial<Record<string, (_: {
71
71
  row: Option & {
72
72
  selected?: boolean | undefined;
@@ -79,7 +79,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
79
79
  "checked-tooltip"?(_: {}): any;
80
80
  "actions-column-header"?(_: {}): any;
81
81
  "prepend-row"?(_: {
82
- columns: ColumnType<Option>;
82
+ columns: ColumnType;
83
83
  }): any;
84
84
  "actions-column"?(_: {
85
85
  row: Option & {
@@ -148,7 +148,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
148
148
  readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
149
149
  readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
150
150
  readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
151
- columns?: ColumnType<Option> | undefined;
151
+ columns?: ColumnType | undefined;
152
152
  showSelection?: boolean | undefined;
153
153
  expandableRow?: boolean | undefined;
154
154
  rowSelectable?: boolean | undefined;
@@ -189,18 +189,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
189
189
  }): void;
190
190
  attrs: any;
191
191
  slots: Partial<Record<string, (_: {
192
- column: ColumnTypeItem<Option>;
192
+ column: ColumnTypeItem<Record<string, unknown>>;
193
193
  }) => any>> & Partial<Record<`${string}-title`, (_: {
194
- column: ColumnTypeItem<Option>;
194
+ column: ColumnTypeItem<Record<string, unknown>>;
195
195
  title: string;
196
196
  }) => any>> & Partial<Record<`${string}-filter-option`, (_: {
197
197
  option: {
198
198
  value: string | number;
199
199
  label: string;
200
200
  };
201
- column: ColumnTypeItem<Option>;
201
+ column: ColumnTypeItem<Record<string, unknown>>;
202
202
  }) => any>> & Partial<Record<`${string}-extra`, (_: {
203
- column: ColumnTypeItem<Option>;
203
+ column: ColumnTypeItem<Record<string, unknown>>;
204
204
  }) => any>> & Partial<Record<string, (_: {
205
205
  row: Option & {
206
206
  selected?: boolean | undefined;
@@ -213,7 +213,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
213
213
  "checked-tooltip"?(_: {}): any;
214
214
  "actions-column-header"?(_: {}): any;
215
215
  "prepend-row"?(_: {
216
- columns: ColumnType<Option>;
216
+ columns: ColumnType;
217
217
  }): any;
218
218
  "actions-column"?(_: {
219
219
  row: Option & {
@@ -277,7 +277,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
277
277
  readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
278
278
  readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
279
279
  readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
280
- columns?: ColumnType<Option> | undefined;
280
+ columns?: ColumnType | undefined;
281
281
  showSelection?: boolean | undefined;
282
282
  expandableRow?: boolean | undefined;
283
283
  rowSelectable?: boolean | undefined;
@@ -318,18 +318,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
318
318
  }): void;
319
319
  attrs: any;
320
320
  slots: Partial<Record<string, (_: {
321
- column: ColumnTypeItem<Option>;
321
+ column: ColumnTypeItem<Record<string, unknown>>;
322
322
  }) => any>> & Partial<Record<`${string}-title`, (_: {
323
- column: ColumnTypeItem<Option>;
323
+ column: ColumnTypeItem<Record<string, unknown>>;
324
324
  title: string;
325
325
  }) => any>> & Partial<Record<`${string}-filter-option`, (_: {
326
326
  option: {
327
327
  value: string | number;
328
328
  label: string;
329
329
  };
330
- column: ColumnTypeItem<Option>;
330
+ column: ColumnTypeItem<Record<string, unknown>>;
331
331
  }) => any>> & Partial<Record<`${string}-extra`, (_: {
332
- column: ColumnTypeItem<Option>;
332
+ column: ColumnTypeItem<Record<string, unknown>>;
333
333
  }) => any>> & Partial<Record<string, (_: {
334
334
  row: Option & {
335
335
  selected?: boolean | undefined;
@@ -342,7 +342,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
342
342
  "checked-tooltip"?(_: {}): any;
343
343
  "actions-column-header"?(_: {}): any;
344
344
  "prepend-row"?(_: {
345
- columns: ColumnType<Option>;
345
+ columns: ColumnType;
346
346
  }): any;
347
347
  "actions-column"?(_: {
348
348
  row: Option & {
@@ -11,6 +11,8 @@ import VcSelectOption from './VcSelect/VcSelectOption.vue';
11
11
  import VcInfiniteScrollSelect from './VcSelect/VcInfiniteScrollSelect.vue';
12
12
  import VcAutocomplete from './VcAutocomplete/VcAutocomplete.vue';
13
13
  import VcCheckbox from './VcCheckbox/VcCheckbox.vue';
14
+ import VcCheckboxButton from './VcCheckbox/VcCheckboxButton.vue';
15
+ import VcCheckboxButtonGroup from './VcCheckbox/VcCheckboxButtonGroup.vue';
14
16
  import VcCheckboxGroup from './VcCheckboxGroup/VcCheckboxGroup.vue';
15
17
  import VcRadio from './VcRadio/VcRadio.vue';
16
18
  import VcRadioGroup from './VcRadioGroup/VcRadioGroup.vue';
@@ -28,6 +30,7 @@ import VcTagInput from './VcTagInput/VcTagInput.vue';
28
30
  import VcOtpInput from './VcOtpInput/VcOtpInput.vue';
29
31
  import VcFileUploader from './VcFileUploader/VcFileUploader.vue';
30
32
  import VcCard from './VcCard/VcCard.vue';
33
+ import VcCodeBlock from './VcCodeBlock/VcCodeBlock.vue';
31
34
  import VcModal from './VcModal/VcModal.vue';
32
35
  import VcConfirmModal from './VcModal/VcConfirmModal.vue';
33
36
  import VcPopover from './VcPopover/VcPopover.vue';
@@ -77,7 +80,7 @@ import VcExcelFileUploader from './VcExcelUploader/VcExcelFileUploader.vue';
77
80
  import VcImageUploader from './VcImageUploader/VcImageUploader.vue';
78
81
  import VcTour from './VcTour/VcTour.vue';
79
82
  import VcSipFlow from './VcSipFlow/VcSipFlow.vue';
80
- export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcDatetimeRangePicker, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcTagInput, VcOtpInput, VcFileUploader, VcCard, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcDelimitedList, VcSparkline, VcViewSwitcher, VcSegmented, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcJsonSchema, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, };
83
+ export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxGroup, VcCheckboxButton, VcCheckboxButtonGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcDatetimeRangePicker, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcTagInput, VcOtpInput, VcFileUploader, VcCard, VcCodeBlock, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcDelimitedList, VcSparkline, VcViewSwitcher, VcSegmented, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcJsonSchema, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, };
81
84
  declare module '@vue/runtime-core' {
82
85
  interface GlobalComponents {
83
86
  VcButton: typeof VcButton;
@@ -94,6 +97,8 @@ declare module '@vue/runtime-core' {
94
97
  VcAutocomplete: typeof VcAutocomplete;
95
98
  VcCheckbox: typeof VcCheckbox;
96
99
  VcCheckboxGroup: typeof VcCheckboxGroup;
100
+ VcCheckboxButton: typeof VcCheckboxButton;
101
+ VcCheckboxButtonGroup: typeof VcCheckboxButtonGroup;
97
102
  VcRadio: typeof VcRadio;
98
103
  VcRadioGroup: typeof VcRadioGroup;
99
104
  VcRadioButtonsGroup: typeof VcRadioButtonsGroup;
@@ -110,6 +115,7 @@ declare module '@vue/runtime-core' {
110
115
  VcOtpInput: typeof VcOtpInput;
111
116
  VcFileUploader: typeof VcFileUploader;
112
117
  VcCard: typeof VcCard;
118
+ VcCodeBlock: typeof VcCodeBlock;
113
119
  VcModal: typeof VcModal;
114
120
  VcConfirmModal: typeof VcConfirmModal;
115
121
  VcPopover: typeof VcPopover;
@@ -1,2 +1,9 @@
1
1
  import { ClickOutside } from 'element-plus';
2
+ /**
3
+ * Detect clicks outside an element. Re-exported from Element Plus.
4
+ *
5
+ * @directive v-click-outside
6
+ * @usage <div v-click-outside="handleClickOutside">...</div>
7
+ * @option handler - Function to call when clicking outside
8
+ */
2
9
  export default ClickOutside;
@@ -1,2 +1,10 @@
1
1
  import { vMaska } from 'maska/vue';
2
+ /**
3
+ * Input masking directive using Maska library. Supports phone numbers, dates, credit cards, etc.
4
+ *
5
+ * @directive v-input-mask
6
+ * @usage <input v-input-mask data-maska="#-###-###-####" />
7
+ * @option data-maska - Mask pattern (# = digit, @ = letter, * = any)
8
+ * @option data-maska-tokens - Custom token definitions
9
+ */
2
10
  export default vMaska;
@@ -2,6 +2,14 @@ interface ValueObjType {
2
2
  repeat?: boolean;
3
3
  functionToCall: () => unknown;
4
4
  }
5
+ /**
6
+ * Detect long press (300ms) on an element. Supports repeat mode for continuous triggers.
7
+ *
8
+ * @directive v-long-press
9
+ * @usage <button v-long-press="{ functionToCall: handler, repeat: true }">Hold me</button>
10
+ * @option functionToCall - Function to execute on long press
11
+ * @option repeat - Boolean - if true, continues calling every 100ms while held
12
+ */
5
13
  export declare const longPress: {
6
14
  beforeMount(el: HTMLElement, { value }: {
7
15
  value: ValueObjType;
@@ -1,4 +1,14 @@
1
1
  import { DirectiveBinding, RendererNode } from 'vue';
2
+ /**
3
+ * Observe element resize using ResizeObserver. Supports debounce/throttle modes.
4
+ *
5
+ * @directive v-resize
6
+ * @usage <div v-resize:debounce="{ event: handleResize, delay: 200 }">...</div>
7
+ * @option :debounce - Use debounced resize (default)
8
+ * @option :throttle - Use throttled resize
9
+ * @option event - Handler function receiving { detail: { width, height } }
10
+ * @option delay - Debounce/throttle delay in ms (default: 100)
11
+ */
2
12
  export declare const resize: {
3
13
  mounted(el: HTMLElement, binding: DirectiveBinding, vNode: RendererNode): void;
4
14
  beforeUnmount(el: HTMLElement): void;
@@ -28,6 +28,7 @@ export { default as VcTagInput } from './components/VcTagInput/VcTagInput.vue';
28
28
  export { default as VcOtpInput } from './components/VcOtpInput/VcOtpInput.vue';
29
29
  export { default as VcFileUploader } from './components/VcFileUploader/VcFileUploader.vue';
30
30
  export { default as VcCard } from './components/VcCard/VcCard.vue';
31
+ export { default as VcCodeBlock } from './components/VcCodeBlock/VcCodeBlock.vue';
31
32
  export { default as VcModal } from './components/VcModal/VcModal.vue';
32
33
  export { default as VcConfirmModal } from './components/VcModal/VcConfirmModal.vue';
33
34
  export { default as VcPopover } from './components/VcPopover/VcPopover.vue';
@@ -14,6 +14,10 @@ export type IBaseSlots = {
14
14
  'pre-column-actions'?: () => void;
15
15
  'post-column-actions'?: () => void;
16
16
  'column-actions'?: () => void;
17
+ 'empty-data-slot'?: (slotData: {
18
+ entity: BaseEntityServiceImplements;
19
+ recycleBin?: boolean;
20
+ }) => void;
17
21
  };
18
22
  export type TEntityListSlots<Data> = IBaseSlots & {
19
23
  [key: string]: ((slotData: {
@@ -4,7 +4,7 @@ export { ElInput, ElInputNumber, ElAutocomplete } from 'element-plus';
4
4
  export type { AutocompleteFetchSuggestions } from 'element-plus';
5
5
  export { ElSelect, ElOption, ElOptionGroup } from 'element-plus';
6
6
  export { ElRadio, ElRadioGroup, ElRadioButton } from 'element-plus';
7
- export { ElCheckbox, ElCheckboxGroup } from 'element-plus';
7
+ export { ElCheckbox, ElCheckboxGroup, ElCheckboxButton } from 'element-plus';
8
8
  export { ElDatePicker } from 'element-plus';
9
9
  export { ElColorPicker } from 'element-plus';
10
10
  export { ElSlider } from 'element-plus';
@@ -20,7 +20,10 @@ function cacheLucideIcon(kebabName, component) {
20
20
  }
21
21
  async function importLucideIconModule(kebabName) {
22
22
  try {
23
- const module = await import(`@lucide/vue/dist/esm/icons/${kebabName}.mjs`);
23
+ const module = await import(
24
+ /* @vite-ignore */
25
+ `@lucide/vue/dist/esm/icons/${kebabName}.mjs`
26
+ );
24
27
  const component = module.default;
25
28
  return isVueComponent(component) ? component : null;
26
29
  } catch {