@wpic/ui 0.3.5

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 (82) hide show
  1. package/dist/components/CollapseToggle.vue.d.ts +10 -0
  2. package/dist/components/ConfirmModal.vue.d.ts +16 -0
  3. package/dist/components/Modal.vue.d.ts +27 -0
  4. package/dist/components/SearchSelect.vue.d.ts +19 -0
  5. package/dist/components/ToastContainer.vue.d.ts +2 -0
  6. package/dist/components/TreeSelect.vue.d.ts +32 -0
  7. package/dist/components/WActionMenu.vue.d.ts +12 -0
  8. package/dist/components/WActionMenuItem.vue.d.ts +20 -0
  9. package/dist/components/WActionPanel.vue.d.ts +22 -0
  10. package/dist/components/WAlert.vue.d.ts +24 -0
  11. package/dist/components/WAvatar.vue.d.ts +7 -0
  12. package/dist/components/WBadge.vue.d.ts +21 -0
  13. package/dist/components/WBanner.vue.d.ts +17 -0
  14. package/dist/components/WBatchActionBar.vue.d.ts +22 -0
  15. package/dist/components/WButton.vue.d.ts +25 -0
  16. package/dist/components/WButtonGroup.vue.d.ts +12 -0
  17. package/dist/components/WCard.vue.d.ts +44 -0
  18. package/dist/components/WChatPanel.vue.d.ts +278 -0
  19. package/dist/components/WCheckbox.vue.d.ts +22 -0
  20. package/dist/components/WDatePicker.vue.d.ts +31 -0
  21. package/dist/components/WDateRangePicker.vue.d.ts +26 -0
  22. package/dist/components/WEmptyState.vue.d.ts +27 -0
  23. package/dist/components/WEmptyValue.vue.d.ts +17 -0
  24. package/dist/components/WFileList.vue.d.ts +36 -0
  25. package/dist/components/WFilter.vue.d.ts +21 -0
  26. package/dist/components/WFilterBar.vue.d.ts +69 -0
  27. package/dist/components/WFormActions.vue.d.ts +14 -0
  28. package/dist/components/WFormLabel.vue.d.ts +15 -0
  29. package/dist/components/WImageTile.vue.d.ts +11 -0
  30. package/dist/components/WInput.vue.d.ts +35 -0
  31. package/dist/components/WLoader.vue.d.ts +12 -0
  32. package/dist/components/WModal.vue.d.ts +28 -0
  33. package/dist/components/WMonthPicker.vue.d.ts +23 -0
  34. package/dist/components/WOptionPopover.vue.d.ts +19 -0
  35. package/dist/components/WPagination.vue.d.ts +16 -0
  36. package/dist/components/WPillGroup.vue.d.ts +35 -0
  37. package/dist/components/WPopover.vue.d.ts +44 -0
  38. package/dist/components/WProgress.vue.d.ts +10 -0
  39. package/dist/components/WSearchSelect.vue.d.ts +25 -0
  40. package/dist/components/WSegmentedControl.vue.d.ts +22 -0
  41. package/dist/components/WSelect.vue.d.ts +67 -0
  42. package/dist/components/WSelectOption.vue.d.ts +22 -0
  43. package/dist/components/WSidePanel.vue.d.ts +29 -0
  44. package/dist/components/WSkeleton.vue.d.ts +7 -0
  45. package/dist/components/WSlidePanel.vue.d.ts +25 -0
  46. package/dist/components/WSlider.vue.d.ts +22 -0
  47. package/dist/components/WSpinner.vue.d.ts +15 -0
  48. package/dist/components/WSpreadsheet.vue.d.ts +99 -0
  49. package/dist/components/WStatCard.vue.d.ts +21 -0
  50. package/dist/components/WTable.vue.d.ts +87 -0
  51. package/dist/components/WTabs.vue.d.ts +28 -0
  52. package/dist/components/WTag.vue.d.ts +27 -0
  53. package/dist/components/WTagInput.vue.d.ts +71 -0
  54. package/dist/components/WTailwindColorPicker.vue.d.ts +21 -0
  55. package/dist/components/WTextarea.vue.d.ts +15 -0
  56. package/dist/components/WToggle.vue.d.ts +22 -0
  57. package/dist/components/WTooltip.vue.d.ts +19 -0
  58. package/dist/components/WTwoColumnFormSection.vue.d.ts +19 -0
  59. package/dist/components/WWorkflowNav.vue.d.ts +20 -0
  60. package/dist/components/form/FormDate.vue.d.ts +23 -0
  61. package/dist/components/form/FormInput.vue.d.ts +15 -0
  62. package/dist/components/form/FormLabel.vue.d.ts +12 -0
  63. package/dist/components/form/FormSelect.vue.d.ts +18 -0
  64. package/dist/components/form/FormTextarea.vue.d.ts +14 -0
  65. package/dist/components/icons/MarketplaceIcon.vue.d.ts +9 -0
  66. package/dist/components/icons/ProviderLogo.vue.d.ts +11 -0
  67. package/dist/components/table/Table.vue.d.ts +12 -0
  68. package/dist/components/table/TableBody.vue.d.ts +12 -0
  69. package/dist/components/table/TableCell.vue.d.ts +17 -0
  70. package/dist/components/table/TableHead.vue.d.ts +12 -0
  71. package/dist/components/table/TableRow.vue.d.ts +15 -0
  72. package/dist/composables/useRecentItems.d.ts +9 -0
  73. package/dist/index.d.ts +82 -0
  74. package/dist/stores/toast.d.ts +148 -0
  75. package/dist/wpic-ui.cjs +9318 -0
  76. package/dist/wpic-ui.css +284 -0
  77. package/dist/wpic-ui.js +17570 -0
  78. package/package.json +51 -0
  79. package/src/components/chat/DB_SCHEMA.md +440 -0
  80. package/src/components/chat/LLM_STREAMING.md +390 -0
  81. package/src/components/chat/UI_INTEGRATION.md +273 -0
  82. package/src/style.css +282 -0
