@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.
Files changed (398) hide show
  1. package/docs/components/AccountIcon.md +16 -0
  2. package/docs/components/Ahref.md +35 -0
  3. package/docs/components/Alert.md +72 -0
  4. package/docs/components/ArrayList.md +39 -0
  5. package/docs/components/Article.md +28 -0
  6. package/docs/components/BarChart.md +81 -0
  7. package/docs/components/Block.md +23 -0
  8. package/docs/components/Box.md +15 -0
  9. package/docs/components/Button.md +68 -0
  10. package/docs/components/Card.md +67 -0
  11. package/docs/components/Carousel.md +70 -0
  12. package/docs/components/Cart.md +20 -0
  13. package/docs/components/CartIcon.md +29 -0
  14. package/docs/components/Chart.md +53 -0
  15. package/docs/components/ChartBar.md +34 -0
  16. package/docs/components/ChatTyping.md +21 -0
  17. package/docs/components/Checkbox.md +63 -0
  18. package/docs/components/CodeEditor.md +25 -0
  19. package/docs/components/CollapsiblePanel.md +41 -0
  20. package/docs/components/ColorPicker.md +52 -0
  21. package/docs/components/Confirm.md +62 -0
  22. package/docs/components/ContextMenu.md +76 -0
  23. package/docs/components/ContextMenuItem.md +29 -0
  24. package/docs/components/CopyToClipboard.md +43 -0
  25. package/docs/components/Countdown.md +47 -0
  26. package/docs/components/Datepicker.md +61 -0
  27. package/docs/components/Datetimepicker.md +57 -0
  28. package/docs/components/DayTimeRange.md +20 -0
  29. package/docs/components/Dropdown.md +65 -0
  30. package/docs/components/ErrorText.md +15 -0
  31. package/docs/components/FBLogin.md +21 -0
  32. package/docs/components/Flex.md +44 -0
  33. package/docs/components/GHeatMaps.md +16 -0
  34. package/docs/components/GSignIn.md +21 -0
  35. package/docs/components/Gmaps.md +16 -0
  36. package/docs/components/GmapsDirection.md +20 -0
  37. package/docs/components/Grid.md +36 -0
  38. package/docs/components/HTMLEditor.md +26 -0
  39. package/docs/components/IconMenu.md +20 -0
  40. package/docs/components/Image.md +78 -0
  41. package/docs/components/Link.md +33 -0
  42. package/docs/components/MultiDropdown.md +46 -0
  43. package/docs/components/Radio.md +55 -0
  44. package/docs/components/Slider.md +47 -0
  45. package/docs/components/Switch.md +43 -0
  46. package/docs/components/Table.md +31 -0
  47. package/docs/components/Tabs.md +65 -0
  48. package/docs/components/Text.md +30 -0
  49. package/docs/components/Textarea.md +66 -0
  50. package/docs/components/Textbox.md +97 -0
  51. package/docs/components/Timepicker.md +62 -0
  52. package/docs/components/Toast.md +59 -0
  53. package/docs/components/Uploader.md +51 -0
  54. package/docs/components/Video.md +54 -0
  55. package/package.json +65 -2
  56. package/docs/components/Dashboard.md +0 -56
  57. package/docs/components/Header2.md +0 -16
  58. package/log.txt +0 -7
  59. package/public/assets/dashboard/bar.png +0 -0
  60. package/public/assets/dashboard/doughnut.png +0 -0
  61. package/public/assets/dashboard/metric.png +0 -0
  62. package/public/assets/dashboard/pie.png +0 -0
  63. package/public/assets/dashboard/polar-area.png +0 -0
  64. package/public/assets/dashboard/virtual-table.png +0 -0
  65. package/public/static/dashboard/bar.png +0 -0
  66. package/public/static/dashboard/doughnut.png +0 -0
  67. package/public/static/dashboard/metric.png +0 -0
  68. package/public/static/dashboard/pie.png +0 -0
  69. package/public/static/dashboard/polar-area.png +0 -0
  70. package/public/static/dashboard/virtual-table.png +0 -0
  71. package/src/components/404.vue +0 -61
  72. package/src/components/AccountIcon.vue +0 -19
  73. package/src/components/Ahref.vue +0 -200
  74. package/src/components/Alert.vue +0 -257
  75. package/src/components/ArrayList.vue +0 -49
  76. package/src/components/Article.vue +0 -387
  77. package/src/components/Block.vue +0 -31
  78. package/src/components/Box.vue +0 -34
  79. package/src/components/Button.vue +0 -258
  80. package/src/components/Card.vue +0 -257
  81. package/src/components/Carousel.vue +0 -364
  82. package/src/components/Cart.vue +0 -192
  83. package/src/components/CartIcon.vue +0 -89
  84. package/src/components/Chart.vue +0 -485
  85. package/src/components/ChartBar.vue +0 -192
  86. package/src/components/ChatTyping.vue +0 -69
  87. package/src/components/Checkbox.vue +0 -200
  88. package/src/components/Checkout.vue +0 -373
  89. package/src/components/CheckoutDelivery.vue +0 -267
  90. package/src/components/CodeEditor.vue +0 -50
  91. package/src/components/CollapsiblePanel.vue +0 -70
  92. package/src/components/ColorPicker.vue +0 -165
  93. package/src/components/ColorPicker2.vue +0 -186
  94. package/src/components/ColorPicker3.vue +0 -100
  95. package/src/components/Confirm.vue +0 -180
  96. package/src/components/ContextMenu.vue +0 -265
  97. package/src/components/ContextMenuItem.vue +0 -53
  98. package/src/components/ConversationBuilder.vue +0 -161
  99. package/src/components/CopyToClipboard.vue +0 -34
  100. package/src/components/Countdown.vue +0 -264
  101. package/src/components/DGrid.vue +0 -21
  102. package/src/components/DGridItem.vue +0 -263
  103. package/src/components/Dashboard.vue +0 -243
  104. package/src/components/Dashboard2.vue +0 -118
  105. package/src/components/DashboardComponentSelector.vue +0 -96
  106. package/src/components/DashboardConfigs.vue +0 -202
  107. package/src/components/DataList.vue +0 -92
  108. package/src/components/Datepicker.vue +0 -399
  109. package/src/components/DayTimeRange.vue +0 -126
  110. package/src/components/Dropdown.vue +0 -224
  111. package/src/components/ErrorText.vue +0 -57
  112. package/src/components/FBLogin.vue +0 -194
  113. package/src/components/Feed.vue +0 -118
  114. package/src/components/Flex.vue +0 -44
  115. package/src/components/GHeatMaps.vue +0 -317
  116. package/src/components/GSignIn.vue +0 -166
  117. package/src/components/Gmaps.vue +0 -251
  118. package/src/components/GmapsDirection.vue +0 -191
  119. package/src/components/Grid.vue +0 -35
  120. package/src/components/HTMLEditor.vue +0 -588
  121. package/src/components/IconMenu.vue +0 -95
  122. package/src/components/IconMenu2.vue +0 -89
  123. package/src/components/IconPlus.vue +0 -89
  124. package/src/components/Image.vue +0 -263
  125. package/src/components/Image360.vue +0 -140
  126. package/src/components/ImageFullScreen.vue +0 -101
  127. package/src/components/ImagePreview.vue +0 -93
  128. package/src/components/ImageUploader.vue +0 -114
  129. package/src/components/ImportModal.vue +0 -260
  130. package/src/components/Link.vue +0 -95
  131. package/src/components/List.vue +0 -1381
  132. package/src/components/ListContextMenu.vue +0 -88
  133. package/src/components/ListItem.vue +0 -160
  134. package/src/components/ListPage1.vue +0 -1401
  135. package/src/components/ListPage1Filter.vue +0 -170
  136. package/src/components/ListView.vue +0 -961
  137. package/src/components/ListViewBarSummary.vue +0 -81
  138. package/src/components/ListViewLineSummary.vue +0 -75
  139. package/src/components/ListViewLiveBarSummary.vue +0 -52
  140. package/src/components/ListViewMapSummary.vue +0 -56
  141. package/src/components/ListViewSettings.vue +0 -514
  142. package/src/components/ListViewTableSummary.vue +0 -77
  143. package/src/components/LogViewerItem.vue +0 -116
  144. package/src/components/MarkdownEdit.vue +0 -128
  145. package/src/components/MarkdownPreview.vue +0 -102
  146. package/src/components/MenuItem1.vue +0 -36
  147. package/src/components/Modal.vue +0 -456
  148. package/src/components/MultiDropdown.vue +0 -124
  149. package/src/components/MultilineText.vue +0 -174
  150. package/src/components/OTPField.vue +0 -139
  151. package/src/components/ObjectTree.vue +0 -105
  152. package/src/components/PageBuilder.vue +0 -449
  153. package/src/components/Paragraph.vue +0 -40
  154. package/src/components/PresetSelectorFilterItem.vue +0 -203
  155. package/src/components/Radio.vue +0 -109
  156. package/src/components/SearchModal.vue +0 -153
  157. package/src/components/Slider.vue +0 -317
  158. package/src/components/SplitPane.vue +0 -129
  159. package/src/components/Svg.vue +0 -33
  160. package/src/components/SvgEditor.vue +0 -173
  161. package/src/components/Switch.vue +0 -101
  162. package/src/components/TabView.vue +0 -105
  163. package/src/components/Table.vue +0 -56
  164. package/src/components/TableView.vue +0 -200
  165. package/src/components/TableViewHead.vue +0 -159
  166. package/src/components/Tabs.vue +0 -131
  167. package/src/components/Test.vue +0 -23
  168. package/src/components/Testimonial.vue +0 -86
  169. package/src/components/Text.vue +0 -34
  170. package/src/components/TextBlock.vue +0 -50
  171. package/src/components/TextEditor.vue +0 -85
  172. package/src/components/TextWithTag.vue +0 -298
  173. package/src/components/Textarea.vue +0 -184
  174. package/src/components/Textbox.vue +0 -216
  175. package/src/components/Thumbnail.vue +0 -27
  176. package/src/components/Timepicker.vue +0 -125
  177. package/src/components/Toast.vue +0 -117
  178. package/src/components/TreeMenu.vue +0 -122
  179. package/src/components/TreeView.vue +0 -106
  180. package/src/components/TreeView2.vue +0 -38
  181. package/src/components/TreeViewItem.vue +0 -453
  182. package/src/components/TreeViewItem1.vue +0 -282
  183. package/src/components/TreeViewItem2.vue +0 -55
  184. package/src/components/Uploader.vue +0 -45
  185. package/src/components/Video.vue +0 -119
  186. package/src/components/VirtualGrid.vue +0 -297
  187. package/src/components/VirtualScroll.vue +0 -282
  188. package/src/components/VirtualTable.vue +0 -956
  189. package/src/components/YoutubeVideo.vue +0 -196
  190. package/src/configs/dashboard/bar.js +0 -10
  191. package/src/configs/dashboard/collection-1.js +0 -5
  192. package/src/configs/dashboard/data-table.js +0 -9
  193. package/src/configs/dashboard/doughnut.js +0 -7
  194. package/src/configs/dashboard/gheatmaps.js +0 -9
  195. package/src/configs/dashboard/grid-2.js +0 -34
  196. package/src/configs/dashboard/grid-3.js +0 -34
  197. package/src/configs/dashboard/grid-4.js +0 -34
  198. package/src/configs/dashboard/grid.js +0 -15
  199. package/src/configs/dashboard/metric.js +0 -10
  200. package/src/configs/dashboard/pie.js +0 -7
  201. package/src/configs/dashboard/polar-area.js +0 -7
  202. package/src/configs/dashboard/virtual-table.js +0 -9
  203. package/src/configs/icons-fa.json +0 -12
  204. package/src/configs/web-page-builder.js +0 -118
  205. package/src/defs/dashboard-preset.js +0 -22
  206. package/src/directives/intersect.js +0 -26
  207. package/src/hooks/device.js +0 -14
  208. package/src/index.css +0 -3
  209. package/src/index.js +0 -648
  210. package/src/middleware/http/trim-string.js +0 -20
  211. package/src/mixin/component.js +0 -306
  212. package/src/mixin/ready-state.js +0 -37
  213. package/src/stores/components.js +0 -36
  214. package/src/stores/datasource.js +0 -11
  215. package/src/themes/default/index.js +0 -303
  216. package/src/utils/dashboard.js +0 -140
  217. package/src/utils/event-bus.js +0 -8
  218. package/src/utils/helpers.cjs +0 -635
  219. package/src/utils/helpers.js +0 -635
  220. package/src/utils/helpers.mjs +0 -722
  221. package/src/utils/importer.js +0 -209
  222. package/src/utils/list.mjs +0 -1509
  223. package/src/utils/listpage1.js +0 -1507
  224. package/src/utils/listview.js +0 -1287
  225. package/src/utils/preset-selector.cjs +0 -1455
  226. package/src/utils/preset-selector.js +0 -1452
  227. package/src/utils/preset-selector.mjs +0 -234
  228. package/src/utils/queue.js +0 -63
  229. package/src/utils/selection.js +0 -43
  230. package/src/utils/web.js +0 -50
  231. package/src/utils/web.mjs +0 -120
  232. package/src/utils/wss.js +0 -296
  233. package/src/utils/wss.mjs +0 -285
  234. package/src/widgets/AhrefSetting.vue +0 -97
  235. package/src/widgets/ArticleSetting.vue +0 -457
  236. package/src/widgets/BackgroundColorSetting.vue +0 -153
  237. package/src/widgets/BackgroundSetting.vue +0 -132
  238. package/src/widgets/BlockSetting.vue +0 -49
  239. package/src/widgets/BorderColorSetting.vue +0 -57
  240. package/src/widgets/BorderSetting.vue +0 -201
  241. package/src/widgets/BotEditor/BotEditorActions.vue +0 -163
  242. package/src/widgets/BotEditor/BotEditorSettings.vue +0 -21
  243. package/src/widgets/BotEditor.vue +0 -248
  244. package/src/widgets/BoxSetting.vue +0 -53
  245. package/src/widgets/ButtonSetting.vue +0 -113
  246. package/src/widgets/CarouselSetting.vue +0 -181
  247. package/src/widgets/CartSetting.vue +0 -46
  248. package/src/widgets/CheckoutSetting.vue +0 -46
  249. package/src/widgets/CollapsiblePanelSetting.vue +0 -46
  250. package/src/widgets/ColumnSelector.vue +0 -104
  251. package/src/widgets/ComponentPropertyLabel.vue +0 -35
  252. package/src/widgets/ComponentPropertySelector.vue +0 -115
  253. package/src/widgets/ComponentSetting.vue +0 -2220
  254. package/src/widgets/ComponentSetting2.vue +0 -927
  255. package/src/widgets/ComponentSetting3.vue +0 -231
  256. package/src/widgets/ContactForm.vue +0 -193
  257. package/src/widgets/ContactFormSetting.vue +0 -395
  258. package/src/widgets/CountdownSetting.vue +0 -76
  259. package/src/widgets/Dashboard/BarChart.vue +0 -366
  260. package/src/widgets/Dashboard/BarChartSetting.vue +0 -317
  261. package/src/widgets/Dashboard/DataTable.vue +0 -125
  262. package/src/widgets/Dashboard/DataTableSetting.vue +0 -243
  263. package/src/widgets/Dashboard/DatasourceFilterSharing.vue +0 -93
  264. package/src/widgets/Dashboard/DatasourcePreview.vue +0 -93
  265. package/src/widgets/Dashboard/DatasourceSelector.vue +0 -122
  266. package/src/widgets/Dashboard/Doughnut.vue +0 -199
  267. package/src/widgets/Dashboard/DoughnutSetting.vue +0 -196
  268. package/src/widgets/Dashboard/GHeatMapsSetting.vue +0 -108
  269. package/src/widgets/Dashboard/InteractionEdit.vue +0 -228
  270. package/src/widgets/Dashboard/Metric.vue +0 -135
  271. package/src/widgets/Dashboard/MetricSetting.vue +0 -227
  272. package/src/widgets/Dashboard/Pie.vue +0 -188
  273. package/src/widgets/Dashboard/PieSetting.vue +0 -247
  274. package/src/widgets/Dashboard/PolarArea.vue +0 -201
  275. package/src/widgets/Dashboard/PolarAreaSetting.vue +0 -195
  276. package/src/widgets/Dashboard/SharingModal.vue +0 -115
  277. package/src/widgets/Dashboard/ViewSelector.vue +0 -183
  278. package/src/widgets/Dashboard/VirtualColumnEdit.vue +0 -97
  279. package/src/widgets/Dashboard/VirtualTableSetting.vue +0 -171
  280. package/src/widgets/Dashboard0.vue +0 -1856
  281. package/src/widgets/DataListSetting.vue +0 -102
  282. package/src/widgets/EffectSetting.vue +0 -94
  283. package/src/widgets/EmbeddedVideo.vue +0 -60
  284. package/src/widgets/EmbeddedVideoSetting.vue +0 -50
  285. package/src/widgets/FAQ.vue +0 -98
  286. package/src/widgets/FAQSetting.vue +0 -94
  287. package/src/widgets/FeatureList.vue +0 -131
  288. package/src/widgets/FeatureListSetting.vue +0 -233
  289. package/src/widgets/FiltersSetting.vue +0 -88
  290. package/src/widgets/FlexSetting.vue +0 -174
  291. package/src/widgets/GridSetting.vue +0 -165
  292. package/src/widgets/Header.vue +0 -15
  293. package/src/widgets/Header0.vue +0 -41
  294. package/src/widgets/Header0Setting.vue +0 -75
  295. package/src/widgets/Header2.vue +0 -65
  296. package/src/widgets/Header2Setting.vue +0 -193
  297. package/src/widgets/HeaderSetting.vue +0 -102
  298. package/src/widgets/IconList.vue +0 -51
  299. package/src/widgets/IconListSetting.vue +0 -188
  300. package/src/widgets/ImageSetting.vue +0 -119
  301. package/src/widgets/LayoutSetting.vue +0 -251
  302. package/src/widgets/LinkSetting.vue +0 -209
  303. package/src/widgets/LinkSettingModal.vue +0 -173
  304. package/src/widgets/LogViewer.vue +0 -85
  305. package/src/widgets/MarginPaddingSetting.vue +0 -58
  306. package/src/widgets/MarginSetting.vue +0 -142
  307. package/src/widgets/MenuEditor.vue +0 -256
  308. package/src/widgets/MenuItem1Setting.vue +0 -78
  309. package/src/widgets/ModalSetting.vue +0 -94
  310. package/src/widgets/MultiValueSetting.vue +0 -121
  311. package/src/widgets/MultiValueSetting2.vue +0 -147
  312. package/src/widgets/OGSettingModal.vue +0 -103
  313. package/src/widgets/PaddingSetting.vue +0 -142
  314. package/src/widgets/ParagraphSetting.vue +0 -89
  315. package/src/widgets/PositionSetting.vue +0 -209
  316. package/src/widgets/PresetBar.vue +0 -990
  317. package/src/widgets/PresetBarPivot.vue +0 -198
  318. package/src/widgets/PresetBarPivotColumnEdit.vue +0 -197
  319. package/src/widgets/PresetSelector.vue +0 -685
  320. package/src/widgets/Review.vue +0 -131
  321. package/src/widgets/ReviewSetting.vue +0 -201
  322. package/src/widgets/SearchModalSetting.vue +0 -70
  323. package/src/widgets/Share.vue +0 -164
  324. package/src/widgets/ShareSetting.vue +0 -99
  325. package/src/widgets/SizingSetting.vue +0 -306
  326. package/src/widgets/SpacingSetting.vue +0 -77
  327. package/src/widgets/StyleSetting.vue +0 -543
  328. package/src/widgets/StyleSetting2.vue +0 -90
  329. package/src/widgets/SvgSetting.vue +0 -133
  330. package/src/widgets/TableSetting.vue +0 -172
  331. package/src/widgets/TestimonialSetting.vue +0 -161
  332. package/src/widgets/TextBlockSetting.vue +0 -81
  333. package/src/widgets/ThumbnailSetting.vue +0 -49
  334. package/src/widgets/TransitionSetting.vue +0 -64
  335. package/src/widgets/TypographySetting.vue +0 -334
  336. package/src/widgets/UserActionBuilder/UserActionCondition.vue +0 -99
  337. package/src/widgets/UserActionBuilder/UserActionConsole.vue +0 -97
  338. package/src/widgets/UserActionBuilder/UserActionItem.vue +0 -273
  339. package/src/widgets/UserActionBuilder/UserActionOutput.vue +0 -152
  340. package/src/widgets/UserActionBuilder/UserActionOutputDelay.vue +0 -27
  341. package/src/widgets/UserActionBuilder/UserActionOutputLog.vue +0 -28
  342. package/src/widgets/UserActionBuilder/UserActionOutputReply.vue +0 -112
  343. package/src/widgets/UserActionBuilder/UserActionProps.vue +0 -213
  344. package/src/widgets/UserActionBuilder.vue +0 -314
  345. package/src/widgets/WebComponentSelector.vue +0 -205
  346. package/src/widgets/WebDatasourceSelector.vue +0 -153
  347. package/src/widgets/WebLayoutSelector.vue +0 -147
  348. package/src/widgets/WebPageBuilder.vue +0 -2161
  349. package/src/widgets/WebPageBuilder2.vue +0 -1091
  350. package/src/widgets/WebPageBuilder3.vue +0 -411
  351. package/src/widgets/WebPageBuilder4/BackgroundColorSetting.vue +0 -54
  352. package/src/widgets/WebPageBuilder4/BackgroundPositionSetting.vue +0 -75
  353. package/src/widgets/WebPageBuilder4/BackgroundRepeatSetting.vue +0 -72
  354. package/src/widgets/WebPageBuilder4/BackgroundSizeSetting.vue +0 -72
  355. package/src/widgets/WebPageBuilder4/BlurSetting.vue +0 -72
  356. package/src/widgets/WebPageBuilder4/BorderColorSetting.vue +0 -64
  357. package/src/widgets/WebPageBuilder4/BorderRadiusSetting.vue +0 -75
  358. package/src/widgets/WebPageBuilder4/BorderSizeSetting.vue +0 -69
  359. package/src/widgets/WebPageBuilder4/BorderStyleSetting.vue +0 -72
  360. package/src/widgets/WebPageBuilder4/BoxShadowSetting.vue +0 -73
  361. package/src/widgets/WebPageBuilder4/ButtonSetting.vue +0 -65
  362. package/src/widgets/WebPageBuilder4/CarouselSetting.vue +0 -178
  363. package/src/widgets/WebPageBuilder4/DisplaySetting.vue +0 -76
  364. package/src/widgets/WebPageBuilder4/FlexAlignSetting.vue +0 -71
  365. package/src/widgets/WebPageBuilder4/FlexDirectionSetting.vue +0 -70
  366. package/src/widgets/WebPageBuilder4/FlexJustifySetting.vue +0 -74
  367. package/src/widgets/WebPageBuilder4/FlexPropertySetting.vue +0 -71
  368. package/src/widgets/WebPageBuilder4/FlexSetting.vue +0 -96
  369. package/src/widgets/WebPageBuilder4/FlexWrapSetting.vue +0 -69
  370. package/src/widgets/WebPageBuilder4/GapSetting.vue +0 -75
  371. package/src/widgets/WebPageBuilder4/GrayscaleSetting.vue +0 -68
  372. package/src/widgets/WebPageBuilder4/GridSetting.vue +0 -216
  373. package/src/widgets/WebPageBuilder4/HeightSetting.vue +0 -98
  374. package/src/widgets/WebPageBuilder4/ImageSetting.vue +0 -102
  375. package/src/widgets/WebPageBuilder4/MarginSetting.vue +0 -73
  376. package/src/widgets/WebPageBuilder4/MaxHeightSetting.vue +0 -82
  377. package/src/widgets/WebPageBuilder4/MaxWidthSetting.vue +0 -90
  378. package/src/widgets/WebPageBuilder4/MinHeightSetting.vue +0 -81
  379. package/src/widgets/WebPageBuilder4/MinWidthSetting.vue +0 -101
  380. package/src/widgets/WebPageBuilder4/MultiValueSetting.vue +0 -163
  381. package/src/widgets/WebPageBuilder4/OpacitySetting.vue +0 -77
  382. package/src/widgets/WebPageBuilder4/OverflowSetting.vue +0 -81
  383. package/src/widgets/WebPageBuilder4/PaddingSetting.vue +0 -57
  384. package/src/widgets/WebPageBuilder4/PositionSetting.vue +0 -191
  385. package/src/widgets/WebPageBuilder4/PropertySetting.vue +0 -176
  386. package/src/widgets/WebPageBuilder4/TextSetting.vue +0 -72
  387. package/src/widgets/WebPageBuilder4/TreeView.vue +0 -46
  388. package/src/widgets/WebPageBuilder4/TreeViewItem.vue +0 -303
  389. package/src/widgets/WebPageBuilder4/WebPageComponentSelector.vue +0 -141
  390. package/src/widgets/WebPageBuilder4/WebPagePropertySelector.vue +0 -172
  391. package/src/widgets/WebPageBuilder4/WidthSetting.vue +0 -105
  392. package/src/widgets/WebPageBuilder4/ZIndexSetting.vue +0 -72
  393. package/src/widgets/WebPageBuilder4.vue +0 -798
  394. package/src/widgets/WebPagePreview.vue +0 -295
  395. package/src/widgets/WebPageSelector.vue +0 -173
  396. package/src/widgets/WebTemplateCreator.vue +0 -156
  397. package/src/widgets/YoutubeVideoSetting.vue +0 -68
  398. package/tailwind.config.js +0 -481
