@bryntum/core-vue-3-thin 7.1.1

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 (304) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/04iGTdr4.js +305 -0
  3. package/lib/chunks/04iGTdr4.js.map +1 -0
  4. package/lib/chunks/50EFBKUJ.js +305 -0
  5. package/lib/chunks/50EFBKUJ.js.map +1 -0
  6. package/lib/chunks/9l_t8_Hn.js +279 -0
  7. package/lib/chunks/9l_t8_Hn.js.map +1 -0
  8. package/lib/chunks/BDjSyfX1.js +231 -0
  9. package/lib/chunks/BDjSyfX1.js.map +1 -0
  10. package/lib/chunks/BEIlMzLy.js +329 -0
  11. package/lib/chunks/BEIlMzLy.js.map +1 -0
  12. package/lib/chunks/BGHGQ3of.js +334 -0
  13. package/lib/chunks/BGHGQ3of.js.map +1 -0
  14. package/lib/chunks/BPCnTL_S.js +311 -0
  15. package/lib/chunks/BPCnTL_S.js.map +1 -0
  16. package/lib/chunks/BccmKSjV.js +332 -0
  17. package/lib/chunks/BccmKSjV.js.map +1 -0
  18. package/lib/chunks/Beqfuio_.js +324 -0
  19. package/lib/chunks/Beqfuio_.js.map +1 -0
  20. package/lib/chunks/BhvCgnAQ.js +348 -0
  21. package/lib/chunks/BhvCgnAQ.js.map +1 -0
  22. package/lib/chunks/BjofEFjT.js +90 -0
  23. package/lib/chunks/BjofEFjT.js.map +1 -0
  24. package/lib/chunks/Bqt3amcP.js +332 -0
  25. package/lib/chunks/Bqt3amcP.js.map +1 -0
  26. package/lib/chunks/BrGP25YO.js +273 -0
  27. package/lib/chunks/BrGP25YO.js.map +1 -0
  28. package/lib/chunks/C08cDbJ_.js +315 -0
  29. package/lib/chunks/C08cDbJ_.js.map +1 -0
  30. package/lib/chunks/C37G38Em.js +233 -0
  31. package/lib/chunks/C37G38Em.js.map +1 -0
  32. package/lib/chunks/C4Plc5KT.js +313 -0
  33. package/lib/chunks/C4Plc5KT.js.map +1 -0
  34. package/lib/chunks/C5CKKnb-.js +28 -0
  35. package/lib/chunks/C5CKKnb-.js.map +1 -0
  36. package/lib/chunks/C5fDrmXK.js +308 -0
  37. package/lib/chunks/C5fDrmXK.js.map +1 -0
  38. package/lib/chunks/C7jiLVhi.js +332 -0
  39. package/lib/chunks/C7jiLVhi.js.map +1 -0
  40. package/lib/chunks/CCOHmzO2.js +326 -0
  41. package/lib/chunks/CCOHmzO2.js.map +1 -0
  42. package/lib/chunks/CJ_VkUSL.js +311 -0
  43. package/lib/chunks/CJ_VkUSL.js.map +1 -0
  44. package/lib/chunks/CQxDiecl.js +303 -0
  45. package/lib/chunks/CQxDiecl.js.map +1 -0
  46. package/lib/chunks/CY2MQpEF.js +311 -0
  47. package/lib/chunks/CY2MQpEF.js.map +1 -0
  48. package/lib/chunks/CglOknHW.js +326 -0
  49. package/lib/chunks/CglOknHW.js.map +1 -0
  50. package/lib/chunks/CjxVRXWC.js +322 -0
  51. package/lib/chunks/CjxVRXWC.js.map +1 -0
  52. package/lib/chunks/CtYTESR7.js +334 -0
  53. package/lib/chunks/CtYTESR7.js.map +1 -0
  54. package/lib/chunks/D6reMBCw.js +293 -0
  55. package/lib/chunks/D6reMBCw.js.map +1 -0
  56. package/lib/chunks/DAF6eal3.js +380 -0
  57. package/lib/chunks/DAF6eal3.js.map +1 -0
  58. package/lib/chunks/DDx2bcZ4.js +311 -0
  59. package/lib/chunks/DDx2bcZ4.js.map +1 -0
  60. package/lib/chunks/DMPfOU5b.js +328 -0
  61. package/lib/chunks/DMPfOU5b.js.map +1 -0
  62. package/lib/chunks/DUIWxr9S.js +287 -0
  63. package/lib/chunks/DUIWxr9S.js.map +1 -0
  64. package/lib/chunks/DXudB--w.js +285 -0
  65. package/lib/chunks/DXudB--w.js.map +1 -0
  66. package/lib/chunks/DdOigT_0.js +317 -0
  67. package/lib/chunks/DdOigT_0.js.map +1 -0
  68. package/lib/chunks/DdlURSV2.js +402 -0
  69. package/lib/chunks/DdlURSV2.js.map +1 -0
  70. package/lib/chunks/Dg8brqqq.js +265 -0
  71. package/lib/chunks/Dg8brqqq.js.map +1 -0
  72. package/lib/chunks/EhPIs-5p.js +316 -0
  73. package/lib/chunks/EhPIs-5p.js.map +1 -0
  74. package/lib/chunks/GPQ2KdEZ.js +277 -0
  75. package/lib/chunks/GPQ2KdEZ.js.map +1 -0
  76. package/lib/chunks/I1j1h3ES.js +331 -0
  77. package/lib/chunks/I1j1h3ES.js.map +1 -0
  78. package/lib/chunks/N0tT12PU.js +299 -0
  79. package/lib/chunks/N0tT12PU.js.map +1 -0
  80. package/lib/chunks/UsX3m2ag.js +318 -0
  81. package/lib/chunks/UsX3m2ag.js.map +1 -0
  82. package/lib/chunks/ZCAFO-QE.js +283 -0
  83. package/lib/chunks/ZCAFO-QE.js.map +1 -0
  84. package/lib/chunks/aFUypleu.js +344 -0
  85. package/lib/chunks/aFUypleu.js.map +1 -0
  86. package/lib/chunks/b7paFuwf.js +304 -0
  87. package/lib/chunks/b7paFuwf.js.map +1 -0
  88. package/lib/chunks/dpFvo-c8.js +241 -0
  89. package/lib/chunks/dpFvo-c8.js.map +1 -0
  90. package/lib/chunks/ffxvxZgO.js +285 -0
  91. package/lib/chunks/ffxvxZgO.js.map +1 -0
  92. package/lib/chunks/i1fKEJ02.js +289 -0
  93. package/lib/chunks/i1fKEJ02.js.map +1 -0
  94. package/lib/chunks/r16hhPbD.js +284 -0
  95. package/lib/chunks/r16hhPbD.js.map +1 -0
  96. package/lib/chunks/sfgBkKKU.js +340 -0
  97. package/lib/chunks/sfgBkKKU.js.map +1 -0
  98. package/lib/chunks/wUYS2r48.js +301 -0
  99. package/lib/chunks/wUYS2r48.js.map +1 -0
  100. package/lib/components/BryntumButton.js +5 -0
  101. package/lib/components/BryntumButton.js.map +1 -0
  102. package/lib/components/BryntumButtonGroup.js +5 -0
  103. package/lib/components/BryntumButtonGroup.js.map +1 -0
  104. package/lib/components/BryntumChatPanel.js +5 -0
  105. package/lib/components/BryntumChatPanel.js.map +1 -0
  106. package/lib/components/BryntumCheckbox.js +5 -0
  107. package/lib/components/BryntumCheckbox.js.map +1 -0
  108. package/lib/components/BryntumCheckboxGroup.js +5 -0
  109. package/lib/components/BryntumCheckboxGroup.js.map +1 -0
  110. package/lib/components/BryntumChipView.js +5 -0
  111. package/lib/components/BryntumChipView.js.map +1 -0
  112. package/lib/components/BryntumCodeEditor.js +5 -0
  113. package/lib/components/BryntumCodeEditor.js.map +1 -0
  114. package/lib/components/BryntumColorField.js +5 -0
  115. package/lib/components/BryntumColorField.js.map +1 -0
  116. package/lib/components/BryntumCombo.js +5 -0
  117. package/lib/components/BryntumCombo.js.map +1 -0
  118. package/lib/components/BryntumContainer.js +5 -0
  119. package/lib/components/BryntumContainer.js.map +1 -0
  120. package/lib/components/BryntumDateField.js +5 -0
  121. package/lib/components/BryntumDateField.js.map +1 -0
  122. package/lib/components/BryntumDatePicker.js +5 -0
  123. package/lib/components/BryntumDatePicker.js.map +1 -0
  124. package/lib/components/BryntumDateRangeField.js +5 -0
  125. package/lib/components/BryntumDateRangeField.js.map +1 -0
  126. package/lib/components/BryntumDateTimeField.js +5 -0
  127. package/lib/components/BryntumDateTimeField.js.map +1 -0
  128. package/lib/components/BryntumDemoCodeEditor.js +5 -0
  129. package/lib/components/BryntumDemoCodeEditor.js.map +1 -0
  130. package/lib/components/BryntumDemoHeader.js +5 -0
  131. package/lib/components/BryntumDemoHeader.js.map +1 -0
  132. package/lib/components/BryntumDisplayField.js +5 -0
  133. package/lib/components/BryntumDisplayField.js.map +1 -0
  134. package/lib/components/BryntumDurationField.js +5 -0
  135. package/lib/components/BryntumDurationField.js.map +1 -0
  136. package/lib/components/BryntumEditor.js +5 -0
  137. package/lib/components/BryntumEditor.js.map +1 -0
  138. package/lib/components/BryntumFieldFilterPicker.js +5 -0
  139. package/lib/components/BryntumFieldFilterPicker.js.map +1 -0
  140. package/lib/components/BryntumFieldFilterPickerGroup.js +5 -0
  141. package/lib/components/BryntumFieldFilterPickerGroup.js.map +1 -0
  142. package/lib/components/BryntumFieldSet.js +5 -0
  143. package/lib/components/BryntumFieldSet.js.map +1 -0
  144. package/lib/components/BryntumFileField.js +5 -0
  145. package/lib/components/BryntumFileField.js.map +1 -0
  146. package/lib/components/BryntumFilePicker.js +5 -0
  147. package/lib/components/BryntumFilePicker.js.map +1 -0
  148. package/lib/components/BryntumFilterField.js +5 -0
  149. package/lib/components/BryntumFilterField.js.map +1 -0
  150. package/lib/components/BryntumFullscreenButton.js +5 -0
  151. package/lib/components/BryntumFullscreenButton.js.map +1 -0
  152. package/lib/components/BryntumHint.js +5 -0
  153. package/lib/components/BryntumHint.js.map +1 -0
  154. package/lib/components/BryntumLabel.js +5 -0
  155. package/lib/components/BryntumLabel.js.map +1 -0
  156. package/lib/components/BryntumList.js +5 -0
  157. package/lib/components/BryntumList.js.map +1 -0
  158. package/lib/components/BryntumMenu.js +5 -0
  159. package/lib/components/BryntumMenu.js.map +1 -0
  160. package/lib/components/BryntumMonthPicker.js +5 -0
  161. package/lib/components/BryntumMonthPicker.js.map +1 -0
  162. package/lib/components/BryntumNumberField.js +5 -0
  163. package/lib/components/BryntumNumberField.js.map +1 -0
  164. package/lib/components/BryntumPagingToolbar.js +5 -0
  165. package/lib/components/BryntumPagingToolbar.js.map +1 -0
  166. package/lib/components/BryntumPanel.js +5 -0
  167. package/lib/components/BryntumPanel.js.map +1 -0
  168. package/lib/components/BryntumPasswordField.js +5 -0
  169. package/lib/components/BryntumPasswordField.js.map +1 -0
  170. package/lib/components/BryntumRadio.js +5 -0
  171. package/lib/components/BryntumRadio.js.map +1 -0
  172. package/lib/components/BryntumRadioGroup.js +5 -0
  173. package/lib/components/BryntumRadioGroup.js.map +1 -0
  174. package/lib/components/BryntumSlideToggle.js +5 -0
  175. package/lib/components/BryntumSlideToggle.js.map +1 -0
  176. package/lib/components/BryntumSlider.js +5 -0
  177. package/lib/components/BryntumSlider.js.map +1 -0
  178. package/lib/components/BryntumSplitter.js +5 -0
  179. package/lib/components/BryntumSplitter.js.map +1 -0
  180. package/lib/components/BryntumTabPanel.js +5 -0
  181. package/lib/components/BryntumTabPanel.js.map +1 -0
  182. package/lib/components/BryntumTextAreaField.js +5 -0
  183. package/lib/components/BryntumTextAreaField.js.map +1 -0
  184. package/lib/components/BryntumTextAreaPickerField.js +5 -0
  185. package/lib/components/BryntumTextAreaPickerField.js.map +1 -0
  186. package/lib/components/BryntumTextField.js +5 -0
  187. package/lib/components/BryntumTextField.js.map +1 -0
  188. package/lib/components/BryntumTimeField.js +5 -0
  189. package/lib/components/BryntumTimeField.js.map +1 -0
  190. package/lib/components/BryntumTimePicker.js +5 -0
  191. package/lib/components/BryntumTimePicker.js.map +1 -0
  192. package/lib/components/BryntumToolbar.js +5 -0
  193. package/lib/components/BryntumToolbar.js.map +1 -0
  194. package/lib/components/BryntumWidget.js +5 -0
  195. package/lib/components/BryntumWidget.js.map +1 -0
  196. package/lib/components/BryntumYearPicker.js +5 -0
  197. package/lib/components/BryntumYearPicker.js.map +1 -0
  198. package/lib/helper/WrapperHelper.js +291 -0
  199. package/lib/helper/WrapperHelper.js.map +1 -0
  200. package/lib/index.d.ts +5 -0
  201. package/lib/index.js +101 -0
  202. package/lib/index.js.map +1 -0
  203. package/license.pdf +0 -0
  204. package/licenses.md +310 -0
  205. package/package.json +27 -0
  206. package/src/components/BryntumButton.vue +952 -0
  207. package/src/components/BryntumButtonGroup.vue +967 -0
  208. package/src/components/BryntumButtonGroupProps.ts +574 -0
  209. package/src/components/BryntumButtonProps.ts +555 -0
  210. package/src/components/BryntumChatPanel.vue +1159 -0
  211. package/src/components/BryntumChatPanelProps.ts +706 -0
  212. package/src/components/BryntumCheckbox.vue +1071 -0
  213. package/src/components/BryntumCheckboxGroup.vue +1193 -0
  214. package/src/components/BryntumCheckboxGroupProps.ts +738 -0
  215. package/src/components/BryntumCheckboxProps.ts +630 -0
  216. package/src/components/BryntumChipView.vue +979 -0
  217. package/src/components/BryntumChipViewProps.ts +582 -0
  218. package/src/components/BryntumCodeEditor.vue +1136 -0
  219. package/src/components/BryntumCodeEditorProps.ts +707 -0
  220. package/src/components/BryntumColorField.vue +1060 -0
  221. package/src/components/BryntumColorFieldProps.ts +641 -0
  222. package/src/components/BryntumCombo.vue +1298 -0
  223. package/src/components/BryntumComboProps.ts +837 -0
  224. package/src/components/BryntumContainer.vue +917 -0
  225. package/src/components/BryntumContainerProps.ts +562 -0
  226. package/src/components/BryntumDateField.vue +1120 -0
  227. package/src/components/BryntumDateFieldProps.ts +692 -0
  228. package/src/components/BryntumDatePicker.vue +1427 -0
  229. package/src/components/BryntumDatePickerProps.ts +897 -0
  230. package/src/components/BryntumDateRangeField.vue +1122 -0
  231. package/src/components/BryntumDateRangeFieldProps.ts +693 -0
  232. package/src/components/BryntumDateTimeField.vue +1007 -0
  233. package/src/components/BryntumDateTimeFieldProps.ts +599 -0
  234. package/src/components/BryntumDemoCodeEditor.vue +1152 -0
  235. package/src/components/BryntumDemoCodeEditorProps.ts +720 -0
  236. package/src/components/BryntumDemoHeader.vue +131 -0
  237. package/src/components/BryntumDisplayField.vue +1044 -0
  238. package/src/components/BryntumDisplayFieldProps.ts +631 -0
  239. package/src/components/BryntumDurationField.vue +1103 -0
  240. package/src/components/BryntumDurationFieldProps.ts +682 -0
  241. package/src/components/BryntumEditor.vue +1093 -0
  242. package/src/components/BryntumEditorProps.ts +621 -0
  243. package/src/components/BryntumFieldFilterPicker.vue +1002 -0
  244. package/src/components/BryntumFieldFilterPickerGroup.vue +1038 -0
  245. package/src/components/BryntumFieldFilterPickerGroupProps.ts +645 -0
  246. package/src/components/BryntumFieldFilterPickerProps.ts +623 -0
  247. package/src/components/BryntumFieldSet.vue +1129 -0
  248. package/src/components/BryntumFieldSetProps.ts +702 -0
  249. package/src/components/BryntumFileField.vue +1047 -0
  250. package/src/components/BryntumFileFieldProps.ts +633 -0
  251. package/src/components/BryntumFilePicker.vue +948 -0
  252. package/src/components/BryntumFilePickerProps.ts +574 -0
  253. package/src/components/BryntumFilterField.vue +1088 -0
  254. package/src/components/BryntumFilterFieldProps.ts +667 -0
  255. package/src/components/BryntumFullscreenButton.vue +38 -0
  256. package/src/components/BryntumHint.vue +1199 -0
  257. package/src/components/BryntumHintProps.ts +752 -0
  258. package/src/components/BryntumLabel.vue +770 -0
  259. package/src/components/BryntumLabelProps.ts +458 -0
  260. package/src/components/BryntumList.vue +956 -0
  261. package/src/components/BryntumListProps.ts +562 -0
  262. package/src/components/BryntumMenu.vue +1223 -0
  263. package/src/components/BryntumMenuProps.ts +748 -0
  264. package/src/components/BryntumMonthPicker.vue +1133 -0
  265. package/src/components/BryntumMonthPickerProps.ts +687 -0
  266. package/src/components/BryntumNumberField.vue +1090 -0
  267. package/src/components/BryntumNumberFieldProps.ts +670 -0
  268. package/src/components/BryntumPagingToolbar.vue +989 -0
  269. package/src/components/BryntumPagingToolbarProps.ts +591 -0
  270. package/src/components/BryntumPanel.vue +1106 -0
  271. package/src/components/BryntumPanelProps.ts +683 -0
  272. package/src/components/BryntumPasswordField.vue +1034 -0
  273. package/src/components/BryntumPasswordFieldProps.ts +622 -0
  274. package/src/components/BryntumRadio.vue +1071 -0
  275. package/src/components/BryntumRadioGroup.vue +1159 -0
  276. package/src/components/BryntumRadioGroupProps.ts +728 -0
  277. package/src/components/BryntumRadioProps.ts +630 -0
  278. package/src/components/BryntumSlideToggle.vue +1071 -0
  279. package/src/components/BryntumSlideToggleProps.ts +630 -0
  280. package/src/components/BryntumSlider.vue +871 -0
  281. package/src/components/BryntumSliderProps.ts +522 -0
  282. package/src/components/BryntumSplitter.vue +813 -0
  283. package/src/components/BryntumSplitterProps.ts +467 -0
  284. package/src/components/BryntumTabPanel.vue +1164 -0
  285. package/src/components/BryntumTabPanelProps.ts +709 -0
  286. package/src/components/BryntumTextAreaField.vue +1046 -0
  287. package/src/components/BryntumTextAreaFieldProps.ts +632 -0
  288. package/src/components/BryntumTextAreaPickerField.vue +1067 -0
  289. package/src/components/BryntumTextAreaPickerFieldProps.ts +647 -0
  290. package/src/components/BryntumTextField.vue +1052 -0
  291. package/src/components/BryntumTextFieldProps.ts +636 -0
  292. package/src/components/BryntumTimeField.vue +1101 -0
  293. package/src/components/BryntumTimeFieldProps.ts +676 -0
  294. package/src/components/BryntumTimePicker.vue +952 -0
  295. package/src/components/BryntumTimePickerProps.ts +582 -0
  296. package/src/components/BryntumToolbar.vue +982 -0
  297. package/src/components/BryntumToolbarProps.ts +585 -0
  298. package/src/components/BryntumWidget.vue +765 -0
  299. package/src/components/BryntumWidgetProps.ts +454 -0
  300. package/src/components/BryntumYearPicker.vue +1144 -0
  301. package/src/components/BryntumYearPickerProps.ts +704 -0
  302. package/src/helper/WrapperHelper.ts +573 -0
  303. package/src/index.ts +101 -0
  304. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,131 @@
