halo-fe 1.0.8 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. package/dist/assets/@intlify-BISCQg1h.js +2189 -0
  2. package/dist/{vendor-@monaco-editor-DKC4UNw_.js → assets/@monaco-editor-BCDRi0Ti.js} +1 -1
  3. package/dist/assets/@vue-aVYGocXp.js +93 -0
  4. package/dist/assets/clone-DtpAsLoe.js +139 -0
  5. package/dist/{vendor-file-saver-DKXzEV2Q.js → assets/file-saver-Cnua3zoa.js} +1 -1
  6. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  7. package/dist/{vendor-underscore.string-vrHhfBaT.js → assets/underscore.string-oDfap0sE.js} +3 -3
  8. package/dist/{vendor-util-deprecate-BfbfwJhs.js → assets/util-deprecate-BqFawLoO.js} +1 -1
  9. package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
  10. package/dist/main.js +2383 -1579
  11. package/dist/style.css +1 -1
  12. package/esm/coms/Empty.vue.d.ts +1 -0
  13. package/esm/coms/conditions/Condition.vue.d.ts +12 -0
  14. package/esm/coms/conditions/Index.vue.d.ts +12 -0
  15. package/esm/coms/conditions/index.d.ts +3 -0
  16. package/esm/coms/conditions/types/ConditionGroupProps.d.ts +11 -0
  17. package/esm/coms/conditions/types/ConditionProps.d.ts +18 -0
  18. package/esm/coms/conditions/types/index.d.ts +3 -0
  19. package/esm/coms/{Code.vue.d.ts → controls/Code.vue.d.ts} +11 -3
  20. package/esm/coms/controls/Option.vue.d.ts +2 -0
  21. package/esm/coms/controls/Select.vue.d.ts +2 -0
  22. package/esm/coms/controls/index.d.ts +7 -0
  23. package/esm/coms/{types → controls/types}/CodeEmit.d.ts +1 -1
  24. package/esm/coms/controls/types/CodeProps.d.ts +28 -0
  25. package/esm/coms/controls/types/Range.d.ts +26 -0
  26. package/esm/coms/controls/types/index.d.ts +6 -0
  27. package/esm/coms/index.d.ts +5 -8
  28. package/esm/coms/layouts/index.d.ts +5 -0
  29. package/esm/coms/layouts/types/index.d.ts +2 -0
  30. package/esm/coms/types/index.d.ts +1 -6
  31. package/esm/drivers/bridges/IBridge.d.ts +7 -1
  32. package/esm/drivers/builders/Builder.d.ts +4 -1
  33. package/esm/drivers/builders/BuilderFactory.d.ts +1 -1
  34. package/esm/drivers/builders/IBuilder.d.ts +9 -0
  35. package/esm/drivers/builders/entities/ProviderTable.d.ts +22 -0
  36. package/esm/drivers/builders/entities/index.d.ts +2 -0
  37. package/esm/drivers/builders/implement/JsonBuilder.d.ts +3 -0
  38. package/esm/drivers/builders/implement/MongoBuilder.d.ts +6 -0
  39. package/esm/drivers/builders/implement/MySqlBuilder.d.ts +3 -0
  40. package/esm/drivers/builders/implement/SqlBuilder.d.ts +6 -0
  41. package/esm/drivers/builders/index.d.ts +3 -1
  42. package/esm/drivers/builders/types/ProviderTable.d.ts +6 -0
  43. package/esm/drivers/builders/types/index.d.ts +2 -0
  44. package/esm/drivers/cdns/Cdn.d.ts +20 -7
  45. package/esm/drivers/cdns/CdnFactory.d.ts +1 -1
  46. package/esm/drivers/cdns/ICdn.d.ts +28 -11
  47. package/esm/drivers/cdns/implements/LocalCdn.d.ts +13 -6
  48. package/esm/drivers/cdns/implements/ThirdCdn.d.ts +34 -0
  49. package/esm/drivers/cdns/index.d.ts +2 -1
  50. package/esm/drivers/encoders/Encoder.d.ts +1 -1
  51. package/esm/drivers/encoders/EncoderFactory.d.ts +1 -1
  52. package/esm/drivers/encoders/IEncoder.d.ts +1 -1
  53. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +2 -1
  54. package/esm/drivers/excels/ExcelFactory.d.ts +1 -1
  55. package/esm/drivers/excels/implements/XlsxExcel.d.ts +1 -0
  56. package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -1
  57. package/esm/drivers/features/FeatureFactory.d.ts +1 -1
  58. package/esm/drivers/hashers/Hasher.d.ts +1 -1
  59. package/esm/drivers/hashers/HasherFactory.d.ts +1 -1
  60. package/esm/drivers/hashers/IHasher.d.ts +1 -1
  61. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +2 -1
  62. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +1 -1
  63. package/esm/drivers/https/Http.d.ts +2 -2
  64. package/esm/drivers/https/HttpFactory.d.ts +1 -1
  65. package/esm/drivers/https/entities/HttpMessage.d.ts +14 -3
  66. package/esm/drivers/https/entities/HttpRequest.d.ts +6 -2
  67. package/esm/drivers/https/implements/DefaultHttp.d.ts +9 -1
  68. package/esm/drivers/index.d.ts +2 -0
  69. package/esm/{plugins/types → drivers/messengers}/IMessenger.d.ts +2 -1
  70. package/esm/drivers/messengers/Messenger.d.ts +15 -0
  71. package/esm/drivers/messengers/MessengerFactory.d.ts +13 -0
  72. package/esm/drivers/messengers/implement/ConsoleMessenger.d.ts +15 -0
  73. package/esm/drivers/messengers/index.d.ts +4 -0
  74. package/esm/drivers/providers/IProvider.d.ts +6 -2
  75. package/esm/drivers/providers/Provider.d.ts +2 -0
  76. package/esm/drivers/providers/ProviderFactory.d.ts +1 -1
  77. package/esm/drivers/providers/helpers/SqlHelper.d.ts +11 -0
  78. package/esm/drivers/providers/helpers/index.d.ts +2 -0
  79. package/esm/drivers/providers/implements/CookieProvider.d.ts +2 -0
  80. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +2 -0
  81. package/esm/drivers/providers/implements/StorageProvider.d.ts +3 -9
  82. package/esm/drivers/providers/index.d.ts +1 -0
  83. package/esm/drivers/signers/SignerFactory.d.ts +1 -1
  84. package/esm/drivers/ssos/SsoFactory.d.ts +1 -1
  85. package/esm/drivers/tasks/ITask.d.ts +5 -0
  86. package/esm/drivers/tasks/Task.d.ts +1 -0
  87. package/esm/drivers/tasks/TaskFactory.d.ts +1 -1
  88. package/esm/drivers/tasks/implement/MemoryTask.d.ts +15 -0
  89. package/esm/drivers/templates/ITemplate.d.ts +11 -0
  90. package/esm/drivers/templates/Template.d.ts +6 -0
  91. package/esm/drivers/templates/TemplateFactory.d.ts +9 -0
  92. package/esm/drivers/templates/implement/LiquidTemplate.d.ts +6 -0
  93. package/esm/drivers/templates/index.d.ts +3 -0
  94. package/esm/drivers/videos/VideoFactory.d.ts +1 -1
  95. package/esm/drivers/voices/VoiceFactory.d.ts +1 -1
  96. package/esm/factorying/Factories.d.ts +27 -13
  97. package/esm/factorying/Factory.d.ts +16 -8
  98. package/esm/factorying/IFactory.d.ts +6 -6
  99. package/esm/factorying/index.d.ts +12 -3
  100. package/esm/helpers/DictionaryHelper.d.ts +3 -1
  101. package/esm/helpers/DomHelper.d.ts +24 -3
  102. package/esm/helpers/JsonHelper.d.ts +18 -10
  103. package/esm/helpers/ObjectHelper.d.ts +7 -3
  104. package/esm/helpers/TreeHelper.d.ts +1 -1
  105. package/esm/helpers/index.d.ts +1 -2
  106. package/esm/helpers/types/JsonConfig.d.ts +10 -0
  107. package/esm/helpers/types/TreeNodeProp.d.ts +3 -0
  108. package/esm/helpers/types/index.d.ts +2 -1
  109. package/esm/main.d.ts +2 -2
  110. package/esm/plugins/index.d.ts +0 -1
  111. package/esm/svcs/ISvc.d.ts +2 -1
  112. package/esm/svcs/Svc.d.ts +1 -0
  113. package/esm/svcs/SvcFactory.d.ts +4 -1
  114. package/esm/svcs/implement/ConfigSvc.d.ts +4 -0
  115. package/esm/svcs/implement/I18nSvc.d.ts +83 -0
  116. package/esm/svcs/implement/SettingSvc.d.ts +4 -0
  117. package/esm/svcs/implement/index.d.ts +2 -0
  118. package/esm/svcs/index.d.ts +14 -1
  119. package/esm/types/CreateFeOptions.d.ts +24 -0
  120. package/esm/types/{CreateOptions.d.ts → CreatePcOptions.d.ts} +2 -5
  121. package/esm/types/index.d.ts +3 -2
  122. package/esm/utilities/EventUtility.d.ts +11 -0
  123. package/esm/utilities/types/DragOptions.d.ts +2 -2
  124. package/esm/utilities/types/Rect.d.ts +4 -0
  125. package/esm/utilities/types/index.d.ts +2 -2
  126. package/package.json +16 -12
  127. package/dist/vendor-clone-NGbTzSwJ.js +0 -159
  128. package/dist/vendor-crypto-js-DWn5nTKL.js +0 -4997
  129. package/dist/vendor-xlsx-js-style-DMPNZPOx.js +0 -11862
  130. package/esm/coms/types/CodeProps.d.ts +0 -18
  131. package/esm/drivers/IDisposable.d.ts +0 -10
  132. package/esm/drivers/IDriver.d.ts +0 -10
  133. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  134. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
  135. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
  136. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
  137. package/esm/drivers/driver-helper.d.ts +0 -46
  138. package/esm/drivers/factories/DriverFactory.d.ts +0 -64
  139. package/esm/drivers/factories/Factories.d.ts +0 -55
  140. package/esm/drivers/factories/Factory.d.ts +0 -25
  141. package/esm/drivers/factories/IFactory.d.ts +0 -18
  142. package/esm/drivers/factories/implement/CdnFactory.d.ts +0 -13
  143. package/esm/drivers/factories/implement/EncoderFactory.d.ts +0 -17
  144. package/esm/drivers/factories/implement/ExcelFactory.d.ts +0 -13
  145. package/esm/drivers/factories/implement/ExplainerFactory.d.ts +0 -6
  146. package/esm/drivers/factories/implement/FeatureFactory.d.ts +0 -13
  147. package/esm/drivers/factories/implement/HasherFactory.d.ts +0 -11
  148. package/esm/drivers/factories/implement/HttpFactory.d.ts +0 -18
  149. package/esm/drivers/factories/implement/ProviderFactory.d.ts +0 -18
  150. package/esm/drivers/factories/implement/SignerFactory.d.ts +0 -13
  151. package/esm/drivers/factories/implement/SsoFactory.d.ts +0 -17
  152. package/esm/drivers/factories/implement/TaskFactory.d.ts +0 -9
  153. package/esm/drivers/factories/implement/VideoFactory.d.ts +0 -3
  154. package/esm/drivers/factories/implement/VoiceFactory.d.ts +0 -6
  155. package/esm/drivers/factories/implement/index.d.ts +0 -11
  156. package/esm/drivers/factories/index.d.ts +0 -21
  157. package/esm/drivers/providers/implements/StorageHelper.d.ts +0 -34
  158. package/esm/drivers/requesters/IRequester.d.ts +0 -25
  159. package/esm/drivers/requesters/Requester.d.ts +0 -13
  160. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -21
  161. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -34
  162. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  163. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -12
  164. package/esm/drivers/requesters/implements/LocalRequester.d.ts +0 -43
  165. package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -40
  166. package/esm/drivers/requesters/index.d.ts +0 -5
  167. package/esm/factories/Factories.d.ts +0 -55
  168. package/esm/factories/Factory.d.ts +0 -38
  169. package/esm/factories/IFactory.d.ts +0 -27
  170. package/esm/factories/index.d.ts +0 -26
  171. package/esm/helpers/ScriptHelper.d.ts +0 -31
  172. package/esm/helpers/array-helper.d.ts +0 -97
  173. package/esm/helpers/component-helper.d.ts +0 -10
  174. package/esm/helpers/cookie-helper.d.ts +0 -6
  175. package/esm/helpers/dictionary-helper.d.ts +0 -18
  176. package/esm/helpers/dom-helper.d.ts +0 -86
  177. package/esm/helpers/event-helper.d.ts +0 -30
  178. package/esm/helpers/file-helper.d.ts +0 -22
  179. package/esm/helpers/html-helper.d.ts +0 -10
  180. package/esm/helpers/i18n-helper.d.ts +0 -14
  181. package/esm/helpers/image-helper.d.ts +0 -10
  182. package/esm/helpers/json-helper.d.ts +0 -31
  183. package/esm/helpers/math-helper.d.ts +0 -46
  184. package/esm/helpers/micro-helper.d.ts +0 -10
  185. package/esm/helpers/mount-helper.d.ts +0 -14
  186. package/esm/helpers/object-helper.d.ts +0 -34
  187. package/esm/helpers/script-helper.d.ts +0 -31
  188. package/esm/helpers/scroll-helper.d.ts +0 -14
  189. package/esm/helpers/sign-helper.d.ts +0 -14
  190. package/esm/helpers/storage-helper.d.ts +0 -34
  191. package/esm/helpers/string-helper.d.ts +0 -94
  192. package/esm/helpers/task-helper.d.ts +0 -26
  193. package/esm/helpers/time-helper.d.ts +0 -62
  194. package/esm/helpers/tree-helper.d.ts +0 -54
  195. package/esm/helpers/type-helper.d.ts +0 -26
  196. package/esm/helpers/url-helper.d.ts +0 -96
  197. package/esm/plugins/types/IMessager.d.ts +0 -34
  198. package/esm/plugins/types/index.d.ts +0 -10
  199. package/esm/services/SettingService.d.ts +0 -5
  200. package/esm/services/index.d.ts +0 -15
  201. package/esm/servs/IServ.d.ts +0 -6
  202. package/esm/servs/Serv.d.ts +0 -4
  203. package/esm/servs/ServFactory.d.ts +0 -11
  204. package/esm/servs/implement/ConfigServ.d.ts +0 -66
  205. package/esm/servs/implement/DriverServ.d.ts +0 -36
  206. package/esm/servs/implement/EnvServ.d.ts +0 -14
  207. package/esm/servs/implement/LogServ.d.ts +0 -19
  208. package/esm/servs/implement/SettingServ.d.ts +0 -42
  209. package/esm/servs/implement/SocketServ.d.ts +0 -38
  210. package/esm/servs/implement/UserServ.d.ts +0 -47
  211. package/esm/servs/index.d.ts +0 -15
  212. package/esm/stores/config.d.ts +0 -59
  213. package/esm/stores/driver.d.ts +0 -41
  214. package/esm/stores/env.d.ts +0 -12
  215. package/esm/stores/index.d.ts +0 -7
  216. package/esm/stores/log.d.ts +0 -20
  217. package/esm/stores/setting.d.ts +0 -47
  218. package/esm/stores/socket.d.ts +0 -27
  219. package/esm/stores/user.d.ts +0 -44
  220. package/esm/svcs/proxies/driverSvc.d.ts +0 -18
  221. package/esm/svcs/proxies/index.d.ts +0 -2
  222. package/esm/thirds/index.d.ts +0 -8
  223. package/esm/vite.config.d.ts +0 -6
  224. /package/dist/{vendor-moment-h96o7c8I.js → assets/moment-h96o7c8I.js} +0 -0
  225. /package/dist/{vendor-sprintf-js-BPTdvBYM.js → assets/sprintf-js-BPTdvBYM.js} +0 -0
  226. /package/dist/{vendor-state-local-CEworIRt.js → assets/state-local-CEworIRt.js} +0 -0
  227. /package/dist/{vendor-underscore-B0BCaBxV.js → assets/underscore-B0BCaBxV.js} +0 -0
  228. /package/esm/coms/{Compare.vue.d.ts → controls/Compare.vue.d.ts} +0 -0
  229. /package/esm/coms/{RichText.vue.d.ts → controls/RichText.vue.d.ts} +0 -0
  230. /package/esm/coms/{types → controls/types}/RichTextOptions.d.ts +0 -0
  231. /package/esm/coms/{types → controls/types}/RichTextProps.d.ts +0 -0
  232. /package/esm/coms/{Col.vue.d.ts → layouts/Col.vue.d.ts} +0 -0
  233. /package/esm/coms/{Container.vue.d.ts → layouts/Container.vue.d.ts} +0 -0
  234. /package/esm/coms/{Row.vue.d.ts → layouts/Row.vue.d.ts} +0 -0
  235. /package/esm/coms/{types → layouts/types}/RowProps.d.ts +0 -0
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- html{-webkit-user-select:initial;user-select:initial;font-size:14px;font-family:Consolas}a{text-decoration:none}p{margin:0;line-height:20px}input{outline:none;margin:0;font-family:inherit}ul,ol{margin:0;padding:0;outline:none}li{list-style-type:none}img{display:block}pre{margin:0;font-family:inherit}html.blue .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #434e61;box-shadow:0 1px 4px #29374d;background-image:linear-gradient(to bottom,#354052,#354052)}html.blue .ha-rich-text .ql-container.ql-snow{border-color:#434e61;background:#354052}html.blue .ha-rich-text .ql-stroke{stroke:#ffffffb8}html.blue .ha-rich-text .ql-fill{fill:#ffffffb8}html.blue .ha-rich-text .ql-picker .ql-picker-label,html.blue .ha-rich-text .ql-date{color:#ffffffb8}html.light .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #dcdfe6;box-shadow:0 1px 4px #ccc9;background-image:linear-gradient(to bottom,#fff,#f2f2f2)}html.light .ha-rich-text .ql-container.ql-snow{border-color:#dcdfe6}.ha-fill{width:100%}.ha-code{width:100%;height:100%}.ha-code.border{width:calc(100% - 2px);height:calc(100% - 2px);border-radius:4px}.ha-code.border .monaco-editor,.ha-code.border .overflow-guard{border-radius:4px}.ha-code.border:has(.monaco-editor.focused){border:1px solid #007fd4}.ha-col{display:flex;gap:5px}.ha-compare{width:100%;height:100%}.ha-container{padding:10px;width:calc(100% - 20px);height:calc(100% - 20px)}.ha-container .ha-operation:nth-child(1){margin-top:0;margin-bottom:10px;padding:8px 10px;line-height:32px}.ha-progress{position:absolute;width:0;z-index:1}.ha-rich-text{line-height:20px;width:100%}.ha-rich-text .ql-date{font-family:"Font Awesome 6 Free"}.ha-rich-text .ql-date:before{content:""}.ha-rich-text .ql-toolbar.ql-snow{padding:3px;position:sticky;top:0;z-index:10;border-top-left-radius:4px;border-top-right-radius:4px}.ha-rich-text .ql-body{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ha-rich-text .ql-container{height:auto}.ha-rich-text .ql-container.ql-snow{font-family:inherit;border:0}.ha-rich-text .ql-editor{padding:8px 8px 620px;word-break:break-word;overflow:initial}.ha-rich-text .ql-formats .ql-picker+.ql-picker{display:block!important}.ha-rich-text .ql-formats .ql-picker:has(+.ql-picker){display:none}.ha-rich-text:has(.ql-editor:focus) .ql-snow.ql-toolbar{border-color:#007fd4;border-bottom-color:#4c4d4f}.ha-rich-text:has(.ql-editor:focus) .ql-snow+.ql-body{border-color:#007fd4}.ha-row{display:flex;gap:5px}.ha-row.between{justify-content:space-between}.ha-scroller{position:relative;height:100%}.ha-scroller:hover .scroller-thumb{display:block}.ha-scroller.hover .scroller-thumb{display:block;opacity:.5}.ha-scroller .scroller-container{height:100%;overflow:auto;width:100%;scrollbar-width:none}.ha-scroller .scroller-track{position:absolute;top:0;right:0;width:8px;height:100%}.ha-scroller .scroller-thumb{display:none;position:absolute;cursor:pointer;height:30px;width:100%;-webkit-user-select:none;user-select:none;background:#a3a6ad;opacity:.3;border-radius:5px}.ha-scroller .scroller-thumb:hover{opacity:.5}
1
+ html{-webkit-user-select:initial;user-select:initial;font-size:14px;font-family:Consolas}a{text-decoration:none}p{margin:0;line-height:20px}input{outline:none;margin:0;font-family:inherit}ul,ol{margin:0;padding:0;outline:none}li{list-style-type:none}img{display:block}pre{margin:0;font-family:inherit}html.blue .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #434e61;box-shadow:0 1px 4px #29374d;background-image:linear-gradient(to bottom,#354052,#354052)}html.blue .ha-rich-text .ql-container.ql-snow{border-color:#434e61;background:#354052}html.blue .ha-rich-text .ql-stroke{stroke:#ffffffb8}html.blue .ha-rich-text .ql-fill{fill:#ffffffb8}html.blue .ha-rich-text .ql-picker .ql-picker-label,html.blue .ha-rich-text .ql-date{color:#ffffffb8}html.light .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #dcdfe6;box-shadow:0 1px 4px #ccc9;background-image:linear-gradient(to bottom,#fff,#f2f2f2)}html.light .ha-rich-text .ql-container.ql-snow{border-color:#dcdfe6}.ha-fill{width:100%}.ha-progress{position:absolute;width:0;z-index:1}.ha-scroller{position:relative;height:100%}.ha-scroller:hover .scroller-thumb{display:block}.ha-scroller.hover .scroller-thumb{display:block;opacity:.5}.ha-scroller .scroller-container{height:100%;overflow:auto;width:100%;scrollbar-width:none}.ha-scroller .scroller-track{position:absolute;top:0;right:0;width:8px;height:100%}.ha-scroller .scroller-thumb{display:none;position:absolute;cursor:pointer;height:30px;width:100%;-webkit-user-select:none;user-select:none;background:#a3a6ad;opacity:.3;border-radius:5px}.ha-scroller .scroller-thumb:hover{opacity:.5}.ha-code{width:100%;height:100%}.ha-code.border{width:calc(100% - 2px);height:calc(100% - 2px);border-radius:4px}.ha-code.border .monaco-editor,.ha-code.border .overflow-guard{border-radius:4px}.ha-code.border:has(.monaco-editor.focused){border:1px solid #007fd4}.ha-compare{width:100%;height:100%}.ha-rich-text{line-height:20px;width:100%}.ha-rich-text .ql-date{font-family:"Font Awesome 6 Free"}.ha-rich-text .ql-date:before{content:""}.ha-rich-text .ql-toolbar.ql-snow{padding:3px;position:sticky;top:0;z-index:10;border-top-left-radius:4px;border-top-right-radius:4px}.ha-rich-text .ql-body{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ha-rich-text .ql-container{height:auto}.ha-rich-text .ql-container.ql-snow{font-family:inherit;border:0}.ha-rich-text .ql-editor{padding:8px 8px 620px;word-break:break-word;overflow:initial}.ha-rich-text .ql-formats .ql-picker+.ql-picker{display:block!important}.ha-rich-text .ql-formats .ql-picker:has(+.ql-picker){display:none}.ha-rich-text:has(.ql-editor:focus) .ql-snow.ql-toolbar{border-color:#007fd4;border-bottom-color:#4c4d4f}.ha-rich-text:has(.ql-editor:focus) .ql-snow+.ql-body{border-color:#007fd4}.ha-condition{display:flex}.ha-col{display:flex;gap:5px}.ha-container{padding:10px;width:calc(100% - 20px);height:calc(100% - 20px)}.ha-container .ha-operation:nth-child(1){margin-top:0;margin-bottom:10px;padding:8px 10px;line-height:32px}.ha-row{display:flex;gap:5px}.ha-row.between{justify-content:space-between}
@@ -19,6 +19,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
19
19
  }, {}>;
