@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,216 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
-
4
- <div class="flex flex-row items-center">
5
- <label class="flex-1">Active</label>
6
- <Switch v-model="value.props.enabled" :readonly="readonly" />
7
- </div>
8
-
9
- <div class="flex flex-col gap-1">
10
- <label class="flex-1">Label</label>
11
- <Textbox v-model="value.props.label"
12
- maxlength="30"
13
- placeholder="Label"
14
- :readonly="readonly"
15
- @keyup.enter="$emit('change')"
16
- @blur="$emit('change')" />
17
- </div>
18
-
19
- <div class="grid grid-cols-3 gap-3">
20
- <div>
21
- <label class="flex-1">Columns</label>
22
- <Dropdown v-for="(_, idx) in viewTypes"
23
- v-show="viewType === _.value"
24
- v-model="columns[idx]"
25
- :readonly="readonly">
26
- <option value="">Default</option>
27
- <option v-for="i in 12" :value="`${viewType}grid-cols-${i}`">{{ i }}</option>
28
- <option :value="`${viewType}grid-cols-none`">None</option>
29
- </Dropdown>
30
- </div>
31
-
32
- <div>
33
- <label class="flex-1">Rows</label>
34
- <Dropdown v-for="(_, idx) in viewTypes"
35
- v-show="viewType === _.value"
36
- v-model="rows[idx]"
37
- :readonly="readonly">
38
- <option value="">Default</option>
39
- <option v-for="i in 12" :value="`${viewType}grid-rows-${i}`">{{ i }}</option>
40
- <option :value="`${viewType}grid-rows-none`">None</option>
41
- </Dropdown>
42
- </div>
43
-
44
- <div>
45
- <label class="flex-1">Gap</label>
46
- <Dropdown v-for="(_, idx) in viewTypes"
47
- v-show="viewType === _.value"
48
- v-model="gap[idx]"
49
- :readonly="readonly">
50
- <option value="">Not Set</option>
51
- <option :value="`${viewType}gap-0`">0</option>
52
- <option :value="`${viewType}gap-1`">1</option>
53
- <option :value="`${viewType}gap-2`">2</option>
54
- <option :value="`${viewType}gap-3`">3</option>
55
- <option :value="`${viewType}gap-4`">4</option>
56
- <option :value="`${viewType}gap-5`">5</option>
57
- <option :value="`${viewType}gap-6`">6</option>
58
- <option :value="`${viewType}gap-7`">7</option>
59
- <option :value="`${viewType}gap-8`">8</option>
60
- </Dropdown>
61
- </div>
62
- </div>
63
-
64
- <div class="grid grid-cols-2 gap-3">
65
- <div>
66
- <label class="flex-1">Align Items</label>
67
- <Dropdown v-for="(_, idx) in viewTypes"
68
- v-show="viewType === _.value"
69
- v-model="alignItems[idx]"
70
- :readonly="readonly">
71
- <option value="">Default</option>
72
- <option :value="`${viewType}items-start`">Start</option>
73
- <option :value="`${viewType}items-end`">End</option>
74
- <option :value="`${viewType}items-center`">Center</option>
75
- <option :value="`${viewType}items-baseline`">Baseline</option>
76
- <option :value="`${viewType}items-stretch`">Stretch</option>
77
- </Dropdown>
78
- </div>
79
-
80
- <div>
81
- <label class="flex-1">Justify Content</label>
82
- <Dropdown v-for="(_, idx) in viewTypes"
83
- v-show="viewType === _.value"
84
- v-model="justifyContent[idx]"
85
- :readonly="readonly">
86
- <option value="">Default</option>
87
- <option :value="`${viewType}justify-normal`">Normal</option>
88
- <option :value="`${viewType}justify-start`">Start</option>
89
- <option :value="`${viewType}justify-end`">End</option>
90
- <option :value="`${viewType}justify-center`">Center</option>
91
- <option :value="`${viewType}justify-between`">Between</option>
92
- <option :value="`${viewType}justify-around`">Around</option>
93
- <option :value="`${viewType}justify-evenly`">Evenly</option>
94
- <option :value="`${viewType}justify-stretch`">Stretch</option>
95
- </Dropdown>
96
- </div>
97
- </div>
98
-
99
- <div class="grid grid-cols-2 gap-3">
100
- <div>
101
- <label class="flex-1">Col Span</label>
102
- <Dropdown v-for="(_, idx) in viewTypes"
103
- v-show="viewType === _.value"
104
- v-model="colSpan[idx]"
105
- :readonly="readonly">
106
- <option value="">Default</option>
107
- <option v-for="i in 12" :value="`${viewType}col-span-${i}`">{{ i }}</option>
108
- </Dropdown>
109
- </div>
110
-
111
- <div>
112
- <label class="flex-1">Row Span</label>
113
- <Dropdown v-for="(_, idx) in viewTypes"
114
- v-show="viewType === _.value"
115
- v-model="rowSpan[idx]"
116
- :readonly="readonly">
117
- <option value="">Default</option>
118
- <option v-for="i in 12" :value="`${viewType}row-span-${i}`">{{ i }}</option>
119
- </Dropdown>
120
- </div>
121
- </div>
122
-
123
- </div>
124
- </template>
125
-
126
- <script>
127
-
128
- import {defineAsyncComponent} from "vue";
129
-
130
- export default{
131
- components: {
132
- MarginSetting: defineAsyncComponent(() => import('./MarginSetting.vue')),
133
- PaddingSetting: defineAsyncComponent(() => import('./PaddingSetting.vue'))
134
- },
135
-
136
- inject: [ 'uploadImage', 'viewTypes' ],
137
-
138
- props: {
139
-
140
- value: {
141
- type: Object,
142
- required: true
143
- },
144
-
145
- index: Number,
146
-
147
- readonly: [ Boolean, Number ],
148
-
149
- viewType: String,
150
-
151
- },
152
-
153
- computed: {
154
-
155
- columns(){
156
- if(!Array.isArray(this.value.props.columns) || this.value.props.columns.length < 1)
157
- this.value.props.columns = [ '' ]
158
- return this.value.props.columns
159
- },
160
-
161
- gap(){
162
- if(!Array.isArray(this.value.props.gap))
163
- this.value.props.gap = [ 'gap-2' ]
164
-
165
- return this.value.props.gap
166
- },
167
-
168
- rows(){
169
- if(!Array.isArray(this.value.props.rows) || this.value.props.rows.length < 1)
170
- this.value.props.rows = [ '' ]
171
- return this.value.props.rows
172
- },
173
-
174
- alignItems(){
175
- if(!Array.isArray(this.value.props.alignItems) || this.value.props.alignItems.length < 1)
176
- this.value.props.alignItems = [ '' ]
177
- return this.value.props.alignItems
178
- },
179
-
180
- justifyContent(){
181
- if(!Array.isArray(this.value.props.justifyContent) || this.value.props.justifyContent.length < 1)
182
- this.value.props.justifyContent = [ '' ]
183
- return this.value.props.justifyContent
184
- },
185
-
186
- colSpan(){
187
- if(!Array.isArray(this.value.props.colSpan) || this.value.props.colSpan.length < 1)
188
- this.value.props.colSpan = [ '' ]
189
- return this.value.props.colSpan
190
- },
191
-
192
- rowSpan(){
193
- if(!Array.isArray(this.value.props.rowSpan) || this.value.props.rowSpan.length < 1)
194
- this.value.props.rowSpan = [ '' ]
195
- return this.value.props.rowSpan
196
- },
197
-
198
- },
199
-
200
- data(){
201
- return {
202
- image: null
203
- }
204
- }
205
-
206
- }
207
-
208
- </script>
209
-
210
- <style module>
211
-
212
- .comp{
213
- @apply flex flex-col gap-6 p-6;
214
- }
215
-
216
- </style>
@@ -1,98 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
- <div class="flex flex-row items-center">
4
- <label class="flex-1">Height</label>
5
- <Dropdown v-model="height[index]"
6
- :readonly="readonly">
7
- <option value="">Unset</option>
8
- <option v-for="value in values" :value="`${viewType}${value[0]}`">
9
- {{ value[1] }}
10
- </option>
11
- </Dropdown>
12
- </div>
13
- </div>
14
- </template>
15
-
16
- <script>
17
-
18
- export default{
19
-
20
- inject: [ 'viewTypes' ],
21
-
22
- props: {
23
-
24
- index: {
25
- type: Number,
26
- required: true
27
- },
28
-
29
- readonly: [ Boolean, Number ],
30
-
31
- value: {
32
- type: Object,
33
- required: true
34
- },
35
-
36
- viewType: {
37
- type: String,
38
- required: true
39
- },
40
-
41
- },
42
-
43
- computed: {
44
-
45
- height(){
46
- if(!Array.isArray(this.value.props.height))
47
- this.value.props.height = this.viewTypes.map(_ => '')
48
- return this.value.props.height
49
- }
50
-
51
- },
52
-
53
- data(){
54
- return {
55
- values: [
56
- [ 'h-1', '1' ],
57
- [ 'h-2', '2' ],
58
- [ 'h-3', '3' ],
59
- [ 'h-4', '4' ],
60
- [ 'h-5', '5' ],
61
- [ 'h-6', '6' ],
62
- [ 'h-7', '7' ],
63
- [ 'h-8', '8' ],
64
- [ 'h-9', '9' ],
65
- [ 'h-10', '10' ],
66
- [ 'h-11', '11' ],
67
- [ 'h-12', '12' ],
68
- [ 'h-14', '14' ],
69
- [ 'h-16', '16' ],
70
- [ 'h-20', '20' ],
71
- [ 'h-24', '24' ],
72
- [ 'h-32', '32' ],
73
- [ 'h-36', '36' ],
74
- [ 'h-48', '48' ],
75
- [ 'h-[10vh]', '10vh' ],
76
- [ 'h-[20vh]', '20vh' ],
77
- [ 'h-[30vh]', '30vh' ],
78
- [ 'h-[40vh]', '40vh' ],
79
- [ 'h-[50vh]', '50vh' ],
80
- [ 'h-[60vh]', '60vh' ],
81
- [ 'h-[70vh]', '70vh' ],
82
- [ 'h-[80vh]', '80vh' ],
83
- [ 'h-[90vh]', '90vh' ],
84
- [ 'h-[100vh]', '100vh' ]
85
- ]
86
- }
87
- }
88
-
89
- }
90
-
91
- </script>
92
-
93
- <style module>
94
-
95
- .comp{
96
- }
97
-
98
- </style>
@@ -1,102 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
- <strong>Image Setting</strong>
4
-
5
- <div>
6
- <div class="flex flex-row items-center gap-2">
7
- <label class="flex-1">Src</label>
8
- <button v-if="src[index]"
9
- type="button"
10
- class="text-primary"
11
- @click="$refs.image.edit()">
12
- Change
13
- </button>
14
- </div>
15
- <Image class="mt-1 w-full max-w-[120px] min-h-[100px] bg-text-50 rounded-lg flex"
16
- :src="src[index]"
17
- :editable="true"
18
- ref="image"
19
- @change="(_, file) => uploadImage(file).then(res => src[index] = res.url)">
20
- <template #empty>
21
- <div class="flex-1 flex items-center justify-center">
22
- <button type="button"
23
- @click="$refs.image.edit()">
24
- <svg width="19" height="19" class="fill-text-300 hover:fill-primary" 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="M447.1 32h-384C28.64 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM111.1 96c26.51 0 48 21.49 48 48S138.5 192 111.1 192s-48-21.49-48-48S85.48 96 111.1 96zM446.1 407.6C443.3 412.8 437.9 416 432 416H82.01c-6.021 0-11.53-3.379-14.26-8.75c-2.73-5.367-2.215-11.81 1.334-16.68l70-96C142.1 290.4 146.9 288 152 288s9.916 2.441 12.93 6.574l32.46 44.51l93.3-139.1C293.7 194.7 298.7 192 304 192s10.35 2.672 13.31 7.125l128 192C448.6 396 448.9 402.3 446.1 407.6z"/></svg>
25
- </button>
26
- </div>
27
- </template>
28
-
29
- <template #error>
30
- <div class="flex-1 flex items-center justify-center">
31
- <button type="button"
32
- @click="$refs.image.edit()">
33
- <svg width="19" height="19" class="fill-text-300 hover:fill-primary" 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="M447.1 32h-384C28.64 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM111.1 96c26.51 0 48 21.49 48 48S138.5 192 111.1 192s-48-21.49-48-48S85.48 96 111.1 96zM446.1 407.6C443.3 412.8 437.9 416 432 416H82.01c-6.021 0-11.53-3.379-14.26-8.75c-2.73-5.367-2.215-11.81 1.334-16.68l70-96C142.1 290.4 146.9 288 152 288s9.916 2.441 12.93 6.574l32.46 44.51l93.3-139.1C293.7 194.7 298.7 192 304 192s10.35 2.672 13.31 7.125l128 192C448.6 396 448.9 402.3 446.1 407.6z"/></svg>
34
- </button>
35
- </div>
36
- </template>
37
- </Image>
38
- </div>
39
-
40
- <div>
41
- <label>Alt</label>
42
- <Textbox v-model="value.props.alt" rows="3" ref="alt" />
43
- </div>
44
-
45
- <PropertySetting :value="value" :index="index" :viewType="viewType" />
46
-
47
- </div>
48
- </template>
49
-
50
- <script>
51
-
52
- import {defineAsyncComponent} from "vue";
53
-
54
- export default{
55
- components: {
56
- PropertySetting: defineAsyncComponent(() => import('./PropertySetting.vue'))
57
- },
58
-
59
- computed: {
60
-
61
- src(){
62
- if(!Array.isArray(this.value.props.src))
63
- this.value.props.src = this.viewTypes.map(_ => '')
64
- return this.value.props.src
65
- }
66
-
67
- },
68
-
69
- data(){
70
- return {
71
- image: null
72
- }
73
- },
74
-
75
- inject: [ 'uploadImage', 'viewTypes' ],
76
-
77
- name: 'ImageSetting',
78
-
79
- props: {
80
-
81
- index: Number,
82
-
83
- value: {
84
- type: Object,
85
- required: true
86
- },
87
-
88
- viewType: String,
89
-
90
- },
91
-
92
- }
93
-
94
- </script>
95
-
96
- <style module>
97
-
98
- .comp{
99
- @apply flex flex-col gap-8;
100
- }
101
-
102
- </style>
@@ -1,73 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
- <div class="flex flex-row">
4
- <label class="flex-1">Margin</label>
5
- <MultiValueSetting :keys="keys"
6
- :values="values"
7
- class="items-end"
8
- item-class="max-w-[40px]"
9
- v-model="margin[index]"
10
- :prefix="viewType"
11
- :readonly="readonly" />
12
- </div>
13
- </div>
14
- </template>
15
-
16
- <script>
17
-
18
- import MultiValueSetting from "./MultiValueSetting.vue";
19
-
20
- export default{
21
- components: {MultiValueSetting},
22
-
23
- inject: [ 'viewTypes' ],
24
-
25
- props: {
26
-
27
- value: {
28
- type: Object,
29
- required: true
30
- },
31
-
32
- index: Number,
33
-
34
- readonly: [ Boolean, Number ],
35
-
36
- viewType: String,
37
-
38
- },
39
-
40
- computed: {
41
-
42
- margin(){
43
- if(!Array.isArray(this.value.props.margin))
44
- this.value.props.margin = this.viewTypes.map(_ => '')
45
- return this.value.props.margin
46
- },
47
-
48
- values(){
49
- return [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, [ 'auto', 'Auto' ] ]
50
- }
51
-
52
- },
53
-
54
- data(){
55
- return {
56
- keys: [
57
- [ 'm-' ],
58
- [ 'mx-', 'my-' ],
59
- [ 'ml-', 'mt-', 'mr-', 'mb-' ]
60
- ]
61
- }
62
- }
63
-
64
- }
65
-
66
- </script>
67
-
68
- <style module>
69
-
70
- .comp{
71
- }
72
-
73
- </style>
@@ -1,82 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
- <div class="flex flex-row items-center">
4
- <label class="flex-1">Max Height</label>
5
- <Dropdown v-model="maxHeight[index]">
6
- <option value="">Unset</option>
7
- <option v-for="value in values" :value="`${viewType}${value[0]}`">
8
- {{ value[1] }}
9
- </option>
10
- </Dropdown>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
-
17
- export default{
18
-
19
- inject: [ 'viewTypes' ],
20
-
21
- props: {
22
-
23
- index: {
24
- type: Number,
25
- required: true
26
- },
27
-
28
- value: {
29
- type: Object,
30
- required: true
31
- },
32
-
33
- viewType: {
34
- type: String,
35
- required: true
36
- },
37
-
38
- },
39
-
40
- computed: {
41
-
42
- maxHeight(){
43
- if(!Array.isArray(this.value.props.maxHeight))
44
- this.value.props.maxHeight = this.viewTypes.map(_ => '')
45
- return this.value.props.maxHeight
46
- }
47
-
48
- },
49
-
50
- data(){
51
- return {
52
- values: [
53
- [ 'max-h-0', '0' ],
54
- [ 'max-h-1', '1' ],
55
- [ 'max-h-2', '2' ],
56
- [ 'max-h-3', '3' ],
57
- [ 'max-h-4', '4' ],
58
- [ 'max-h-5', '5' ],
59
- [ 'max-h-[10vh]', '10vh' ],
60
- [ 'max-h-[20vh]', '20vh' ],
61
- [ 'max-h-[30vh]', '30vh' ],
62
- [ 'max-h-[40vh]', '40vh' ],
63
- [ 'max-h-[50vh]', '50vh' ],
64
- [ 'max-h-[60vh]', '60vh' ],
65
- [ 'max-h-[70vh]', '70vh' ],
66
- [ 'max-h-[80vh]', '80vh' ],
67
- [ 'max-h-[90vh]', '90vh' ],
68
- [ 'max-h-screen', 'Full' ],
69
- ]
70
- }
71
- }
72
-
73
- }
74
-
75
- </script>
76
-
77
- <style module>
78
-
79
- .comp{
80
- }
81
-
82
- </style>
@@ -1,90 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
- <div class="flex flex-row items-center">
4
- <label class="flex-1">Max Width</label>
5
- <Dropdown v-model="maxWidth[index]">
6
- <option value="">Unset</option>
7
- <option v-for="value in values" :value="`${viewType}${value[0]}`">
8
- {{ value[1] }}
9
- </option>
10
- </Dropdown>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
-
17
- export default{
18
-
19
- inject: [ 'viewTypes' ],
20
-
21
- props: {
22
-
23
- index: {
24
- type: Number,
25
- required: true
26
- },
27
-
28
- value: {
29
- type: Object,
30
- required: true
31
- },
32
-
33
- viewType: {
34
- type: String,
35
- required: true
36
- },
37
-
38
- },
39
-
40
- computed: {
41
-
42
- maxWidth(){
43
- if(!Array.isArray(this.value.props.maxWidth))
44
- this.value.props.maxWidth = this.viewTypes.map(_ => '')
45
- return this.value.props.maxWidth
46
- }
47
-
48
- },
49
-
50
- data(){
51
- return {
52
- values: [
53
- [ 'max-w-none', 'None' ],
54
- [ 'max-w-0', '0' ],
55
- [ 'max-w-xs', 'Extra Small' ],
56
- [ 'max-w-sm', 'Small' ],
57
- [ 'max-w-md', 'Normal' ],
58
- [ 'max-w-lg', 'Large' ],
59
- [ 'max-w-xl', 'Extra Large' ],
60
- [ 'max-w-2xl', 'Extra Large 2' ],
61
- [ 'max-w-3xl', 'Extra Large 3' ],
62
- [ 'max-w-4xl', 'Extra Large 4' ],
63
- [ 'max-w-screen-sm', 'Screen Small' ],
64
- [ 'max-w-screen-md', 'Screen Normal' ],
65
- [ 'max-w-screen-lg', 'Screen Large' ],
66
- [ 'max-w-screen-xl', 'Screen Extra Large' ],
67
- [ 'max-w-screen-2xl', 'Screen Extra Large 2' ],
68
- [ 'max-w-[10vw]', '10vw' ],
69
- [ 'max-w-[20vw]', '20vw' ],
70
- [ 'max-w-[30vw]', '30vw' ],
71
- [ 'max-w-[40vw]', '40vw' ],
72
- [ 'max-w-[50vw]', '50vw' ],
73
- [ 'max-w-[60vw]', '60vw' ],
74
- [ 'max-w-[70vw]', '70vw' ],
75
- [ 'max-w-[80vw]', '80vw' ],
76
- [ 'max-w-[90vw]', '90vw' ],
77
- ]
78
- }
79
- }
80
-
81
- }
82
-
83
- </script>
84
-
85
- <style module>
86
-
87
- .comp{
88
- }
89
-
90
- </style>