halo-fe 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/@intlify-BISCQg1h.js +2189 -0
- package/dist/{vendor-@monaco-editor-DKC4UNw_.js → assets/@monaco-editor-BCDRi0Ti.js} +1 -1
- package/dist/assets/@vue-aVYGocXp.js +93 -0
- package/dist/assets/clone-DtpAsLoe.js +139 -0
- package/dist/{vendor-file-saver-DKXzEV2Q.js → assets/file-saver-Cnua3zoa.js} +1 -1
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/{vendor-underscore.string-vrHhfBaT.js → assets/underscore.string-oDfap0sE.js} +3 -3
- package/dist/{vendor-util-deprecate-BfbfwJhs.js → assets/util-deprecate-BqFawLoO.js} +1 -1
- package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
- package/dist/main.js +2383 -1579
- package/dist/style.css +1 -1
- package/esm/coms/Empty.vue.d.ts +1 -0
- package/esm/coms/conditions/Condition.vue.d.ts +12 -0
- package/esm/coms/conditions/Index.vue.d.ts +12 -0
- package/esm/coms/conditions/index.d.ts +3 -0
- package/esm/coms/conditions/types/ConditionGroupProps.d.ts +11 -0
- package/esm/coms/conditions/types/ConditionProps.d.ts +18 -0
- package/esm/coms/conditions/types/index.d.ts +3 -0
- package/esm/coms/{Code.vue.d.ts → controls/Code.vue.d.ts} +11 -3
- package/esm/coms/controls/Option.vue.d.ts +2 -0
- package/esm/coms/controls/Select.vue.d.ts +2 -0
- package/esm/coms/controls/index.d.ts +7 -0
- package/esm/coms/{types → controls/types}/CodeEmit.d.ts +1 -1
- package/esm/coms/controls/types/CodeProps.d.ts +28 -0
- package/esm/coms/controls/types/Range.d.ts +26 -0
- package/esm/coms/controls/types/index.d.ts +6 -0
- package/esm/coms/index.d.ts +5 -8
- package/esm/coms/layouts/index.d.ts +5 -0
- package/esm/coms/layouts/types/index.d.ts +2 -0
- package/esm/coms/types/index.d.ts +1 -6
- package/esm/drivers/bridges/IBridge.d.ts +7 -1
- package/esm/drivers/builders/Builder.d.ts +4 -1
- package/esm/drivers/builders/BuilderFactory.d.ts +1 -1
- package/esm/drivers/builders/IBuilder.d.ts +9 -0
- package/esm/drivers/builders/entities/ProviderTable.d.ts +22 -0
- package/esm/drivers/builders/entities/index.d.ts +2 -0
- package/esm/drivers/builders/implement/JsonBuilder.d.ts +3 -0
- package/esm/drivers/builders/implement/MongoBuilder.d.ts +6 -0
- package/esm/drivers/builders/implement/MySqlBuilder.d.ts +3 -0
- package/esm/drivers/builders/implement/SqlBuilder.d.ts +6 -0
- package/esm/drivers/builders/index.d.ts +3 -1
- package/esm/drivers/builders/types/ProviderTable.d.ts +6 -0
- package/esm/drivers/builders/types/index.d.ts +2 -0
- package/esm/drivers/cdns/Cdn.d.ts +20 -7
- package/esm/drivers/cdns/CdnFactory.d.ts +1 -1
- package/esm/drivers/cdns/ICdn.d.ts +28 -11
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +13 -6
- package/esm/drivers/cdns/implements/ThirdCdn.d.ts +34 -0
- package/esm/drivers/cdns/index.d.ts +2 -1
- package/esm/drivers/encoders/Encoder.d.ts +1 -1
- package/esm/drivers/encoders/EncoderFactory.d.ts +1 -1
- package/esm/drivers/encoders/IEncoder.d.ts +1 -1
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +2 -1
- package/esm/drivers/excels/ExcelFactory.d.ts +1 -1
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +1 -0
- package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -1
- package/esm/drivers/features/FeatureFactory.d.ts +1 -1
- package/esm/drivers/hashers/Hasher.d.ts +1 -1
- package/esm/drivers/hashers/HasherFactory.d.ts +1 -1
- package/esm/drivers/hashers/IHasher.d.ts +1 -1
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +2 -1
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +1 -1
- package/esm/drivers/https/Http.d.ts +2 -2
- package/esm/drivers/https/HttpFactory.d.ts +1 -1
- package/esm/drivers/https/entities/HttpMessage.d.ts +14 -3
- package/esm/drivers/https/entities/HttpRequest.d.ts +6 -2
- package/esm/drivers/https/implements/DefaultHttp.d.ts +9 -1
- package/esm/drivers/index.d.ts +2 -0
- package/esm/{plugins/types → drivers/messengers}/IMessenger.d.ts +2 -1
- package/esm/drivers/messengers/Messenger.d.ts +15 -0
- package/esm/drivers/messengers/MessengerFactory.d.ts +13 -0
- package/esm/drivers/messengers/implement/ConsoleMessenger.d.ts +15 -0
- package/esm/drivers/messengers/index.d.ts +4 -0
- package/esm/drivers/providers/IProvider.d.ts +6 -2
- package/esm/drivers/providers/Provider.d.ts +2 -0
- package/esm/drivers/providers/ProviderFactory.d.ts +1 -1
- package/esm/drivers/providers/helpers/SqlHelper.d.ts +11 -0
- package/esm/drivers/providers/helpers/index.d.ts +2 -0
- package/esm/drivers/providers/implements/CookieProvider.d.ts +2 -0
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +2 -0
- package/esm/drivers/providers/implements/StorageProvider.d.ts +3 -9
- package/esm/drivers/providers/index.d.ts +1 -0
- package/esm/drivers/signers/SignerFactory.d.ts +1 -1
- package/esm/drivers/ssos/SsoFactory.d.ts +1 -1
- package/esm/drivers/tasks/ITask.d.ts +5 -0
- package/esm/drivers/tasks/Task.d.ts +1 -0
- package/esm/drivers/tasks/TaskFactory.d.ts +1 -1
- package/esm/drivers/tasks/implement/MemoryTask.d.ts +15 -0
- package/esm/drivers/templates/ITemplate.d.ts +11 -0
- package/esm/drivers/templates/Template.d.ts +6 -0
- package/esm/drivers/templates/TemplateFactory.d.ts +9 -0
- package/esm/drivers/templates/implement/LiquidTemplate.d.ts +6 -0
- package/esm/drivers/templates/index.d.ts +3 -0
- package/esm/drivers/videos/VideoFactory.d.ts +1 -1
- package/esm/drivers/voices/VoiceFactory.d.ts +1 -1
- package/esm/factorying/Factories.d.ts +27 -13
- package/esm/factorying/Factory.d.ts +16 -8
- package/esm/factorying/IFactory.d.ts +6 -6
- package/esm/factorying/index.d.ts +12 -3
- package/esm/helpers/DictionaryHelper.d.ts +3 -1
- package/esm/helpers/DomHelper.d.ts +24 -3
- package/esm/helpers/JsonHelper.d.ts +18 -10
- package/esm/helpers/ObjectHelper.d.ts +7 -3
- package/esm/helpers/TreeHelper.d.ts +1 -1
- package/esm/helpers/index.d.ts +1 -2
- package/esm/helpers/types/JsonConfig.d.ts +10 -0
- package/esm/helpers/types/TreeNodeProp.d.ts +3 -0
- package/esm/helpers/types/index.d.ts +2 -1
- package/esm/main.d.ts +2 -2
- package/esm/plugins/index.d.ts +0 -1
- package/esm/svcs/ISvc.d.ts +2 -1
- package/esm/svcs/Svc.d.ts +1 -0
- package/esm/svcs/SvcFactory.d.ts +4 -1
- package/esm/svcs/implement/ConfigSvc.d.ts +4 -0
- package/esm/svcs/implement/I18nSvc.d.ts +83 -0
- package/esm/svcs/implement/SettingSvc.d.ts +4 -0
- package/esm/svcs/implement/index.d.ts +2 -0
- package/esm/svcs/index.d.ts +14 -1
- package/esm/types/CreateFeOptions.d.ts +24 -0
- package/esm/types/{CreateOptions.d.ts → CreatePcOptions.d.ts} +2 -5
- package/esm/types/index.d.ts +3 -2
- package/esm/utilities/EventUtility.d.ts +11 -0
- package/esm/utilities/types/DragOptions.d.ts +2 -2
- package/esm/utilities/types/Rect.d.ts +4 -0
- package/esm/utilities/types/index.d.ts +2 -2
- package/package.json +16 -12
- package/dist/vendor-clone-NGbTzSwJ.js +0 -159
- package/dist/vendor-crypto-js-DWn5nTKL.js +0 -4997
- package/dist/vendor-xlsx-js-style-DMPNZPOx.js +0 -11862
- package/esm/coms/types/CodeProps.d.ts +0 -18
- package/esm/drivers/IDisposable.d.ts +0 -10
- package/esm/drivers/IDriver.d.ts +0 -10
- package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
- package/esm/drivers/driver-helper.d.ts +0 -46
- package/esm/drivers/factories/DriverFactory.d.ts +0 -64
- package/esm/drivers/factories/Factories.d.ts +0 -55
- package/esm/drivers/factories/Factory.d.ts +0 -25
- package/esm/drivers/factories/IFactory.d.ts +0 -18
- package/esm/drivers/factories/implement/CdnFactory.d.ts +0 -13
- package/esm/drivers/factories/implement/EncoderFactory.d.ts +0 -17
- package/esm/drivers/factories/implement/ExcelFactory.d.ts +0 -13
- package/esm/drivers/factories/implement/ExplainerFactory.d.ts +0 -6
- package/esm/drivers/factories/implement/FeatureFactory.d.ts +0 -13
- package/esm/drivers/factories/implement/HasherFactory.d.ts +0 -11
- package/esm/drivers/factories/implement/HttpFactory.d.ts +0 -18
- package/esm/drivers/factories/implement/ProviderFactory.d.ts +0 -18
- package/esm/drivers/factories/implement/SignerFactory.d.ts +0 -13
- package/esm/drivers/factories/implement/SsoFactory.d.ts +0 -17
- package/esm/drivers/factories/implement/TaskFactory.d.ts +0 -9
- package/esm/drivers/factories/implement/VideoFactory.d.ts +0 -3
- package/esm/drivers/factories/implement/VoiceFactory.d.ts +0 -6
- package/esm/drivers/factories/implement/index.d.ts +0 -11
- package/esm/drivers/factories/index.d.ts +0 -21
- package/esm/drivers/providers/implements/StorageHelper.d.ts +0 -34
- package/esm/drivers/requesters/IRequester.d.ts +0 -25
- package/esm/drivers/requesters/Requester.d.ts +0 -13
- package/esm/drivers/requesters/RequesterFactory.d.ts +0 -21
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -34
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -12
- package/esm/drivers/requesters/implements/LocalRequester.d.ts +0 -43
- package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -40
- package/esm/drivers/requesters/index.d.ts +0 -5
- package/esm/factories/Factories.d.ts +0 -55
- package/esm/factories/Factory.d.ts +0 -38
- package/esm/factories/IFactory.d.ts +0 -27
- package/esm/factories/index.d.ts +0 -26
- package/esm/helpers/ScriptHelper.d.ts +0 -31
- package/esm/helpers/array-helper.d.ts +0 -97
- package/esm/helpers/component-helper.d.ts +0 -10
- package/esm/helpers/cookie-helper.d.ts +0 -6
- package/esm/helpers/dictionary-helper.d.ts +0 -18
- package/esm/helpers/dom-helper.d.ts +0 -86
- package/esm/helpers/event-helper.d.ts +0 -30
- package/esm/helpers/file-helper.d.ts +0 -22
- package/esm/helpers/html-helper.d.ts +0 -10
- package/esm/helpers/i18n-helper.d.ts +0 -14
- package/esm/helpers/image-helper.d.ts +0 -10
- package/esm/helpers/json-helper.d.ts +0 -31
- package/esm/helpers/math-helper.d.ts +0 -46
- package/esm/helpers/micro-helper.d.ts +0 -10
- package/esm/helpers/mount-helper.d.ts +0 -14
- package/esm/helpers/object-helper.d.ts +0 -34
- package/esm/helpers/script-helper.d.ts +0 -31
- package/esm/helpers/scroll-helper.d.ts +0 -14
- package/esm/helpers/sign-helper.d.ts +0 -14
- package/esm/helpers/storage-helper.d.ts +0 -34
- package/esm/helpers/string-helper.d.ts +0 -94
- package/esm/helpers/task-helper.d.ts +0 -26
- package/esm/helpers/time-helper.d.ts +0 -62
- package/esm/helpers/tree-helper.d.ts +0 -54
- package/esm/helpers/type-helper.d.ts +0 -26
- package/esm/helpers/url-helper.d.ts +0 -96
- package/esm/plugins/types/IMessager.d.ts +0 -34
- package/esm/plugins/types/index.d.ts +0 -10
- package/esm/services/SettingService.d.ts +0 -5
- package/esm/services/index.d.ts +0 -15
- package/esm/servs/IServ.d.ts +0 -6
- package/esm/servs/Serv.d.ts +0 -4
- package/esm/servs/ServFactory.d.ts +0 -11
- package/esm/servs/implement/ConfigServ.d.ts +0 -66
- package/esm/servs/implement/DriverServ.d.ts +0 -36
- package/esm/servs/implement/EnvServ.d.ts +0 -14
- package/esm/servs/implement/LogServ.d.ts +0 -19
- package/esm/servs/implement/SettingServ.d.ts +0 -42
- package/esm/servs/implement/SocketServ.d.ts +0 -38
- package/esm/servs/implement/UserServ.d.ts +0 -47
- package/esm/servs/index.d.ts +0 -15
- package/esm/stores/config.d.ts +0 -59
- package/esm/stores/driver.d.ts +0 -41
- package/esm/stores/env.d.ts +0 -12
- package/esm/stores/index.d.ts +0 -7
- package/esm/stores/log.d.ts +0 -20
- package/esm/stores/setting.d.ts +0 -47
- package/esm/stores/socket.d.ts +0 -27
- package/esm/stores/user.d.ts +0 -44
- package/esm/svcs/proxies/driverSvc.d.ts +0 -18
- package/esm/svcs/proxies/index.d.ts +0 -2
- package/esm/thirds/index.d.ts +0 -8
- package/esm/vite.config.d.ts +0 -6
- /package/dist/{vendor-moment-h96o7c8I.js → assets/moment-h96o7c8I.js} +0 -0
- /package/dist/{vendor-sprintf-js-BPTdvBYM.js → assets/sprintf-js-BPTdvBYM.js} +0 -0
- /package/dist/{vendor-state-local-CEworIRt.js → assets/state-local-CEworIRt.js} +0 -0
- /package/dist/{vendor-underscore-B0BCaBxV.js → assets/underscore-B0BCaBxV.js} +0 -0
- /package/esm/coms/{Compare.vue.d.ts → controls/Compare.vue.d.ts} +0 -0
- /package/esm/coms/{RichText.vue.d.ts → controls/RichText.vue.d.ts} +0 -0
- /package/esm/coms/{types → controls/types}/RichTextOptions.d.ts +0 -0
- /package/esm/coms/{types → controls/types}/RichTextProps.d.ts +0 -0
- /package/esm/coms/{Col.vue.d.ts → layouts/Col.vue.d.ts} +0 -0
- /package/esm/coms/{Container.vue.d.ts → layouts/Container.vue.d.ts} +0 -0
- /package/esm/coms/{Row.vue.d.ts → layouts/Row.vue.d.ts} +0 -0
- /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-
|
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}
|
package/esm/coms/Empty.vue.d.ts
CHANGED
@@ -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
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type Monaco } from "
|
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:
|
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,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 };
|
@@ -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, };
|
package/esm/coms/index.d.ts
CHANGED
@@ -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 "./
|
6
|
+
export * from "./conditions";
|
7
|
+
export * from "./controls";
|
8
|
+
export * from "./layouts";
|
13
9
|
export * from "./tables";
|
14
10
|
export * from "./tabs";
|
15
|
-
export
|
11
|
+
export * from "./types";
|
12
|
+
export { HaEmpty, HaFill, HaProgress, HaScroller, HaTimer };
|
@@ -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
|
2
|
+
export { type ScrollerProps };
|
@@ -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;
|
@@ -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;
|
@@ -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,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;
|
@@ -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
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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;
|
@@ -8,28 +8,45 @@ interface ICdn extends IDriver {
|
|
8
8
|
*/
|
9
9
|
type: string;
|
10
10
|
/**
|
11
|
-
*
|
11
|
+
* 开启
|
12
12
|
*/
|
13
|
-
|
13
|
+
open(conn: string): Promise<void>;
|
14
14
|
/**
|
15
|
-
*
|
15
|
+
* 加解密
|
16
16
|
*/
|
17
|
-
|
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
|
-
|
37
|
+
getQuill(): Promise<any>;
|
22
38
|
/**
|
23
|
-
*
|
39
|
+
* 获取Excel插件
|
24
40
|
*/
|
25
|
-
|
41
|
+
getXlsx(): Promise<any>;
|
26
42
|
/**
|
27
43
|
* 异步加载单个路径下的多个文件
|
28
44
|
*/
|
29
|
-
|
45
|
+
loadFilesAsync(path: string, files: string[]): Promise<void>;
|
30
46
|
/**
|
31
|
-
*
|
47
|
+
* 加载资源,已防重
|
48
|
+
* VIP:同一异步方法被并发调用时,后续的调用会直接完成
|
32
49
|
*/
|
33
|
-
loadAsync(name: string | string[]): Promise<
|
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
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
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;
|