20
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
21
  export default _default;
22
+
22
23
  type __VLS_WithTemplateSlots<T, S> = T & {
23
24
  new (): {
24
25
  $slots: S;
@@ -0,0 +1,12 @@
1
+ import { ConditionProps } from "./types";
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ConditionProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ConditionProps>>>, {}, {}>;
3
+ export default _default;
4
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
+ type __VLS_TypePropsToOption<T> = {
6
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
7
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
+ } : {
9
+ type: import('vue').PropType<T[K]>;
10
+ required: true;
11
+ };
12
+ };
@@ -0,0 +1,12 @@
1
+ import { ConditionGroupProps } from "./types";
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ConditionGroupProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ConditionGroupProps>>>, {}, {}>;
3
+ export default _default;
4
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
+ type __VLS_TypePropsToOption<T> = {
6
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
7
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
+ } : {
9
+ type: import('vue').PropType<T[K]>;
10
+ required: true;
11
+ };
12
+ };
@@ -0,0 +1,3 @@
1
+ import HaCondition from "./Condition.vue";
2
+ import HaConditionGroup from "./Index.vue";
3
+ export { HaCondition, HaConditionGroup };
@@ -0,0 +1,11 @@
1
+ import ConditionProps from "./ConditionProps";
2
+ /**
3
+ * 条件组类型
4
+ */
5
+ interface ConditionGroupProps {
6
+ /**
7
+ * 条件集合
8
+ */
9
+ conditions: ConditionProps[];
10
+ }
11
+ export default ConditionGroupProps;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 条件属性
3
+ */
4
+ interface ConditionProps {
5
+ /**
6
+ * 字段名
7
+ */
8
+ name: string;
9
+ /**
10
+ * 操作符
11
+ */
12
+ operator: string;
13
+ /**
14
+ * 值
15
+ */
16
+ value: string;
17
+ }
18
+ export default ConditionProps;
@@ -0,0 +1,3 @@
1
+ import ConditionGroupProps from "./ConditionGroupProps";
2
+ import ConditionProps from "./ConditionProps";
3
+ export { type ConditionGroupProps, type ConditionProps };
@@ -1,4 +1,4 @@
1
- import { type Monaco } from "../plugins";
1
+ import { type Monaco } from "../../plugins";
2
2
  import { CodeProps } from "./types";
