@mixd-id/web-scaffold 0.1.240411100 → 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.
- package/docs/components/Datetimepicker.md +57 -0
- package/package.json +1 -1
- package/src/components/AIDashboard.vue +1114 -0
- package/src/components/Ahref.vue +1 -1
- package/src/components/Alert.vue +1 -1
- package/src/components/ArrayList.vue +2 -2
- package/src/components/Article.vue +2 -2
- package/src/components/Button.vue +1 -1
- package/src/components/Card.vue +230 -0
- package/src/components/Cart.vue +2 -2
- package/src/components/CartIcon.vue +1 -1
- package/src/components/Checkout.vue +1 -1
- package/src/components/CheckoutDelivery.vue +1 -1
- package/src/components/CodeEditor.vue +1 -1
- package/src/components/ColorPicker.vue +3 -3
- package/src/components/ColorPicker2.vue +3 -3
- package/src/components/ColorPicker3.vue +1 -1
- package/src/components/Confirm.vue +1 -1
- package/src/components/ContextMenu.vue +1 -1
- package/src/components/Dashboard.vue +1 -1
- package/src/components/Dashboard2.vue +1 -1
- package/src/components/DashboardComponentSelector.vue +1 -1
- package/src/components/Datepicker.vue +2 -2
- package/src/components/Datetimepicker.vue +355 -0
- package/src/components/DayTimeRange.vue +2 -2
- package/src/components/Flex.vue +6 -4
- package/src/components/GHeatMaps.vue +3 -3
- package/src/components/HTMLEditor.vue +8 -4
- package/src/components/Image.vue +1 -1
- package/src/components/ImportModal.vue +1 -1
- package/src/components/List.vue +312 -125
- package/src/components/ListView.vue +5 -6
- package/src/components/ListViewSettings.vue +2 -2
- package/src/components/LogViewerItem.vue +1 -1
- package/src/components/MarkdownEdit.vue +3 -3
- package/src/components/MarkdownPreview.vue +2 -2
- package/src/components/MultiDropdown.vue +1 -1
- package/src/components/MultilineText.vue +1 -1
- package/src/components/PageBuilder.vue +3 -3
- package/src/components/Radio.vue +1 -1
- package/src/components/SearchModal.vue +1 -1
- package/src/components/Slider.vue +1 -1
- package/src/components/SvgEditor.vue +2 -2
- package/src/components/Table.vue +2 -2
- package/src/components/TableView.vue +2 -3
- package/src/components/TableViewHead.vue +2 -2
- package/src/components/Textarea.vue +11 -13
- package/src/components/Timepicker.vue +2 -2
- package/src/components/Toast.vue +1 -1
- package/src/components/TreeMenu.vue +2 -2
- package/src/components/VirtualGrid.vue +4 -4
- package/src/components/VirtualTable.vue +180 -95
- package/src/directives/intersect.js +26 -0
- package/src/index.js +6 -0
- package/src/themes/default/index.js +24 -0
- package/src/utils/preset-selector.mjs +183 -27
- package/src/utils/wss.js +26 -5
- package/src/widgets/AhrefSetting.vue +1 -1
- package/src/widgets/ArticleSetting.vue +1 -1
- package/src/widgets/BackgroundColorSetting.vue +1 -1
- package/src/widgets/BotEditor/BotEditorActions.vue +2 -2
- package/src/widgets/BotEditor.vue +4 -4
- package/src/widgets/ButtonSetting.vue +1 -1
- package/src/widgets/CarouselSetting.vue +1 -1
- package/src/widgets/CartSetting.vue +1 -1
- package/src/widgets/CheckoutSetting.vue +1 -1
- package/src/widgets/CollapsiblePanelSetting.vue +1 -1
- package/src/widgets/ColumnSelector.vue +1 -1
- package/src/widgets/ComponentSetting.vue +1 -1
- package/src/widgets/ComponentSetting2.vue +1 -1
- package/src/widgets/ComponentSetting3.vue +1 -1
- package/src/widgets/ContactForm.vue +1 -1
- package/src/widgets/ContactFormSetting.vue +7 -7
- package/src/widgets/Dashboard/BarChart.vue +5 -6
- package/src/widgets/Dashboard/BarChartSetting.vue +1 -1
- package/src/widgets/Dashboard/DataTableSetting.vue +3 -3
- package/src/widgets/Dashboard/DatasourceSelector.vue +1 -1
- package/src/widgets/Dashboard/DoughnutSetting.vue +1 -1
- package/src/widgets/Dashboard/Metric.vue +1 -1
- package/src/widgets/Dashboard/PieSetting.vue +1 -1
- package/src/widgets/Dashboard/PolarAreaSetting.vue +1 -1
- package/src/widgets/Dashboard/ViewSelector.vue +1 -1
- package/src/widgets/Dashboard0.vue +10 -10
- package/src/widgets/FAQSetting.vue +3 -3
- package/src/widgets/FeatureListSetting.vue +3 -3
- package/src/widgets/FlexSetting.vue +1 -1
- package/src/widgets/GridSetting.vue +1 -1
- package/src/widgets/Header2Setting.vue +1 -1
- package/src/widgets/HeaderSetting.vue +1 -1
- package/src/widgets/IconListSetting.vue +2 -2
- package/src/widgets/ImageSetting.vue +1 -1
- package/src/widgets/LLMChat.vue +327 -0
- package/src/widgets/LinkSetting.vue +1 -1
- package/src/widgets/LinkSettingModal.vue +1 -1
- package/src/widgets/LogViewer.vue +1 -1
- package/src/widgets/MarginSetting.vue +2 -2
- package/src/widgets/MenuEditor.vue +1 -1
- package/src/widgets/MenuItem1Setting.vue +1 -1
- package/src/widgets/ModalSetting.vue +1 -1
- package/src/widgets/MultiValueSetting.vue +2 -2
- package/src/widgets/MultiValueSetting2.vue +2 -2
- package/src/widgets/OGSettingModal.vue +1 -1
- package/src/widgets/PaddingSetting.vue +2 -2
- package/src/widgets/ParagraphSetting.vue +1 -1
- package/src/widgets/PresetBarPivot.vue +8 -8
- package/src/widgets/PresetSelector.vue +12 -12
- package/src/widgets/SearchModalSetting.vue +1 -1
- package/src/widgets/ShareSetting.vue +3 -3
- package/src/widgets/StyleSetting.vue +1 -1
- package/src/widgets/TestimonialSetting.vue +3 -3
- package/src/widgets/TextBlockSetting.vue +1 -1
- package/src/widgets/UserActionBuilder/UserActionOutput.vue +1 -1
- package/src/widgets/UserActionBuilder/UserActionOutputReply.vue +1 -1
- package/src/widgets/UserActionBuilder/UserActionProps.vue +3 -3
- package/src/widgets/UserActionBuilder.vue +4 -4
- package/src/widgets/WebPageBuilder.vue +17 -17
- package/src/widgets/WebPageBuilder2.vue +7 -7
- package/src/widgets/WebPageBuilder4/MultiValueSetting.vue +2 -2
- package/src/widgets/WebPageBuilder4.vue +5 -5
- 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
|
+
```
|