@@ -1,228 +0,0 @@
1
- <template>
2
- <Modal :state="state"
3
- :hash="hash"
4
- ref="modal"
5
- width="400"
6
- height="480">
7
- <template v-slot:head>
8
- <div class="relative p-6">
9
- <h3>Add Interaction</h3>
10
- <div class="absolute top-0 right-0 p-2">
11
- <button type="button" class="p-2" @click="close">
12
- <svg width="24" height="24" viewBox="0 0 24 24" class="fill-text-300 hover:fill-red-500" xmlns="http://www.w3.org/2000/svg">
13
- <path d="M6.53034 5.46965C6.23745 5.17676 5.76257 5.17676 5.46968 5.46965C5.17679 5.76255 5.17679 6.23742 5.46968 6.53031L10.9393 12L5.46967 17.4697C5.17678 17.7626 5.17678 18.2374 5.46967 18.5303C5.76256 18.8232 6.23744 18.8232 6.53033 18.5303L12 13.0606L17.4697 18.5303C17.7626 18.8232 18.2375 18.8232 18.5303 18.5303C18.8232 18.2374 18.8232 17.7626 18.5303 17.4697L13.0607 12L18.5303 6.53032C18.8232 6.23743 18.8232 5.76256 18.5303 5.46966C18.2374 5.17677 17.7626 5.17677 17.4697 5.46966L12 10.9393L6.53034 5.46965Z"/>
14
- </svg>
15
- </button>
16
- </div>
17
- </div>
18
- </template>
19
- <template v-slot:foot>
20
- <div class="p-6">
21
- <Button class="w-[80px]" :state="canSave ? 1 : -1" @click="save">Save</Button>
22
- </div>
23
- </template>
24
- <div class="flex-1 p-6 flex flex-col gap-6">
25
-
26
- <div>
27
- <div class="flex flex-row gap-4">
28
- <div class="flex-1">
29
- <label class="text-text-400">Event</label>
30
- <Dropdown v-model="instance.event">
31
- <option value="click">Click</option>
32
- </Dropdown>
33
- </div>
34
-
35
- <div class="w-[100px]">
36
- <label class="text-text-400">Modifier</label>
37
- <Dropdown v-model="instance.eventModifier">
38
- <option value="">None</option>
39
- <option value="alt">Alt</option>
40
- <option value="shift">Shift</option>
41
- <option value="meta">Meta</option>
42
- </Dropdown>
43
- </div>
44
- </div>
45
- </div>
46
-
47
- <div>
48
- <label class="text-text-400">Action</label>
49
- <div>
50
- <Dropdown v-model="instance.action">
51
- <option disabled selected value="">Select Action</option>
52
- <option value="openDashboardPreset">Open Preset</option>
53
- </Dropdown>
54
- </div>
55
- </div>
56
-
57
- <div v-if="instance.action === 'openDashboardPreset'" class="flex flex-col gap-6">
58
-
59
- <div>
60
- <label class="text-text-400">Preset Name</label>
61
- <Dropdown v-model="instance.presetUid">
62
- <option disabled selected value="">Select Preset</option>
63
- <option v-for="preset in presets" :value="preset.uid">{{ preset.name }}</option>
64
- </Dropdown>
65
- </div>
66
-
67
- <div>
68
- <div class="flex flex-row items-center gap-2 mb-1">
69
- <label class="text-text-400 flex-1">Filters</label>
70
- <button type="button" @click="addFilter">
71
- <svg width="16" height="16" class="fill-primary" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.0.0-alpha3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M432 256C432 269.3 421.3 280 408 280h-160v160c0 13.25-10.75 24.01-24 24.01S200 453.3 200 440v-160h-160c-13.25 0-24-10.74-24-23.99C16 242.8 26.75 232 40 232h160v-160c0-13.25 10.75-23.99 24-23.99S248 58.75 248 72v160h160C421.3 232 432 242.8 432 256z"/></svg>
72
- </button>
73
- </div>
74
-
75
- <ListItem :items="filters"
76
- class="bg-transparent"
77
- @reorder="(from, to) => { filters.splice(to, 0, filters.splice(from, 1)[0]);}">
78
- <template v-slot="{ item, index }">
79
- <div class="flex flex-row items-start gap-3">
80
- <button type="button" @click="filters.splice(index, 1)" class="py-3">
81
- <svg width="16" height="16" class="fill-text-300 hover:fill-red-500" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"/></svg>
82
- </button>
83
- <div class="flex-1 flex flex-col gap-2">
84
- <div class="flex flex-row gap-2">
85
- <Dropdown v-model="item.datasourceUid" class="w-[120px]">
86
- <option disabled selected>Select Datasource</option>
87
- <option v-for="datasource in selectedPreset.datasource" :value="datasource.uid">
88
- {{ datasource.name }}
89
- </option>
90
- </Dropdown>
91
- </div>
92
-
93
- <div class="flex flex-row gap-2" v-if="!!(item.datasource = getDatasource(item.datasourceUid))">
94
-
95
- <Dropdown v-if="item.datasource.pivot?.enabled" v-model="item.key" class="w-[100px]">
96
- <option disabled selected>Select Key</option>
97
- <option v-for="column in item.datasource.pivot.columns" :value="column.key">{{ column.label }}</option>
98
- </Dropdown>
99
- <Dropdown v-else v-model="item.key" class="w-[100px]">
100
- <option disabled selected>Select Key</option>
101
- <option v-for="column in item.datasource.columns" :value="column.key">{{ column.label }}</option>
102
- </Dropdown>
103
-
104
- <div class="flex-1 flex flex-row gap-2">
105
- <Dropdown v-model="item.operator"
106
- class="w-[80px]">
107
- <option value="eq">Equal</option>
108
- <option value="not">Not Equal</option>
109
- <option value="startsWith">Starts With</option>
110
- <option value="endsWith">Ends With</option>
111
- <option value="contains">Contains</option>
112
- <option value="notContains">Not Contains</option>
113
- <option value="in">Multiple with comma</option>
114
- <option value="notIn">Except with comma</option>
115
- <option value="regex">Regex</option>
116
- </Dropdown>
117
-
118
- <TextWithTag :items="tags" v-model="item.value" class="flex-1" variant="minimal" />
119
- </div>
120
-
121
- </div>
122
- </div>
123
- </div>
124
- </template>
125
- </ListItem>
126
- </div>
127
-
128
- </div>
129
-
130
- </div>
131
- </Modal>
132
- </template>
133
-
134
- <script>
135
-
136
- import md5 from "md5";
137
-
138
- export default{
139
-
140
- emits: [ 'save' ],
141
-
142
- inject: [ 'getPresets', 'socket' ],
143
-
144
- computed: {
145
-
146
- canSave(){
147
- return this.instance.event && this.instance.action
148
- },
149
-
150
- filters(){
151
- if(!Array.isArray(this.instance.filters))
152
- this.instance.filters = []
153
- return this.instance.filters
154
- },
155
-
156
- presets(){
157
- return this.getPresets()
158
- },
159
-
160
- selectedPreset(){
161
- return this.presets.find(p => p.uid === this.instance.presetUid)
162
- }
163
-
164
- },
165
-
166
- props: {
167
- state: Boolean,
168
- hash: String
169
- },
170
-
171
- data(){
172
- return {
173
- instance: null,
174
- tags: [
175
- { text:"Segment", value:"{segment}" },
176
- { text:"Key", value:"{key}" },
177
- { text:"Value", value:"{value}" },
178
- ]
179
- }
180
- },
181
-
182
- methods: {
183
-
184
- addFilter(){
185
- const newFilter = {
186
- uid: md5('filter-' + new Date().getTime()),
187
- }
188
-
189
- this.filters.push(newFilter)
190
- },
191
-
192
- create(obj){
193
- this.instance = obj ?? {}
194
- this.instance.uid = md5('interaction-' + new Date().getTime())
195
- this.$refs.modal.open()
196
- },
197
-
198
- getDatasource(uid){
199
- return this.selectedPreset.datasource.find(d => d.uid === uid)
200
- },
201
-
202
- open(instance){
203
- this.instance = instance
204
- this.$refs.modal.open()
205
- },
206
-
207
- close(){
208
- this.$refs.modal.close()
209
- },
210
-
211
- save(){
212
- this.$emit('save', this.instance)
213
- this.close()
214
- },
215
-
216
- }
217
-
218
- }
219
-
220
- </script>
221
-
222
- <style module>
223
-
224
- .comp{
225
-
226
- }
227
-
228
- </style>
@@ -1,135 +0,0 @@
1
- <template>
2
- <div :class="$style.comp" v-if="metric">
3
- <label class="text-text-400 text-ellipsis overflow-hidden whitespace-nowrap">{{ label }}</label>
4
- <div class="flex flex-row items-end gap-2">
5
- <h1 v-if="readyState === 1" class="text-5xl text-ellipsis overflow-hidden whitespace-nowrap" :class="column2Enabled ? '' : 'text-green-600'">
6
- {{ metric.value }}
7
- </h1>
8
- <h1 v-else class="text-ellipsis overflow-hidden whitespace-nowrap text-text-300">
9
- Loading...
10
- </h1>
11
-
12
- <div class="flex flex-col">
13
- <div class=" text-ellipsis whitespace-nowrap overflow-hidden"
14
- :class="showPercentage ? '' : 'text-green-600'">
15
- {{ metric.comparedValue }}
16
- </div>
17
-
18
- <div class="text-sm text-ellipsis whitespace-nowrap overflow-hidden"
19
- :class="metric.comparedPercent <= 50 ? 'text-red-600' : 'text-green-600'">
20
- {{ metric.comparedPercent }}%
21
- </div>
22
- </div>
23
- </div>
24
- </div>
25
- </template>
26
-
27
- <script>
28
-
29
- import dayjs from "dayjs";
30
-
31
- export default{
32
-
33
- computed: {
34
-
35
- cValue(){
36
- if(!this.column) return 'N/A'
37
- const column = this.datasource?.columns.find(_ => _.key === this.column)
38
- return this.getValue(this.value?.value, column)
39
- },
40
-
41
- ccValue(){
42
- if(!this.column2Enabled) return
43
- if(!this.value?.comparedValue) return
44
-
45
- const column = this.datasource?.columns.find(_ => _.key === this.column2)
46
- return this.getValue(this.value?.comparedValue, column)
47
- },
48
-
49
- datasource(){
50
- const preset = this.getViewedPreset()
51
- if(preset){
52
- return preset.datasource.find(_ => _.uid === this.datasourceUid)
53
- }
54
- }
55
-
56
- },
57
-
58
- data(){
59
- return {
60
- metric: null,
61
- readyState: 1,
62
- }
63
- },
64
-
65
- inject: [ 'getController', 'getViewedPreset', 'getQueryFilters', 'socket' ],
66
-
67
- props: {
68
-
69
- label: String,
70
-
71
- column: String,
72
- columnModifier: String,
73
-
74
- column2: String,
75
- column2Enabled: [ Boolean, Number ],
76
- column2Modifier: String,
77
-
78
- datasourceUid: String,
79
-
80
- showPercentage: [ Number, Boolean ],
81
-
82
- uid: String
83
-
84
- },
85
-
86
- methods: {
87
-
88
- getValue(val, column){
89
- let value
90
-
91
- switch(column?.type){
92
-
93
- case 'date':
94
- value = dayjs(val).format('D MMM')
95
- break
96
-
97
- default:
98
- value = parseFloat(val)
99
- value = isNaN(value) ?
100
- 'N/A' :
101
- value.toLocaleString()
102
- }
103
-
104
- return value
105
- },
106
-
107
- load(){
108
-
109
- this.readyState = 2
110
- this.socket.send(`${this.getController()}.load-metric`, {})
111
- .then(metric => {
112
- this.metric = metric
113
- })
114
- .finally(_ => this.readyState = 1)
115
-
116
- },
117
-
118
- },
119
-
120
- mounted() {
121
- this.load()
122
- }
123
-
124
- }
125
-
126
- </script>
127
-
128
- <style module>
129
-
130
- .comp{
131
- @apply border-[1px] border-border-50 bg-base-500 rounded-xl overflow-hidden;
132
- @apply p-3 flex flex-col gap-1;
133
- }
134
-
135
- </style>
@@ -1,227 +0,0 @@
1
- <template>
2
- <div class="flex flex-col gap-8 p-6">
3
-
4
- <div class="flex flex-row items-center" @click="log(value)">
5
- <label class="flex-1">Active</label>
6
- <Switch v-model="value.props.enabled" :readonly="readonly" @change="$emit('change')" />
7
- </div>
8
-
9
- <div class="flex flex-col gap-1">
10
- <div class="flex flex-row gap-2">
11
- <label class="flex-1">Datasource</label>
12
- <button type="button" class="text-primary"
13
- @click="previewDatasource(selectedDatasource)">Preview</button>
14
- </div>
15
- <Dropdown class="min-w-[150px]"
16
- :readonly="readonly"
17
- v-model="value.props.datasourceUid"
18
- @change="delete value.props.columns;$emit('change')">
19
- <option v-for="obj in datasource"
20
- :value="obj.uid">
21
- {{ obj.name }}
22
- </option>
23
- </Dropdown>
24
- </div>
25
-
26
- <div class="flex flex-col gap-1">
27
- <label class="flex-1">Label</label>
28
- <Textbox v-model="value.props.label"
29
- maxlength="30"
30
- placeholder="Label"
31
- :readonly="readonly" />
32
- </div>
33
-
34
- <div v-if="value.props.datasourceUid" class="flex flex-col gap-8">
35
- <div class="flex flex-col gap-1">
36
- <label class="flex-1">Column</label>
37
- <div class="flex flex-row gap-2">
38
- <Dropdown class="w-[125px]"
39
- :readonly="readonly"
40
- v-model="value.props.columnModifier"
41
- @change="$emit('change')">
42
- <option value="count">Count</option>
43
- <option value="countDistinct">Unique Count</option>
44
- <option value="sum">Sum</option>
45
- <option value="avg">Avg</option>
46
- <option value="min">Min</option>
47
- <option value="max">Max</option>
48
- <option value="first">First</option>
49
- <option value="last">Last</option>
50
- </Dropdown>
51
-
52
- <Dropdown class="min-w-[150px] flex-1"
53
- :readonly="readonly"
54
- v-model="value.props.column"
55
- @change="$emit('change')">
56
- <option v-for="column in selectedDatasourceColumns"
57
- :value="column.key">
58
- {{ selectedDatasource.pivot?.enabled ? column.key : column.label }}
59
- </option>
60
- </Dropdown>
61
- </div>
62
- </div>
63
-
64
- <div class="flex flex-col gap-2">
65
- <div>
66
- <Checkbox v-model="value.props.column2Enabled" :disabled="readonly">
67
- Compare to
68
- </Checkbox>
69
- </div>
70
- <div class="flex flex-row gap-2">
71
- <Dropdown class="w-[125px]"
72
- :readonly="readonly || !value.props.column2Enabled"
73
- v-model="value.props.column2Modifier"
74
- @change="$emit('change')">
75
- <option value="count">Count</option>
76
- <option value="countDistinct">Unique Count</option>
77
- <option value="sum">Sum</option>
78
- <option value="avg">Avg</option>
79
- <option value="min">Min</option>
80
- <option value="max">Max</option>
81
- <option value="first">First</option>
82
- <option value="last">Last</option>
83
- </Dropdown>
84
-
85
- <Dropdown class="min-w-[150px] flex-1"
86
- :readonly="readonly || !value.props.column2Enabled"
87
- v-model="value.props.column2"
88
- @change="$emit('change')">
89
- <option v-for="column in selectedDatasourceColumns"
90
- :value="column.key">
91
- {{ selectedDatasource.pivot?.enabled ? column.key : column.label }}
92
- </option>
93
- </Dropdown>
94
- </div>
95
- </div>
96
-
97
- <div class="flex flex-col gap-2" v-if="canShowPercentage">
98
- <div>
99
- <Checkbox v-model="value.props.showPercentage" :disabled="readonly">
100
- Show Percentage
101
- </Checkbox>
102
- </div>
103
- <div class="flex flex-row gap-2">
104
- <Dropdown class="w-full"
105
- :readonly="readonly || !value.props.column2Enabled"
106
- v-model="value.props.showPercentageOpt"
107
- @change="$emit('change')">
108
- <option v-for="arr in showPercentageOptValues" :value="arr[0]">{{ arr[1] }}</option>
109
- </Dropdown>
110
- </div>
111
- </div>
112
-
113
- <div v-if="value.props.column2Enabled && !readonly" class="flex justify-center p-3">
114
- <button type="button" class="text-primary" @click="swap">
115
- <svg width="14" height="14" class="fill-primary inline" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.0.0-alpha3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M449.9 39.96l-48.5 48.53C362.5 53.19 311.4 32 256 32C161.5 32 78.59 92.34 49.58 182.2c-5.438 16.81 3.797 34.88 20.61 40.28c16.97 5.5 34.86-3.812 40.3-20.59C130.9 138.5 189.4 96 256 96c37.96 0 73 14.18 100.2 37.8L311.1 178C295.1 194.8 306.8 223.4 330.4 224h146.9C487.7 223.7 496 215.3 496 204.9V59.04C496 34.99 466.9 22.95 449.9 39.96zM441.8 289.6c-16.94-5.438-34.88 3.812-40.3 20.59C381.1 373.5 322.6 416 256 416c-37.96 0-73-14.18-100.2-37.8L200 334C216.9 317.2 205.2 288.6 181.6 288H34.66C24.32 288.3 16 296.7 16 307.1v145.9c0 24.04 29.07 36.08 46.07 19.07l48.5-48.53C149.5 458.8 200.6 480 255.1 480c94.45 0 177.4-60.34 206.4-150.2C467.9 313 458.6 294.1 441.8 289.6z"/></svg>
116
- Swap
117
- </button>
118
- </div>
119
- </div>
120
-
121
- </div>
122
- </template>
123
-
124
- <script>
125
-
126
- export default{
127
-
128
- computed: {
129
-
130
- column1(){
131
- if(!this.value || !this.value.props.column) return
132
- return this.selectedDatasource.columns.find(_ => _.key === this.value.props.column)
133
- },
134
-
135
- column2(){
136
- if(!this.value || !this.value.props.column2) return
137
- return this.selectedDatasource.columns.find(_ => _.key === this.value.props.column2)
138
- },
139
-
140
- canShowPercentage(){
141
- return this.column1 && this.column2 && this.column1.type === this.column2.type
142
- },
143
-
144
- selectedDatasource(){
145
- //return this.datasource.find(d => d.uid === this.value.props.datasourceUid)
146
- },
147
-
148
- showPercentageOptValues(){
149
- if(!this.canShowPercentage) return
150
-
151
- switch(this.column1.type){
152
-
153
- case 'date':
154
- return [
155
- [ 'day', 'Day' ],
156
- [ 'hour', 'Hour' ],
157
- [ 'minute', 'Minute' ],
158
- [ 'month', 'Month' ],
159
- [ 'week', 'Week' ],
160
- [ 'year', 'Year' ],
161
- ]
162
-
163
- case 'number':
164
- default:
165
- return [
166
- [ 'percentage', 'Percentage' ],
167
- [ 'number', 'Number' ],
168
- ]
169
-
170
- }
171
- },
172
-
173
- selectedDatasourceColumns(){
174
- if(!this.selectedDatasource) return []
175
-
176
- return this.selectedDatasource.pivot?.enabled ?
177
- this.selectedDatasource.pivot.columns :
178
- [
179
- ...(this.selectedDatasource.computedColumns ?? []),
180
- ...this.selectedDatasource.columns
181
- ]
182
- },
183
-
184
- },
185
-
186
- emits: [ 'change' ],
187
-
188
- inject: [ 'previewDatasource' ],
189
-
190
- methods: {
191
-
192
- swap(){
193
- const props = {
194
- column: this.value.props.column2,
195
- columnModifier: this.value.props.column2Modifier,
196
- column2: this.value.props.column,
197
- column2Modifier: this.value.props.columnModifier,
198
- }
199
-
200
- Object.assign(this.value.props, props)
201
-
202
- this.$emit('change')
203
- }
204
-
205
- },
206
-
207
- props: {
208
-
209
- datasource: Object,
210
-
211
- readonly: [ Boolean, Number ],
212
-
213
- value: Object
214
-
215
- }
216
-
217
- }
218
-
219
- </script>
220
-
221
- <style module>
222
-
223
- .comp{
224
-
225
- }
226
-
227
- </style>