3
3
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CodeProps>, {
4
4
  config: {};
@@ -18,10 +18,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
18
18
  onMounted?: (monaco: typeof Monaco, editor: Monaco.editor.IStandaloneCodeEditor) => any;
19
19
  "onUpdate:modelValue"?: (value: any) => any;
20
20
  }, {
21
- config: any;
21
+ config: {
22
+ readonly: boolean;
23
+ lineNumbers: string;
24
+ minimap: boolean;
25
+ category: string;
26
+ schema: any;
27
+ language: string;
28
+ scrollTop: number;
29
+ selection: import("./types").Range;
30
+ };
22
31
  }, {}>;
23
32
  export default _default;
24
-
25
33
  type __VLS_WithDefaults<P, D> = {
26
34
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
35
  default: D[K];
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import HaCode from "./Code.vue";
2
+ import HaCompare from "./Compare.vue";
3
+ import HaOption from "./Option.vue";
4
+ import HaRichText from "./RichText.vue";
5
+ import HaSelect from "./Select.vue";
6
+ export * from "./types";
7
+ export { HaCode, HaCompare, HaOption, HaRichText, HaSelect };
@@ -1,4 +1,4 @@
1
- import { Monaco } from "../../plugins";
1
+ import { Monaco } from "../../../plugins";
2
2
  /**
3
3
  * 代码控件事件
4
4
  */
@@ -0,0 +1,28 @@
1
+ import Range from "./Range";
2
+ /**
3
+ * 代码属性
4
+ */
5
+ interface CodeProps {
6
+ /**
7
+ * 配置
8
+ */
9
+ config?: {
10
+ readonly: boolean;
11
+ lineNumbers: string;
12
+ minimap: boolean;
13
+ category: string;
14
+ schema: any;
15
+ language: string;
16
+ scrollTop: number;
17
+ selection: Range;
18
+ };
19
+ /**
20
+ * 是否显示边框
21
+ */
22
+ border?: boolean;
23
+ /**
24
+ * 值
25
+ */
26
+ modelValue?: string;
27
+ }
28
+ export default CodeProps;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * 范围
3
+ */
4
+ declare class Range {
5
+ /**
6
+ * 起始行号
7
+ */
8
+ startLine: number;
9
+ /**
10
+ * 结束行号
11
+ */
12
+ endLine: number;
13
+ /**
14
+ * 起始列
15
+ */
16
+ startColumn: number;
17
+ /**
18
+ * 结束列
19
+ */
20
+ endColumn: number;
21
+ /**
22
+ * 初始化
23
+ */
24
+ constructor(startLine: number, endLine: number, startColumn: number, endColumn: number);
25
+ }
26
+ export default Range;
@@ -0,0 +1,6 @@
1
+ import CodeEmit from "./CodeEmit";
2
+ import CodeProps from "./CodeProps";
3
+ import Range from "./Range";
4
+ import RichTextOptions from "./RichTextOptions";
5
+ import RichTextProps from "./RichTextProps";
6
+ export { type CodeEmit, type CodeProps, Range, type RichTextOptions, type RichTextProps, };
@@ -1,15 +1,12 @@
1
- import HaCode from "./Code.vue";
2
- import HaCol from "./Col.vue";
3
- import HaCompare from "./Compare.vue";
4
- import HaContainer from "./Container.vue";
5
1
  import HaEmpty from "./Empty.vue";
6
2
  import HaFill from "./Fill.vue";
7
3
  import HaProgress from "./Progress.vue";
8
- import HaRichText from "./RichText.vue";
9
- import HaRow from "./Row.vue";
10
4
  import HaScroller from "./Scroller.vue";
11
5
  import HaTimer from "./Timer.vue";
12
- export * from "./types";
6
+ export * from "./conditions";
7
+ export * from "./controls";
8
+ export * from "./layouts";
13
9
  export * from "./tables";
14
10
  export * from "./tabs";
15
- export { HaCode, HaCol, HaCompare, HaContainer, HaEmpty, HaFill, HaProgress, HaRichText, HaRow, HaScroller, HaTimer };
11
+ export * from "./types";
12
+ export { HaEmpty, HaFill, HaProgress, HaScroller, HaTimer };
@@ -0,0 +1,5 @@
1
+ import HaCol from "./Col.vue";
2
+ import HaContainer from "./Container.vue";
3
+ import HaRow from "./Row.vue";
4
+ export * from "./types";
5
+ export { HaCol, HaContainer, HaRow, };
@@ -0,0 +1,2 @@
1
+ import RowProps from "./RowProps";
2
+ export { type RowProps };
@@ -1,7 +1,2 @@
1
- import CodeEmit from "./CodeEmit";
2
- import CodeProps from "./CodeProps";
3
- import RichTextOptions from "./RichTextOptions";
4
- import RichTextProps from "./RichTextProps";
5
- import RowProps from "./RowProps";
6
1
  import ScrollerProps from "./ScrollerProps";
7
- export { type CodeEmit, type CodeProps, type RichTextOptions, type RichTextProps, type RowProps, type ScrollerProps };
2
+ export { type ScrollerProps };
@@ -1 +1,7 @@
1
- export {};
1
+ import { IDriver } from "../types";
2
+ /**
3
+ * Android/IOS 操作系统通信桥
4
+ */
5
+ interface IBridge extends IDriver {
6
+ }
7
+ export default IBridge;
@@ -1,8 +1,11 @@
1
1
  import IBuilder from "./IBuilder";
2
+ import { ProviderTable } from "./entities";
2
3
  /**
3
4
  * 构建器基类
4
5
  */
5
- declare class Builder implements IBuilder {
6
+ declare abstract class Builder implements IBuilder {
6
7
  type: string;
8
+ abstract insert(table: ProviderTable): string;
9
+ abstract update(table: ProviderTable): string;
7
10
  }
8
11
  export default Builder;
@@ -4,6 +4,6 @@ import IBuilder from "./IBuilder";
4
4
  * 构建器工厂
5
5
  */
6
6
  declare class BuilderFactory extends Factory<IBuilder> {
7
- getInstances(): IBuilder[];
7
+ open(): void;
8
8
  }
9
9
  export default BuilderFactory;
@@ -1,7 +1,16 @@
1
1
  import { IDriver } from "../types";
2
+ import { ProviderTable } from "./types";
2
3
  /**
3
4
  * 构建器接口
4
5
  */
5
6
  interface IBuilder extends IDriver {
7
+ /**
8
+ * 添加数据SQL
9
+ */
10
+ insert(table: ProviderTable): string;
11
+ /**
12
+ * 更新数据SQL
13
+ */
14
+ update(table: ProviderTable): string;
6
15
  }
7
16
  export default IBuilder;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * 数据表接口
3
+ */
4
+ declare class ProviderTable {
5
+ /**
6
+ * 表名
7
+ */
8
+ name: string;
9
+ /**
10
+ * 列
11
+ */
12
+ columns: any[];
13
+ /**
14
+ * 数据行
15
+ */
16
+ rows: any[];
17
+ /**
18
+ * 获取标识列
19
+ */
20
+ getIdentity(): any;
21
+ }
22
+ export default ProviderTable;
@@ -0,0 +1,2 @@
1
+ import ProviderTable from "./ProviderTable";
2
+ export { ProviderTable };
@@ -1,5 +1,8 @@
1
1
  import Builder from "../Builder";
2
+ import { ProviderTable } from "../entities";
2
3
  declare class JsonBuilder extends Builder {
3
4
  type: string;
5
+ insert(table: ProviderTable): string;
6
+ update(table: ProviderTable): string;
4
7
  }
5
8
  export default JsonBuilder;
@@ -1,5 +1,11 @@
1
1
  import Builder from "../Builder";
2
+ import { ProviderTable } from "../entities";
3
+ /**
4
+ * Mongo数据构建器
5
+ */
2
6
  declare class MongoBuilder extends Builder {
3
7
  type: string;
8
+ insert(table: ProviderTable): string;
9
+ update(table: any): string;
4
10
  }
5
11
  export default MongoBuilder;
@@ -1,5 +1,8 @@
1
1
  import Builder from "../Builder";
2
+ import { ProviderTable } from "../entities";
2
3
  declare class MySqlBuilder extends Builder {
3
4
  type: string;
5
+ insert(table: ProviderTable): string;
6
+ update(table: ProviderTable): string;
4
7
  }
5
8
  export default MySqlBuilder;
@@ -1,5 +1,11 @@
1
1
  import Builder from "../Builder";
2
+ import { ProviderTable } from "../entities";
3
+ /**
4
+ * SQL命令构建器
5
+ */
2
6
  declare class SqlBuilder extends Builder {
3
7
  type: string;
8
+ insert(table: ProviderTable): string;
9
+ update(table: ProviderTable): string;
4
10
  }
5
11
  export default SqlBuilder;
@@ -1,2 +1,4 @@
1
1
  import IBuilder from "./IBuilder";
2
- export { type IBuilder };
2
+ import BuilderFactory from "./BuilderFactory";
3
+ export * from "./entities";
4
+ export { type IBuilder, BuilderFactory };
@@ -0,0 +1,6 @@
1
+ interface ProviderTable {
2
+ name: string;
3
+ columns: any[];
4
+ rows: any[];
5
+ }
6
+ export default ProviderTable;
@@ -0,0 +1,2 @@
1
+ import ProviderTable from "./ProviderTable";
2
+ export { type ProviderTable };
@@ -3,12 +3,25 @@ import ICdn from "./ICdn";
3
3
  * CDN抽象基类
4
4
  */
5
5
  declare abstract class Cdn implements ICdn {
6
- type: string;
7
- baseUrl: string;
8
- mappings: object;
9
- abstract open(conn: string): void;
10
- getPath(name: string): string;
11
- loadPathAsync(path: string, files: string[]): Promise<void>;
12
- loadAsync(name: string | string[]): Promise<void>;
6
+ abstract type: string;
7
+ abstract open(conn: string): Promise<void>;
8
+ loadFilesAsync(path: string, files: string[]): Promise<void>;
9
+ loadAsync(path: string | string[]): Promise<HTMLElement[]>;
10
+ abstract getCrypto(): Promise<any>;
11
+ abstract getElementPlus(): Promise<any>;
12
+ abstract getFortAwesome(): Promise<any>;
13
+ abstract getMonacoPath(): string;
14
+ abstract getMonaco(): Promise<any>;
15
+ abstract getQuill(): Promise<any>;
16
+ abstract getXlsx(): Promise<any>;
17
+ /**
18
+ * 异步加载脚本/样式内容,把内容处理为行内html
19
+ * 这种方式,依赖的内部资源,会从当前站点加载
20
+ */
21
+ loadContentAsync: (src: string | string[]) => Promise<void[]>;
22
+ /**
23
+ * 通过注入DOM标签异步加载脚本或样式表,已防重
24
+ */
25
+ loadResourceAsync: (url: string | string[]) => Promise<HTMLElement[]>;
13
26
  }
14
27
  export default Cdn;
@@ -4,7 +4,7 @@ import Factory from "../../factorying/Factory";
4
4
  * CDN工厂类
5
5
  */
6
6
  declare class CdnFactory extends Factory<ICdn> {
7
- getInstances(): ICdn[];
7
+ open(): void;
8
8
  /**
9
9
  * 获取指定CDN实例
10
10
  */
@@ -8,28 +8,45 @@ interface ICdn extends IDriver {
8
8
  */
9
9
  type: string;
10
10
  /**
11
- * 根路径
11
+ * 开启
12
12
  */
13
- baseUrl: string;
13
+ open(conn: string): Promise<void>;
14
14
  /**
15
- * CDN资源映射
15
+ * 加解密
16
16
  */
17
- mappings: object;
17
+ getCrypto(): Promise<any>;
18
18
  /**
19
- * 开启
19
+ * 加载Element-plus
20
+ */
21
+ getElementPlus(): Promise<any>;
22
+ /**
23
+ * 加载字体图标
24
+ */
25
+ getFortAwesome(): Promise<any>;
26
+ /**
27
+ * 加载Monaco编辑器
28
+ */
29
+ getMonaco(): Promise<any>;
30
+ /**
31
+ * 获取Monaco编辑器路径
32
+ */
33
+ getMonacoPath(): string;
34
+ /**
35
+ * 获取编辑器
20
36
  */
21
- open(conn: string): void;
37
+ getQuill(): Promise<any>;
22
38
  /**
23
- * 根据名称获取资源路径
39
+ * 获取Excel插件
24
40
  */
25
- getPath(name: string): string;
41
+ getXlsx(): Promise<any>;
26
42
  /**
27
43
  * 异步加载单个路径下的多个文件
28
44
  */
29
- loadPathAsync(path: string, files: string[]): Promise<void>;
45
+ loadFilesAsync(path: string, files: string[]): Promise<void>;
30
46
  /**
31
- * 加载资源
47
+ * 加载资源,已防重
48
+ * VIP:同一异步方法被并发调用时,后续的调用会直接完成
32
49
  */
33
- loadAsync(name: string | string[]): Promise<void>;
50
+ loadAsync(name: string | string[]): Promise<HTMLElement[]>;
34
51
  }
35
52
  export default ICdn;
@@ -1,11 +1,18 @@
1
1
  import Cdn from "../Cdn";
2
+ /**
3
+ * 本地资源内容
4
+ * 静态文件方式:减小类库打包体积,基础项目不需要配置cdn项目依赖
5
+ * import方式:打包到 dist/vendor-*.js,会导致每个类库的打包体积都变大
6
+ */
2
7
  declare class LocalCdn extends Cdn {
3
8
  type: string;
4
- mappings: {
5
- 'element-plus': string;
6
- quill: string;
7
- 'fort-awesome': string;
8
- };
9
- open(conn: string): void;
9
+ open(conn: string): Promise<void>;
10
+ getCrypto(): Promise<any>;
11
+ getElementPlus(): Promise<any>;
12
+ getFortAwesome(): Promise<any>;
13
+ getMonaco(): Promise<any>;
14
+ getMonacoPath(): string;
15
+ getQuill(): Promise<any>;
16
+ getXlsx(): Promise<any>;
10
17
  }
11
18
  export default LocalCdn;
@@ -0,0 +1,34 @@
1
+ import Cdn from "../Cdn";
2
+ import { ITask } from "../../tasks";
3
+ /**
4
+ * 三方资源包
5
+ * https://unpkg.com
6
+ * 首次加载很不稳定: 30s+, 稳定后: 首次加载2.5s(使用https加载,可以防止本地http访问外部http资源时的请求警告)
7
+ * /monaco-editor@0.49.0/min/vs
8
+ *
9
+ * JsDeliver
10
+ * https://cdn.jsdelivr.net/npm/monaco-editor@0.49.0/min/vs:国内无法访问
11
+ *
12
+ * https://cdn.bootcdn.net
13
+ * 'element-plus': ['/ajax/libs/element-plus/2.4.4/index.css']
14
+ * 'monaco-editor': ['/ajax/libs/monaco-editor/0.45.0/min/vs']
15
+ * 'quill': ['/ajax/libs/quill/1.3.7/quill.snow.min.css']
16
+ */
17
+ declare class ThirdCdn extends Cdn {
18
+ type: string;
19
+ /**
20
+ * 任务实例,用于控制并发
21
+ */
22
+ task: ITask;
23
+ staticFileCdn: string;
24
+ jdCdn: string;
25
+ open(conn: string): Promise<void>;
26
+ getCrypto(): Promise<any>;
27
+ getElementPlus(): Promise<any>;
28
+ getFortAwesome(): Promise<any>;
29
+ getMonacoPath(): string;
30
+ getMonaco(): Promise<any>;
31
+ getQuill(): Promise<any>;
32
+ getXlsx(): Promise<any>;
33
+ }
34
+ export default ThirdCdn;
@@ -1,3 +1,4 @@
1
1
  import ICdn from "./ICdn";
2
+ import Cdn from "./Cdn";
2
3
  import CdnFactory from "./CdnFactory";
3
- export { type ICdn, CdnFactory };
4
+ export { type ICdn, Cdn, CdnFactory };
@@ -4,7 +4,7 @@ import IEncoder from "./IEncoder";
4
4
  */
5
5
  declare abstract class Encoder implements IEncoder {
6
6
  type: string;
7
- abstract open(conn: string): void;
7
+ abstract open(conn: string): Promise<void>;
8
8
  encode(value: string | object): string;
9
9
  /**
10
10
  * 编码字符串
@@ -4,7 +4,7 @@ import Factory from "../../factorying/Factory";
4
4
  * 编码器工厂
5
5
  */
6
6
  declare class EncoderFactory extends Factory<IEncoder> {
7
- getInstances(): IEncoder[];
7
+ get instances(): IEncoder[];
8
8
  /**
9
9
  * 创建执行类型的Hash实例
10
10
  */
@@ -9,7 +9,7 @@ interface IEncoder {
9
9
  /**
10
10
  * 开启
11
11
  */
12
- open(conn: string): void;
12
+ open(conn: string): Promise<void>;
13
13
  /**
14
14
  * 编码字符串/实体,得到字符串
15
15
  */
@@ -4,7 +4,8 @@ import Encoder from "../Encoder";
4
4
  */
5
5
  declare class Base64Encoder extends Encoder {
6
6
  type: string;
7
- open(conn: string): void;
7
+ crypto: any;
8
+ open(conn: string): Promise<void>;
8
9
  encodeString(value: string): string;
9
10
  decode(value: string): string;
10
11
  }
@@ -4,7 +4,7 @@ import Factory from "../../factorying/Factory";
4
4
  * Excel工厂
5
5
  */
6
6
  declare class ExcelFactory extends Factory<IExcel> {
7
- getInstances(): IExcel[];
7
+ get instances(): IExcel[];
8
8
  /**
9
9
  * 获取Excel实例
10
10
  */
@@ -4,6 +4,7 @@ import Excel from "../Excel";
4
4
  */
5
5
  declare class XlsxExcel extends Excel {
6
6
  type: string;
7
+ xlsx: any;
7
8
  open(conn: string): Promise<void>;
8
9
  export(dataRows: any[], name: string): any;
9
10
  }
@@ -1,6 +1,6 @@
1
1
  import Factory from "../../factorying/Factory";
2
2
  import IExplainer from "./IExplainer";
3
3
  declare class ExplainerFactory extends Factory<IExplainer> {
4
- getInstances(): IExplainer[];
4
+ get instances(): IExplainer[];
5
5
  }
6
6
  export default ExplainerFactory;