1
+ <template>
2
+ <header class="demo-header b-bryntum">
3
+ <a
4
+ id="title"
5
+ class="title"
6
+ :href="link"
7
+ >
8
+ <h1>
9
+ <svg
10
+ viewBox="0 0 354.9 144.52"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ >
13
+ <g><path d="m305.63 144.52c-12.47 0-23.53-4.83-31.58-13.28v11.06h-25.54v-142.3h26.75v48.58c7.84-7.64 18.5-12.07 30.37-12.07 27.15 0 49.28 23.33 49.28 54.1s-22.12 53.9-49.28 53.9zm-3.82-83.47c-14.68 0-26.55 13.27-26.55 29.77s11.87 29.16 26.55 29.16 26.55-12.67 26.55-29.16-11.87-29.77-26.55-29.77z" /><path d="m148.02 0h74.01v29.78h-74.01z" /><path d="m0 56.26h222.03v29.78h-222.03z" /><path d="m74.01 112.52h148.02v29.6h-148.02z" /></g>
14
+ </svg>
15
+ {{ headerTitle }}
16
+ </h1>
17
+ </a>
18
+ <slot />
19
+ <div
20
+ id="tools"
21
+ class="tools"
22
+ >
23
+ <bryntum-button
24
+ text="Download Trial"
25
+ :href="downloadLink"
26
+ rendition="filled"
27
+ />
28
+ <bryntum-button
29
+ ref="codeButtonRef"
30
+ icon="b-icon-code"
31
+ tooltip="Click to show the code viewer"
32
+ rendition="text"
33
+ :hidden="hiddenEditor"
34
+ @click="toggleCodeEditor"
35
+ />
36
+ <bryntum-button
37
+ ref="downloadButtonRef"
38
+ icon="b-icon-download"
39
+ tooltip="Download this demo zip archive"
40
+ rendition="text"
41
+ href="#"
42
+ :hidden="true"
43
+ />
44
+ <bryntum-fullscreen-button />
45
+ </div>
46
+ </header>
47
+ </template>
48
+
49
+ <script setup lang="ts">
50
+ import { computed, defineProps, onMounted, ref } from 'vue';
51
+ import BryntumFullscreenButton from './BryntumFullscreenButton.vue';
52
+ import BryntumButton from './BryntumButton.vue';
53
+ import { AjaxHelper, CSSHelper, DemoCodeEditor } from '@bryntum/core-thin';
54
+
55
+ defineProps<{
56
+ title?: string;
57
+ }>();
58
+
59
+ const codeButtonRef = ref<typeof BryntumButton | null>(null);
60
+
61
+ const downloadButtonRef = ref<typeof BryntumButton | null>(null);
62
+
63
+ const headerTitle = document.title.split(' - ')[1] || document.title;
64
+
65
+ const isTest = document.location.search.includes('test');
66
+
67
+ const demoProduct = document.location.href.match(/\/(\w+)(-trial)?\/[-\w]*examples\//)?.[1]?.toLowerCase() || 'core';
68
+
69
+ const downloadLink = `https://bryntum.com/download/?product=${demoProduct}`;
70
+
71
+ const appFolder = '../';
72
+
73
+ const hiddenEditor = !Boolean(DemoCodeEditor.monacoCodePath);
74
+
75
+ let codeEditor: DemoCodeEditor | undefined;
76
+
77
+ const link = computed(() => {
78
+ const match = /(.*?\/)(examples.*?\/frameworks\/.*?)\/dist/.exec(document.location.href);
79
+ return (match?.[1] && match?.[2])
80
+ ? `${match[1]}examples/#example-${match[2].replace(/\//gm, '-').replace('examples-frameworks', 'frameworks')}`
81
+ : '#';
82
+ });
83
+
84
+ const toggleCodeEditor = async() => {
85
+ codeEditor = await DemoCodeEditor.toggleCodeEditor(
86
+ codeEditor,
87
+ codeButtonRef.value!.instance.value,
88
+ {
89
+ appFolder,
90
+ preferredSources : [
91
+ /App\.vue/,
92
+ /\w+Config\.[tj]s/
93
+ ]
94
+ }
95
+ );
96
+ };
97
+
98
+ const initDownload = async() => {
99
+ const appConfig = (await AjaxHelper.get(`${appFolder}app.config.json`, { parseJson : true })).parsedJson;
100
+ if (appConfig.zip || isTest) {
101
+ const downloadButton = downloadButtonRef.value!.instance.value;
102
+ downloadButton.hidden = false;
103
+ downloadButton.href = `${appFolder}${appConfig.zip}`;
104
+ }
105
+ };
106
+
107
+ onMounted(() => {
108
+ if (!hiddenEditor) {
109
+ CSSHelper.insertRule('body { flex-direction : row !important }');
110
+ CSSHelper.insertRule('#__nuxt, #container, #app { flex : 1 !important; overflow : hidden !important }');
111
+ CSSHelper.insertRule('.b-codeeditor-header { padding : 0.5em !important }');
112
+ initDownload();
113
+ }
114
+
115
+ // Enables special styling when generating screenshots
116
+ const params = new URLSearchParams(window.location.search);
117
+ if (params.has('screenshot')) {
118
+ document.body.classList.add('b-screenshot');
119
+ (window.bryntum as any).noAnimations = true;
120
+ }
121
+ });
122
+
123
+ defineExpose({
124
+ link,
125
+ headerTitle,
126
+ hiddenEditor,
127
+ downloadLink,
128
+ toggleCodeEditor
129
+ });
130
+
131
+ </script>