@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
package/src/index.js
DELETED
|
@@ -1,648 +0,0 @@
|
|
|
1
|
-
import {defineAsyncComponent, ref} from "vue"
|
|
2
|
-
import {arrayPush, arrayRemove, arrayUnshift, downloadUrl, invokeAfterIdle, observeInit} from './utils/helpers.mjs'
|
|
3
|
-
import dayjs from "dayjs";
|
|
4
|
-
import {useDevice} from './hooks/device.js'
|
|
5
|
-
import IntersectDirective from './directives/intersect';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
let _UNIQID = 0
|
|
9
|
-
const uniqid = (additionalKey = '') => {
|
|
10
|
-
return 'u' + (++_UNIQID)
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const mediaBreakpoints = [
|
|
14
|
-
[ 640, 'sm:' ],
|
|
15
|
-
[ 768, 'md:' ],
|
|
16
|
-
[ 1280, 'xl:' ],
|
|
17
|
-
[ 1536, '2xl:' ],
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
const { device } = useDevice()
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
let preloads = []
|
|
25
|
-
|
|
26
|
-
const preload = (params) => {
|
|
27
|
-
|
|
28
|
-
if(!params) return
|
|
29
|
-
|
|
30
|
-
if(typeof params === 'string'){
|
|
31
|
-
params.split(',').forEach((param) => {
|
|
32
|
-
let media, href
|
|
33
|
-
if(param.startsWith('sm:')){
|
|
34
|
-
media = 'sm'
|
|
35
|
-
href = param.substring(param.indexOf(':') + 1)
|
|
36
|
-
}
|
|
37
|
-
else if(param.startsWith('md:')){
|
|
38
|
-
media = 'md'
|
|
39
|
-
href = param.substring(param.indexOf(':') + 1)
|
|
40
|
-
}
|
|
41
|
-
else if(param.startsWith('lg:')){
|
|
42
|
-
media = 'lg'
|
|
43
|
-
href = param.substring(param.indexOf(':') + 1)
|
|
44
|
-
}
|
|
45
|
-
else if(param.startsWith('xl:')){
|
|
46
|
-
media = 'xl'
|
|
47
|
-
href = param.substring(param.indexOf(':') + 1)
|
|
48
|
-
}
|
|
49
|
-
else if(param.startsWith('2xl:')){
|
|
50
|
-
media = '2xl'
|
|
51
|
-
href = param.substring(param.indexOf(':') + 1)
|
|
52
|
-
}
|
|
53
|
-
else{
|
|
54
|
-
media = ''
|
|
55
|
-
href = param
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
switch(media){
|
|
59
|
-
case 'sm':
|
|
60
|
-
media = "(min-width: 640px)"
|
|
61
|
-
break
|
|
62
|
-
case 'md':
|
|
63
|
-
media = "(min-width: 768px)"
|
|
64
|
-
break
|
|
65
|
-
case 'lg':
|
|
66
|
-
media = "(min-width: 1024px)"
|
|
67
|
-
break
|
|
68
|
-
case 'xl':
|
|
69
|
-
media = "(min-width: 1280px)"
|
|
70
|
-
break
|
|
71
|
-
case '2xl':
|
|
72
|
-
media = "(min-width: 1536px)"
|
|
73
|
-
break
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const ext = href.split('.').slice(-1).pop()
|
|
77
|
-
let as
|
|
78
|
-
switch(ext){
|
|
79
|
-
case 'png':
|
|
80
|
-
case 'jpg':
|
|
81
|
-
case 'jpeg':
|
|
82
|
-
case 'webp':
|
|
83
|
-
case 'gif':
|
|
84
|
-
as = 'image'
|
|
85
|
-
break
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if(href && as){
|
|
89
|
-
const preloadObj = {
|
|
90
|
-
href,
|
|
91
|
-
media,
|
|
92
|
-
as
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
preloads.push(preloadObj)
|
|
96
|
-
}
|
|
97
|
-
})
|
|
98
|
-
}
|
|
99
|
-
else{
|
|
100
|
-
if(Array.isArray(params)){
|
|
101
|
-
preloads.push(...params)
|
|
102
|
-
}
|
|
103
|
-
else{
|
|
104
|
-
preloads.push(params)
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
const popPreloads = () => {
|
|
110
|
-
|
|
111
|
-
let link = ''
|
|
112
|
-
|
|
113
|
-
preloads.forEach((obj) => {
|
|
114
|
-
let str = `<link rel="preload" href="${obj.href}" as="${obj.as}"`
|
|
115
|
-
if(obj.media)
|
|
116
|
-
str += ` media="${obj.media}"`
|
|
117
|
-
str += ' />'
|
|
118
|
-
|
|
119
|
-
link += str
|
|
120
|
-
})
|
|
121
|
-
|
|
122
|
-
preloads = []
|
|
123
|
-
|
|
124
|
-
return link
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
const resizeEvents = []
|
|
128
|
-
const registerResizeEvent = (fn) => {
|
|
129
|
-
resizeEvents.push(fn)
|
|
130
|
-
}
|
|
131
|
-
const unregisterResizeEvent = (fn) => {
|
|
132
|
-
const idx = resizeEvents.indexOf(fn)
|
|
133
|
-
if(idx >= 0){
|
|
134
|
-
resizeEvents.splice(idx, 1)
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
const consoleInfo = (...args) => { console.info(...args) }
|
|
139
|
-
const consoleLog = (...args) => { console.log(...args) }
|
|
140
|
-
const consoleWarn = (...args) => { console.warn(...args) }
|
|
141
|
-
const consoleTime = (...args) => { console.time(...args) }
|
|
142
|
-
const consoleTimeLog = (...args) => { console.timeLog(...args) }
|
|
143
|
-
const consoleTimeEnd = (...args) => { console.timeEnd(...args) }
|
|
144
|
-
|
|
145
|
-
const formatDate = (date, format = 'YYYY-MM-DD HH:mm:ss') => {
|
|
146
|
-
if(!date) return ''
|
|
147
|
-
return dayjs(date).format(format)
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
const util = {
|
|
151
|
-
|
|
152
|
-
addHTMLAttribute: (html, attr) => {
|
|
153
|
-
|
|
154
|
-
const splits = (html ?? '').split(' ')
|
|
155
|
-
|
|
156
|
-
if(splits.length > 0 && splits[0]){
|
|
157
|
-
const htmlAttr = []
|
|
158
|
-
for(let key in attr){
|
|
159
|
-
htmlAttr.push(`${key}="${attr[key]}"`)
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
html = [
|
|
163
|
-
splits[0],
|
|
164
|
-
...htmlAttr,
|
|
165
|
-
...splits.slice(1)
|
|
166
|
-
].join(' ')
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
return html
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
dragResize: (e, callback) => {
|
|
173
|
-
|
|
174
|
-
e.preventDefault()
|
|
175
|
-
|
|
176
|
-
let startX = e.clientX
|
|
177
|
-
let startY = e.clientY
|
|
178
|
-
const onMouseMove = (mE) => {
|
|
179
|
-
const distanceX = mE.clientX - startX
|
|
180
|
-
const distanceY = mE.clientY - startY
|
|
181
|
-
startX = mE.clientX
|
|
182
|
-
startY = mE.clientY
|
|
183
|
-
|
|
184
|
-
if(distanceX !== 0 || distanceY !== 0){
|
|
185
|
-
callback(distanceX, distanceY)
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
const onMouseUp = _ => {
|
|
190
|
-
window.removeEventListener('mousemove', onMouseMove)
|
|
191
|
-
window.removeEventListener('mouseup', onMouseUp)
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
window.addEventListener('mousemove', onMouseMove)
|
|
195
|
-
window.addEventListener('mouseup', onMouseUp)
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
push: arrayPush,
|
|
199
|
-
|
|
200
|
-
remove: arrayRemove,
|
|
201
|
-
|
|
202
|
-
unshift: arrayUnshift,
|
|
203
|
-
|
|
204
|
-
removeEmpty(array, emptyValues = [ '', '{}', '[]' ]){
|
|
205
|
-
if(!Array.isArray(array)) return
|
|
206
|
-
|
|
207
|
-
for (let i = array.length - 1; i >= 0; i--) {
|
|
208
|
-
if (!array[i] || emptyValues.includes(JSON.stringify(array[i])) || Object.values(array[i]).join('').length <= 0){
|
|
209
|
-
array.splice(i, 1);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
|
|
214
|
-
calculateMediaPrefix(width){
|
|
215
|
-
|
|
216
|
-
let media = ''
|
|
217
|
-
let mediaIndex = 0
|
|
218
|
-
for(let breakpointIdx in mediaBreakpoints){
|
|
219
|
-
const [ breakpoint, breakpointPrefix ] = mediaBreakpoints[breakpointIdx]
|
|
220
|
-
if(width > breakpoint){
|
|
221
|
-
media = breakpointPrefix
|
|
222
|
-
mediaIndex = breakpointIdx
|
|
223
|
-
}
|
|
224
|
-
else break
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
return { media, mediaIndex }
|
|
228
|
-
},
|
|
229
|
-
|
|
230
|
-
uniqid
|
|
231
|
-
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
const isTouchSupported = () => {
|
|
235
|
-
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
const getDeviceType = () => {
|
|
239
|
-
|
|
240
|
-
const width = window.innerWidth;
|
|
241
|
-
if (width < 768) {
|
|
242
|
-
return 'mobile';
|
|
243
|
-
} else if (width >= 768 && width < 1024) {
|
|
244
|
-
return 'tablet';
|
|
245
|
-
} else {
|
|
246
|
-
return 'desktop';
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
let resizeObserver
|
|
251
|
-
|
|
252
|
-
export default{
|
|
253
|
-
|
|
254
|
-
install: (app, options) => {
|
|
255
|
-
|
|
256
|
-
const tooltips = {}
|
|
257
|
-
|
|
258
|
-
app.directive('tooltip', (el, binding) => {
|
|
259
|
-
if(!binding.value) return
|
|
260
|
-
|
|
261
|
-
if(!el.getAttribute('data-tooltip')) {
|
|
262
|
-
|
|
263
|
-
const uid = uniqid()
|
|
264
|
-
el.setAttribute('data-tooltip', uid)
|
|
265
|
-
|
|
266
|
-
const tooltip = document.createElement('div')
|
|
267
|
-
tooltip.classList.add('tooltip')
|
|
268
|
-
document.body.appendChild(tooltip)
|
|
269
|
-
tooltips[uid] = {
|
|
270
|
-
el: tooltip,
|
|
271
|
-
text: binding.value
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
el.addEventListener('mouseover', () => {
|
|
275
|
-
const { text } = tooltips[uid]
|
|
276
|
-
if(!text) return
|
|
277
|
-
|
|
278
|
-
tooltip.innerHTML = text
|
|
279
|
-
|
|
280
|
-
window.setTimeout(() => {
|
|
281
|
-
if(el.getAttribute('data-tooltip-open')){
|
|
282
|
-
const rect = el.getBoundingClientRect()
|
|
283
|
-
if(rect && rect.width > 0){
|
|
284
|
-
|
|
285
|
-
if(rect.y + rect.height + tooltip.clientHeight > window.innerHeight){
|
|
286
|
-
delete tooltip.style.top
|
|
287
|
-
tooltip.style.bottom = ((window.innerHeight - rect.y) + 10) + 'px'
|
|
288
|
-
tooltip.style.transformOrigin = 'left bottom'
|
|
289
|
-
tooltip.style.left = rect.x + 'px'
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
else{
|
|
293
|
-
delete tooltip.style.bottom
|
|
294
|
-
tooltip.style.top = (rect.y + rect.height + 10) + 'px'
|
|
295
|
-
tooltip.style.transformOrigin = 'left top'
|
|
296
|
-
tooltip.style.left = rect.x + 'px'
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
tooltip.classList.add('active')
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}, 1000)
|
|
303
|
-
el.setAttribute('data-tooltip-open', true)
|
|
304
|
-
})
|
|
305
|
-
|
|
306
|
-
el.addEventListener('mouseout', () => {
|
|
307
|
-
el.removeAttribute('data-tooltip-open')
|
|
308
|
-
tooltip.classList.remove('active')
|
|
309
|
-
})
|
|
310
|
-
}
|
|
311
|
-
else{
|
|
312
|
-
tooltips[el.getAttribute('data-tooltip')].text = binding.value
|
|
313
|
-
}
|
|
314
|
-
})
|
|
315
|
-
|
|
316
|
-
const privateVars = {}
|
|
317
|
-
|
|
318
|
-
app.config.globalProperties.$t = t => t
|
|
319
|
-
app.config.globalProperties.uniqid = uniqid
|
|
320
|
-
app.config.globalProperties.formatDate = formatDate
|
|
321
|
-
app.config.globalProperties.$download = downloadUrl
|
|
322
|
-
app.config.globalProperties.$preload = preload
|
|
323
|
-
app.config.globalProperties.$popPreloads = popPreloads
|
|
324
|
-
app.config.globalProperties.$util = util
|
|
325
|
-
app.config.globalProperties.$resize = registerResizeEvent
|
|
326
|
-
app.config.globalProperties.$unresize = unregisterResizeEvent
|
|
327
|
-
app.config.globalProperties.log = consoleLog
|
|
328
|
-
app.config.globalProperties.warn = consoleWarn
|
|
329
|
-
app.config.globalProperties.info = consoleInfo
|
|
330
|
-
app.config.globalProperties.time = consoleTime
|
|
331
|
-
app.config.globalProperties.timeLog = consoleTimeLog
|
|
332
|
-
app.config.globalProperties.timeEnd = consoleTimeEnd
|
|
333
|
-
app.config.globalProperties.$device = device
|
|
334
|
-
app.config.globalProperties.$isDebugMode = () => {
|
|
335
|
-
if(!('isDebugMode' in privateVars)){
|
|
336
|
-
privateVars.isDebugMode = location.search.indexOf('debug-mode') >= 0 ||
|
|
337
|
-
import.meta.env.VITE_APP_DEBUG === 'true'
|
|
338
|
-
}
|
|
339
|
-
return privateVars.isDebugMode
|
|
340
|
-
}
|
|
341
|
-
app.config.globalProperties.$validate = (obj, rules) => {
|
|
342
|
-
|
|
343
|
-
const errors = {}
|
|
344
|
-
|
|
345
|
-
for(let key in rules){
|
|
346
|
-
|
|
347
|
-
let value
|
|
348
|
-
if(typeof rules[key] === 'string'){
|
|
349
|
-
value = rules[key].split('|')
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
const keyErrors = []
|
|
353
|
-
for(let _value of value){
|
|
354
|
-
|
|
355
|
-
switch(_value){
|
|
356
|
-
|
|
357
|
-
case 'required':
|
|
358
|
-
if(!(key in obj) || obj[key] === ''){
|
|
359
|
-
keyErrors.push(`${key} is required`)
|
|
360
|
-
}
|
|
361
|
-
break
|
|
362
|
-
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
if(keyErrors.length > 0){
|
|
368
|
-
errors[key] = keyErrors
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
return Object.keys(errors).length > 0 ?
|
|
373
|
-
errors :
|
|
374
|
-
undefined
|
|
375
|
-
}
|
|
376
|
-
app.config.globalProperties.$mounted = ref(false)
|
|
377
|
-
app.config.globalProperties.$editMode = ref(0)
|
|
378
|
-
|
|
379
|
-
if(typeof window !== 'undefined') {
|
|
380
|
-
|
|
381
|
-
if ('IntersectionObserver' in window) {
|
|
382
|
-
app.config.globalProperties.$observe = observeInit()
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
const onWindowResize = invokeAfterIdle(() => {
|
|
386
|
-
Object.assign(app.config.globalProperties.$device, {
|
|
387
|
-
type: getDeviceType(),
|
|
388
|
-
...util.calculateMediaPrefix(document.documentElement.clientWidth)
|
|
389
|
-
})
|
|
390
|
-
|
|
391
|
-
resizeEvents.forEach((fn) => fn())
|
|
392
|
-
}, 100)
|
|
393
|
-
window.addEventListener('resize', onWindowResize)
|
|
394
|
-
|
|
395
|
-
app.config.globalProperties.$addResizeListener = (el, fn) => {
|
|
396
|
-
if (!resizeObserver) {
|
|
397
|
-
resizeObserver = new ResizeObserver((entries) => {
|
|
398
|
-
for (const entry of entries) {
|
|
399
|
-
for (const [_el, _fn] of resizeObserver.cols) {
|
|
400
|
-
if (_el === entry.target) {
|
|
401
|
-
_fn(entry)
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
});
|
|
406
|
-
|
|
407
|
-
resizeObserver.cols = []
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
resizeObserver.observe(el);
|
|
411
|
-
resizeObserver.cols.push([el, fn])
|
|
412
|
-
}
|
|
413
|
-
app.config.globalProperties.$removeResizeListener = (el) => {
|
|
414
|
-
if (!resizeObserver) return
|
|
415
|
-
resizeObserver.unobserve(el)
|
|
416
|
-
resizeObserver.cols.splice(resizeObserver.cols.findIndex(([_el, _fn]) => _el === el), 1)
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
app.config.globalProperties.$onMounted = () => {
|
|
420
|
-
Object.assign(app.config.globalProperties.$device, {
|
|
421
|
-
type: getDeviceType(),
|
|
422
|
-
touchSupported: isTouchSupported(),
|
|
423
|
-
...util.calculateMediaPrefix(document.documentElement.clientWidth)
|
|
424
|
-
})
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
app.config.globalProperties.$mounted.value = true
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
app.directive('intersect', IntersectDirective)
|
|
431
|
-
|
|
432
|
-
app.component('Ahref', defineAsyncComponent(() => import("./components/Ahref.vue")))
|
|
433
|
-
app.component('Paragraph', defineAsyncComponent(() => import("./components/Paragraph.vue")))
|
|
434
|
-
app.component('Alert', defineAsyncComponent(() => import("./components/Alert.vue")))
|
|
435
|
-
app.component('ArrayList', defineAsyncComponent(() => import("./components/ArrayList.vue")))
|
|
436
|
-
app.component('Article', defineAsyncComponent(() => import("./components/Article.vue")))
|
|
437
|
-
app.component('Block', defineAsyncComponent(() => import("./components/Block.vue")))
|
|
438
|
-
app.component('Button', defineAsyncComponent(() => import("./components/Button.vue")))
|
|
439
|
-
app.component('Box', defineAsyncComponent(() => import("./components/Box.vue")))
|
|
440
|
-
app.component('Card', defineAsyncComponent(() => import("./components/Card.vue")))
|
|
441
|
-
app.component('ChartBar', defineAsyncComponent(() => import("./components/ChartBar.vue")))
|
|
442
|
-
app.component('ColorPicker', defineAsyncComponent(() => import("./components/ColorPicker.vue")))
|
|
443
|
-
app.component('ColorPicker2', defineAsyncComponent(() => import("./components/ColorPicker2.vue")))
|
|
444
|
-
app.component('ColorPicker3', defineAsyncComponent(() => import("./components/ColorPicker3.vue")))
|
|
445
|
-
app.component('Confirm', defineAsyncComponent(() => import("./components/Confirm.vue")))
|
|
446
|
-
app.component('ChatTyping', defineAsyncComponent(() => import("./components/ChatTyping.vue")))
|
|
447
|
-
app.component('Checkbox', defineAsyncComponent(() => import("./components/Checkbox.vue")))
|
|
448
|
-
app.component('CodeEditor', defineAsyncComponent(() => import("./components/CodeEditor.vue")))
|
|
449
|
-
app.component('SvgEditor', defineAsyncComponent(() => import("./components/SvgEditor.vue")))
|
|
450
|
-
app.component('CopyToClipboard', defineAsyncComponent(() => import("./components/CopyToClipboard.vue")))
|
|
451
|
-
app.component('Countdown', defineAsyncComponent(() => import("./components/Countdown.vue")))
|
|
452
|
-
app.component('Datepicker', defineAsyncComponent(() => import("./components/Datepicker.vue")))
|
|
453
|
-
app.component('Dropdown', defineAsyncComponent(() => import("./components/Dropdown.vue")))
|
|
454
|
-
app.component('ErrorText', defineAsyncComponent(() => import("./components/ErrorText.vue")))
|
|
455
|
-
app.component('Feed', defineAsyncComponent(() => import("./components/Feed.vue")))
|
|
456
|
-
app.component('Gmaps', defineAsyncComponent(() => import("./components/Gmaps.vue")))
|
|
457
|
-
app.component('GHeatMaps', defineAsyncComponent(() => import("./components/GHeatMaps.vue")))
|
|
458
|
-
app.component('HTMLEditor', defineAsyncComponent(() => import("./components/HTMLEditor.vue")))
|
|
459
|
-
app.component('Switch', defineAsyncComponent(() => import("./components/Switch.vue")))
|
|
460
|
-
app.component('IconMenu', defineAsyncComponent(() => import("./components/IconMenu.vue")))
|
|
461
|
-
app.component('IconMenu2', defineAsyncComponent(() => import("./components/IconMenu2.vue")))
|
|
462
|
-
app.component('IconPlus', defineAsyncComponent(() => import("./components/IconPlus.vue")))
|
|
463
|
-
app.component('Image', defineAsyncComponent(() => import("./components/Image.vue")))
|
|
464
|
-
app.component('ImageUploader', defineAsyncComponent(() => import("./components/ImageUploader.vue")))
|
|
465
|
-
app.component('Video', defineAsyncComponent(() => import("./components/Video.vue")))
|
|
466
|
-
app.component('Image360', defineAsyncComponent(() => import("./components/Image360.vue")))
|
|
467
|
-
app.component('ImagePreview', defineAsyncComponent(() => import("./components/ImagePreview.vue")))
|
|
468
|
-
app.component('ImageFullScreen', defineAsyncComponent(() => import("./components/ImageFullScreen.vue")))
|
|
469
|
-
app.component('ImportModal', defineAsyncComponent(() => import("./components/ImportModal.vue")))
|
|
470
|
-
app.component('Link', defineAsyncComponent(() => import("./components/Link.vue")))
|
|
471
|
-
app.component('ListPage1', defineAsyncComponent(() => import("./components/ListPage1.vue")))
|
|
472
|
-
app.component('ListPage1Filter', defineAsyncComponent(() => import("./components/ListPage1Filter.vue")))
|
|
473
|
-
app.component('ListItem', defineAsyncComponent(() => import("./components/ListItem.vue")))
|
|
474
|
-
app.component('ListView', defineAsyncComponent(() => import("./components/ListView.vue")))
|
|
475
|
-
app.component('ListViewSettings', defineAsyncComponent(() => import("./components/ListViewSettings.vue")))
|
|
476
|
-
app.component('ListViewBarSummary', defineAsyncComponent(() => import("./components/ListViewBarSummary.vue")))
|
|
477
|
-
app.component('ListViewLiveBarSummary', defineAsyncComponent(() => import("./components/ListViewLiveBarSummary.vue")))
|
|
478
|
-
app.component('ListViewTableSummary', defineAsyncComponent(() => import("./components/ListViewTableSummary.vue")))
|
|
479
|
-
app.component('ListViewLineSummary', defineAsyncComponent(() => import("./components/ListViewLineSummary.vue")))
|
|
480
|
-
app.component('ListViewMapSummary', defineAsyncComponent(() => import("./components/ListViewMapSummary.vue")))
|
|
481
|
-
app.component('MultiDropdown', defineAsyncComponent(() => import("./components/MultiDropdown.vue")))
|
|
482
|
-
app.component('Carousel', defineAsyncComponent(() => import("./components/Carousel.vue")))
|
|
483
|
-
app.component('ContextMenu', defineAsyncComponent(() => import("./components/ContextMenu.vue")))
|
|
484
|
-
app.component('ContextMenuItem', defineAsyncComponent(() => import("./components/ContextMenuItem.vue")))
|
|
485
|
-
app.component('ListContextMenu', defineAsyncComponent(() => import("./components/ListContextMenu.vue")))
|
|
486
|
-
app.component('FAQ', defineAsyncComponent(() => import("./widgets/FAQ.vue")))
|
|
487
|
-
app.component('Flex', defineAsyncComponent(() => import("./components/Flex.vue")))
|
|
488
|
-
app.component('Grid', defineAsyncComponent(() => import("./components/Grid.vue")))
|
|
489
|
-
app.component('Modal', defineAsyncComponent(() => import("./components/Modal.vue")))
|
|
490
|
-
app.component('OTPField', defineAsyncComponent(() => import("./components/OTPField.vue")))
|
|
491
|
-
app.component('PageBuilder', defineAsyncComponent(() => import("./components/PageBuilder.vue")))
|
|
492
|
-
app.component('Radio', defineAsyncComponent(() => import("./components/Radio.vue")))
|
|
493
|
-
app.component('TableView', defineAsyncComponent(() => import("./components/TableView.vue")))
|
|
494
|
-
app.component('TableViewHead', defineAsyncComponent(() => import("./components/TableViewHead.vue")))
|
|
495
|
-
app.component('Tabs', defineAsyncComponent(() => import("./components/Tabs.vue")))
|
|
496
|
-
app.component('Textbox', defineAsyncComponent(() => import("./components/Textbox.vue")))
|
|
497
|
-
app.component('Textarea', defineAsyncComponent(() => import("./components/Textarea.vue")))
|
|
498
|
-
app.component('MultilineText', defineAsyncComponent(() => import("./components/MultilineText.vue")))
|
|
499
|
-
app.component('Timepicker', defineAsyncComponent(() => import("./components/Timepicker.vue")))
|
|
500
|
-
app.component('Toast', defineAsyncComponent(() => import("./components/Toast.vue")))
|
|
501
|
-
app.component('TreeView', defineAsyncComponent(() => import("./components/TreeView.vue")))
|
|
502
|
-
app.component('TreeViewItem', defineAsyncComponent(() => import("./components/TreeViewItem.vue")))
|
|
503
|
-
app.component('TreeView2', defineAsyncComponent(() => import("./components/TreeView2.vue")))
|
|
504
|
-
app.component('TreeViewItem2', defineAsyncComponent(() => import("./components/TreeViewItem2.vue")))
|
|
505
|
-
app.component('Uploader', defineAsyncComponent(() => import("./components/Uploader.vue")))
|
|
506
|
-
app.component('VirtualGrid', defineAsyncComponent(() => import("./components/VirtualGrid.vue")))
|
|
507
|
-
app.component('VirtualScroll', defineAsyncComponent(() => import("./components/VirtualScroll.vue")))
|
|
508
|
-
app.component('VirtualTable', defineAsyncComponent(() => import("./components/VirtualTable.vue")))
|
|
509
|
-
app.component('Slider', defineAsyncComponent(() => import("./components/Slider.vue")))
|
|
510
|
-
app.component('SplitPane', defineAsyncComponent(() => import("./components/SplitPane.vue")))
|
|
511
|
-
app.component('Table', defineAsyncComponent(() => import("./components/Table.vue")))
|
|
512
|
-
app.component('TabView', defineAsyncComponent(() => import("./components/TabView.vue")))
|
|
513
|
-
app.component('Test', defineAsyncComponent(() => import("./components/Test.vue")))
|
|
514
|
-
app.component('Thumbnail', defineAsyncComponent(() => import("./components/Thumbnail.vue")))
|
|
515
|
-
app.component('Testimonial', defineAsyncComponent(() => import("./components/Testimonial.vue")))
|
|
516
|
-
app.component('TextBlock', defineAsyncComponent(() => import("./components/TextBlock.vue")))
|
|
517
|
-
app.component('TextEditor', defineAsyncComponent(() => import("./components/TextEditor.vue")))
|
|
518
|
-
app.component('DataList', defineAsyncComponent(() => import("./components/DataList.vue")))
|
|
519
|
-
app.component('YoutubeVideo', defineAsyncComponent(() => import("./components/YoutubeVideo.vue")))
|
|
520
|
-
app.component('Svg', defineAsyncComponent(() => import("./components/Svg.vue")))
|
|
521
|
-
app.component('ConversationBuilder', defineAsyncComponent(() => import("./components/ConversationBuilder.vue")))
|
|
522
|
-
app.component('ObjectTree', defineAsyncComponent(() => import("./components/ObjectTree.vue")))
|
|
523
|
-
app.component('FBLogin', defineAsyncComponent(() => import("./components/FBLogin.vue")))
|
|
524
|
-
app.component('GSignIn', defineAsyncComponent(() => import("./components/GSignIn.vue")))
|
|
525
|
-
app.component('DayTimeRange', defineAsyncComponent(() => import("./components/DayTimeRange.vue")))
|
|
526
|
-
app.component('TextWithTag', defineAsyncComponent(() => import("./components/TextWithTag.vue")))
|
|
527
|
-
app.component('LogViewerItem', defineAsyncComponent(() => import("./components/LogViewerItem.vue")))
|
|
528
|
-
app.component('List', defineAsyncComponent(() => import("./components/List.vue")))
|
|
529
|
-
app.component('Chart', defineAsyncComponent(() => import("./components/Chart.vue")))
|
|
530
|
-
app.component('DGrid', defineAsyncComponent(() => import("./components/DGrid.vue")))
|
|
531
|
-
app.component('DGridItem', defineAsyncComponent(() => import("./components/DGridItem.vue")))
|
|
532
|
-
app.component('GmapsDirection', defineAsyncComponent(() => import("./components/GmapsDirection.vue")))
|
|
533
|
-
|
|
534
|
-
app.component('AhrefSetting', defineAsyncComponent(() => import("./widgets/AhrefSetting.vue")))
|
|
535
|
-
app.component('ArticleSetting', defineAsyncComponent(() => import("./widgets/ArticleSetting.vue")))
|
|
536
|
-
app.component('BlockSetting', defineAsyncComponent(() => import("./widgets/BlockSetting.vue")))
|
|
537
|
-
app.component('BoxSetting', defineAsyncComponent(() => import("./widgets/BoxSetting.vue")))
|
|
538
|
-
app.component('ButtonSetting', defineAsyncComponent(() => import("./widgets/ButtonSetting.vue")))
|
|
539
|
-
app.component('CarouselSetting', defineAsyncComponent(() => import("./widgets/CarouselSetting.vue")))
|
|
540
|
-
app.component('CountdownSetting', defineAsyncComponent(() => import("./widgets/CountdownSetting.vue")))
|
|
541
|
-
app.component('ComponentSetting', defineAsyncComponent(() => import("./widgets/ComponentSetting.vue")))
|
|
542
|
-
app.component('ComponentSetting2', defineAsyncComponent(() => import("./widgets/ComponentSetting2.vue")))
|
|
543
|
-
app.component('ComponentSetting3', defineAsyncComponent(() => import("./widgets/ComponentSetting3.vue")))
|
|
544
|
-
app.component('ContactForm', defineAsyncComponent(() => import("./widgets/ContactForm.vue")))
|
|
545
|
-
app.component('ContactFormSetting', defineAsyncComponent(() => import("./widgets/ContactFormSetting.vue")))
|
|
546
|
-
app.component('EmbeddedVideo', defineAsyncComponent(() => import("./widgets/EmbeddedVideo.vue")))
|
|
547
|
-
app.component('EmbeddedVideoSetting', defineAsyncComponent(() => import("./widgets/EmbeddedVideoSetting.vue")))
|
|
548
|
-
app.component('FAQSetting', defineAsyncComponent(() => import("./widgets/FAQSetting.vue")))
|
|
549
|
-
app.component('FeatureList', defineAsyncComponent(() => import("./widgets/FeatureList.vue")))
|
|
550
|
-
app.component('FeatureListSetting', defineAsyncComponent(() => import("./widgets/FeatureListSetting.vue")))
|
|
551
|
-
app.component('BackgroundColorSetting', defineAsyncComponent(() => import("./widgets/BackgroundColorSetting.vue")))
|
|
552
|
-
app.component('BorderColorSetting', defineAsyncComponent(() => import("./widgets/BorderColorSetting.vue")))
|
|
553
|
-
app.component('FlexSetting', defineAsyncComponent(() => import("./widgets/FlexSetting.vue")))
|
|
554
|
-
app.component('GridSetting', defineAsyncComponent(() => import("./widgets/GridSetting.vue")))
|
|
555
|
-
app.component('Header', defineAsyncComponent(() => import("./widgets/Header.vue")))
|
|
556
|
-
app.component('Header0', defineAsyncComponent(() => import("./widgets/Header0.vue")))
|
|
557
|
-
app.component('Header2', defineAsyncComponent(() => import("./widgets/Header2.vue")))
|
|
558
|
-
app.component('HeaderSetting', defineAsyncComponent(() => import("./widgets/HeaderSetting.vue")))
|
|
559
|
-
app.component('Header0Setting', defineAsyncComponent(() => import("./widgets/Header0Setting.vue")))
|
|
560
|
-
app.component('Header2Setting', defineAsyncComponent(() => import("./widgets/Header2Setting.vue")))
|
|
561
|
-
app.component('IconList', defineAsyncComponent(() => import("./widgets/IconList.vue")))
|
|
562
|
-
app.component('IconListSetting', defineAsyncComponent(() => import("./widgets/IconListSetting.vue")))
|
|
563
|
-
app.component('LinkSetting', defineAsyncComponent(() => import("./widgets/LinkSetting.vue")))
|
|
564
|
-
app.component('ImageSetting', defineAsyncComponent(() => import("./widgets/ImageSetting.vue")))
|
|
565
|
-
app.component('MarginSetting', defineAsyncComponent(() => import("./widgets/MarginSetting.vue")))
|
|
566
|
-
app.component('MarginPaddingSetting', defineAsyncComponent(() => import("./widgets/MarginPaddingSetting.vue")))
|
|
567
|
-
app.component('MultiValueSetting', defineAsyncComponent(() => import("./widgets/MultiValueSetting.vue")))
|
|
568
|
-
app.component('MultiValueSetting2', defineAsyncComponent(() => import("./widgets/MultiValueSetting2.vue")))
|
|
569
|
-
app.component('PositionSetting', defineAsyncComponent(() => import("./widgets/PositionSetting.vue")))
|
|
570
|
-
app.component('PaddingSetting', defineAsyncComponent(() => import("./widgets/PaddingSetting.vue")))
|
|
571
|
-
app.component('ParagraphSetting', defineAsyncComponent(() => import("./widgets/ParagraphSetting.vue")))
|
|
572
|
-
app.component('Review', defineAsyncComponent(() => import("./widgets/Review.vue")))
|
|
573
|
-
app.component('ReviewSetting', defineAsyncComponent(() => import("./widgets/ReviewSetting.vue")))
|
|
574
|
-
app.component('Share', defineAsyncComponent(() => import("./widgets/Share.vue")))
|
|
575
|
-
app.component('ShareSetting', defineAsyncComponent(() => import("./widgets/ShareSetting.vue")))
|
|
576
|
-
app.component('StyleSetting', defineAsyncComponent(() => import("./widgets/StyleSetting.vue")))
|
|
577
|
-
app.component('StyleSetting2', defineAsyncComponent(() => import("./widgets/StyleSetting2.vue")))
|
|
578
|
-
app.component('TableSetting', defineAsyncComponent(() => import("./widgets/TableSetting.vue")))
|
|
579
|
-
app.component('ThumbnailSetting', defineAsyncComponent(() => import("./widgets/ThumbnailSetting.vue")))
|
|
580
|
-
app.component('TestimonialSetting', defineAsyncComponent(() => import("./widgets/TestimonialSetting.vue")))
|
|
581
|
-
app.component('TextBlockSetting', defineAsyncComponent(() => import("./widgets/TextBlockSetting.vue")))
|
|
582
|
-
app.component('WebPageBuilder', defineAsyncComponent(() => import("./widgets/WebPageBuilder.vue")))
|
|
583
|
-
app.component('WebPageBuilder2', defineAsyncComponent(() => import("./widgets/WebPageBuilder2.vue")))
|
|
584
|
-
app.component('WebPageBuilder3', defineAsyncComponent(() => import("./widgets/WebPageBuilder3.vue")))
|
|
585
|
-
app.component('WebPageBuilder4', defineAsyncComponent(() => import("./widgets/WebPageBuilder4.vue")))
|
|
586
|
-
app.component('WebPagePreview', defineAsyncComponent(() => import("./widgets/WebPagePreview.vue")))
|
|
587
|
-
app.component('WebComponentSelector', defineAsyncComponent(() => import("./widgets/WebComponentSelector.vue")))
|
|
588
|
-
app.component('WebDatasourceSelector', defineAsyncComponent(() => import("./widgets/WebDatasourceSelector.vue")))
|
|
589
|
-
app.component('WebPageSelector', defineAsyncComponent(() => import("./widgets/WebPageSelector.vue")))
|
|
590
|
-
app.component('WebLayoutSelector', defineAsyncComponent(() => import("./widgets/WebLayoutSelector.vue")))
|
|
591
|
-
app.component('WebTemplateCreator', defineAsyncComponent(() => import("./widgets/WebTemplateCreator.vue")))
|
|
592
|
-
app.component('ModalSetting', defineAsyncComponent(() => import("./widgets/ModalSetting.vue")))
|
|
593
|
-
app.component('DataListSetting', defineAsyncComponent(() => import("./widgets/DataListSetting.vue")))
|
|
594
|
-
app.component('YoutubeVideoSetting', defineAsyncComponent(() => import("./widgets/YoutubeVideoSetting.vue")))
|
|
595
|
-
app.component('SvgSetting', defineAsyncComponent(() => import("./widgets/SvgSetting.vue")))
|
|
596
|
-
app.component('PresetBar', defineAsyncComponent(() => import("./widgets/PresetBar.vue")))
|
|
597
|
-
app.component('PresetSelector', defineAsyncComponent(() => import("./widgets/PresetSelector.vue")))
|
|
598
|
-
app.component('PresetBarPivotColumnEdit', defineAsyncComponent(() => import("./widgets/PresetBarPivotColumnEdit.vue")))
|
|
599
|
-
app.component('LogViewer', defineAsyncComponent(() => import("./widgets/LogViewer.vue")))
|
|
600
|
-
app.component('ColumnSelector', defineAsyncComponent(() => import("./widgets/ColumnSelector.vue")))
|
|
601
|
-
app.component('ComponentPropertySelector', defineAsyncComponent(() => import("./widgets/ComponentPropertySelector.vue")))
|
|
602
|
-
app.component('ComponentPropertyLabel', defineAsyncComponent(() => import("./widgets/ComponentPropertyLabel.vue")))
|
|
603
|
-
app.component('LayoutSetting', defineAsyncComponent(() => import("./widgets/LayoutSetting.vue")))
|
|
604
|
-
app.component('BackgroundSetting', defineAsyncComponent(() => import("./widgets/BackgroundSetting.vue")))
|
|
605
|
-
app.component('BorderSetting', defineAsyncComponent(() => import("./widgets/BorderSetting.vue")))
|
|
606
|
-
app.component('TransitionSetting', defineAsyncComponent(() => import("./widgets/TransitionSetting.vue")))
|
|
607
|
-
app.component('EffectSetting', defineAsyncComponent(() => import("./widgets/EffectSetting.vue")))
|
|
608
|
-
app.component('SpacingSetting', defineAsyncComponent(() => import("./widgets/SpacingSetting.vue")))
|
|
609
|
-
app.component('SizingSetting', defineAsyncComponent(() => import("./widgets/SizingSetting.vue")))
|
|
610
|
-
app.component('TypographySetting', defineAsyncComponent(() => import("./widgets/TypographySetting.vue")))
|
|
611
|
-
app.component('FiltersSetting', defineAsyncComponent(() => import("./widgets/FiltersSetting.vue")))
|
|
612
|
-
app.component('MenuEditor', defineAsyncComponent(() => import("./widgets/MenuEditor.vue")))
|
|
613
|
-
app.component('Dashboard', defineAsyncComponent(() => import("./components/Dashboard.vue")))
|
|
614
|
-
app.component('Dashboard2', defineAsyncComponent(() => import("./components/Dashboard2.vue")))
|
|
615
|
-
app.component('Text', defineAsyncComponent(() => import("./components/Text.vue")))
|
|
616
|
-
app.component('MenuItem1', defineAsyncComponent(() => import("./components/MenuItem1.vue")))
|
|
617
|
-
app.component('MenuItem1Setting', defineAsyncComponent(() => import("./widgets/MenuItem1Setting.vue")))
|
|
618
|
-
app.component('CollapsiblePanel', defineAsyncComponent(() => import("./components/CollapsiblePanel.vue")))
|
|
619
|
-
app.component('CollapsiblePanelSetting', defineAsyncComponent(() => import("./widgets/CollapsiblePanelSetting.vue")))
|
|
620
|
-
app.component('VirtualTableSetting', defineAsyncComponent(() => import("./widgets/Dashboard/VirtualTableSetting.vue")))
|
|
621
|
-
|
|
622
|
-
app.component('Doughnut', defineAsyncComponent(() => import("./widgets/Dashboard/Doughnut.vue")))
|
|
623
|
-
app.component('Pie', defineAsyncComponent(() => import("./widgets/Dashboard/Pie.vue")))
|
|
624
|
-
app.component('PolarArea', defineAsyncComponent(() => import("./widgets/Dashboard/PolarArea.vue")))
|
|
625
|
-
app.component('Metric', defineAsyncComponent(() => import("./widgets/Dashboard/Metric.vue")))
|
|
626
|
-
app.component('BarChart', defineAsyncComponent(() => import("./widgets/Dashboard/BarChart.vue")))
|
|
627
|
-
app.component('DataTable', defineAsyncComponent(() => import("./widgets/Dashboard/DataTable.vue")))
|
|
628
|
-
|
|
629
|
-
app.component('BotEditor', defineAsyncComponent(() => import("./widgets/BotEditor.vue")))
|
|
630
|
-
|
|
631
|
-
app.component('AccountIcon', defineAsyncComponent(() => import("./components/AccountIcon.vue")))
|
|
632
|
-
app.component('CartIcon', defineAsyncComponent(() => import("./components/CartIcon.vue")))
|
|
633
|
-
|
|
634
|
-
app.component('SearchModal', defineAsyncComponent(() => import("./components/SearchModal.vue")))
|
|
635
|
-
app.component('SearchModalSetting', defineAsyncComponent(() => import("./widgets/SearchModalSetting.vue")))
|
|
636
|
-
|
|
637
|
-
app.component('404', defineAsyncComponent(() => import("./components/404.vue")))
|
|
638
|
-
app.component('Cart', defineAsyncComponent(() => import("./components/Cart.vue")))
|
|
639
|
-
app.component('CartSetting', defineAsyncComponent(() => import("./widgets/CartSetting.vue")))
|
|
640
|
-
|
|
641
|
-
app.component('Checkout', defineAsyncComponent(() => import("./components/Checkout.vue")))
|
|
642
|
-
app.component('CheckoutSetting', defineAsyncComponent(() => import("./widgets/CheckoutSetting.vue")))
|
|
643
|
-
app.component('TreeMenu', defineAsyncComponent(() => import("./components/TreeMenu.vue")))
|
|
644
|
-
app.component('MarkdownEdit', defineAsyncComponent(() => import("./components/MarkdownEdit.vue")))
|
|
645
|
-
app.component('MarkdownPreview', defineAsyncComponent(() => import("./components/MarkdownPreview.vue")))
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
function trimStrings(obj) {
|
|
2
|
-
for (const key in obj) {
|
|
3
|
-
if (typeof obj[key] === 'string') {
|
|
4
|
-
obj[key] = obj[key].trim();
|
|
5
|
-
} else if (typeof obj[key] === 'object') {
|
|
6
|
-
trimStrings(obj[key]);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
module.exports = async function(req, res, next){
|
|
12
|
-
|
|
13
|
-
if(req.query)
|
|
14
|
-
trimStrings(req.query)
|
|
15
|
-
|
|
16
|
-
if(req.body)
|
|
17
|
-
trimStrings(req.body)
|
|
18
|
-
|
|
19
|
-
next()
|
|
20
|
-
}
|