@mixd-id/web-scaffold 0.1.240411099 → 0.1.240411101

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 (121) hide show
  1. package/docs/components/Datetimepicker.md +57 -0
  2. package/package.json +1 -1
  3. package/src/components/AIDashboard.vue +1114 -0
  4. package/src/components/Ahref.vue +1 -1
  5. package/src/components/Alert.vue +1 -1
  6. package/src/components/ArrayList.vue +2 -2
  7. package/src/components/Article.vue +2 -2
  8. package/src/components/Button.vue +1 -1
  9. package/src/components/Card.vue +230 -0
  10. package/src/components/Cart.vue +2 -2
  11. package/src/components/CartIcon.vue +1 -1
  12. package/src/components/Checkout.vue +1 -1
  13. package/src/components/CheckoutDelivery.vue +1 -1
  14. package/src/components/CodeEditor.vue +1 -1
  15. package/src/components/ColorPicker.vue +3 -3
  16. package/src/components/ColorPicker2.vue +3 -3
  17. package/src/components/ColorPicker3.vue +1 -1
  18. package/src/components/Confirm.vue +1 -1
  19. package/src/components/ContextMenu.vue +1 -1
  20. package/src/components/Dashboard.vue +1 -1
  21. package/src/components/Dashboard2.vue +1 -1
  22. package/src/components/DashboardComponentSelector.vue +1 -1
  23. package/src/components/Datepicker.vue +2 -2
  24. package/src/components/Datetimepicker.vue +355 -0
  25. package/src/components/DayTimeRange.vue +2 -2
  26. package/src/components/Flex.vue +6 -4
  27. package/src/components/GHeatMaps.vue +3 -3
  28. package/src/components/HTMLEditor.vue +8 -4
  29. package/src/components/Image.vue +1 -1
  30. package/src/components/ImportModal.vue +1 -1
  31. package/src/components/List.vue +312 -123
  32. package/src/components/ListView.vue +5 -6
  33. package/src/components/ListViewSettings.vue +2 -2
  34. package/src/components/LogViewerItem.vue +1 -1
  35. package/src/components/MarkdownEdit.vue +3 -3
  36. package/src/components/MarkdownPreview.vue +2 -2
  37. package/src/components/MultiDropdown.vue +1 -1
  38. package/src/components/MultilineText.vue +1 -1
  39. package/src/components/PageBuilder.vue +3 -3
  40. package/src/components/Radio.vue +1 -1
  41. package/src/components/SearchModal.vue +1 -1
  42. package/src/components/Slider.vue +1 -1
  43. package/src/components/SvgEditor.vue +2 -2
  44. package/src/components/Table.vue +2 -2
  45. package/src/components/TableView.vue +2 -3
  46. package/src/components/TableViewHead.vue +2 -2
  47. package/src/components/Textarea.vue +11 -13
  48. package/src/components/Timepicker.vue +2 -2
  49. package/src/components/Toast.vue +1 -1
  50. package/src/components/TreeMenu.vue +2 -2
  51. package/src/components/VirtualGrid.vue +4 -4
  52. package/src/components/VirtualTable.vue +180 -95
  53. package/src/directives/intersect.js +26 -0
  54. package/src/index.js +6 -0
  55. package/src/themes/default/index.js +24 -0
  56. package/src/utils/preset-selector.mjs +183 -27
  57. package/src/utils/wss.js +26 -5
  58. package/src/widgets/AhrefSetting.vue +1 -1
  59. package/src/widgets/ArticleSetting.vue +1 -1
  60. package/src/widgets/BackgroundColorSetting.vue +1 -1
  61. package/src/widgets/BotEditor/BotEditorActions.vue +2 -2
  62. package/src/widgets/BotEditor.vue +4 -4
  63. package/src/widgets/ButtonSetting.vue +1 -1
  64. package/src/widgets/CarouselSetting.vue +1 -1
  65. package/src/widgets/CartSetting.vue +1 -1
  66. package/src/widgets/CheckoutSetting.vue +1 -1
  67. package/src/widgets/CollapsiblePanelSetting.vue +1 -1
  68. package/src/widgets/ColumnSelector.vue +1 -1
  69. package/src/widgets/ComponentSetting.vue +1 -1
  70. package/src/widgets/ComponentSetting2.vue +1 -1
  71. package/src/widgets/ComponentSetting3.vue +1 -1
  72. package/src/widgets/ContactForm.vue +1 -1
  73. package/src/widgets/ContactFormSetting.vue +7 -7
  74. package/src/widgets/Dashboard/BarChart.vue +5 -6
  75. package/src/widgets/Dashboard/BarChartSetting.vue +1 -1
  76. package/src/widgets/Dashboard/DataTableSetting.vue +3 -3
  77. package/src/widgets/Dashboard/DatasourceSelector.vue +1 -1
  78. package/src/widgets/Dashboard/DoughnutSetting.vue +1 -1
  79. package/src/widgets/Dashboard/Metric.vue +1 -1
  80. package/src/widgets/Dashboard/PieSetting.vue +1 -1
  81. package/src/widgets/Dashboard/PolarAreaSetting.vue +1 -1
  82. package/src/widgets/Dashboard/ViewSelector.vue +1 -1
  83. package/src/widgets/Dashboard0.vue +10 -10
  84. package/src/widgets/FAQSetting.vue +3 -3
  85. package/src/widgets/FeatureListSetting.vue +3 -3
  86. package/src/widgets/FlexSetting.vue +1 -1
  87. package/src/widgets/GridSetting.vue +1 -1
  88. package/src/widgets/Header2Setting.vue +1 -1
  89. package/src/widgets/HeaderSetting.vue +1 -1
  90. package/src/widgets/IconListSetting.vue +2 -2
  91. package/src/widgets/ImageSetting.vue +1 -1
  92. package/src/widgets/LLMChat.vue +327 -0
  93. package/src/widgets/LinkSetting.vue +1 -1
  94. package/src/widgets/LinkSettingModal.vue +1 -1
  95. package/src/widgets/LogViewer.vue +1 -1
  96. package/src/widgets/MarginSetting.vue +2 -2
  97. package/src/widgets/MenuEditor.vue +1 -1
  98. package/src/widgets/MenuItem1Setting.vue +1 -1
  99. package/src/widgets/ModalSetting.vue +1 -1
  100. package/src/widgets/MultiValueSetting.vue +2 -2
  101. package/src/widgets/MultiValueSetting2.vue +2 -2
  102. package/src/widgets/OGSettingModal.vue +1 -1
  103. package/src/widgets/PaddingSetting.vue +2 -2
  104. package/src/widgets/ParagraphSetting.vue +1 -1
  105. package/src/widgets/PresetBar.vue +3 -1
  106. package/src/widgets/PresetBarPivot.vue +8 -8
  107. package/src/widgets/PresetSelector.vue +12 -12
  108. package/src/widgets/SearchModalSetting.vue +1 -1
  109. package/src/widgets/ShareSetting.vue +3 -3
  110. package/src/widgets/StyleSetting.vue +1 -1
  111. package/src/widgets/TestimonialSetting.vue +3 -3
  112. package/src/widgets/TextBlockSetting.vue +1 -1
  113. package/src/widgets/UserActionBuilder/UserActionOutput.vue +1 -1
  114. package/src/widgets/UserActionBuilder/UserActionOutputReply.vue +1 -1
  115. package/src/widgets/UserActionBuilder/UserActionProps.vue +3 -3
  116. package/src/widgets/UserActionBuilder.vue +4 -4
  117. package/src/widgets/WebPageBuilder.vue +17 -17
  118. package/src/widgets/WebPageBuilder2.vue +7 -7
  119. package/src/widgets/WebPageBuilder4/MultiValueSetting.vue +2 -2
  120. package/src/widgets/WebPageBuilder4.vue +5 -5
  121. package/src/widgets/YoutubeVideoSetting.vue +1 -1
