@mixd-id/web-scaffold 0.2.250801010 → 0.2.250801012
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/AccountIcon.md +16 -0
- package/docs/components/Ahref.md +35 -0
- package/docs/components/Alert.md +72 -0
- package/docs/components/ArrayList.md +39 -0
- package/docs/components/Article.md +28 -0
- package/docs/components/BarChart.md +81 -0
- package/docs/components/Block.md +23 -0
- package/docs/components/Box.md +15 -0
- package/docs/components/Button.md +68 -0
- package/docs/components/Card.md +67 -0
- package/docs/components/Carousel.md +70 -0
- package/docs/components/Cart.md +20 -0
- package/docs/components/CartIcon.md +29 -0
- package/docs/components/Chart.md +53 -0
- package/docs/components/ChartBar.md +34 -0
- package/docs/components/ChatTyping.md +21 -0
- package/docs/components/Checkbox.md +63 -0
- package/docs/components/CodeEditor.md +25 -0
- package/docs/components/CollapsiblePanel.md +41 -0
- package/docs/components/ColorPicker.md +52 -0
- package/docs/components/Confirm.md +62 -0
- package/docs/components/ContextMenu.md +76 -0
- package/docs/components/ContextMenuItem.md +29 -0
- package/docs/components/CopyToClipboard.md +43 -0
- package/docs/components/Countdown.md +47 -0
- package/docs/components/Datepicker.md +61 -0
- package/docs/components/Datetimepicker.md +57 -0
- package/docs/components/DayTimeRange.md +20 -0
- package/docs/components/Dropdown.md +65 -0
- package/docs/components/ErrorText.md +15 -0
- package/docs/components/FBLogin.md +21 -0
- package/docs/components/Flex.md +44 -0
- package/docs/components/GHeatMaps.md +16 -0
- package/docs/components/GSignIn.md +21 -0
- package/docs/components/Gmaps.md +16 -0
- package/docs/components/GmapsDirection.md +20 -0
- package/docs/components/Grid.md +36 -0
- package/docs/components/HTMLEditor.md +26 -0
- package/docs/components/IconMenu.md +20 -0
- package/docs/components/Image.md +78 -0
- package/docs/components/Link.md +33 -0
- package/docs/components/MultiDropdown.md +46 -0
- package/docs/components/Radio.md +55 -0
- package/docs/components/Slider.md +47 -0
- package/docs/components/Switch.md +43 -0
- package/docs/components/Table.md +31 -0
- package/docs/components/Tabs.md +65 -0
- package/docs/components/Text.md +30 -0
- package/docs/components/Textarea.md +66 -0
- package/docs/components/Textbox.md +97 -0
- package/docs/components/Timepicker.md +62 -0
- package/docs/components/Toast.md +59 -0
- package/docs/components/Uploader.md +51 -0
- package/docs/components/Video.md +54 -0
- package/package.json +65 -2
- package/docs/components/Dashboard.md +0 -56
- package/docs/components/Header2.md +0 -16
- package/log.txt +0 -7
- package/public/assets/dashboard/bar.png +0 -0
- package/public/assets/dashboard/doughnut.png +0 -0
- package/public/assets/dashboard/metric.png +0 -0
- package/public/assets/dashboard/pie.png +0 -0
- package/public/assets/dashboard/polar-area.png +0 -0
- package/public/assets/dashboard/virtual-table.png +0 -0
- package/public/static/dashboard/bar.png +0 -0
- package/public/static/dashboard/doughnut.png +0 -0
- package/public/static/dashboard/metric.png +0 -0
- package/public/static/dashboard/pie.png +0 -0
- package/public/static/dashboard/polar-area.png +0 -0
- package/public/static/dashboard/virtual-table.png +0 -0
- package/src/components/404.vue +0 -61
- package/src/components/AccountIcon.vue +0 -19
- package/src/components/Ahref.vue +0 -200
- package/src/components/Alert.vue +0 -257
- package/src/components/ArrayList.vue +0 -49
- package/src/components/Article.vue +0 -387
- package/src/components/Block.vue +0 -31
- package/src/components/Box.vue +0 -34
- package/src/components/Button.vue +0 -258
- package/src/components/Card.vue +0 -257
- package/src/components/Carousel.vue +0 -364
- package/src/components/Cart.vue +0 -192
- package/src/components/CartIcon.vue +0 -89
- package/src/components/Chart.vue +0 -485
- package/src/components/ChartBar.vue +0 -192
- package/src/components/ChatTyping.vue +0 -69
- package/src/components/Checkbox.vue +0 -200
- package/src/components/Checkout.vue +0 -373
- package/src/components/CheckoutDelivery.vue +0 -267
- package/src/components/CodeEditor.vue +0 -50
- package/src/components/CollapsiblePanel.vue +0 -70
- package/src/components/ColorPicker.vue +0 -165
- package/src/components/ColorPicker2.vue +0 -186
- package/src/components/ColorPicker3.vue +0 -100
- package/src/components/Confirm.vue +0 -180
- package/src/components/ContextMenu.vue +0 -265
- package/src/components/ContextMenuItem.vue +0 -53
- package/src/components/ConversationBuilder.vue +0 -161
- package/src/components/CopyToClipboard.vue +0 -34
- package/src/components/Countdown.vue +0 -264
- package/src/components/DGrid.vue +0 -21
- package/src/components/DGridItem.vue +0 -263
- package/src/components/Dashboard.vue +0 -243
- package/src/components/Dashboard2.vue +0 -118
- package/src/components/DashboardComponentSelector.vue +0 -96
- package/src/components/DashboardConfigs.vue +0 -202
- package/src/components/DataList.vue +0 -92
- package/src/components/Datepicker.vue +0 -399
- package/src/components/DayTimeRange.vue +0 -126
- package/src/components/Dropdown.vue +0 -224
- package/src/components/ErrorText.vue +0 -57
- package/src/components/FBLogin.vue +0 -194
- package/src/components/Feed.vue +0 -118
- package/src/components/Flex.vue +0 -44
- package/src/components/GHeatMaps.vue +0 -317
- package/src/components/GSignIn.vue +0 -166
- package/src/components/Gmaps.vue +0 -251
- package/src/components/GmapsDirection.vue +0 -191
- package/src/components/Grid.vue +0 -35
- package/src/components/HTMLEditor.vue +0 -588
- package/src/components/IconMenu.vue +0 -95
- package/src/components/IconMenu2.vue +0 -89
- package/src/components/IconPlus.vue +0 -89
- package/src/components/Image.vue +0 -263
- package/src/components/Image360.vue +0 -140
- package/src/components/ImageFullScreen.vue +0 -101
- package/src/components/ImagePreview.vue +0 -93
- package/src/components/ImageUploader.vue +0 -114
- package/src/components/ImportModal.vue +0 -260
- package/src/components/Link.vue +0 -95
- package/src/components/List.vue +0 -1381
- package/src/components/ListContextMenu.vue +0 -88
- package/src/components/ListItem.vue +0 -160
- package/src/components/ListPage1.vue +0 -1401
- package/src/components/ListPage1Filter.vue +0 -170
- package/src/components/ListView.vue +0 -961
- package/src/components/ListViewBarSummary.vue +0 -81
- package/src/components/ListViewLineSummary.vue +0 -75
- package/src/components/ListViewLiveBarSummary.vue +0 -52
- package/src/components/ListViewMapSummary.vue +0 -56
- package/src/components/ListViewSettings.vue +0 -514
- package/src/components/ListViewTableSummary.vue +0 -77
- package/src/components/LogViewerItem.vue +0 -116
- package/src/components/MarkdownEdit.vue +0 -128
- package/src/components/MarkdownPreview.vue +0 -102
- package/src/components/MenuItem1.vue +0 -36
- package/src/components/Modal.vue +0 -456
- package/src/components/MultiDropdown.vue +0 -124
- package/src/components/MultilineText.vue +0 -174
- package/src/components/OTPField.vue +0 -139
- package/src/components/ObjectTree.vue +0 -105
- package/src/components/PageBuilder.vue +0 -449
- package/src/components/Paragraph.vue +0 -40
- package/src/components/PresetSelectorFilterItem.vue +0 -203
- package/src/components/Radio.vue +0 -109
- package/src/components/SearchModal.vue +0 -153
- package/src/components/Slider.vue +0 -317
- package/src/components/SplitPane.vue +0 -129
- package/src/components/Svg.vue +0 -33
- package/src/components/SvgEditor.vue +0 -173
- package/src/components/Switch.vue +0 -101
- package/src/components/TabView.vue +0 -105
- package/src/components/Table.vue +0 -56
- package/src/components/TableView.vue +0 -200
- package/src/components/TableViewHead.vue +0 -159
- package/src/components/Tabs.vue +0 -131
- package/src/components/Test.vue +0 -23
- package/src/components/Testimonial.vue +0 -86
- package/src/components/Text.vue +0 -34
- package/src/components/TextBlock.vue +0 -50
- package/src/components/TextEditor.vue +0 -85
- package/src/components/TextWithTag.vue +0 -298
- package/src/components/Textarea.vue +0 -184
- package/src/components/Textbox.vue +0 -216
- package/src/components/Thumbnail.vue +0 -27
- package/src/components/Timepicker.vue +0 -125
- package/src/components/Toast.vue +0 -117
- package/src/components/TreeMenu.vue +0 -122
- package/src/components/TreeView.vue +0 -106
- package/src/components/TreeView2.vue +0 -38
- package/src/components/TreeViewItem.vue +0 -453
- package/src/components/TreeViewItem1.vue +0 -282
- package/src/components/TreeViewItem2.vue +0 -55
- package/src/components/Uploader.vue +0 -45
- package/src/components/Video.vue +0 -119
- package/src/components/VirtualGrid.vue +0 -297
- package/src/components/VirtualScroll.vue +0 -282
- package/src/components/VirtualTable.vue +0 -956
- package/src/components/YoutubeVideo.vue +0 -196
- package/src/configs/dashboard/bar.js +0 -10
- package/src/configs/dashboard/collection-1.js +0 -5
- package/src/configs/dashboard/data-table.js +0 -9
- package/src/configs/dashboard/doughnut.js +0 -7
- package/src/configs/dashboard/gheatmaps.js +0 -9
- package/src/configs/dashboard/grid-2.js +0 -34
- package/src/configs/dashboard/grid-3.js +0 -34
- package/src/configs/dashboard/grid-4.js +0 -34
- package/src/configs/dashboard/grid.js +0 -15
- package/src/configs/dashboard/metric.js +0 -10
- package/src/configs/dashboard/pie.js +0 -7
- package/src/configs/dashboard/polar-area.js +0 -7
- package/src/configs/dashboard/virtual-table.js +0 -9
- package/src/configs/icons-fa.json +0 -12
- package/src/configs/web-page-builder.js +0 -118
- package/src/defs/dashboard-preset.js +0 -22
- package/src/directives/intersect.js +0 -26
- package/src/hooks/device.js +0 -14
- package/src/index.css +0 -3
- package/src/index.js +0 -648
- package/src/middleware/http/trim-string.js +0 -20
- package/src/mixin/component.js +0 -306
- package/src/mixin/ready-state.js +0 -37
- package/src/stores/components.js +0 -36
- package/src/stores/datasource.js +0 -11
- package/src/themes/default/index.js +0 -303
- package/src/utils/dashboard.js +0 -140
- package/src/utils/event-bus.js +0 -8
- package/src/utils/helpers.cjs +0 -635
- package/src/utils/helpers.js +0 -635
- package/src/utils/helpers.mjs +0 -722
- package/src/utils/importer.js +0 -209
- package/src/utils/list.mjs +0 -1509
- package/src/utils/listpage1.js +0 -1507
- package/src/utils/listview.js +0 -1287
- package/src/utils/preset-selector.cjs +0 -1455
- package/src/utils/preset-selector.js +0 -1452
- package/src/utils/preset-selector.mjs +0 -234
- package/src/utils/queue.js +0 -63
- package/src/utils/selection.js +0 -43
- package/src/utils/web.js +0 -50
- package/src/utils/web.mjs +0 -120
- package/src/utils/wss.js +0 -296
- package/src/utils/wss.mjs +0 -285
- package/src/widgets/AhrefSetting.vue +0 -97
- package/src/widgets/ArticleSetting.vue +0 -457
- package/src/widgets/BackgroundColorSetting.vue +0 -153
- package/src/widgets/BackgroundSetting.vue +0 -132
- package/src/widgets/BlockSetting.vue +0 -49
- package/src/widgets/BorderColorSetting.vue +0 -57
- package/src/widgets/BorderSetting.vue +0 -201
- package/src/widgets/BotEditor/BotEditorActions.vue +0 -163
- package/src/widgets/BotEditor/BotEditorSettings.vue +0 -21
- package/src/widgets/BotEditor.vue +0 -248
- package/src/widgets/BoxSetting.vue +0 -53
- package/src/widgets/ButtonSetting.vue +0 -113
- package/src/widgets/CarouselSetting.vue +0 -181
- package/src/widgets/CartSetting.vue +0 -46
- package/src/widgets/CheckoutSetting.vue +0 -46
- package/src/widgets/CollapsiblePanelSetting.vue +0 -46
- package/src/widgets/ColumnSelector.vue +0 -104
- package/src/widgets/ComponentPropertyLabel.vue +0 -35
- package/src/widgets/ComponentPropertySelector.vue +0 -115
- package/src/widgets/ComponentSetting.vue +0 -2220
- package/src/widgets/ComponentSetting2.vue +0 -927
- package/src/widgets/ComponentSetting3.vue +0 -231
- package/src/widgets/ContactForm.vue +0 -193
- package/src/widgets/ContactFormSetting.vue +0 -395
- package/src/widgets/CountdownSetting.vue +0 -76
- package/src/widgets/Dashboard/BarChart.vue +0 -366
- package/src/widgets/Dashboard/BarChartSetting.vue +0 -317
- package/src/widgets/Dashboard/DataTable.vue +0 -125
- package/src/widgets/Dashboard/DataTableSetting.vue +0 -243
- package/src/widgets/Dashboard/DatasourceFilterSharing.vue +0 -93
- package/src/widgets/Dashboard/DatasourcePreview.vue +0 -93
- package/src/widgets/Dashboard/DatasourceSelector.vue +0 -122
- package/src/widgets/Dashboard/Doughnut.vue +0 -199
- package/src/widgets/Dashboard/DoughnutSetting.vue +0 -196
- package/src/widgets/Dashboard/GHeatMapsSetting.vue +0 -108
- package/src/widgets/Dashboard/InteractionEdit.vue +0 -228
- package/src/widgets/Dashboard/Metric.vue +0 -135
- package/src/widgets/Dashboard/MetricSetting.vue +0 -227
- package/src/widgets/Dashboard/Pie.vue +0 -188
- package/src/widgets/Dashboard/PieSetting.vue +0 -247
- package/src/widgets/Dashboard/PolarArea.vue +0 -201
- package/src/widgets/Dashboard/PolarAreaSetting.vue +0 -195
- package/src/widgets/Dashboard/SharingModal.vue +0 -115
- package/src/widgets/Dashboard/ViewSelector.vue +0 -183
- package/src/widgets/Dashboard/VirtualColumnEdit.vue +0 -97
- package/src/widgets/Dashboard/VirtualTableSetting.vue +0 -171
- package/src/widgets/Dashboard0.vue +0 -1856
- package/src/widgets/DataListSetting.vue +0 -102
- package/src/widgets/EffectSetting.vue +0 -94
- package/src/widgets/EmbeddedVideo.vue +0 -60
- package/src/widgets/EmbeddedVideoSetting.vue +0 -50
- package/src/widgets/FAQ.vue +0 -98
- package/src/widgets/FAQSetting.vue +0 -94
- package/src/widgets/FeatureList.vue +0 -131
- package/src/widgets/FeatureListSetting.vue +0 -233
- package/src/widgets/FiltersSetting.vue +0 -88
- package/src/widgets/FlexSetting.vue +0 -174
- package/src/widgets/GridSetting.vue +0 -165
- package/src/widgets/Header.vue +0 -15
- package/src/widgets/Header0.vue +0 -41
- package/src/widgets/Header0Setting.vue +0 -75
- package/src/widgets/Header2.vue +0 -65
- package/src/widgets/Header2Setting.vue +0 -193
- package/src/widgets/HeaderSetting.vue +0 -102
- package/src/widgets/IconList.vue +0 -51
- package/src/widgets/IconListSetting.vue +0 -188
- package/src/widgets/ImageSetting.vue +0 -119
- package/src/widgets/LayoutSetting.vue +0 -251
- package/src/widgets/LinkSetting.vue +0 -209
- package/src/widgets/LinkSettingModal.vue +0 -173
- package/src/widgets/LogViewer.vue +0 -85
- package/src/widgets/MarginPaddingSetting.vue +0 -58
- package/src/widgets/MarginSetting.vue +0 -142
- package/src/widgets/MenuEditor.vue +0 -256
- package/src/widgets/MenuItem1Setting.vue +0 -78
- package/src/widgets/ModalSetting.vue +0 -94
- package/src/widgets/MultiValueSetting.vue +0 -121
- package/src/widgets/MultiValueSetting2.vue +0 -147
- package/src/widgets/OGSettingModal.vue +0 -103
- package/src/widgets/PaddingSetting.vue +0 -142
- package/src/widgets/ParagraphSetting.vue +0 -89
- package/src/widgets/PositionSetting.vue +0 -209
- package/src/widgets/PresetBar.vue +0 -990
- package/src/widgets/PresetBarPivot.vue +0 -198
- package/src/widgets/PresetBarPivotColumnEdit.vue +0 -197
- package/src/widgets/PresetSelector.vue +0 -685
- package/src/widgets/Review.vue +0 -131
- package/src/widgets/ReviewSetting.vue +0 -201
- package/src/widgets/SearchModalSetting.vue +0 -70
- package/src/widgets/Share.vue +0 -164
- package/src/widgets/ShareSetting.vue +0 -99
- package/src/widgets/SizingSetting.vue +0 -306
- package/src/widgets/SpacingSetting.vue +0 -77
- package/src/widgets/StyleSetting.vue +0 -543
- package/src/widgets/StyleSetting2.vue +0 -90
- package/src/widgets/SvgSetting.vue +0 -133
- package/src/widgets/TableSetting.vue +0 -172
- package/src/widgets/TestimonialSetting.vue +0 -161
- package/src/widgets/TextBlockSetting.vue +0 -81
- package/src/widgets/ThumbnailSetting.vue +0 -49
- package/src/widgets/TransitionSetting.vue +0 -64
- package/src/widgets/TypographySetting.vue +0 -334
- package/src/widgets/UserActionBuilder/UserActionCondition.vue +0 -99
- package/src/widgets/UserActionBuilder/UserActionConsole.vue +0 -97
- package/src/widgets/UserActionBuilder/UserActionItem.vue +0 -273
- package/src/widgets/UserActionBuilder/UserActionOutput.vue +0 -152
- package/src/widgets/UserActionBuilder/UserActionOutputDelay.vue +0 -27
- package/src/widgets/UserActionBuilder/UserActionOutputLog.vue +0 -28
- package/src/widgets/UserActionBuilder/UserActionOutputReply.vue +0 -112
- package/src/widgets/UserActionBuilder/UserActionProps.vue +0 -213
- package/src/widgets/UserActionBuilder.vue +0 -314
- package/src/widgets/WebComponentSelector.vue +0 -205
- package/src/widgets/WebDatasourceSelector.vue +0 -153
- package/src/widgets/WebLayoutSelector.vue +0 -147
- package/src/widgets/WebPageBuilder.vue +0 -2161
- package/src/widgets/WebPageBuilder2.vue +0 -1091
- package/src/widgets/WebPageBuilder3.vue +0 -411
- package/src/widgets/WebPageBuilder4/BackgroundColorSetting.vue +0 -54
- package/src/widgets/WebPageBuilder4/BackgroundPositionSetting.vue +0 -75
- package/src/widgets/WebPageBuilder4/BackgroundRepeatSetting.vue +0 -72
- package/src/widgets/WebPageBuilder4/BackgroundSizeSetting.vue +0 -72
- package/src/widgets/WebPageBuilder4/BlurSetting.vue +0 -72
- package/src/widgets/WebPageBuilder4/BorderColorSetting.vue +0 -64
- package/src/widgets/WebPageBuilder4/BorderRadiusSetting.vue +0 -75
- package/src/widgets/WebPageBuilder4/BorderSizeSetting.vue +0 -69
- package/src/widgets/WebPageBuilder4/BorderStyleSetting.vue +0 -72
- package/src/widgets/WebPageBuilder4/BoxShadowSetting.vue +0 -73
- package/src/widgets/WebPageBuilder4/ButtonSetting.vue +0 -65
- package/src/widgets/WebPageBuilder4/CarouselSetting.vue +0 -178
- package/src/widgets/WebPageBuilder4/DisplaySetting.vue +0 -76
- package/src/widgets/WebPageBuilder4/FlexAlignSetting.vue +0 -71
- package/src/widgets/WebPageBuilder4/FlexDirectionSetting.vue +0 -70
- package/src/widgets/WebPageBuilder4/FlexJustifySetting.vue +0 -74
- package/src/widgets/WebPageBuilder4/FlexPropertySetting.vue +0 -71
- package/src/widgets/WebPageBuilder4/FlexSetting.vue +0 -96
- package/src/widgets/WebPageBuilder4/FlexWrapSetting.vue +0 -69
- package/src/widgets/WebPageBuilder4/GapSetting.vue +0 -75
- package/src/widgets/WebPageBuilder4/GrayscaleSetting.vue +0 -68
- package/src/widgets/WebPageBuilder4/GridSetting.vue +0 -216
- package/src/widgets/WebPageBuilder4/HeightSetting.vue +0 -98
- package/src/widgets/WebPageBuilder4/ImageSetting.vue +0 -102
- package/src/widgets/WebPageBuilder4/MarginSetting.vue +0 -73
- package/src/widgets/WebPageBuilder4/MaxHeightSetting.vue +0 -82
- package/src/widgets/WebPageBuilder4/MaxWidthSetting.vue +0 -90
- package/src/widgets/WebPageBuilder4/MinHeightSetting.vue +0 -81
- package/src/widgets/WebPageBuilder4/MinWidthSetting.vue +0 -101
- package/src/widgets/WebPageBuilder4/MultiValueSetting.vue +0 -163
- package/src/widgets/WebPageBuilder4/OpacitySetting.vue +0 -77
- package/src/widgets/WebPageBuilder4/OverflowSetting.vue +0 -81
- package/src/widgets/WebPageBuilder4/PaddingSetting.vue +0 -57
- package/src/widgets/WebPageBuilder4/PositionSetting.vue +0 -191
- package/src/widgets/WebPageBuilder4/PropertySetting.vue +0 -176
- package/src/widgets/WebPageBuilder4/TextSetting.vue +0 -72
- package/src/widgets/WebPageBuilder4/TreeView.vue +0 -46
- package/src/widgets/WebPageBuilder4/TreeViewItem.vue +0 -303
- package/src/widgets/WebPageBuilder4/WebPageComponentSelector.vue +0 -141
- package/src/widgets/WebPageBuilder4/WebPagePropertySelector.vue +0 -172
- package/src/widgets/WebPageBuilder4/WidthSetting.vue +0 -105
- package/src/widgets/WebPageBuilder4/ZIndexSetting.vue +0 -72
- package/src/widgets/WebPageBuilder4.vue +0 -798
- package/src/widgets/WebPagePreview.vue +0 -295
- package/src/widgets/WebPageSelector.vue +0 -173
- package/src/widgets/WebTemplateCreator.vue +0 -156
- package/src/widgets/YoutubeVideoSetting.vue +0 -68
- package/tailwind.config.js +0 -481
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Textarea
|
|
2
|
+
A multi-line text input component with auto-resize and validation support.
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
| Property | Type | Default | Description |
|
|
6
|
+
|----------|------|---------|-------------|
|
|
7
|
+
| modelValue | String/Number | `undefined` | The input value. Supports `v-model` |
|
|
8
|
+
| placeholder | String | `undefined` | Placeholder text |
|
|
9
|
+
| readonly | Any | `undefined` | Makes the textarea read-only |
|
|
10
|
+
| rows | String | `undefined` | Number of visible text rows |
|
|
11
|
+
| maxlength | Any | `undefined` | Maximum character length |
|
|
12
|
+
| state | Number | `1` | Input state: `1` (normal), `-1` (disabled), `-2` (error) |
|
|
13
|
+
| variant | String | `''` | Visual variant |
|
|
14
|
+
| size | String | `''` | Size variant |
|
|
15
|
+
| errors | String/Array | `''` | Validation error messages |
|
|
16
|
+
| align | String | `undefined` | Text alignment |
|
|
17
|
+
| customClass | String | `undefined` | Override default class |
|
|
18
|
+
| itemClass | String | `undefined` | Additional class for textarea element |
|
|
19
|
+
|
|
20
|
+
## Events
|
|
21
|
+
| Event | Payload | Description |
|
|
22
|
+
|-------|---------|-------------|
|
|
23
|
+
| update:modelValue | String | Emitted on input, enables `v-model` |
|
|
24
|
+
| change | String | Emitted when value changes |
|
|
25
|
+
| blur | - | Emitted when textarea loses focus |
|
|
26
|
+
| submit | - | Emitted on form submit |
|
|
27
|
+
|
|
28
|
+
## Methods
|
|
29
|
+
| Method | Parameters | Description |
|
|
30
|
+
|--------|------------|-------------|
|
|
31
|
+
| focus | - | Focuses the textarea |
|
|
32
|
+
| select | - | Selects all text in textarea |
|
|
33
|
+
|
|
34
|
+
## Slots
|
|
35
|
+
| Slot | Description |
|
|
36
|
+
|------|-------------|
|
|
37
|
+
| start | Content before the textarea |
|
|
38
|
+
| end | Content after the textarea |
|
|
39
|
+
|
|
40
|
+
## Samples
|
|
41
|
+
|
|
42
|
+
### Basic
|
|
43
|
+
```vue
|
|
44
|
+
<Textarea v-model="description" placeholder="Enter description..." />
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### With rows
|
|
48
|
+
```vue
|
|
49
|
+
<Textarea v-model="content" :rows="5" />
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### With maxlength
|
|
53
|
+
```vue
|
|
54
|
+
<Textarea v-model="bio" :maxlength="200" />
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Error state
|
|
58
|
+
```vue
|
|
59
|
+
<Textarea v-model="comment" :state="-2" :errors="['Comment is required']" />
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Readonly
|
|
63
|
+
```vue
|
|
64
|
+
<Textarea v-model="readonlyText" readonly />
|
|
65
|
+
```
|
|
66
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Textbox
|
|
2
|
+
A versatile text input component with support for various types, formatting, and validation.
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
| Property | Type | Default | Description |
|
|
6
|
+
|----------|------|---------|-------------|
|
|
7
|
+
| modelValue | Any | `undefined` | The input value. Supports `v-model` |
|
|
8
|
+
| value | Any | `undefined` | Alternative value prop |
|
|
9
|
+
| type | String | `undefined` | Input type: `'text'`, `'tel'`, `'password'`, `'number'` |
|
|
10
|
+
| placeholder | String | `undefined` | Placeholder text |
|
|
11
|
+
| readonly | Any | `undefined` | Makes the input read-only |
|
|
12
|
+
| disabled | Any | `undefined` | Disables the input |
|
|
13
|
+
| maxlength | String/Number | `255` | Maximum character length |
|
|
14
|
+
| clearable | Boolean/String/Number | `undefined` | Show clear button |
|
|
15
|
+
| state | Number | `1` | Input state: `1` (normal), `-1` (disabled), `-2` (error) |
|
|
16
|
+
| variant | String | `''` | Visual variant |
|
|
17
|
+
| size | String | `''` | Size variant: `'sm'` |
|
|
18
|
+
| align | String | `undefined` | Text alignment |
|
|
19
|
+
| itemClass | String | `undefined` | Custom class for input element |
|
|
20
|
+
|
|
21
|
+
## Events
|
|
22
|
+
| Event | Payload | Description |
|
|
23
|
+
|-------|---------|-------------|
|
|
24
|
+
| update:modelValue | String | Emitted on input, enables `v-model` |
|
|
25
|
+
| input | Event | Raw input event |
|
|
26
|
+
| clear | - | Emitted when clear button is clicked |
|
|
27
|
+
| keyup | Event | Keyboard keyup event |
|
|
28
|
+
| blur | Event | Emitted on blur |
|
|
29
|
+
| input-click | - | Emitted when input is clicked |
|
|
30
|
+
|
|
31
|
+
## Methods
|
|
32
|
+
| Method | Parameters | Description |
|
|
33
|
+
|--------|------------|-------------|
|
|
34
|
+
| focus | - | Focuses the input |
|
|
35
|
+
| select | - | Selects all text in input |
|
|
36
|
+
|
|
37
|
+
## Slots
|
|
38
|
+
| Slot | Description |
|
|
39
|
+
|------|-------------|
|
|
40
|
+
| start | Content before the input |
|
|
41
|
+
| end | Content after the input |
|
|
42
|
+
|
|
43
|
+
## Samples
|
|
44
|
+
|
|
45
|
+
### Basic
|
|
46
|
+
```vue
|
|
47
|
+
<Textbox v-model="username" placeholder="Enter username" />
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Password input
|
|
51
|
+
```vue
|
|
52
|
+
<Textbox v-model="password" type="password" placeholder="Enter password" />
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Number input with formatting
|
|
56
|
+
```vue
|
|
57
|
+
<Textbox v-model="price" type="number" />
|
|
58
|
+
<!-- Displays formatted number, edits raw value -->
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Phone number
|
|
62
|
+
```vue
|
|
63
|
+
<Textbox v-model="phone" type="tel" placeholder="+62..." />
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### With clear button
|
|
67
|
+
```vue
|
|
68
|
+
<Textbox v-model="search" clearable @clear="search = ''" />
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Small size
|
|
72
|
+
```vue
|
|
73
|
+
<Textbox v-model="code" size="sm" />
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### With slots
|
|
77
|
+
```vue
|
|
78
|
+
<Textbox v-model="amount">
|
|
79
|
+
<template #start>
|
|
80
|
+
<span class="px-2">Rp</span>
|
|
81
|
+
</template>
|
|
82
|
+
<template #end>
|
|
83
|
+
<span class="px-2">.00</span>
|
|
84
|
+
</template>
|
|
85
|
+
</Textbox>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Error state
|
|
89
|
+
```vue
|
|
90
|
+
<Textbox v-model="email" :state="-2" />
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Readonly
|
|
94
|
+
```vue
|
|
95
|
+
<Textbox v-model="readonlyValue" readonly />
|
|
96
|
+
```
|
|
97
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Timepicker
|
|
2
|
+
Time selection component with hour, minute, and optional second dropdowns.
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
| Property | Type | Default | Description |
|
|
6
|
+
|----------|------|---------|-------------|
|
|
7
|
+
| modelValue | String | `'00:00'` | Time value in `HH:mm` or `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
|
+
| showSeconds | Boolean/String | `false` | Show seconds dropdown |
|
|
13
|
+
| min | String | `''` | Minimum time constraint, e.g. `'08:00'` |
|
|
14
|
+
| max | String | `''` | Maximum time constraint, e.g. `'17:00'` |
|
|
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 time value |
|
|
21
|
+
|
|
22
|
+
## Slots
|
|
23
|
+
| Slot | Description |
|
|
24
|
+
|------|-------------|
|
|
25
|
+
| start | Content before the hour dropdown |
|
|
26
|
+
| end | Content after the last dropdown |
|
|
27
|
+
|
|
28
|
+
## Samples
|
|
29
|
+
|
|
30
|
+
### Basic
|
|
31
|
+
```vue
|
|
32
|
+
<Timepicker v-model="time" />
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### With minute step
|
|
36
|
+
```vue
|
|
37
|
+
<Timepicker v-model="time" :minute-step="15" />
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### With seconds
|
|
41
|
+
```vue
|
|
42
|
+
<Timepicker v-model="time" show-seconds />
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### With time constraints
|
|
46
|
+
```vue
|
|
47
|
+
<Timepicker v-model="time" min="08:00" max="17:00" />
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Disabled
|
|
51
|
+
```vue
|
|
52
|
+
<Timepicker v-model="time" disabled />
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### With slot content
|
|
56
|
+
```vue
|
|
57
|
+
<Timepicker v-model="time">
|
|
58
|
+
<template #start>
|
|
59
|
+
<label class="p-2">Time</label>
|
|
60
|
+
</template>
|
|
61
|
+
</Timepicker>
|
|
62
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Toast
|
|
2
|
+
A toast notification component that appears at the top of the screen.
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
None (controlled via methods)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
| Method | Parameters | Description |
|
|
9
|
+
|--------|------------|-------------|
|
|
10
|
+
| open | `{ text?, message?, errors? }` | Shows the toast notification |
|
|
11
|
+
| close | - | Closes the toast |
|
|
12
|
+
|
|
13
|
+
## Slots
|
|
14
|
+
| Slot | Description |
|
|
15
|
+
|------|-------------|
|
|
16
|
+
| default | Custom toast content |
|
|
17
|
+
|
|
18
|
+
## Samples
|
|
19
|
+
|
|
20
|
+
### Basic usage
|
|
21
|
+
```vue
|
|
22
|
+
<template>
|
|
23
|
+
<Toast ref="toast" />
|
|
24
|
+
<Button @click="showToast">Show Toast</Button>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup>
|
|
28
|
+
const toast = ref(null)
|
|
29
|
+
|
|
30
|
+
function showToast() {
|
|
31
|
+
toast.value.open({
|
|
32
|
+
text: 'Operation completed successfully!'
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Error toast
|
|
39
|
+
```vue
|
|
40
|
+
<script setup>
|
|
41
|
+
function showError() {
|
|
42
|
+
toast.value.open({
|
|
43
|
+
errors: { email: 'Invalid email address' }
|
|
44
|
+
})
|
|
45
|
+
}
|
|
46
|
+
</script>
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### With message
|
|
50
|
+
```vue
|
|
51
|
+
<script setup>
|
|
52
|
+
function showMessage() {
|
|
53
|
+
toast.value.open({
|
|
54
|
+
message: 'Your changes have been saved.'
|
|
55
|
+
})
|
|
56
|
+
}
|
|
57
|
+
</script>
|
|
58
|
+
```
|
|
59
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Uploader
|
|
2
|
+
A file upload component that triggers file selection on click.
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
| Property | Type | Default | Description |
|
|
6
|
+
|----------|------|---------|-------------|
|
|
7
|
+
| accept | Any | `undefined` | Accepted file types (e.g., `'image/*'`, `'.pdf'`) |
|
|
8
|
+
| multiple | Any | `undefined` | Allow multiple file selection |
|
|
9
|
+
|
|
10
|
+
## Events
|
|
11
|
+
| Event | Payload | Description |
|
|
12
|
+
|-------|---------|-------------|
|
|
13
|
+
| change | Array | Emitted with array of selected File objects |
|
|
14
|
+
|
|
15
|
+
## Slots
|
|
16
|
+
| Slot | Description |
|
|
17
|
+
|------|-------------|
|
|
18
|
+
| default | Clickable content that triggers file picker |
|
|
19
|
+
|
|
20
|
+
## Samples
|
|
21
|
+
|
|
22
|
+
### Basic
|
|
23
|
+
```vue
|
|
24
|
+
<Uploader @change="handleFiles">
|
|
25
|
+
<Button>Select Files</Button>
|
|
26
|
+
</Uploader>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Image upload
|
|
30
|
+
```vue
|
|
31
|
+
<Uploader accept="image/*" @change="handleImages">
|
|
32
|
+
<div class="upload-zone">
|
|
33
|
+
Click to upload images
|
|
34
|
+
</div>
|
|
35
|
+
</Uploader>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Multiple files
|
|
39
|
+
```vue
|
|
40
|
+
<Uploader multiple @change="handleMultiple">
|
|
41
|
+
<Button>Upload Multiple</Button>
|
|
42
|
+
</Uploader>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Specific file types
|
|
46
|
+
```vue
|
|
47
|
+
<Uploader accept=".pdf,.doc,.docx" @change="handleDocuments">
|
|
48
|
+
<Button>Upload Documents</Button>
|
|
49
|
+
</Uploader>
|
|
50
|
+
```
|
|
51
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Video
|
|
2
|
+
A video player component with play controls and edit functionality.
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
| Property | Type | Default | Description |
|
|
6
|
+
|----------|------|---------|-------------|
|
|
7
|
+
| src | Any | `undefined` | Video source URL or File object |
|
|
8
|
+
| editable | Boolean/String | `false` | Enable video upload functionality |
|
|
9
|
+
|
|
10
|
+
## Events
|
|
11
|
+
| Event | Payload | Description |
|
|
12
|
+
|-------|---------|-------------|
|
|
13
|
+
| click | `(event, instance)` | Emitted when video area is clicked |
|
|
14
|
+
| change | `(base64, file)` | Emitted when video is changed (editable mode) |
|
|
15
|
+
|
|
16
|
+
## Methods
|
|
17
|
+
| Method | Parameters | Description |
|
|
18
|
+
|--------|------------|-------------|
|
|
19
|
+
| edit | - | Opens file picker for video selection |
|
|
20
|
+
| play | - | Starts video playback |
|
|
21
|
+
|
|
22
|
+
## Slots
|
|
23
|
+
| Slot | Props | Description |
|
|
24
|
+
|------|-------|-------------|
|
|
25
|
+
| empty | `{ instance }` | Content when no video is set |
|
|
26
|
+
|
|
27
|
+
## Samples
|
|
28
|
+
|
|
29
|
+
### Basic
|
|
30
|
+
```vue
|
|
31
|
+
<Video src="/videos/intro.mp4" />
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Editable video
|
|
35
|
+
```vue
|
|
36
|
+
<Video :src="videoSrc" editable @change="onVideoChange" />
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### With File object
|
|
40
|
+
```vue
|
|
41
|
+
<Video :src="selectedFile" />
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Custom empty state
|
|
45
|
+
```vue
|
|
46
|
+
<Video :src="videoUrl">
|
|
47
|
+
<template #empty="{ instance }">
|
|
48
|
+
<div class="placeholder" @click="instance.edit()">
|
|
49
|
+
Click to add video
|
|
50
|
+
</div>
|
|
51
|
+
</template>
|
|
52
|
+
</Video>
|
|
53
|
+
```
|
|
54
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mixd-id/web-scaffold",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.250801012",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite serve",
|
|
7
7
|
"build": "vite build",
|
|
@@ -48,7 +48,67 @@
|
|
|
48
48
|
"./web": {
|
|
49
49
|
"require": "./src/utils/web.js",
|
|
50
50
|
"import": "./src/utils/web.mjs"
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"./docs/components/404": "./docs/components/404.md",
|
|
53
|
+
"./docs/components/AccountIcon": "./docs/components/AccountIcon.md",
|
|
54
|
+
"./docs/components/Ahref": "./docs/components/Ahref.md",
|
|
55
|
+
"./docs/components/Alert": "./docs/components/Alert.md",
|
|
56
|
+
"./docs/components/ArrayList": "./docs/components/ArrayList.md",
|
|
57
|
+
"./docs/components/Article": "./docs/components/Article.md",
|
|
58
|
+
"./docs/components/Block": "./docs/components/Block.md",
|
|
59
|
+
"./docs/components/Box": "./docs/components/Box.md",
|
|
60
|
+
"./docs/components/Button": "./docs/components/Button.md",
|
|
61
|
+
"./docs/components/Card": "./docs/components/Card.md",
|
|
62
|
+
"./docs/components/Carousel": "./docs/components/Carousel.md",
|
|
63
|
+
"./docs/components/Cart": "./docs/components/Cart.md",
|
|
64
|
+
"./docs/components/CartIcon": "./docs/components/CartIcon.md",
|
|
65
|
+
"./docs/components/Chart": "./docs/components/Chart.md",
|
|
66
|
+
"./docs/components/ChartBar": "./docs/components/ChartBar.md",
|
|
67
|
+
"./docs/components/ChatTyping": "./docs/components/ChatTyping.md",
|
|
68
|
+
"./docs/components/Checkbox": "./docs/components/Checkbox.md",
|
|
69
|
+
"./docs/components/Checkout": "./docs/components/Checkout.md",
|
|
70
|
+
"./docs/components/CheckoutDelivery": "./docs/components/CheckoutDelivery.md",
|
|
71
|
+
"./docs/components/CodeEditor": "./docs/components/CodeEditor.md",
|
|
72
|
+
"./docs/components/CollapsiblePanel": "./docs/components/CollapsiblePanel.md",
|
|
73
|
+
"./docs/components/ColorPicker": "./docs/components/ColorPicker.md",
|
|
74
|
+
"./docs/components/ColorPicker2": "./docs/components/ColorPicker2.md",
|
|
75
|
+
"./docs/components/ColorPicker3": "./docs/components/ColorPicker3.md",
|
|
76
|
+
"./docs/components/Confirm": "./docs/components/Confirm.md",
|
|
77
|
+
"./docs/components/ContextMenu": "./docs/components/ContextMenu.md",
|
|
78
|
+
"./docs/components/ContextMenuItem": "./docs/components/ContextMenuItem.md",
|
|
79
|
+
"./docs/components/CopyToClipboard": "./docs/components/CopyToClipboard.md",
|
|
80
|
+
"./docs/components/Countdown": "./docs/components/Countdown.md",
|
|
81
|
+
"./docs/components/DataList": "./docs/components/DataList.md",
|
|
82
|
+
"./docs/components/Datepicker": "./docs/components/Datepicker.md",
|
|
83
|
+
"./docs/components/Datetimepicker": "./docs/components/Datetimepicker.md",
|
|
84
|
+
"./docs/components/DayTimeRange": "./docs/components/DayTimeRange.md",
|
|
85
|
+
"./docs/components/Dropdown": "./docs/components/Dropdown.md",
|
|
86
|
+
"./docs/components/ErrorText": "./docs/components/ErrorText.md",
|
|
87
|
+
"./docs/components/FBLogin": "./docs/components/FBLogin.md",
|
|
88
|
+
"./docs/components/Flex": "./docs/components/Flex.md",
|
|
89
|
+
"./docs/components/GHeatMaps": "./docs/components/GHeatMaps.md",
|
|
90
|
+
"./docs/components/Gmaps": "./docs/components/Gmaps.md",
|
|
91
|
+
"./docs/components/GmapsDirection": "./docs/components/GmapsDirection.md",
|
|
92
|
+
"./docs/components/Grid": "./docs/components/Grid.md",
|
|
93
|
+
"./docs/components/GSignIn": "./docs/components/GSignIn.md",
|
|
94
|
+
"./docs/components/HTMLEditor": "./docs/components/HTMLEditor.md",
|
|
95
|
+
"./docs/components/IconMenu": "./docs/components/IconMenu.md",
|
|
96
|
+
"./docs/components/Image": "./docs/components/Image.md",
|
|
97
|
+
"./docs/components/Link": "./docs/components/Link.md",
|
|
98
|
+
"./docs/components/MultiDropdown": "./docs/components/MultiDropdown.md",
|
|
99
|
+
"./docs/components/Radio": "./docs/components/Radio.md",
|
|
100
|
+
"./docs/components/Slider": "./docs/components/Slider.md",
|
|
101
|
+
"./docs/components/Switch": "./docs/components/Switch.md",
|
|
102
|
+
"./docs/components/Table": "./docs/components/Table.md",
|
|
103
|
+
"./docs/components/Tabs": "./docs/components/Tabs.md",
|
|
104
|
+
"./docs/components/Text": "./docs/components/Text.md",
|
|
105
|
+
"./docs/components/Textarea": "./docs/components/Textarea.md",
|
|
106
|
+
"./docs/components/Textbox": "./docs/components/Textbox.md",
|
|
107
|
+
"./docs/components/Timepicker": "./docs/components/Timepicker.md",
|
|
108
|
+
"./docs/components/Toast": "./docs/components/Toast.md",
|
|
109
|
+
"./docs/components/TreeView": "./docs/components/TreeView.md",
|
|
110
|
+
"./docs/components/Uploader": "./docs/components/Uploader.md",
|
|
111
|
+
"./docs/components/Video": "./docs/components/Video.md"
|
|
52
112
|
},
|
|
53
113
|
"dependencies": {
|
|
54
114
|
"@googlemaps/js-api-loader": "^1.16.8",
|
|
@@ -93,6 +153,9 @@
|
|
|
93
153
|
],
|
|
94
154
|
"author": "mixd.id",
|
|
95
155
|
"license": "ISC",
|
|
156
|
+
"files": [
|
|
157
|
+
"docs/components"
|
|
158
|
+
],
|
|
96
159
|
"bugs": {
|
|
97
160
|
"url": "https://github.com/mixd-id/web-scaffold/issues"
|
|
98
161
|
},
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Dashboard
|
|
2
|
-
Dashboard components
|
|
3
|
-
|
|
4
|
-
## Configs
|
|
5
|
-
| Property | Type | Default | Description |
|
|
6
|
-
|----------|------|---------|-------------|
|
|
7
|
-
| params | Object | {} | | Dashboard parameters |
|
|
8
|
-
| params.presetUid | String | "" | | Preset unique identifier |
|
|
9
|
-
|
|
10
|
-
## Samples
|
|
11
|
-
```json
|
|
12
|
-
{
|
|
13
|
-
"params": {
|
|
14
|
-
"presetUid": "abc",
|
|
15
|
-
"viewUid": "def"
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
"presets": [
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
"name": "Preset Name",
|
|
22
|
-
|
|
23
|
-
"views": [
|
|
24
|
-
{
|
|
25
|
-
"type": "Grid",
|
|
26
|
-
"uid": ":uid"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
|
|
30
|
-
"datasource": {
|
|
31
|
-
|
|
32
|
-
":uid": {
|
|
33
|
-
"uid": ":uid",
|
|
34
|
-
"datasourceUid": "234",
|
|
35
|
-
"filters": [],
|
|
36
|
-
"sorts": [],
|
|
37
|
-
"groups": [],
|
|
38
|
-
"pivot": []
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
## Sub Components
|
|
51
|
-
|
|
52
|
-
### Dashboard Configs
|
|
53
|
-
Dashboard configuration panel
|
|
54
|
-
|
|
55
|
-
### Dashboard Component Selector
|
|
56
|
-
Component selector for adding component to preset views
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Header 2
|
|
2
|
-
|
|
3
|
-
### Properties
|
|
4
|
-
| Name | Type | Default | Description |
|
|
5
|
-
|--------------------------|--------|---------|----------------------------|
|
|
6
|
-
| `logo` | Array | [] | Responsive Array of Object |
|
|
7
|
-
| `logo[].url` | String | | Logo url |
|
|
8
|
-
| `icons` | Array | {} | Responsive Array of Object |
|
|
9
|
-
| `icons[].items` | Array | {} | Array of Object |
|
|
10
|
-
| `icons[].items[].icon` | String | | (required) icon value |
|
|
11
|
-
| `icons[].items[].target` | String | | (required) target value |
|
|
12
|
-
| `icons[].items[].text` | String | route | route, search |
|
|
13
|
-
| `menu[].items[].icon` | String | | svg, image |
|
|
14
|
-
| `menu[].items[].text` | String | | |
|
|
15
|
-
| `menu[].items[].target` | String | | |
|
|
16
|
-
| `menu[].items[].items` | Array | | |
|
package/log.txt
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
[2025-06-28 16:30:51]
|
|
2
|
-
POST https://198.168.4.239/ksapisvr
|
|
3
|
-
--
|
|
4
|
-
{"api_jsonkolnss":[{"Request":"HASIL","attempt":"0","noBukti":"KSSOE312506000008745","noHP":"085339156956","linkFoto":"https://www.kliknss.co.id/images/kols/097da1af5ef3f112e6ce0d771bdcbeda.jpg","lat":"-10.0409983","long":"124.5253983","jamFoto":"14:02:09","statusKunjungan":"3","lokasiKunjungan":"05","bertemuDengan":"org tua","hubDenganKonsumen":"KELUARGA","konsBayarTarik":"1","tanggalJanjiBayar":"","tanggalKunjunganUlang":"","penyebabKonsTidakBayar":"","historisKons":"","noHPKons":"08552364562","alamatRumahSkr":"desa takarii","keberadaanKonsumen":"01","pekerjaanSkr":"AG","subPekerjaan":"63","unitBisaDiFoto":"Y","keberadaanUnit":"11","klasifikasiKons":"999","layakTdkLayak":"","latMulai":"-10.0408867","lonMulai":"124.5252633","latSampai":"-10.0409114","lonSampai":"124.5252886","latSelesai":"-10.0409983","lonSelesai":"124.5253983","jamMulai":"13:58:54","jamSampai":"13:59:11","jamSelesai":"13:59:14","linkFotoBerkas":"https://www.kliknss.co.id/images/kols/9dbec61757412e358e9a68013aa80f25.jpg","jamKirim":"2025-06-28 16:51:04.695692","tempatDikunjungi":"rmh org tya","hariLuang":"Senin","jamLuang":"10:00 - 12:00","kodePelacakan":"","latFotoPelacakan":"","longFotoPelacakan":"","jamFotoPelacakan":"","provPelacakan":"","kotaPelacakan":"","kecPelacakan":"","kelPelacakan":"","kodePosPelacakan":"","alamatPelacakan":"","provPemegangUnit":"","kotaPemegangUnit":"","kecPemegangUnit":"","kelPemegangUnit":"","kodePosPemegangUnit":"","alamatPemegangUnit":"","hubPemegangUnit":"","hubPemegangUnitLainnya":"","namaPemegangUnit":"","ketTidakTerlacak":"","Suspect":"TIDAK","KetKunjKolvsAlmtagih":"TIDAK SESUAI","JrkKunjKolvsAlmtagih":"29652.31661401902","KetKunjKolvsResurvey":"TIDAK SESUAI","JrkKunjKolvsResurvey":"29652.31661401902","KetKunjKolvsSurvey":"TIDAK SESUAI","JrkKunjKolvsSurvey":"32674.530270079635","KetKunjKolvsTmptKerja":"TIDAK SESUAI","JrkKunjKolvsTmptKerja":"32674.530270079635","KetKunjKolvsKelSurvey":"TIDAK SESUAI","JrkKunjKolvsKelSurvey":"52918.18337137214"}]}
|
|
5
|
-
|
|
6
|
-
E================ t= 61ms
|
|
7
|
-
{"status":-1,"message":"ap_rdjsn gagal, response=master label di program tidak ditemukan/tidak urut di jawaban server","data":"ap_rdjsn gagal, response=master label di program tidak ditemukan/tidak urut di jawaban server "}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/components/404.vue
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="$style.el">
|
|
3
|
-
|
|
4
|
-
<div>
|
|
5
|
-
<h1>{{ title }}</h1>
|
|
6
|
-
<p>{{ description }}</p>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<slot>
|
|
10
|
-
<component v-if="items?.length > 0"
|
|
11
|
-
v-for="item in items"
|
|
12
|
-
:is="item.type"
|
|
13
|
-
:key="item.key"
|
|
14
|
-
:="item" />
|
|
15
|
-
|
|
16
|
-
<router-link v-else :to="{ path:'/' }" class="text-primary">
|
|
17
|
-
Back to Home
|
|
18
|
-
</router-link>
|
|
19
|
-
</slot>
|
|
20
|
-
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script>
|
|
25
|
-
|
|
26
|
-
export default {
|
|
27
|
-
|
|
28
|
-
props: {
|
|
29
|
-
|
|
30
|
-
description: {
|
|
31
|
-
type: String,
|
|
32
|
-
default: 'The page you are looking for does not exist.'
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
title: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: 'Page Not Found'
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
items: Array
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
methods: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
</script>
|
|
52
|
-
|
|
53
|
-
<style module>
|
|
54
|
-
|
|
55
|
-
.el{
|
|
56
|
-
@apply w-full max-w-[600px] mx-auto;
|
|
57
|
-
@apply flex flex-col gap-8 items-center justify-center;
|
|
58
|
-
@apply min-h-[60vh]
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
</style>
|