@@ -0,0 +1,29 @@
1
+ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<{
2
+ open: boolean;
3
+ title?: string;
4
+ subtitle?: string;
5
+ width?: string;
6
+ zIndex?: number;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ close: () => any;
9
+ }, string, import('vue').PublicProps, Readonly<{
10
+ open: boolean;
11
+ title?: string;
12
+ subtitle?: string;
13
+ width?: string;
14
+ zIndex?: number;
15
+ }> & Readonly<{
16
+ onClose?: (() => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
18
+ header?: (props: {}) => any;
19
+ } & {
20
+ default?: (props: {}) => any;
21
+ } & {
22
+ footer?: (props: {}) => any;
23
+ }>;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ width?: string;
3
+ height?: string;
4
+ rounded?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ modelValue: boolean;
3
+ title?: string;
4
+ width?: string;
5
+ };
6
+ declare var __VLS_13: {}, __VLS_19: {}, __VLS_21: {};
7
+ type __VLS_Slots = {} & {
8
+ header?: (props: typeof __VLS_13) => any;
9
+ } & {
10
+ default?: (props: typeof __VLS_19) => any;
11
+ } & {
12
+ footer?: (props: typeof __VLS_21) => any;
13
+ };
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (v: boolean) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ min?: number;
3
+ max?: number;
4
+ step?: number;
5
+ disabled?: boolean;
6
+ variant?: 'default' | 'timeline';
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & {
9
+ modelValue?: number;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:modelValue": (value: number | undefined) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
15
+ }>, {
16
+ variant: "default" | "timeline";
17
+ disabled: boolean;
18
+ max: number;
19
+ min: number;
20
+ step: number;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * WSpinner — standalone loading indicator.
3
+ *
4
+ * Use for inline loading states outside buttons. Buttons should usually use
5
+ * WButton's built-in `loading` prop so label/layout stay stable.
6
+ */
7
+ type __VLS_Props = {
8
+ size?: 'sm' | 'md' | 'lg';
9
+ tone?: 'primary' | 'muted';
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ size: "sm" | "md" | "lg";
13
+ tone: "primary" | "muted";
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,99 @@
1
+ export type WSpreadsheetColumn = {
2
+ key: string;
3
+ label?: string;
4
+ width?: string;
5
+ sortable?: boolean;
6
+ sticky?: boolean;
7
+ };
8
+ export type WSpreadsheetCellVariant = 'default' | 'title' | 'label' | 'header' | 'total' | 'editable';
9
+ export type WSpreadsheetCell = {
10
+ key: string;
11
+ value?: string | number | null;
12
+ colspan?: number;
13
+ variant?: WSpreadsheetCellVariant;
14
+ align?: 'left' | 'center' | 'right';
15
+ tone?: 'default' | 'muted' | 'danger' | 'warning' | 'success';
16
+ editable?: boolean;
17
+ inputType?: 'text' | 'number' | 'date';
18
+ min?: number;
19
+ placeholder?: string;
20
+ title?: string;
21
+ class?: string;
22
+ wrap?: boolean;
23
+ };
24
+ export type WSpreadsheetRow = {
25
+ key: string;
26
+ cells: WSpreadsheetCell[];
27
+ /** Keep this row in its original position when another column is sorted. */
28
+ sortable?: boolean;
29
+ /** Keep this row visible at the top while the spreadsheet scrolls. */
30
+ sticky?: boolean;
31
+ };
32
+ type __VLS_Props = {
33
+ columns: WSpreadsheetColumn[];
34
+ rows: WSpreadsheetRow[];
35
+ /** Convenience switch that disables both spreadsheet axes. */
36
+ showAxes?: boolean;
37
+ showColumnLetters?: boolean;
38
+ showRowNumbers?: boolean;
39
+ minWidth?: string;
40
+ maxHeight?: string;
41
+ sortable?: boolean;
42
+ expandable?: boolean;
43
+ showExpandButton?: boolean;
44
+ downloadable?: boolean;
45
+ showDownloadButton?: boolean;
46
+ downloadFilename?: string;
47
+ fillHandle?: boolean;
48
+ expanded?: boolean;
49
+ downloadRequest?: number;
50
+ loading?: boolean;
51
+ };
52
+ declare function download(): void;
53
+ declare var __VLS_5: {}, __VLS_23: `cell-${string}`, __VLS_24: {
54
+ row: WSpreadsheetRow;
55
+ cell: WSpreadsheetCell;
56
+ rowIndex: number;
57
+ };
58
+ type __VLS_Slots = {} & {
59
+ [K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
60
+ } & {
61
+ 'expanded-header'?: (props: typeof __VLS_5) => any;
62
+ };
63
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
64
+ expand: () => void;
65
+ collapse: () => void;
66
+ toggleExpanded: () => void;
67
+ download: typeof download;
68
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
69
+ "update:expanded": (value: boolean) => any;
70
+ "cell-change": (payload: {
71
+ rowKey: string;
72
+ cellKey: string;
73
+ value: string;
74
+ row: WSpreadsheetRow;
75
+ cell: WSpreadsheetCell;
76
+ }) => any;
77
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
78
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
79
+ "onCell-change"?: ((payload: {
80
+ rowKey: string;
81
+ cellKey: string;
82
+ value: string;
83
+ row: WSpreadsheetRow;
84
+ cell: WSpreadsheetCell;
85
+ }) => any) | undefined;
86
+ }>, {
87
+ minWidth: string;
88
+ showAxes: boolean;
89
+ showColumnLetters: boolean;
90
+ showRowNumbers: boolean;
91
+ maxHeight: string;
92
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
93
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
94
+ export default _default;
95
+ type __VLS_WithSlots<T, S> = T & {
96
+ new (): {
97
+ $slots: S;
98
+ };
99
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * WStatCard — compact metric / KPI card.
3
+ *
4
+ * Props:
5
+ * - label : metric label (e.g. "SKUs tracked")
6
+ * - value : main value to display
7
+ * - unit : optional small suffix (e.g. "d", "%")
8
+ * - color : CSS color for the value
9
+ * - sub : optional subtitle below the value
10
+ * - subColor : CSS color for sub
11
+ */
12
+ type __VLS_Props = {
13
+ label: string;
14
+ value: string | number;
15
+ unit?: string;
16
+ color?: string;
17
+ sub?: string;
18
+ subColor?: string;
19
+ };
20
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,87 @@
1
+ export type WTableColumn = {
2
+ field: string;
3
+ label?: string;
4
+ align?: 'left' | 'center' | 'right';
5
+ width?: string;
6
+ minWidth?: string;
7
+ sortable?: boolean;
8
+ searchable?: boolean;
9
+ };
10
+ type __VLS_Props = {
11
+ data?: Record<string, unknown>[];
12
+ columns: WTableColumn[];
13
+ loading?: boolean;
14
+ emptyText?: string;
15
+ pageSize?: number;
16
+ serverTotal?: number;
17
+ serverPage?: number;
18
+ searchPlaceholder?: string;
19
+ rowClickable?: boolean;
20
+ showHeader?: boolean;
21
+ expandable?: boolean;
22
+ selectable?: boolean;
23
+ selectedKeys?: (string | number)[];
24
+ rowKey?: string;
25
+ flushEdges?: boolean;
26
+ rowClass?: (row: Record<string, unknown>) => string | Record<string, boolean> | undefined;
27
+ rowStyle?: (row: Record<string, unknown>) => Record<string, string> | undefined;
28
+ summaryRow?: Record<string, unknown>;
29
+ compact?: boolean;
30
+ };
31
+ declare function toggleSort(field: string): void;
32
+ declare var __VLS_4: {}, __VLS_15: string, __VLS_16: {
33
+ col: WTableColumn;
34
+ sortField: string | null;
35
+ sortDir: "desc" | "asc";
36
+ toggleSort: typeof toggleSort;
37
+ }, __VLS_31: string, __VLS_32: {
38
+ row: Record<string, unknown>;
39
+ value: unknown;
40
+ }, __VLS_50: string, __VLS_51: {
41
+ row: Record<string, unknown>;
42
+ value: unknown;
43
+ }, __VLS_53: {
44
+ row: Record<string, unknown>;
45
+ }, __VLS_55: {};
46
+ type __VLS_Slots = {} & {
47
+ [K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
48
+ } & {
49
+ [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any;
50
+ } & {
51
+ [K in NonNullable<typeof __VLS_50>]?: (props: typeof __VLS_51) => any;
52
+ } & {
53
+ toolbar?: (props: typeof __VLS_4) => any;
54
+ } & {
55
+ expand?: (props: typeof __VLS_53) => any;
56
+ } & {
57
+ 'empty-icon'?: (props: typeof __VLS_55) => any;
58
+ };
59
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
60
+ filteredCount: import('vue').ComputedRef<number>;
61
+ searchQuery: import('vue').Ref<string, string>;
62
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
+ "row-click": (row: Record<string, unknown>) => any;
64
+ "update:selectedKeys": (keys: (string | number)[]) => any;
65
+ "row-select": (row: Record<string, unknown>, selected: boolean) => any;
66
+ "update:serverPage": (page: number) => any;
67
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
68
+ "onRow-click"?: ((row: Record<string, unknown>) => any) | undefined;
69
+ "onUpdate:selectedKeys"?: ((keys: (string | number)[]) => any) | undefined;
70
+ "onRow-select"?: ((row: Record<string, unknown>, selected: boolean) => any) | undefined;
71
+ "onUpdate:serverPage"?: ((page: number) => any) | undefined;
72
+ }>, {
73
+ searchPlaceholder: string;
74
+ rowClickable: boolean;
75
+ showHeader: boolean;
76
+ expandable: boolean;
77
+ selectable: boolean;
78
+ rowKey: string;
79
+ flushEdges: boolean;
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
81
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
82
+ export default _default;
83
+ type __VLS_WithSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ tabs: Array<{
4
+ value: string;
5
+ label: string;
6
+ icon?: any;
7
+ badge?: string | number;
8
+ disabled?: boolean;
9
+ }>;
10
+ size?: 'sm' | 'md' | 'lg';
11
+ borderColor?: string;
12
+ };
13
+ declare var __VLS_5: {};
14
+ type __VLS_Slots = {} & {
15
+ actions?: (props: typeof __VLS_5) => any;
16
+ };
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:modelValue": (value: string) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,27 @@
1
+ import { PopoverOption } from './WOptionPopover.vue';
2
+ type __VLS_Props = {
3
+ variant?: 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info' | 'overlay' | 'teal' | 'meta';
4
+ size?: 'sm' | 'md';
5
+ editable?: boolean;
6
+ modelValue?: string | null;
7
+ options?: PopoverOption[];
8
+ removable?: boolean;
9
+ };
10
+ declare var __VLS_11: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_11) => any;
13
+ };
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (value: string) => any;
16
+ remove: () => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
+ onRemove?: (() => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,71 @@
1
+ type TagTranslation = {
2
+ value: string;
3
+ source: 'auto' | 'human';
4
+ };
5
+ export type WTagItem = {
6
+ tag_id: string;
7
+ slug: string;
8
+ existed?: boolean;
9
+ translations: Record<string, TagTranslation>;
10
+ };
11
+ type __VLS_Props = {
12
+ /**
13
+ * Simple mode: modelValue is string[], options is string[].
14
+ * No translations, no preview, no recent items.
15
+ * Set simple=true to activate.
16
+ */
17
+ simple?: boolean;
18
+ /** Simple mode only: list of suggestions to show in the dropdown */
19
+ options?: string[];
20
+ /** Simple mode only: allow creating new tags not in options */
21
+ creatable?: boolean;
22
+ /** Simple mode: string[]. Advanced mode: WTagItem[]. Use the matching prop. */
23
+ modelValue?: WTagItem[];
24
+ /** Simple mode only: string[] of selected values */
25
+ simpleValue?: string[];
26
+ placeholder?: string;
27
+ locale?: string;
28
+ locales?: string[];
29
+ recentKey?: string;
30
+ /** Called for typeahead suggestions; return matching tags */
31
+ searchFn?: (q: string, locale: string) => Promise<WTagItem[]>;
32
+ /** Called on Enter with raw input; return a resolved/new tag with translations */
33
+ resolveFn?: (input: string, locale: string) => Promise<WTagItem>;
34
+ /** Called to persist add/remove; throw to signal failure (triggers rollback) */
35
+ mutateFn?: (action: 'add' | 'remove', tag: WTagItem) => Promise<void>;
36
+ labelRecent?: string;
37
+ labelAutoTranslated?: string;
38
+ labelAlreadyAdded?: string;
39
+ labelExisting?: string;
40
+ labelNew?: string;
41
+ labelEdit?: string;
42
+ labelCancel?: string;
43
+ labelConfirm?: string;
44
+ labelErrorResolving?: string;
45
+ labelErrorAdding?: string;
46
+ };
47
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
+ "update:modelValue": (tags: WTagItem[]) => any;
49
+ "update:simpleValue": (tags: string[]) => any;
50
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
51
+ "onUpdate:modelValue"?: ((tags: WTagItem[]) => any) | undefined;
52
+ "onUpdate:simpleValue"?: ((tags: string[]) => any) | undefined;
53
+ }>, {
54
+ modelValue: WTagItem[];
55
+ placeholder: string;
56
+ creatable: boolean;
57
+ locale: string;
58
+ locales: string[];
59
+ recentKey: string;
60
+ labelRecent: string;
61
+ labelAutoTranslated: string;
62
+ labelAlreadyAdded: string;
63
+ labelExisting: string;
64
+ labelNew: string;
65
+ labelEdit: string;
66
+ labelCancel: string;
67
+ labelConfirm: string;
68
+ labelErrorResolving: string;
69
+ labelErrorAdding: string;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
71
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export interface WTailwindColorOption {
2
+ name: string;
3
+ shade: string | null;
4
+ class: string;
5
+ }
6
+ type __VLS_Props = {
7
+ modelValue: string;
8
+ label?: string;
9
+ families?: string[];
10
+ shades?: string[];
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:modelValue": (value: string) => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
+ }>, {
17
+ label: string;
18
+ families: string[];
19
+ shades: string[];
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ rows?: number;
5
+ disabled?: boolean;
6
+ error?: boolean;
7
+ label?: string;
8
+ resize?: 'none' | 'vertical' | 'both';
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (args_0: string) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ disabled?: boolean;
3
+ };
4
+ type __VLS_PublicProps = __VLS_Props & {
5
+ modelValue?: boolean;
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:modelValue": (value: boolean | undefined) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ content: string;
3
+ placement?: 'top' | 'bottom' | 'left' | 'right';
4
+ delay?: number;
5
+ disabled?: boolean;
6
+ inline?: boolean;
7
+ };
8
+ declare var __VLS_1: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ description?: string;
4
+ contentClass?: string;
5
+ };
6
+ declare var __VLS_1: {}, __VLS_3: {};
7
+ type __VLS_Slots = {} & {
8
+ aside?: (props: typeof __VLS_1) => any;
9
+ } & {
10
+ default?: (props: typeof __VLS_3) => any;
11
+ };
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,20 @@
1
+ interface WorkflowStep {
2
+ value: string | number;
3
+ label: string;
4
+ completed?: boolean;
5
+ disabled?: boolean;
6
+ sections?: Array<{
7
+ label: string;
8
+ href: string;
9
+ }>;
10
+ }
11
+ type __VLS_Props = {
12
+ modelValue: string | number;
13
+ steps: WorkflowStep[];
14
+ };
15
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (value: string | number) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,23 @@
1
+ type SingleValue = string | null;
2
+ type RangeValue = {
3
+ start: string;
4
+ end: string;
5
+ } | null;
6
+ type __VLS_Props = {
7
+ modelValue?: SingleValue | RangeValue;
8
+ mode?: 'single' | 'range';
9
+ placeholder?: string;
10
+ size?: 'sm' | 'md';
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:modelValue": (v: string | {
14
+ start: string;
15
+ end: string;
16
+ } | null) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((v: string | {
19
+ start: string;
20
+ end: string;
21
+ } | null) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ placeholder?: string;
3
+ type?: string;
4
+ error?: boolean;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & {
7
+ /** @deprecated Will be removed. Use WInput instead. */
8
+ modelValue?: string;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string | undefined) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ options?: (string | number | {
3
+ value: string | number;
4
+ label: string;
5
+ })[];
6
+ placeholder?: string;
7
+ error?: boolean;
8
+ };
9
+ type __VLS_PublicProps = __VLS_Props & {
10
+ /** @deprecated Will be removed. Use WSelect instead. */
11
+ modelValue?: any;
12
+ };
13
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (value: any) => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ placeholder?: string;
3
+ rows?: number;
4
+ error?: boolean;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & {
7
+ modelValue?: string;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string | undefined) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;