@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,9 @@
1
+ type __VLS_Props = {
2
+ platform?: string;
3
+ platformId?: number | string;
4
+ size?: number;
5
+ mono?: boolean;
6
+ noTm?: boolean;
7
+ };
8
+ 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>;
9
+ export default _default;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ProviderLogo — official monochrome SVG logos from lobehub.com/icons
3
+ * Covers all 14 providers: openai, google, anthropic, bfl, runway, kling,
4
+ * elevenlabs, ideogram, recraft, fal, replicate, jimeng, liblibai, canvas
5
+ */
6
+ type __VLS_Props = {
7
+ model: string;
8
+ size?: number;
9
+ };
10
+ 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>;
11
+ 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,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,17 @@
1
+ type __VLS_Props = {
2
+ header?: boolean;
3
+ align?: 'left' | 'center' | 'right';
4
+ colspan?: number;
5
+ };
6
+ declare var __VLS_6: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_6) => any;
9
+ };
10
+ 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>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -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,15 @@
1
+ type __VLS_Props = {
2
+ clickable?: boolean;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ 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>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Persists a capped list of recently used IDs in localStorage.
3
+ * Most recently used appears first.
4
+ */
5
+ export declare function useRecentItems(key: string, max?: number): {
6
+ getRecent: () => string[];
7
+ addRecent: (id: string) => void;
8
+ clearRecent: () => void;
9
+ };
@@ -0,0 +1,82 @@
1
+ export { default as WButton } from './components/WButton.vue';
2
+ export { default as WButtonGroup } from './components/WButtonGroup.vue';
3
+ export { default as WFilter } from './components/WFilter.vue';
4
+ export { default as WTable } from './components/WTable.vue';
5
+ export type { WTableColumn } from './components/WTable.vue';
6
+ export { default as WSpreadsheet } from './components/WSpreadsheet.vue';
7
+ export type { WSpreadsheetCell, WSpreadsheetCellVariant, WSpreadsheetColumn, WSpreadsheetRow, } from './components/WSpreadsheet.vue';
8
+ export { default as WCheckbox } from './components/WCheckbox.vue';
9
+ export { default as WChatPanel } from './components/WChatPanel.vue';
10
+ export type { WChatActionProposal, WChatAttachment, WChatInlineAction, WChatMessage, WChatProject, WChatSession } from './components/WChatPanel.vue';
11
+ export { default as WInput } from './components/WInput.vue';
12
+ export { default as WPagination } from './components/WPagination.vue';
13
+ export { default as WSelect } from './components/WSelect.vue';
14
+ export { default as WSelectOption } from './components/WSelectOption.vue';
15
+ export { default as WEmptyValue } from './components/WEmptyValue.vue';
16
+ export { default as WSlider } from './components/WSlider.vue';
17
+ export { default as WTag } from './components/WTag.vue';
18
+ export { default as WOptionPopover } from './components/WOptionPopover.vue';
19
+ export type { PopoverOption } from './components/WOptionPopover.vue';
20
+ export { default as WBanner } from './components/WBanner.vue';
21
+ export { default as WCard } from './components/WCard.vue';
22
+ export { default as WActionPanel } from './components/WActionPanel.vue';
23
+ export { default as WSkeleton } from './components/WSkeleton.vue';
24
+ export { default as WSpinner } from './components/WSpinner.vue';
25
+ export { default as WLoader } from './components/WLoader.vue';
26
+ export { default as WToggle } from './components/WToggle.vue';
27
+ export { default as WModal } from './components/WModal.vue';
28
+ export { default as WSidePanel } from './components/WSidePanel.vue';
29
+ export { default as Modal } from './components/Modal.vue';
30
+ export { default as ToastContainer } from './components/ToastContainer.vue';
31
+ export { default as WTabs } from './components/WTabs.vue';
32
+ export { default as WWorkflowNav } from './components/WWorkflowNav.vue';
33
+ export { default as WFormLabel } from './components/WFormLabel.vue';
34
+ export { default as WFormActions } from './components/WFormActions.vue';
35
+ export { default as WTwoColumnFormSection } from './components/WTwoColumnFormSection.vue';
36
+ export { default as FormLabel } from './components/form/FormLabel.vue';
37
+ export { default as FormTextarea } from './components/form/FormTextarea.vue';
38
+ export { default as FormInput } from './components/form/FormInput.vue';
39
+ export { default as FormSelect } from './components/form/FormSelect.vue';
40
+ export { default as FormDate } from './components/form/FormDate.vue';
41
+ export { default as Table } from './components/table/Table.vue';
42
+ export { default as TableHead } from './components/table/TableHead.vue';
43
+ export { default as TableBody } from './components/table/TableBody.vue';
44
+ export { default as TableRow } from './components/table/TableRow.vue';
45
+ export { default as TableCell } from './components/table/TableCell.vue';
46
+ export { default as CollapseToggle } from './components/CollapseToggle.vue';
47
+ export { default as ConfirmModal } from './components/ConfirmModal.vue';
48
+ export { default as WSearchSelect } from './components/WSearchSelect.vue';
49
+ export { default as WSlidePanel } from './components/WSlidePanel.vue';
50
+ export { default as WTagInput } from './components/WTagInput.vue';
51
+ export type { WTagItem } from './components/WTagInput.vue';
52
+ export { default as SearchSelect } from './components/SearchSelect.vue';
53
+ export { default as TreeSelect } from './components/TreeSelect.vue';
54
+ export { useToastStore } from './stores/toast';
55
+ export { default as WFileList } from './components/WFileList.vue';
56
+ export { default as WStatCard } from './components/WStatCard.vue';
57
+ export { default as WEmptyState } from './components/WEmptyState.vue';
58
+ export { default as WBadge } from './components/WBadge.vue';
59
+ export { default as WTooltip } from './components/WTooltip.vue';
60
+ export { default as WProgress } from './components/WProgress.vue';
61
+ export { default as WPillGroup } from './components/WPillGroup.vue';
62
+ export { default as WTextarea } from './components/WTextarea.vue';
63
+ export { default as WAvatar } from './components/WAvatar.vue';
64
+ export { default as WAlert } from './components/WAlert.vue';
65
+ export { default as WActionMenu } from './components/WActionMenu.vue';
66
+ export { default as WActionMenuItem } from './components/WActionMenuItem.vue';
67
+ export { default as WImageTile } from './components/WImageTile.vue';
68
+ export { default as WFilterBar } from './components/WFilterBar.vue';
69
+ export type { FilterItem } from './components/WFilterBar.vue';
70
+ export { default as WPopover } from './components/WPopover.vue';
71
+ export { default as WTailwindColorPicker } from './components/WTailwindColorPicker.vue';
72
+ export type { WTailwindColorOption } from './components/WTailwindColorPicker.vue';
73
+ export { useRecentItems } from './composables/useRecentItems';
74
+ export { default as WDateRangePicker } from './components/WDateRangePicker.vue';
75
+ export type { DateRange, DateRangePreset } from './components/WDateRangePicker.vue';
76
+ export { default as WDatePicker } from './components/WDatePicker.vue';
77
+ export { default as WMonthPicker } from './components/WMonthPicker.vue';
78
+ export { default as WBatchActionBar } from './components/WBatchActionBar.vue';
79
+ export { default as WSegmentedControl } from './components/WSegmentedControl.vue';
80
+ export type { WSegmentedControlOption } from './components/WSegmentedControl.vue';
81
+ export { default as MarketplaceIcon } from './components/icons/MarketplaceIcon.vue';
82
+ export { default as ProviderLogo } from './components/icons/ProviderLogo.vue';
@@ -0,0 +1,148 @@
1
+ export declare const useToastStore: import('pinia').StoreDefinition<"wpic-toast", Pick<{
2
+ toasts: import('vue').Ref<{
3
+ id: number;
4
+ message: string;
5
+ title: string;
6
+ description: string | null;
7
+ type: "success" | "error" | "info";
8
+ action: {
9
+ label: string;
10
+ fn: () => void;
11
+ } | null;
12
+ }[], {
13
+ id: number;
14
+ message: string;
15
+ title: string;
16
+ description: string | null;
17
+ type: "success" | "error" | "info";
18
+ action: {
19
+ label: string;
20
+ fn: () => void;
21
+ } | null;
22
+ }[] | {
23
+ id: number;
24
+ message: string;
25
+ title: string;
26
+ description: string | null;
27
+ type: "success" | "error" | "info";
28
+ action: {
29
+ label: string;
30
+ fn: () => void;
31
+ } | null;
32
+ }[]>;
33
+ show: (message: string | {
34
+ title: string;
35
+ description?: string;
36
+ }, type?: "success" | "error" | "info", duration?: number, action?: {
37
+ label: string;
38
+ fn: () => void;
39
+ } | null, description?: string | null) => void;
40
+ remove: (id: number) => void;
41
+ success: (msg: string, duration?: number, action?: {
42
+ label: string;
43
+ fn: () => void;
44
+ } | null) => void;
45
+ error: (msg: string, duration?: number) => void;
46
+ info: (msg: string, duration?: number, action?: {
47
+ label: string;
48
+ fn: () => void;
49
+ } | null) => void;
50
+ }, "toasts">, Pick<{
51
+ toasts: import('vue').Ref<{
52
+ id: number;
53
+ message: string;
54
+ title: string;
55
+ description: string | null;
56
+ type: "success" | "error" | "info";
57
+ action: {
58
+ label: string;
59
+ fn: () => void;
60
+ } | null;
61
+ }[], {
62
+ id: number;
63
+ message: string;
64
+ title: string;
65
+ description: string | null;
66
+ type: "success" | "error" | "info";
67
+ action: {
68
+ label: string;
69
+ fn: () => void;
70
+ } | null;
71
+ }[] | {
72
+ id: number;
73
+ message: string;
74
+ title: string;
75
+ description: string | null;
76
+ type: "success" | "error" | "info";
77
+ action: {
78
+ label: string;
79
+ fn: () => void;
80
+ } | null;
81
+ }[]>;
82
+ show: (message: string | {
83
+ title: string;
84
+ description?: string;
85
+ }, type?: "success" | "error" | "info", duration?: number, action?: {
86
+ label: string;
87
+ fn: () => void;
88
+ } | null, description?: string | null) => void;
89
+ remove: (id: number) => void;
90
+ success: (msg: string, duration?: number, action?: {
91
+ label: string;
92
+ fn: () => void;
93
+ } | null) => void;
94
+ error: (msg: string, duration?: number) => void;
95
+ info: (msg: string, duration?: number, action?: {
96
+ label: string;
97
+ fn: () => void;
98
+ } | null) => void;
99
+ }, never>, Pick<{
100
+ toasts: import('vue').Ref<{
101
+ id: number;
102
+ message: string;
103
+ title: string;
104
+ description: string | null;
105
+ type: "success" | "error" | "info";
106
+ action: {
107
+ label: string;
108
+ fn: () => void;
109
+ } | null;
110
+ }[], {
111
+ id: number;
112
+ message: string;
113
+ title: string;
114
+ description: string | null;
115
+ type: "success" | "error" | "info";
116
+ action: {
117
+ label: string;
118
+ fn: () => void;
119
+ } | null;
120
+ }[] | {
121
+ id: number;
122
+ message: string;
123
+ title: string;
124
+ description: string | null;
125
+ type: "success" | "error" | "info";
126
+ action: {
127
+ label: string;
128
+ fn: () => void;
129
+ } | null;
130
+ }[]>;
131
+ show: (message: string | {
132
+ title: string;
133
+ description?: string;
134
+ }, type?: "success" | "error" | "info", duration?: number, action?: {
135
+ label: string;
136
+ fn: () => void;
137
+ } | null, description?: string | null) => void;
138
+ remove: (id: number) => void;
139
+ success: (msg: string, duration?: number, action?: {
140
+ label: string;
141
+ fn: () => void;
142
+ } | null) => void;
143
+ error: (msg: string, duration?: number) => void;
144
+ info: (msg: string, duration?: number, action?: {
145
+ label: string;
146
+ fn: () => void;
147
+ } | null) => void;
148
+ }, "success" | "error" | "show" | "info" | "remove">>;