@@ -0,0 +1,57 @@
1
+ # Datetimepicker
2
+ Date and time picker with a popup calendar and time dropdowns. Accepts `v-model` in `YYYY-MM-DD HH:mm:ss` format.
3
+
4
+ ## Props
5
+ | Property | Type | Default | Description |
6
+ |----------|------|---------|-------------|
7
+ | modelValue | String | `''` | Datetime value in `YYYY-MM-DD HH:mm:ss` format. Supports `v-model` |
8
+ | readonly | Boolean/String | `undefined` | Disables interaction |
9
+ | disabled | Boolean/String | `undefined` | Disables interaction |
10
+ | minuteStep | Number/String | `1` | Minute interval (1-30). E.g. `15` shows `00, 15, 30, 45` |
11
+ | secondStep | Number/String | `1` | Second interval (1-30) |
12
+ | allowedDates | Array | `undefined` | Array of allowed date strings (`YYYY-MM-DD`) |
13
+ | onlyTodayAndFuture | Boolean | `false` | Only allow today and future dates |
14
+ | pastOnly | Boolean | `false` | Only allow past dates |
15
+
16
+ ## Events
17
+ | Event | Payload | Description |
18
+ |-------|---------|-------------|
19
+ | update:modelValue | String | Emitted on change, enables `v-model` |
20
+ | change | String | Emitted on change with the new datetime value |
21
+
22
+ ## Samples
23
+
24
+ ### Basic
25
+ ```vue
26
+ <Datetimepicker v-model="datetime" />
27
+ ```
28
+
29
+ ### With minute step
30
+ ```vue
31
+ <Datetimepicker v-model="datetime" :minute-step="15" />
32
+ ```
33
+
34
+ ### Only future dates
35
+ ```vue
36
+ <Datetimepicker v-model="datetime" only-today-and-future />
37
+ ```
38
+
39
+ ### Past dates only
40
+ ```vue
41
+ <Datetimepicker v-model="datetime" past-only />
42
+ ```
43
+
44
+ ### With allowed dates
45
+ ```vue
46
+ <Datetimepicker v-model="datetime" :allowed-dates="['2026-02-07', '2026-02-08', '2026-02-09']" />
47
+ ```
48
+
49
+ ### Disabled
50
+ ```vue
51
+ <Datetimepicker v-model="datetime" disabled />
52
+ ```
53
+
54
+ ### Readonly
55
+ ```vue
56
+ <Datetimepicker v-model="datetime" readonly />
57
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.240411099",
4
+ "version": "0.1.240411101",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",