@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,927 +0,0 @@
1
- <template>
2
- <div :class="$style.comp">
3
-
4
- <div class="flex flex-col divide-y divide-border-50">
5
-
6
- <div v-for="(values, key) in viewedItems" class="p-6 py-4 relative">
7
- <div class="absolute top-0 right-0">
8
- <button type="button" class="p-3" @click="delete item.props[key]">
9
- <svg width="14" height="14" 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>
10
- </button>
11
- </div>
12
-
13
- <component v-if="keys[key].values.type"
14
- :is="keys[key].values.type"
15
- :="keys[key].values"
16
- :item="item"
17
- :view-types="viewTypes"
18
- :view-index="viewIndex"
19
- :view-type="viewType"
20
- :name="key"
21
- :text="keys[key].text" />
22
-
23
- <div v-else class="flex flex-col gap-1 mt-1">
24
- <small class="flex-1 text-text-400">{{ keys[key].text }}</small>
25
-
26
- <Dropdown v-model="values[viewIndex]" class="flex-1 w-full max-w-[300px]">
27
- <option value="">Default</option>
28
- <option v-for="kValue in keys[key].values" :value="`${viewType}${kValue[0]}`">{{ kValue[1] ?? kValue[0] }}</option>
29
- </Dropdown>
30
- </div>
31
-
32
- </div>
33
-
34
- <div class="p-3">
35
- <div class="text-center">
36
- <button type="button" class="text-primary p-3" ref="addBtn" @click="select">Add Property</button>
37
- </div>
38
-
39
- <ContextMenu ref="contextMenu"
40
- position="bottom"
41
- @dismiss="search = ''"
42
- class="rounded-none"
43
- @open="$refs.search.select()">
44
- <div class="flex flex-col min-w-[200px] h-[80vh]" @click.stop>
45
-
46
- <div class="p-3">
47
- <strong>Select Property</strong>
48
- <Textbox ref="search" class="mt-3" v-model="search" placeholder="Search..." :clearable="true" @clear="search = ''"></Textbox>
49
- </div>
50
-
51
- <div class="flex-1 flex flex-col gap-3 overflow-y-auto px-3">
52
- <div v-for="group in viewedGroups" class="flex flex-col gap-2">
53
- <div class="px-5">
54
- <strong class="text-text-400">{{ group.text }}</strong>
55
- </div>
56
- <div class="h-[1px] bg-text-100"></div>
57
- <div class="">
58
- <div v-for="item in group.items">
59
- <button :class="appStyle.menuItem"
60
- type="button" @click="add(item);$refs.contextMenu.close()">
61
- {{ item.text }}
62
- </button>
63
- </div>
64
- </div>
65
- </div>
66
- </div>
67
-
68
- </div>
69
- </ContextMenu>
70
- </div>
71
-
72
- </div>
73
-
74
- <Modal ref="modal" width="480" height="480" hash="#select-property"
75
- @show="$refs.search.select()">
76
- <template v-slot:head>
77
- <div class="relative p-6 flex flex-col gap-4">
78
- <h3>Add Property</h3>
79
- <div class="absolute top-0 right-0 p-2">
80
- <button type="button" class="p-2" @click="$router.replace({ hash:$route.hash.replace('#select-property', '') })">
81
- <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">
82
- <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"/>
83
- </svg>
84
- </button>
85
- </div>
86
-
87
- <Textbox ref="search" v-model="search" placeholder="Search..."></Textbox>
88
- </div>
89
- </template>
90
- <template v-slot:foot>
91
- <div class="p-6">
92
-
93
- </div>
94
- </template>
95
- <div class="flex-1 p-6 grid grid-cols-2 gap-6">
96
-
97
- <div v-for="group in viewedGroups" class="flex flex-col gap-2">
98
- <div>
99
- <strong>{{ group.text }}</strong>
100
- </div>
101
- <div class="h-[1px] bg-text-100"></div>
102
- <div class="grid gap-3">
103
- <div v-for="item in group.items">
104
- <button class="hover:text-primary-500 text-left w-full" type="button" @click="add(item)">
105
- {{ item.text }}
106
- </button>
107
- </div>
108
- </div>
109
- </div>
110
-
111
- </div>
112
- </Modal>
113
-
114
- </div>
115
- </template>
116
-
117
- <script>
118
-
119
- export default{
120
-
121
- emits: [ 'change' ],
122
-
123
- inject: [ 'appStyle', 'getRightPane' ],
124
-
125
- props: {
126
-
127
- item: {
128
- type: Object,
129
- required: true
130
- },
131
-
132
- viewIndex: Number,
133
-
134
- viewType: String,
135
-
136
- viewTypes: Array,
137
-
138
- excludes: {
139
- type: Array,
140
- default: []
141
- },
142
-
143
- },
144
-
145
- methods: {
146
-
147
- add(item){
148
- if(!Array.isArray(this.item.props[item.key]))
149
- this.item.props[item.key] = []
150
-
151
- this.item.props[item.key].push('')
152
-
153
- this.$router.replace({ hash:this.$route.hash.replace('#select-property', '') })
154
- },
155
-
156
- select(){
157
- const ref = this.getRightPane() ?? this.$refs.addBtn
158
- this.$refs.contextMenu.open(ref)
159
- },
160
-
161
- },
162
-
163
- computed: {
164
-
165
- keys(){
166
- const items = {}
167
-
168
- for(let group of this.groups){
169
- for(let item of group.items){
170
- items[item.key] = item
171
- }
172
- }
173
-
174
- return items
175
- },
176
-
177
- viewedItems(){
178
-
179
- let items = {}
180
-
181
- for(let key in this.item.props){
182
- if(this.keys[key] && !this.excludes.includes(key) &&
183
- ( Array.isArray(this.item.props[key]) && this.item.props[key].length > 0)){
184
- items[key] = this.item.props[key]
185
- }
186
- }
187
-
188
- return items
189
- },
190
-
191
- viewedGroups(){
192
- const groups = []
193
-
194
- for(let group of this.groups){
195
-
196
- const items = []
197
-
198
- for(let item of group.items){
199
- if((!Array.isArray(this.excludes) || !this.excludes.includes(item.key)) &&
200
- (this.search === '' || item.text.toLowerCase().indexOf(this.search.toLowerCase()) > -1)){
201
- items.push(item)
202
- }
203
- }
204
-
205
- if(items.length > 0){
206
- groups.push({
207
- ...group,
208
- items
209
- })
210
- }
211
- }
212
-
213
- return groups
214
- },
215
-
216
- },
217
-
218
- data(){
219
- return {
220
- search: '',
221
-
222
- groups: [
223
-
224
- { text:'Layout', items: [
225
-
226
- { text:'Aspect Ratio', key:'aspectRatio', values:[
227
- [ 'aspect-square', 'Square' ],
228
- [ 'aspect-[2/1]', '2/1' ],
229
- [ 'aspect-[3/1]', '3/1' ],
230
- [ 'aspect-[4/1]', '4/1' ],
231
- [ 'aspect-[4/3]', '4/3' ],
232
- [ 'aspect-[5/1]', '5/1' ],
233
- [ 'aspect-[6/1]', '6/1' ],
234
- [ 'aspect-[7/1]', '7/1' ],
235
- [ 'aspect-[8/1]', '8/1' ],
236
- [ 'aspect-[8/3]', '8/3' ],
237
- [ 'aspect-[8/5.6]', '8/5.6' ],
238
- [ 'aspect-[9/1]', '9/1' ],
239
- [ 'aspect-video', '16/9' ],
240
- [ 'aspect-[1/2]', '1/2' ],
241
- [ 'aspect-[2/3]', '2/3' ],
242
- [ 'aspect-[3/4]', '3/4' ],
243
- [ 'aspect-[8/9]', '8/9' ],
244
- ]},
245
-
246
- { text:'Position', key:'position', values: { type: 'PositionSetting' }},
247
-
248
- { text:'Display', key:'display', values: [
249
- [ 'hidden', 'Hidden' ],
250
- [ 'block', 'Block' ],
251
- [ 'inline-block', 'Inline Block' ],
252
- [ 'inline', 'Inline' ],
253
- [ 'flex', 'Flex' ],
254
- [ 'inline-flex', 'Inline Flex' ],
255
- [ 'table', 'Table' ],
256
- [ 'inline-table', 'Inline Table' ],
257
- [ 'grid', 'Grid' ],
258
- [ 'inline-grid', 'Inline Grid' ],
259
- ]},
260
-
261
- { text:'Overflow', key:'overflow', values: [
262
- [ 'overflow-auto', 'Auto' ],
263
- [ 'overflow-hidden', 'Hidden' ],
264
- [ 'overflow-clip', 'Clip' ],
265
- [ 'overflow-visible', 'Visible' ],
266
- [ 'overflow-scroll', 'Scroll' ],
267
- [ 'overflow-x-auto', 'Auto' ],
268
- [ 'overflow-x-hidden', 'X Hidden' ],
269
- [ 'overflow-y-auto', 'Y Auto' ],
270
- [ 'overflow-y-hidden', 'Y Hidden' ],
271
- [ 'overflow-x-clip', 'X Clip' ],
272
- [ 'overflow-y-clip', 'Y Clip' ],
273
- [ 'overflow-x-visible', 'X Visible' ],
274
- [ 'overflow-y-visible', 'Y Visible' ],
275
- [ 'overflow-x-scroll', 'X Scroll' ],
276
- [ 'overflow-y-scroll', 'Y Scroll' ],
277
- ]},
278
-
279
- { text:'Z Index', key:'zIndex', values: [
280
- [ 'z-0', '0' ],
281
- [ 'z-10', '10' ],
282
- [ 'z-20', '20' ],
283
- [ 'z-30', '30' ],
284
- [ 'z-40', '40' ],
285
- [ 'z-50', '50' ],
286
- ]},
287
-
288
- ]},
289
-
290
- { text:'Flexbox & Grid', items: [
291
-
292
- { text:'Flex', key:'flex', values: [
293
- [ 'flex-1', 'Flex 1' ],
294
- [ 'flex-0', 'Flex 0' ],
295
- [ 'flex-auto', 'Auto' ],
296
- [ 'flex-initial', 'Initial' ],
297
- [ 'flex-none', 'None' ],
298
- ]},
299
-
300
- { text:'Flex Align', key:'flexAlign', values: [
301
- [ 'items-start', 'Start' ],
302
- [ 'items-end', 'End' ],
303
- [ 'items-center', 'Center' ],
304
- [ 'items-baseline', 'Baseline' ],
305
- [ 'items-stretch', 'Stretch' ],
306
- ]},
307
-
308
- { text:'Flex Basis', key:'flexBasis', values: [
309
- [ 'basis-1/12', '1/12' ],
310
- [ 'basis-2/12', '2/12' ],
311
- [ 'basis-3/12', '3/12' ],
312
- [ 'basis-4/12', '4/12' ],
313
- [ 'basis-5/12', '5/12' ],
314
- [ 'basis-6/12', '6/12' ],
315
- [ 'basis-7/12', '7/12' ],
316
- [ 'basis-8/12', '8/12' ],
317
- [ 'basis-9/12', '9/12' ],
318
- [ 'basis-10/12', '10/12' ],
319
- [ 'basis-11/12', '11/12' ],
320
- [ 'basis-12/12', '12/12' ],
321
- ]},
322
-
323
- { text:'Flex Justify', key:'flexJustify', values: [
324
- [ 'justify-normal', 'Normal' ],
325
- [ 'justify-start', 'Start' ],
326
- [ 'justify-end', 'End' ],
327
- [ 'justify-center', 'Center' ],
328
- [ 'justify-between', 'Between' ],
329
- [ 'justify-around', 'Around' ],
330
- [ 'justify-evenly', 'Evenly' ],
331
- [ 'justify-stretch', 'Stretch' ],
332
- ]},
333
-
334
- { text:'Flex Direction', key:'flexDirection', values: [
335
- [ 'flex-row', 'Row' ],
336
- [ 'flex-col', 'Column' ],
337
- [ 'flex-row-reverse', 'Row Reverse' ],
338
- [ 'flex-col-reverse', 'Column Reverse' ],
339
- ]},
340
-
341
- { text:'Flex Wrap', key:'flexWrap', values: [
342
- [ 'Wrap', 'flex-wrap' ],
343
- [ 'Wrap reverse', 'flex-wrap-reverse' ],
344
- [ 'No wrap', 'flex-nowrap' ],
345
- ]},
346
-
347
- { text:'Gap', key:'gap', values: [
348
- [ 'gap-0', '0' ],
349
- [ 'gap-1', '1' ],
350
- [ 'gap-2', '2' ],
351
- [ 'gap-3', '3' ],
352
- [ 'gap-4', '4' ],
353
- [ 'gap-5', '5' ],
354
- [ 'gap-6', '6' ],
355
- [ 'gap-7', '7' ],
356
- [ 'gap-8', '8'],
357
- ]},
358
-
359
- { text:'Grid Column Start / End', key:'colSpan', values: [
360
- [ 'col-span-1', '1' ],
361
- [ 'col-span-2', '2' ],
362
- [ 'col-span-3', '3' ],
363
- [ 'col-span-4', '4' ],
364
- [ 'col-span-5', '5' ],
365
- [ 'col-span-6', '6' ],
366
- [ 'col-span-7', '7' ],
367
- [ 'col-span-8', '8' ],
368
- [ 'col-span-9', '9' ],
369
- [ 'col-span-10', '10' ],
370
- [ 'col-span-11', '11' ],
371
- [ 'col-span-12', '12' ],
372
- ] },
373
-
374
- { text:'Grid Row Start / End', key:'rowSpan', values: [
375
- [ 'row-span-1', '1' ],
376
- [ 'row-span-2', '2' ],
377
- [ 'row-span-3', '3' ],
378
- [ 'row-span-4', '4' ],
379
- [ 'row-span-5', '5' ],
380
- [ 'row-span-6', '6' ],
381
- [ 'row-span-7', '7' ],
382
- [ 'row-span-8', '8' ],
383
- [ 'row-span-9', '9' ],
384
- [ 'row-span-10', '10' ],
385
- [ 'row-span-11', '11' ],
386
- [ 'row-span-12', '12' ],
387
- ]}
388
-
389
- ]},
390
-
391
- { text:'Backgrounds', items: [
392
-
393
- { text:'Background', key:'bgColors', values:{ type:'BackgroundColorSetting' }},
394
-
395
- ]},
396
-
397
- { text:'Borders', items: [
398
-
399
- { text:'Border Color', key:'bdColor', values:{ type:'BorderColorSetting' }},
400
-
401
- { text:'Border Size', key:'bdSize', values: {
402
- type: 'MultiValueSetting2',
403
- keys: [['border'], ['border-x', 'border-y'], ['border-l', 'border-t', 'border-r', 'border-b']],
404
- values: [['', 'Normal'], ['-0', '0'], ['-2', '2'], ['-4', '4'], ['-8', '8']]
405
- }},
406
-
407
- { text:'Border Radius', key:'bdRadius', values: [
408
- [ 'rounded-none', 'None' ],
409
- [ 'rounded', 'Normal' ],
410
- [ 'rounded-sm', 'Small' ],
411
- [ 'rounded-md', 'Medium' ],
412
- [ 'rounded-lg', 'Large' ],
413
- [ 'rounded-xl', 'Extra Large' ],
414
- [ 'rounded-2xl', '2xl' ],
415
- [ 'rounded-3xl', '3xl' ],
416
- [ 'rounded-full', 'Full' ],
417
- ]},
418
-
419
- { text:'Border Style', key:'bdStyle', values: [
420
- [ 'border-solid', 'Solid' ],
421
- [ 'border-dashed', 'Dashed' ],
422
- [ 'border-dotted', 'Dotted' ],
423
- [ 'border-double', 'Double' ],
424
- [ 'border-hidden', 'Double' ],
425
- [ 'border-none', 'None' ],
426
- ]},
427
-
428
- { text:'Divide Color', key:'divideColor', values:{
429
- type:'ColorPicker2',
430
- keys: [ ['divide-']]
431
- }},
432
-
433
- { text:'Divide Width', key:'divideWidth', values: {
434
- type: 'MultiValueSetting2',
435
- keys:[['divide'], ['divide-x', 'divide-y'], ['divide-l', 'divide-t', 'divide-r', 'divide-b']],
436
- values:[['', 'Normal'], ['-0', '0'], ['-2', '2'], ['-4', '4'], ['-8', '8']]
437
- }},
438
-
439
- { text:'Divide Style', key:'divideStyle', values: [
440
- [ 'divide-solid', 'Solid' ],
441
- [ 'divide-dashed', 'Dashed' ],
442
- [ 'divide-dotted', 'Dotted' ],
443
- [ 'divide-double', 'Double' ],
444
- [ 'divide-hidden', 'Double' ],
445
- [ 'divide-none', 'None' ],
446
- ]},
447
-
448
- { text:'Outline Color', key:'outlineColor', values:{
449
- type:'ColorPicker2',
450
- keys: [ ['outline-']]
451
- }},
452
-
453
- { text:'Outline Style', key:'outlineStyle', values: [
454
- [ 'outline', 'Solid' ],
455
- [ 'outline-dashed', 'Dashed' ],
456
- [ 'outline-dotted', 'Dotted' ],
457
- [ 'outline-double', 'Double' ],
458
- [ 'outline-none', 'None' ],
459
- ]},
460
-
461
- { text:'Outline Width', key:'outlineWidth', values: [
462
- [ '0', '0' ],
463
- [ '', 'Normal' ],
464
- [ 'outline-2', '2' ],
465
- [ 'outline-4', '4' ],
466
- [ 'outline-8', '8' ],
467
- ]}
468
-
469
- ]},
470
-
471
- { text:'Transitions & Animation', items: [
472
-
473
- { text:'Animate', key:'animate', values: [
474
- [ 'animate-none', 'None' ],
475
- [ 'animate-spin', 'Spin' ],
476
- [ 'animate-ping', 'Ping' ],
477
- [ 'animate-pulse', 'Pulse' ],
478
- [ 'animate-bounce', 'Bounce' ],
479
- ]}
480
-
481
- ]},
482
-
483
- { text:'Effects', items: [
484
-
485
- { text:'Box Shadow', key:'boxShadow', values: [
486
- [ 'shadow-none', 'None' ],
487
- [ 'shadow-sm', 'Sm' ],
488
- [ 'shadow', 'Md' ],
489
- [ 'shadow-lg', 'Lg' ],
490
- [ 'shadow-xl', 'Xl' ],
491
- [ 'shadow-2xl', '2xl' ],
492
- [ 'shadow-inner', 'Inner' ],
493
- ]},
494
-
495
- { text:'Opacity', key:'opacity', values: [
496
- [ 'opacity-0', '0' ],
497
- [ 'opacity-10', '10%' ],
498
- [ 'opacity-20', '20%' ],
499
- [ 'opacity-30', '30%' ],
500
- [ 'opacity-40', '40%' ],
501
- [ 'opacity-50', '50%' ],
502
- [ 'opacity-60', '60%' ],
503
- [ 'opacity-70', '70%' ],
504
- [ 'opacity-80', '80%' ],
505
- [ 'opacity-90', '90%' ],
506
- [ 'opacity-100', '100%' ],
507
- ]}
508
-
509
- ]},
510
-
511
- { text:'Spacing', items: [
512
-
513
- { text:'Padding', key:'padding', values:{
514
- type:'MultiValueSetting2',
515
- keys: [
516
- [ 'p-' ],
517
- [ 'px-', 'py-' ],
518
- [ 'pl-', 'pt-', 'pr-', 'pb-' ]
519
- ]
520
- }},
521
-
522
- { text:'Margin', key:'margin', values:{
523
- type:'MultiValueSetting2',
524
- keys: [
525
- [ 'm-' ],
526
- [ 'mx-', 'my-' ],
527
- [ 'ml-', 'mt-', 'mr-', 'mb-' ]
528
- ]
529
- }},
530
-
531
- { text:"Object Fit", key:"objectFit", values: [
532
- [ 'object-contain', 'Contain'],
533
- [ 'object-cover', 'Cover' ],
534
- [ 'object-fill', 'Fill' ],
535
- [ 'object-none', 'None' ],
536
- [ 'object-scale-down', 'Scale Down' ],
537
- ]},
538
-
539
- { text:"Object Position", key:"objectPosition", values: [
540
- [ 'object-bottom', 'Bottom' ],
541
- [ 'object-center', 'Center' ],
542
- [ 'object-left', 'Left' ],
543
- [ 'object-left-bottom', 'Left Bottom' ],
544
- [ 'object-left-top', 'Left Top' ],
545
- [ 'object-right', 'Right' ],
546
- [ 'object-right-bottom', 'Right Bottom' ],
547
- [ 'object-right-top', 'Right Top' ],
548
- [ 'object-top', 'Top' ],
549
- ]},
550
-
551
- { text:"Backdrop Blur", key:"backdropBlur", values: [
552
- [ 'backdrop-blur-none', 'None' ],
553
- [ 'backdrop-blur-sm', 'Small' ],
554
- [ 'backdrop-blur', 'Medium' ],
555
- [ 'backdrop-blur-md', 'Medium' ],
556
- [ 'backdrop-blur-lg', 'Large' ],
557
- [ 'backdrop-blur-xl', 'Extra Large' ],
558
- [ 'backdrop-blur-2xl', '2xl' ],
559
- [ 'backdrop-blur-3xl', '3xl' ],
560
- ]}
561
-
562
- ]},
563
-
564
- { text:'Sizing', items: [
565
-
566
- { text:'Height', key:'height', values: [
567
- [ 'h-1', '1' ],
568
- [ 'h-2', '2' ],
569
- [ 'h-3', '3' ],
570
- [ 'h-4', '4' ],
571
- [ 'h-5', '5' ],
572
- [ 'h-6', '6' ],
573
- [ 'h-7', '7' ],
574
- [ 'h-8', '8' ],
575
- [ 'h-9', '9' ],
576
- [ 'h-10', '10' ],
577
- [ 'h-11', '11' ],
578
- [ 'h-12', '12' ],
579
- [ 'h-14', '14' ],
580
- [ 'h-16', '16' ],
581
- [ 'h-20', '20' ],
582
- [ 'h-24', '24' ],
583
- [ 'h-32', '32' ],
584
- [ 'h-36', '36' ],
585
- [ 'h-48', '48' ],
586
- [ 'h-[10vh]', '10vh' ],
587
- [ 'h-[20vh]', '20vh' ],
588
- [ 'h-[30vh]', '30vh' ],
589
- [ 'h-[40vh]', '40vh' ],
590
- [ 'h-[50vh]', '50vh' ],
591
- [ 'h-[60vh]', '60vh' ],
592
- [ 'h-[70vh]', '70vh' ],
593
- [ 'h-[80vh]', '80vh' ],
594
- [ 'h-[90vh]', '90vh' ],
595
- [ 'h-[100vh]', '100vh' ]
596
- ]},
597
-
598
- { text:'Min Height', key:'minHeight', values: [
599
- [ 'min-h-0', '0' ],
600
- [ 'min-h-full', 'Full' ],
601
- [ 'min-h-screen', 'Screen' ],
602
- [ 'min-h-min', 'Min' ],
603
- [ 'min-h-max', 'Max' ],
604
- [ 'min-h-fit', 'Fit' ],
605
- [ 'min-h-[90vh]', '90vh' ],
606
- [ 'min-h-[80vh]', '80vh' ],
607
- [ 'min-h-[70vh]', '70vh' ],
608
- [ 'min-h-[60vh]', '60vh' ],
609
- [ 'min-h-[50vh]', '50vh' ],
610
- [ 'min-h-[40vh]', '40vh' ],
611
- [ 'min-h-[30vh]', '30vh' ],
612
- [ 'min-h-[20vh]', '20vh' ],
613
- [ 'min-h-[10vh]', '10vh' ],
614
- ]},
615
-
616
- { text:'Max Height', key:'maxHeight', values: [
617
- [ 'max-h-0', '0' ],
618
- [ 'max-h-1', '1' ],
619
- [ 'max-h-2', '2' ],
620
- [ 'max-h-3', '3' ],
621
- [ 'max-h-4', '4' ],
622
- [ 'max-h-5', '5' ],
623
- [ 'max-h-[10vh]', '10vh' ],
624
- [ 'max-h-[20vh]', '20vh' ],
625
- [ 'max-h-[30vh]', '30vh' ],
626
- [ 'max-h-[40vh]', '40vh' ],
627
- [ 'max-h-[50vh]', '50vh' ],
628
- [ 'max-h-[60vh]', '60vh' ],
629
- [ 'max-h-[70vh]', '70vh' ],
630
- [ 'max-h-[80vh]', '80vh' ],
631
- [ 'max-h-[90vh]', '90vh' ],
632
- [ 'max-h-screen', 'Full' ],
633
- ]},
634
-
635
- { text:'Max Width', key:'maxWidth', values: [
636
- [ 'max-w-none', 'None' ],
637
- [ 'max-w-0', '0' ],
638
- [ 'max-w-xs', 'Extra Small' ],
639
- [ 'max-w-sm', 'Small' ],
640
- [ 'max-w-md', 'Normal' ],
641
- [ 'max-w-lg', 'Large' ],
642
- [ 'max-w-xl', 'Extra Large' ],
643
- [ 'max-w-2xl', 'Extra Large 2' ],
644
- [ 'max-w-3xl', 'Extra Large 3' ],
645
- [ 'max-w-4xl', 'Extra Large 4' ],
646
- [ 'max-w-screen-sm', 'Screen Small' ],
647
- [ 'max-w-screen-md', 'Screen Normal' ],
648
- [ 'max-w-screen-lg', 'Screen Large' ],
649
- [ 'max-w-screen-xl', 'Screen Extra Large' ],
650
- [ 'max-w-screen-2xl', 'Screen Extra Large 2' ],
651
- [ 'max-w-[10vw]', '10vw' ],
652
- [ 'max-w-[20vw]', '20vw' ],
653
- [ 'max-w-[30vw]', '30vw' ],
654
- [ 'max-w-[40vw]', '40vw' ],
655
- [ 'max-w-[50vw]', '50vw' ],
656
- [ 'max-w-[60vw]', '60vw' ],
657
- [ 'max-w-[70vw]', '70vw' ],
658
- [ 'max-w-[80vw]', '80vw' ],
659
- [ 'max-w-[90vw]', '90vw' ],
660
- ]},
661
-
662
- { text:'Min Width', key:'minWidth', values: [
663
- [ 'min-w-none', 'None' ],
664
- [ 'min-w-0', '0' ],
665
- [ 'min-w-1', '1' ],
666
- [ 'min-w-2', '2' ],
667
- [ 'min-w-3', '3' ],
668
- [ 'min-w-4', '4' ],
669
- [ 'min-w-5', '5' ],
670
- [ 'min-w-6', '6' ],
671
- [ 'min-w-7', '7' ],
672
- [ 'min-w-8', '8' ],
673
- [ 'min-w-9', '9' ],
674
- [ 'min-w-10', '10' ],
675
- [ 'min-w-11', '11' ],
676
- [ 'min-w-12', '12' ],
677
- [ 'min-w-14', '14' ],
678
- [ 'min-w-16', '16' ],
679
- [ 'min-w-20', '20' ],
680
- [ 'min-w-24', '24' ],
681
- [ 'min-w-28', '28' ],
682
- [ 'min-w-32', '32' ],
683
- [ 'min-w-36', '36' ],
684
- [ 'min-w-40', '40' ],
685
- [ 'min-w-44', '44' ],
686
- [ 'min-w-48', '48' ],
687
- [ 'min-w-52', '52' ],
688
- [ 'min-w-56', '56' ],
689
- [ 'min-w-60', '60' ],
690
- [ 'min-w-64', '64' ],
691
- [ 'min-w-72', '72' ],
692
- [ 'min-w-80', '80' ],
693
- [ 'min-w-96', '96' ],
694
- [ 'min-w-full', 'Full' ],
695
- [ 'min-w-screen', 'Screen' ],
696
- [ 'min-w-min', 'Min' ],
697
- [ 'min-w-max', 'Max' ],
698
- ]},
699
-
700
- { text:'Width', key:'width', values: [
701
- [ 'w-0', '0' ],
702
- [ 'w-1', '1' ],
703
- [ 'w-2', '2' ],
704
- [ 'w-3', '3' ],
705
- [ 'w-4', '4' ],
706
- [ 'w-5', '5' ],
707
- [ 'w-6', '6' ],
708
- [ 'w-8', '7' ],
709
- [ 'w-10', '10' ],
710
- [ 'w-12', '12' ],
711
- [ 'w-16', '16' ],
712
- [ 'w-20', '20' ],
713
- [ 'w-24', '24' ],
714
- [ 'w-28', '28' ],
715
- [ 'w-32', '32' ],
716
- [ 'w-36', '36' ],
717
- [ 'w-48', '48' ],
718
- [ 'w-screen', 'Screen' ],
719
- [ 'w-full', 'Full' ],
720
- [ 'flex-1', 'Flex 1' ],
721
- [ 'w-[60px]', '60px' ],
722
- [ 'w-[120px]', '120px' ],
723
- [ 'w-[180px]', '180px' ],
724
- [ 'w-[240px]', '240px' ],
725
- [ 'w-[300px]', '300px' ],
726
- [ 'w-[360px]', '360px' ],
727
- [ 'w-[420px]', '420px' ],
728
- [ 'w-[480px]', '480px' ],
729
- [ 'w-[10vw]', '10vw' ],
730
- [ 'w-[20vw]', '20vw' ],
731
- [ 'w-[30vw]', '30vw' ],
732
- [ 'w-[40vw]', '40vw' ],
733
- [ 'w-[50vw]', '50vw' ],
734
- [ 'w-[60vw]', '60vw' ],
735
- [ 'w-[70vw]', '70vw' ],
736
- [ 'w-[80vw]', '80vw' ],
737
- [ 'w-[90vw]', '90vw' ],
738
- ]},
739
-
740
- ]},
741
-
742
- { text:'Typography', items: [
743
-
744
- { text:'Font Family', key:'fontFamily', values: [
745
- [ 'font-sans', 'Sans' ],
746
- [ 'font-serif', 'Serif' ],
747
- [ 'font-mono', 'Mono' ],
748
- ]},
749
-
750
- { text:'Font Size', key:'fontSize', values: [
751
- [ 'text-xs', 'Extra Small' ],
752
- [ 'text-sm', 'Small' ],
753
- [ 'text-base', 'Normal' ],
754
- [ 'text-lg', 'Large' ],
755
- [ 'text-xl', 'Extra Large' ],
756
- [ 'text-2xl', 'Extra Large 2' ],
757
- [ 'text-3xl', 'Extra Large 3' ],
758
- [ 'text-4xl', 'Extra Large 4' ],
759
- [ 'text-5xl', 'Extra Large 5' ],
760
- [ 'text-6xl', 'Extra Large 6' ],
761
- ]},
762
-
763
- { text:'Font Weight', key:'fontWeight', values: [
764
- [ 'font-thin', 'Thin', ],
765
- [ 'font-extralight', 'Extra Light' ],
766
- [ 'font-light', 'Light' ],
767
- [ 'font-normal', 'Normal' ],
768
- [ 'font-medium', 'Medium' ],
769
- [ 'font-semibold', 'Semi Bold' ],
770
- [ 'font-bold', 'Bold' ],
771
- [ 'font-extrabold', 'Extra Bold' ],
772
- [ 'font-black', 'Black' ],
773
- ]},
774
-
775
- { text:'Letter Spacing', key:'letterSpacing', values: [
776
- [ 'tracking-tight', 'Tight' ],
777
- [ 'tracking-normal', 'Normal' ],
778
- [ 'tracking-wide', 'Wide' ],
779
- [ 'tracking-wider', 'Wider' ],
780
- [ 'tracking-widest', 'Widest' ],
781
- ]},
782
-
783
- { text:'Line Clamp', key:'lineClamp', values: [
784
- [ 'line-clamp-1', '1' ],
785
- [ 'line-clamp-2', '2' ],
786
- [ 'line-clamp-3', '3' ],
787
- [ 'line-clamp-4', '4' ],
788
- [ 'line-clamp-5', '5' ],
789
- [ 'line-clamp-6', '6' ],
790
- [ 'line-clamp-none', 'None' ],
791
- ]},
792
-
793
- { text:'Line Height', key:'lineHeight', values:[
794
- [ 'leading-none', 'None' ],
795
- [ 'leading-tight', 'Tight' ],
796
- [ 'leading-snug', 'Snug' ],
797
- [ 'leading-normal', 'Normal' ],
798
- [ 'leading-relaxed', 'Relaxed' ],
799
- [ 'leading-loose', 'Loose' ],
800
- [ 'leading-3', '3' ],
801
- [ 'leading-4', '4' ],
802
- [ 'leading-5', '5' ],
803
- [ 'leading-6', '6' ],
804
- [ 'leading-7', '7' ],
805
- [ 'leading-8', '8' ],
806
- [ 'leading-9', '9' ],
807
- [ 'leading-10', '10' ],
808
- ]},
809
-
810
- { text:'Text Align', key:'textAlign', values: [
811
- [ 'text-left', 'Left' ],
812
- [ 'text-center', 'Center' ],
813
- [ 'text-right', 'Right' ],
814
- [ 'text-justify', 'Justify' ],
815
- [ 'text-end', 'End' ],
816
- ]},
817
-
818
- { text:'Text Color', key:'textColor', values:{
819
- type:'ColorPicker2',
820
- keys: [ ['text-']],
821
- title: "Text Color"
822
- }},
823
-
824
- { text:'Text Decoration', key:'textDecoration', values: [
825
- [ 'underline', 'Underline' ],
826
- [ 'overline', 'Overline' ],
827
- [ 'line-through', 'Line through' ],
828
- [ 'no-underline', 'No underline' ],
829
- ]},
830
-
831
- { text:'Text Overflow', key:'textOverflow', values: [
832
- [ 'truncate', 'Truncate' ],
833
- [ 'text-ellipsis', 'Ellipsis' ],
834
- [ 'text-clip', 'Clip' ],
835
- ]},
836
-
837
- { text:'Text Transform', key:'textTransform', values: [
838
- [ 'uppercase', 'Upper case' ],
839
- [ 'lowercase', 'Lower case' ],
840
- [ 'capitalize', 'Capitalize' ],
841
- [ 'normal-case', 'Normal' ],
842
- ]},
843
-
844
- { text:'Whitespace', key:'whitespace', values: [
845
- [ 'whitespace-normal', 'Normal' ],
846
- [ 'whitespace-nowrap', 'No Wrap' ],
847
- [ 'whitespace-pre', 'Pre' ],
848
- [ 'whitespace-pre-line', 'Pre Line' ],
849
- [ 'whitespace-pre-wrap', 'Pre Wrap' ],
850
- [ 'whitespace-break-spaces', 'Break spaces' ],
851
- ]},
852
-
853
- { text:'Vertical Align', key:'verticalAlign', values: [
854
- [ 'align-baseline', 'Baseline' ],
855
- [ 'align-top', 'Top' ],
856
- [ 'align-middle', 'Middle' ],
857
- [ 'align-bottom', 'Bottom' ],
858
- [ 'align-text-top', 'Text Top' ],
859
- [ 'align-text-bottom', 'Text Bottom' ],
860
- [ 'align-sub', 'Sub' ],
861
- [ 'align-super', 'Super' ],
862
- ]}
863
-
864
- ]},
865
-
866
- { text:'Filters', items: [
867
-
868
- { text:'Blur', key:'blur', values: [
869
- [ 'blur-none', 'None' ],
870
- [ 'blur-sm', 'Sm' ],
871
- [ 'blur', 'Md' ],
872
- [ 'blur-lg', 'Lg' ],
873
- [ 'blur-xl', 'Xl' ],
874
- [ 'blur-2xl', '2xl' ],
875
- ]},
876
-
877
- { text:'Grayscale', key:'grayscale', values: [
878
- [ 'grayscale-0', 'Not Grayscale' ],
879
- [ 'grayscale', 'Grayscale' ],
880
- ]}
881
-
882
- ]},
883
-
884
- { text:'SVG', items: [
885
-
886
- { text:'Fill', key:'fill', values: [
887
- [ 'fill-none', 'None' ],
888
- [ 'fill-current', 'Current' ],
889
- [ 'fill-white', 'White' ],
890
- [ 'fill-black', 'Black' ],
891
- ]},
892
-
893
- { text:'Stroke', key:'stroke', values: [
894
- [ 'stroke-none', 'None' ],
895
- [ 'stroke-current', 'Current' ],
896
- [ 'stroke-transparent', 'Transparent' ],
897
- [ 'stroke-white', 'White' ],
898
- [ 'stroke-black', 'Black' ],
899
- ]},
900
-
901
- { text:'Stroke Width', key:'strokeWidth', values: [
902
- [ 'stroke-0', '0' ],
903
- [ 'stroke-1', '1' ],
904
- [ 'stroke-2', '2' ],
905
- ]}
906
-
907
- ]}
908
-
909
- ],
910
- }
911
- }
912
-
913
- }
914
-
915
- </script>
916
-
917
- <style module>
918
-
919
- .comp{
920
- @apply flex flex-col gap-8;
921
- }
922
-
923
- .label{
924
- @apply text-text-400 block text-ellipsis overflow-hidden whitespace-nowrap;
925
- }
926
-
927
- </style>