hzzt-plus 0.0.1-dev-01 → 0.0.1-dev-03
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.
- package/dist/index.css +1 -1
- package/dist/index.full.js +292 -55
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +11 -11
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +288 -57
- package/dist/locale/en.js +7 -2
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.js.map +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.min.mjs.map +1 -1
- package/dist/locale/en.mjs +7 -2
- package/dist/locale/zh-cn.js +7 -2
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.js.map +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.min.mjs.map +1 -1
- package/dist/locale/zh-cn.mjs +7 -2
- package/es/component.mjs +5 -1
- package/es/component.mjs.map +1 -1
- package/es/components/collapse/index.d.ts +55 -0
- package/es/components/collapse/src/index.vue.d.ts +55 -0
- package/es/components/collapse/style/css.d.ts +2 -0
- package/es/components/collapse/style/index.d.ts +2 -0
- package/es/components/config-provider/index.d.ts +41 -0
- package/es/components/config-provider/src/config-provider-props.d.ts +19 -0
- package/es/components/config-provider/src/config-provider.d.ts +38 -0
- package/es/components/config-provider/src/constants.d.ts +4 -0
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +6 -0
- package/es/components/config-provider/style/css.d.ts +2 -0
- package/es/components/config-provider/style/index.d.ts +2 -0
- package/es/components/dropdown/index.d.ts +1 -0
- package/es/components/dropdown/src/index.vue.d.ts +1 -0
- package/es/components/index.d.ts +2 -0
- package/es/defaults.d.ts +1 -1
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/use-locale/index.d.ts +15 -0
- package/es/hooks/use-size/index.d.ts +21 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +5 -0
- package/es/index.mjs.map +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/locale/lang/en.d.ts +6 -1
- package/es/locale/lang/zh-cn.d.ts +6 -1
- package/es/make-installer.d.ts +1 -1
- package/es/make-installer.mjs +5 -1
- package/es/make-installer.mjs.map +1 -1
- package/es/packages/components/collapse/index.mjs +8 -0
- package/es/packages/components/collapse/index.mjs.map +1 -0
- package/es/packages/components/collapse/src/index.mjs +70 -0
- package/es/packages/components/collapse/src/index.mjs.map +1 -0
- package/es/packages/components/collapse/style/css.mjs +3 -0
- package/es/packages/components/collapse/style/css.mjs.map +1 -0
- package/es/packages/components/collapse/style/index.mjs +3 -0
- package/es/packages/components/collapse/style/index.mjs.map +1 -0
- package/es/packages/components/config-provider/index.mjs +11 -0
- package/es/packages/components/config-provider/index.mjs.map +1 -0
- package/es/packages/components/config-provider/src/config-provider-props.mjs +22 -0
- package/es/packages/components/config-provider/src/config-provider-props.mjs.map +1 -0
- package/es/packages/components/config-provider/src/config-provider.mjs +15 -0
- package/es/packages/components/config-provider/src/config-provider.mjs.map +1 -0
- package/es/packages/components/config-provider/src/constants.mjs +4 -0
- package/es/packages/components/config-provider/src/constants.mjs.map +1 -0
- package/es/packages/components/config-provider/src/hooks/use-global-config.mjs +57 -0
- package/es/packages/components/config-provider/src/hooks/use-global-config.mjs.map +1 -0
- package/es/packages/components/config-provider/style/css.mjs +3 -0
- package/es/packages/components/config-provider/style/css.mjs.map +1 -0
- package/es/packages/components/config-provider/style/index.mjs +3 -0
- package/es/packages/components/config-provider/style/index.mjs.map +1 -0
- package/es/packages/components/dropdown/src/index.mjs +4 -2
- package/es/packages/components/dropdown/src/index.mjs.map +1 -1
- package/es/packages/components/index.mjs +5 -0
- package/es/packages/components/index.mjs.map +1 -1
- package/es/packages/hooks/index.mjs +3 -0
- package/es/packages/hooks/index.mjs.map +1 -0
- package/es/packages/hooks/use-locale/index.mjs +26 -0
- package/es/packages/hooks/use-locale/index.mjs.map +1 -0
- package/es/packages/hooks/use-size/index.mjs +24 -0
- package/es/packages/hooks/use-size/index.mjs.map +1 -0
- package/es/packages/locale/lang/en.mjs +8 -3
- package/es/packages/locale/lang/en.mjs.map +1 -1
- package/es/packages/locale/lang/zh-cn.mjs +6 -1
- package/es/packages/locale/lang/zh-cn.mjs.map +1 -1
- package/es/utils/vue/vnode.d.ts +6 -6
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/global.d.ts +2 -0
- package/lib/component.js +8 -4
- package/lib/component.js.map +1 -1
- package/lib/components/collapse/index.d.ts +55 -0
- package/lib/components/collapse/src/index.vue.d.ts +55 -0
- package/lib/components/collapse/style/css.d.ts +2 -0
- package/lib/components/collapse/style/index.d.ts +2 -0
- package/lib/components/config-provider/index.d.ts +41 -0
- package/lib/components/config-provider/src/config-provider-props.d.ts +19 -0
- package/lib/components/config-provider/src/config-provider.d.ts +38 -0
- package/lib/components/config-provider/src/constants.d.ts +4 -0
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +6 -0
- package/lib/components/config-provider/style/css.d.ts +2 -0
- package/lib/components/config-provider/style/index.d.ts +2 -0
- package/lib/components/dropdown/index.d.ts +1 -0
- package/lib/components/dropdown/src/index.vue.d.ts +1 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/defaults.d.ts +1 -1
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/use-locale/index.d.ts +15 -0
- package/lib/hooks/use-size/index.d.ts +21 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +11 -0
- package/lib/index.js.map +1 -1
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/lang/en.d.ts +6 -1
- package/lib/locale/lang/zh-cn.d.ts +6 -1
- package/lib/make-installer.d.ts +1 -1
- package/lib/make-installer.js +5 -1
- package/lib/make-installer.js.map +1 -1
- package/lib/packages/components/collapse/index.js +13 -0
- package/lib/packages/components/collapse/index.js.map +1 -0
- package/lib/packages/components/collapse/src/index.js +74 -0
- package/lib/packages/components/collapse/src/index.js.map +1 -0
- package/lib/packages/components/collapse/style/css.js +6 -0
- package/lib/packages/components/collapse/style/css.js.map +1 -0
- package/lib/packages/components/collapse/style/index.js +6 -0
- package/lib/packages/components/collapse/style/index.js.map +1 -0
- package/lib/packages/components/config-provider/index.js +20 -0
- package/lib/packages/components/config-provider/index.js.map +1 -0
- package/lib/packages/components/config-provider/src/config-provider-props.js +26 -0
- package/lib/packages/components/config-provider/src/config-provider-props.js.map +1 -0
- package/lib/packages/components/config-provider/src/config-provider.js +19 -0
- package/lib/packages/components/config-provider/src/config-provider.js.map +1 -0
- package/lib/packages/components/config-provider/src/constants.js +8 -0
- package/lib/packages/components/config-provider/src/constants.js.map +1 -0
- package/lib/packages/components/config-provider/src/hooks/use-global-config.js +62 -0
- package/lib/packages/components/config-provider/src/hooks/use-global-config.js.map +1 -0
- package/lib/packages/components/config-provider/style/css.js +6 -0
- package/lib/packages/components/config-provider/style/css.js.map +1 -0
- package/lib/packages/components/config-provider/style/index.js +6 -0
- package/lib/packages/components/config-provider/style/index.js.map +1 -0
- package/lib/packages/components/dropdown/src/index.js +3 -1
- package/lib/packages/components/dropdown/src/index.js.map +1 -1
- package/lib/packages/components/index.js +11 -0
- package/lib/packages/components/index.js.map +1 -1
- package/lib/packages/hooks/index.js +19 -0
- package/lib/packages/hooks/index.js.map +1 -0
- package/lib/packages/hooks/use-locale/index.js +34 -0
- package/lib/packages/hooks/use-locale/index.js.map +1 -0
- package/lib/packages/hooks/use-size/index.js +31 -0
- package/lib/packages/hooks/use-size/index.js.map +1 -0
- package/lib/packages/locale/lang/en.js +8 -3
- package/lib/packages/locale/lang/en.js.map +1 -1
- package/lib/packages/locale/lang/zh-cn.js +6 -1
- package/lib/packages/locale/lang/zh-cn.js.map +1 -1
- package/lib/utils/vue/vnode.d.ts +6 -6
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/theme/hzzt-collapse.css +1 -0
- package/theme/hzzt-config-provider.css +0 -0
- package/theme/hzzt-dropdown.css +1 -1
- package/theme/index.css +1 -1
- package/theme/src/collapse.scss +56 -0
- package/theme/src/config-provider.scss +0 -0
- package/theme/src/dropdown.scss +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";:root{--hzzt-color-white:#ffffff;--hzzt-color-black:#000000;--hzzt-color-primary-rgb:64,158,255;--hzzt-color-success-rgb:103,194,58;--hzzt-color-warning-rgb:230,162,60;--hzzt-color-danger-rgb:245,108,108;--hzzt-color-error-rgb:245,108,108;--hzzt-color-info-rgb:144,147,153;--hzzt-font-size-extra-large:20px;--hzzt-font-size-large:18px;--hzzt-font-size-medium:16px;--hzzt-font-size-base:14px;--hzzt-font-size-small:13px;--hzzt-font-size-extra-small:12px;--hzzt-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--hzzt-font-weight-primary:500;--hzzt-font-line-height-primary:24px;--hzzt-index-normal:1;--hzzt-index-top:1000;--hzzt-index-popper:2000;--hzzt-border-radius-base:4px;--hzzt-border-radius-small:2px;--hzzt-border-radius-round:20px;--hzzt-border-radius-circle:100%;--hzzt-transition-duration:0.3s;--hzzt-transition-duration-fast:0.2s;--hzzt-transition-function-ease-in-out-bezier:cubic-bezier(0.645,0.045,0.355,1);--hzzt-transition-function-fast-bezier:cubic-bezier(0.23,1,0.32,1);--hzzt-transition-all:all var(--hzzt-transition-duration) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-transition-fade:opacity var(--hzzt-transition-duration) var(--hzzt-transition-function-fast-bezier);--hzzt-transition-md-fade:transform var(--hzzt-transition-duration) var(--hzzt-transition-function-fast-bezier),opacity var(--hzzt-transition-duration) var(--hzzt-transition-function-fast-bezier);--hzzt-transition-fade-linear:opacity var(--hzzt-transition-duration-fast) linear;--hzzt-transition-border:border-color var(--hzzt-transition-duration-fast) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-transition-box-shadow:box-shadow var(--hzzt-transition-duration-fast) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-transition-color:color var(--hzzt-transition-duration-fast) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-component-size-large:40px;--hzzt-component-size:32px;--hzzt-component-size-small:24px;color-scheme:light;--hzzt-color-primary:#409eff;--hzzt-color-primary-light-3:#79bbff;--hzzt-color-primary-light-5:#a0cfff;--hzzt-color-primary-light-7:#c6e2ff;--hzzt-color-primary-light-8:#d9ecff;--hzzt-color-primary-light-9:#ecf5ff;--hzzt-color-primary-dark-2:#337ecc;--hzzt-color-success:#67c23a;--hzzt-color-success-light-3:#95d475;--hzzt-color-success-light-5:#b3e19d;--hzzt-color-success-light-7:#d1edc4;--hzzt-color-success-light-8:#e1f3d8;--hzzt-color-success-light-9:#f0f9eb;--hzzt-color-success-dark-2:#529b2e;--hzzt-color-warning:#e6a23c;--hzzt-color-warning-light-3:#eebe77;--hzzt-color-warning-light-5:#f3d19e;--hzzt-color-warning-light-7:#f8e3c5;--hzzt-color-warning-light-8:#faecd8;--hzzt-color-warning-light-9:#fdf6ec;--hzzt-color-warning-dark-2:#b88230;--hzzt-color-danger:#f56c6c;--hzzt-color-danger-light-3:#f89898;--hzzt-color-danger-light-5:#fab6b6;--hzzt-color-danger-light-7:#fcd3d3;--hzzt-color-danger-light-8:#fde2e2;--hzzt-color-danger-light-9:#fef0f0;--hzzt-color-danger-dark-2:#c45656;--hzzt-color-error:#f56c6c;--hzzt-color-error-light-3:#f89898;--hzzt-color-error-light-5:#fab6b6;--hzzt-color-error-light-7:#fcd3d3;--hzzt-color-error-light-8:#fde2e2;--hzzt-color-error-light-9:#fef0f0;--hzzt-color-error-dark-2:#c45656;--hzzt-color-info:#909399;--hzzt-color-info-light-3:#b1b3b8;--hzzt-color-info-light-5:#c8c9cc;--hzzt-color-info-light-7:#dedfe0;--hzzt-color-info-light-8:#e9e9eb;--hzzt-color-info-light-9:#f4f4f5;--hzzt-color-info-dark-2:#73767a;--hzzt-bg-color:#ffffff;--hzzt-bg-color-page:#f2f3f5;--hzzt-bg-color-overlay:#ffffff;--hzzt-text-color-primary:#303133;--hzzt-text-color-regular:#606266;--hzzt-text-color-secondary:#909399;--hzzt-text-color-placeholder:#a8abb2;--hzzt-text-color-disabled:#c0c4cc;--hzzt-border-color:#dcdfe6;--hzzt-border-color-light:#e4e7ed;--hzzt-border-color-lighter:#ebeef5;--hzzt-border-color-extra-light:#f2f6fc;--hzzt-border-color-dark:#d4d7de;--hzzt-border-color-darker:#cdd0d6;--hzzt-fill-color:#f0f2f5;--hzzt-fill-color-light:#f5f7fa;--hzzt-fill-color-lighter:#fafafa;--hzzt-fill-color-extra-light:#fafcff;--hzzt-fill-color-dark:#ebedf0;--hzzt-fill-color-darker:#e6e8eb;--hzzt-fill-color-blank:#ffffff;--hzzt-box-shadow:0px 12px 32px 4px rgba(0,0,0,0.04),0px 8px 20px rgba(0,0,0,0.08);--hzzt-box-shadow-light:0px 0px 12px rgba(0,0,0,0.12);--hzzt-box-shadow-lighter:0px 0px 6px rgba(0,0,0,0.12);--hzzt-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,0.08),0px 12px 32px rgba(0,0,0,0.12),0px 8px 16px -8px rgba(0,0,0,0.16);--hzzt-disabled-bg-color:var(--hzzt-fill-color-light);--hzzt-disabled-text-color:var(--hzzt-text-color-placeholder);--hzzt-disabled-border-color:var(--hzzt-border-color-light);--hzzt-overlay-color:rgba(0,0,0,0.8);--hzzt-overlay-color-light:rgba(0,0,0,0.7);--hzzt-overlay-color-lighter:rgba(0,0,0,0.5);--hzzt-mask-color:rgba(255,255,255,0.9);--hzzt-mask-color-extra-light:rgba(255,255,255,0.3);--hzzt-border-width:1px;--hzzt-border-style:solid;--hzzt-border-color-hover:var(--hzzt-text-color-disabled);--hzzt-border:var(--hzzt-border-width) var(--hzzt-border-style) var(--hzzt-border-color);--hzzt-svg-monochrome-grey:var(--hzzt-border-color)}.flex{display:flex;display:-webkit-flex}.column{flex-direction:column}.row{flex-direction:row}.wrap{flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap}.nowrap{flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap}.justify-content-center{justify-content:center;-webkit-justify-content:center}.justify-content-between{justify-content:space-between;-webkit-justify-content:space-between}.justify-content-around{justify-content:space-around;-webkit-justify-content:space-around}.justify-content-start{justify-content:flex-start;-webkit-justify-content:flex-start}.justify-content-end{justify-content:flex-end;-webkit-justify-content:flex-end}.align-content-between{align-content:space-between}.align-items-center{align-items:center;-webkit-align-items:center}.align-items-start{align-items:flex-start;-webkit-align-items:flex-start}.align-items-end{align-items:flex-end;-webkit-align-items:flex-end}.align-items-stretch{align-items:stretch;-webkit-align-items:stretch}.align-items-baseline{align-items:baseline;-webkit-align-items:baseline}.align-self-center{align-self:center;-webkit-align-self:center}.align-self-start{align-self:flex-start;-webkit-align-self:flex-start}.align-self-end{align-self:flex-end;-webkit-align-self:flex-end}.align-self-stretch{align-self:stretch;-webkit-align-self:stretch}.align-self-baseline{align-self:baseline;-webkit-align-self:baseline}.flex-1{flex:1;-webkit-flex:1;-ms-flex:1}.flex-2{flex:2;-webkit-flex:2;-ms-flex:2}.flex-3{flex:3;-webkit-flex:3;-ms-flex:3}.flex-4{flex:4;-webkit-flex:4;-ms-flex:4}.flex-5{flex:5;-webkit-flex:5;-ms-flex:5}.flex-6{flex:6;-webkit-flex:6;-ms-flex:6}.flex-7{flex:7;-webkit-flex:7;-ms-flex:7}.flex-8{flex:8;-webkit-flex:8;-ms-flex:8}.padding-0{padding:0}.padding-v-0{padding-bottom:0;padding-top:0}.padding-h-0{padding-left:0;padding-right:0}.padding-t-0{padding-top:0}.padding-l-0{padding-left:0}.padding-r-0{padding-right:0}.padding-b-0{padding-bottom:0}.margin-0{margin:0}.margin-v-0{margin-bottom:0;margin-top:0}.margin-h-0{margin-left:0;margin-right:0}.margin-t-0{margin-top:0}.margin-l-0{margin-left:0}.margin-r-0{margin-right:0}.margin-b-0{margin-bottom:0}.padding-1{padding:4px}.padding-v-1{padding-bottom:4px;padding-top:4px}.padding-h-1{padding-left:4px;padding-right:4px}.padding-t-1{padding-top:4px}.padding-l-1{padding-left:4px}.padding-r-1{padding-right:4px}.padding-b-1{padding-bottom:4px}.margin-1{margin:4px}.margin-v-1{margin-bottom:4px;margin-top:4px}.margin-h-1{margin-left:4px;margin-right:4px}.margin-t-1{margin-top:4px}.margin-l-1{margin-left:4px}.margin-r-1{margin-right:4px}.margin-b-1{margin-bottom:4px}.padding-2{padding:8px}.padding-v-2{padding-bottom:8px;padding-top:8px}.padding-h-2{padding-left:8px;padding-right:8px}.padding-t-2{padding-top:8px}.padding-l-2{padding-left:8px}.padding-r-2{padding-right:8px}.padding-b-2{padding-bottom:8px}.margin-2{margin:8px}.margin-v-2{margin-bottom:8px;margin-top:8px}.margin-h-2{margin-left:8px;margin-right:8px}.margin-t-2{margin-top:8px}.margin-l-2{margin-left:8px}.margin-r-2{margin-right:8px}.margin-b-2{margin-bottom:8px}.padding-3{padding:12px}.padding-v-3{padding-bottom:12px;padding-top:12px}.padding-h-3{padding-left:12px;padding-right:12px}.padding-t-3{padding-top:12px}.padding-l-3{padding-left:12px}.padding-r-3{padding-right:12px}.padding-b-3{padding-bottom:12px}.margin-3{margin:12px}.margin-v-3{margin-bottom:12px;margin-top:12px}.margin-h-3{margin-left:12px;margin-right:12px}.margin-t-3{margin-top:12px}.margin-l-3{margin-left:12px}.margin-r-3{margin-right:12px}.margin-b-3{margin-bottom:12px}.padding-4{padding:16px}.padding-v-4{padding-bottom:16px;padding-top:16px}.padding-h-4{padding-left:16px;padding-right:16px}.padding-t-4{padding-top:16px}.padding-l-4{padding-left:16px}.padding-r-4{padding-right:16px}.padding-b-4{padding-bottom:16px}.margin-4{margin:16px}.margin-v-4{margin-bottom:16px;margin-top:16px}.margin-h-4{margin-left:16px;margin-right:16px}.margin-t-4{margin-top:16px}.margin-l-4{margin-left:16px}.margin-r-4{margin-right:16px}.margin-b-4{margin-bottom:16px}.padding-5{padding:20px}.padding-v-5{padding-bottom:20px;padding-top:20px}.padding-h-5{padding-left:20px;padding-right:20px}.padding-t-5{padding-top:20px}.padding-l-5{padding-left:20px}.padding-r-5{padding-right:20px}.padding-b-5{padding-bottom:20px}.margin-5{margin:20px}.margin-v-5{margin-bottom:20px;margin-top:20px}.margin-h-5{margin-left:20px;margin-right:20px}.margin-t-5{margin-top:20px}.margin-l-5{margin-left:20px}.margin-r-5{margin-right:20px}.margin-b-5{margin-bottom:20px}.padding-6{padding:24px}.padding-v-6{padding-bottom:24px;padding-top:24px}.padding-h-6{padding-left:24px;padding-right:24px}.padding-t-6{padding-top:24px}.padding-l-6{padding-left:24px}.padding-r-6{padding-right:24px}.padding-b-6{padding-bottom:24px}.margin-6{margin:24px}.margin-v-6{margin-bottom:24px;margin-top:24px}.margin-h-6{margin-left:24px;margin-right:24px}.margin-t-6{margin-top:24px}.margin-l-6{margin-left:24px}.margin-r-6{margin-right:24px}.margin-b-6{margin-bottom:24px}.padding-7{padding:28px}.padding-v-7{padding-bottom:28px;padding-top:28px}.padding-h-7{padding-left:28px;padding-right:28px}.padding-t-7{padding-top:28px}.padding-l-7{padding-left:28px}.padding-r-7{padding-right:28px}.padding-b-7{padding-bottom:28px}.margin-7{margin:28px}.margin-v-7{margin-bottom:28px;margin-top:28px}.margin-h-7{margin-left:28px;margin-right:28px}.margin-t-7{margin-top:28px}.margin-l-7{margin-left:28px}.margin-r-7{margin-right:28px}.margin-b-7{margin-bottom:28px}.padding-8{padding:32px}.padding-v-8{padding-bottom:32px;padding-top:32px}.padding-h-8{padding-left:32px;padding-right:32px}.padding-t-8{padding-top:32px}.padding-l-8{padding-left:32px}.padding-r-8{padding-right:32px}.padding-b-8{padding-bottom:32px}.margin-8{margin:32px}.margin-v-8{margin-bottom:32px;margin-top:32px}.margin-h-8{margin-left:32px;margin-right:32px}.margin-t-8{margin-top:32px}.margin-l-8{margin-left:32px}.margin-r-8{margin-right:32px}.margin-b-8{margin-bottom:32px}.width-0{width:0}.min-width-0{min-width:0}.max-width-0{max-width:0}.height-0{height:0}.min-height-0{min-height:0}.max-height-0{max-height:0}.width-1{width:50px}.min-width-1{min-width:50px}.max-width-1{max-width:50px}.height-1{height:50px}.min-height-1{min-height:50px}.max-height-1{max-height:50px}.width-2{width:100px}.min-width-2{min-width:100px}.max-width-2{max-width:100px}.height-2{height:100px}.min-height-2{min-height:100px}.max-height-2{max-height:100px}.width-3{width:150px}.min-width-3{min-width:150px}.max-width-3{max-width:150px}.height-3{height:150px}.min-height-3{min-height:150px}.max-height-3{max-height:150px}.width-4{width:200px}.min-width-4{min-width:200px}.max-width-4{max-width:200px}.height-4{height:200px}.min-height-4{min-height:200px}.max-height-4{max-height:200px}.width-5{width:250px}.min-width-5{min-width:250px}.max-width-5{max-width:250px}.height-5{height:250px}.min-height-5{min-height:250px}.max-height-5{max-height:250px}.width-6{width:300px}.min-width-6{min-width:300px}.max-width-6{max-width:300px}.height-6{height:300px}.min-height-6{min-height:300px}.max-height-6{max-height:300px}.width-7{width:350px}.min-width-7{min-width:350px}.max-width-7{max-width:350px}.height-7{height:350px}.min-height-7{min-height:350px}.max-height-7{max-height:350px}.width-8{width:400px}.min-width-8{min-width:400px}.max-width-8{max-width:400px}.height-8{height:400px}.min-height-8{min-height:400px}.max-height-8{max-height:400px}.width-9{width:450px}.min-width-9{min-width:450px}.max-width-9{max-width:450px}.height-9{height:450px}.min-height-9{min-height:450px}.max-height-9{max-height:450px}.width-10{width:500px}.min-width-10{min-width:500px}.max-width-10{max-width:500px}.height-10{height:500px}.min-height-10{min-height:500px}.max-height-10{max-height:500px}.width-12{width:600px}.min-width-12{min-width:600px}.max-width-12{max-width:600px}.height-12{height:600px}.min-height-12{min-height:600px}.max-height-12{max-height:600px}.width-13{width:650px}.min-width-13{min-width:650px}.max-width-13{max-width:650px}.height-13{height:650px}.min-height-13{min-height:650px}.max-height-13{max-height:650px}.width-14{width:700px}.min-width-14{min-width:700px}.max-width-14{max-width:700px}.height-14{height:700px}.min-height-14{min-height:700px}.max-height-14{max-height:700px}.width-15{width:750px}.min-width-15{min-width:750px}.max-width-15{max-width:750px}.height-15{height:750px}.min-height-15{min-height:750px}.max-height-15{max-height:750px}.width-16{width:800px}.min-width-16{min-width:800px}.max-width-16{max-width:800px}.height-16{height:800px}.min-height-16{min-height:800px}.max-height-16{max-height:800px}.width-17{width:850px}.min-width-17{min-width:850px}.max-width-17{max-width:850px}.height-17{height:850px}.min-height-17{min-height:850px}.max-height-17{max-height:850px}.width-18{width:900px}.min-width-18{min-width:900px}.max-width-18{max-width:900px}.height-18{height:900px}.min-height-18{min-height:900px}.max-height-18{max-height:900px}.width-19{width:950px}.min-width-19{min-width:950px}.max-width-19{max-width:950px}.height-19{height:950px}.min-height-19{min-height:950px}.max-height-19{max-height:950px}.width-20{width:1000px}.min-width-20{min-width:1000px}.max-width-20{max-width:1000px}.height-20{height:1000px}.min-height-20{min-height:1000px}.max-height-20{max-height:1000px}.width-0\%{width:0}.min-width-0\%{min-width:0}.max-width-0\%{max-width:0}.height-0\%{height:0}.min-height-0\%{min-height:0}.max-height-0\%{max-height:0}.width-5\%{width:5%}.min-width-5\%{min-width:5%}.max-width-5\%{max-width:5%}.height-5\%{height:5%}.min-height-5\%{min-height:5%}.max-height-5\%{max-height:5%}.width-10\%{width:10%}.min-width-10\%{min-width:10%}.max-width-10\%{max-width:10%}.height-10\%{height:10%}.min-height-10\%{min-height:10%}.max-height-10\%{max-height:10%}.width-15\%{width:15%}.min-width-15\%{min-width:15%}.max-width-15\%{max-width:15%}.height-15\%{height:15%}.min-height-15\%{min-height:15%}.max-height-15\%{max-height:15%}.width-20\%{width:20%}.min-width-20\%{min-width:20%}.max-width-20\%{max-width:20%}.height-20\%{height:20%}.min-height-20\%{min-height:20%}.max-height-20\%{max-height:20%}.width-25\%{width:25%}.min-width-25\%{min-width:25%}.max-width-25\%{max-width:25%}.height-25\%{height:25%}.min-height-25\%{min-height:25%}.max-height-25\%{max-height:25%}.width-30\%{width:30%}.min-width-30\%{min-width:30%}.max-width-30\%{max-width:30%}.height-30\%{height:30%}.min-height-30\%{min-height:30%}.max-height-30\%{max-height:30%}.width-35\%{width:35%}.min-width-35\%{min-width:35%}.max-width-35\%{max-width:35%}.height-35\%{height:35%}.min-height-35\%{min-height:35%}.max-height-35\%{max-height:35%}.width-40\%{width:40%}.min-width-40\%{min-width:40%}.max-width-40\%{max-width:40%}.height-40\%{height:40%}.min-height-40\%{min-height:40%}.max-height-40\%{max-height:40%}.width-45\%{width:45%}.min-width-45\%{min-width:45%}.max-width-45\%{max-width:45%}.height-45\%{height:45%}.min-height-45\%{min-height:45%}.max-height-45\%{max-height:45%}.width-50\%{width:50%}.min-width-50\%{min-width:50%}.max-width-50\%{max-width:50%}.height-50\%{height:50%}.min-height-50\%{min-height:50%}.max-height-50\%{max-height:50%}.width-55\%{width:55%}.min-width-55\%{min-width:55%}.max-width-55\%{max-width:55%}.height-55\%{height:55%}.min-height-55\%{min-height:55%}.max-height-55\%{max-height:55%}.width-60\%{width:60%}.min-width-60\%{min-width:60%}.max-width-60\%{max-width:60%}.height-60\%{height:60%}.min-height-60\%{min-height:60%}.max-height-60\%{max-height:60%}.width-65\%{width:65%}.min-width-65\%{min-width:65%}.max-width-65\%{max-width:65%}.height-65\%{height:65%}.min-height-65\%{min-height:65%}.max-height-65\%{max-height:65%}.width-70\%{width:70%}.min-width-70\%{min-width:70%}.max-width-70\%{max-width:70%}.height-70\%{height:70%}.min-height-70\%{min-height:70%}.max-height-70\%{max-height:70%}.width-75\%{width:75%}.min-width-75\%{min-width:75%}.max-width-75\%{max-width:75%}.height-75\%{height:75%}.min-height-75\%{min-height:75%}.max-height-75\%{max-height:75%}.width-80\%{width:80%}.min-width-80\%{min-width:80%}.max-width-80\%{max-width:80%}.height-80\%{height:80%}.min-height-80\%{min-height:80%}.max-height-80\%{max-height:80%}.width-85\%{width:85%}.min-width-85\%{min-width:85%}.max-width-85\%{max-width:85%}.height-85\%{height:85%}.min-height-85\%{min-height:85%}.max-height-85\%{max-height:85%}.width-90\%{width:90%}.min-width-90\%{min-width:90%}.max-width-90\%{max-width:90%}.height-90\%{height:90%}.min-height-90\%{min-height:90%}.max-height-90\%{max-height:90%}.width-95\%{width:95%}.min-width-95\%{min-width:95%}.max-width-95\%{max-width:95%}.height-95\%{height:95%}.min-height-95\%{min-height:95%}.max-height-95\%{max-height:95%}.width-100\%{width:100%}.min-width-100\%{min-width:100%}.max-width-100\%{max-width:100%}.height-100\%{height:100%}.min-height-100\%{min-height:100%}.max-height-100\%{max-height:100%}.font-12{font-size:12px}.font-14{font-size:14px}.font-16{font-size:16px}.font-18{font-size:18px}.font-20{font-size:20px}.font-22{font-size:22px}.font-24{font-size:24px}.font-28{font-size:28px}.font-32{font-size:32px}.font-48{font-size:48px}.font-64{font-size:64px}.font-weight-1{font-weight:100}.font-weight-2{font-weight:200}.font-weight-3{font-weight:300}.font-weight-4{font-weight:400}.font-weight-5{font-weight:500}.font-weight-6{font-weight:600}.font-weight-7{font-weight:700}.font-weight-8{font-weight:800}.font-weight-9{font-weight:900}.line-height-0{line-height:0}.line-height-1{line-height:1}.line-height-2{line-height:2}.line-height-1\.2{line-height:1.2}.line-height-1\.5{line-height:1.5}.bold{font-weight:bold}.normal{font-weight:normal}.lighter{font-weight:lighter}.overflow-auto{overflow:auto}.overflow-x-auto,.overflow-y-hidden{overflow-x:auto;overflow-y:hidden}.overflow-y-auto .overflow-x-hidden{overflow-x:hidden;overflow-y:auto}.overflow-hidden{overflow:hidden}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.hzzt-title{color:#000}.hzzt-title .decorative-line{background:var(--hzzt-color-primary);height:18px;margin-right:7px;min-width:3px;width:3px}.hzzt-title .label-name{color:inherit;font-size:16px;line-height:24px}.hzzt-dropdown{display:block;list-style-type:disc;margin-left:8px}.hzzt-dropdown .hzzt-dropdown-li{color:white;cursor:pointer;padding:4px 6px;position:relative}.hzzt-dropdown .hzzt-dropdown-li-show{background-color:rgba(0,0,0,.1);border-radius:4px}.hzzt-dropdown .hzzt-dropdown-li-show .hzzt-dropdown-menu{display:block}.hzzt-dropdown .hzzt-dropdown-name{font-size:14px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hzzt-dropdown .caret{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;display:inline-block;height:0;margin-bottom:2px;margin-left:2px;vertical-align:middle;width:0}.hzzt-dropdown .hzzt-dropdown-menu{background-color:white;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175);display:none;font-size:13px;list-style:none;margin:6px 0 0;min-width:150px;padding:5px 0;position:absolute;right:0;top:100%;z-index:1000}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-menu-item{color:black;display:block;margin:0;padding:0 10px}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-menu-item a{border-radius:3px;clear:both;color:#000;display:block;font-weight:400;line-height:1.42857143;margin:5px 0;padding:2px 10px;text-decoration:none;white-space:nowrap}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-menu-item a:hover{background:var(--hzzt-color-primary);border-radius:3px;color:white}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu{position:relative}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu .submenu:after{border-bottom:5px solid transparent;border-left:5px solid transparent;border-left-color:var(--hzzt-border-color);border-right:0 solid transparent;border-top:5px solid transparent;content:" ";display:block;float:right;height:0;margin-right:-5px;margin-top:5px;width:0}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .pull-right{display:block}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu{background-color:#FFF4D7;color:#000}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu:after{border-left-color:var(--hzzt-color-primary);color:white}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu:hover{background:var(--hzzt-color-primary);border-radius:3px;color:white}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu:hover:after{border-left-color:white}.hzzt-dropdown .hzzt-dropdown-menu .divider{background-color:#eee;height:1px;margin:9px;overflow:hidden}.hzzt-dropdown .hzzt-dropdown-menu .pull-right{display:none;margin:0;right:100%;top:-10px}.hzzt-dropdown .hzzt-dropdown-menu .selected .hzzt-dropdown-menu-item-label{background:var(--hzzt-color-primary-lignt-5);color:white;position:relative}.hzzt-dropdown .hzzt-dropdown-menu .selected .hzzt-dropdown-menu-item-label:hover{background:var(--hzzt-color-primary);color:white}.hzzt-dropdown .hzzt-dropdown-menu .selected .hzzt-dropdown-menu-item-label:after{display:block;position:absolute;right:24px;top:4px;speak:none;border:1px solid white;border-left:0;border-top:0;box-sizing:content-box;content:"";height:10px;transform:rotate(45deg) scaleY(1);transform-origin:center;transition:transform .15s ease-in .05s;width:5px}
|
|
1
|
+
@charset "UTF-8";:root{--hzzt-color-white:#ffffff;--hzzt-color-black:#000000;--hzzt-color-primary-rgb:64,158,255;--hzzt-color-success-rgb:103,194,58;--hzzt-color-warning-rgb:230,162,60;--hzzt-color-danger-rgb:245,108,108;--hzzt-color-error-rgb:245,108,108;--hzzt-color-info-rgb:144,147,153;--hzzt-font-size-extra-large:20px;--hzzt-font-size-large:18px;--hzzt-font-size-medium:16px;--hzzt-font-size-base:14px;--hzzt-font-size-small:13px;--hzzt-font-size-extra-small:12px;--hzzt-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--hzzt-font-weight-primary:500;--hzzt-font-line-height-primary:24px;--hzzt-index-normal:1;--hzzt-index-top:1000;--hzzt-index-popper:2000;--hzzt-border-radius-base:4px;--hzzt-border-radius-small:2px;--hzzt-border-radius-round:20px;--hzzt-border-radius-circle:100%;--hzzt-transition-duration:0.3s;--hzzt-transition-duration-fast:0.2s;--hzzt-transition-function-ease-in-out-bezier:cubic-bezier(0.645,0.045,0.355,1);--hzzt-transition-function-fast-bezier:cubic-bezier(0.23,1,0.32,1);--hzzt-transition-all:all var(--hzzt-transition-duration) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-transition-fade:opacity var(--hzzt-transition-duration) var(--hzzt-transition-function-fast-bezier);--hzzt-transition-md-fade:transform var(--hzzt-transition-duration) var(--hzzt-transition-function-fast-bezier),opacity var(--hzzt-transition-duration) var(--hzzt-transition-function-fast-bezier);--hzzt-transition-fade-linear:opacity var(--hzzt-transition-duration-fast) linear;--hzzt-transition-border:border-color var(--hzzt-transition-duration-fast) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-transition-box-shadow:box-shadow var(--hzzt-transition-duration-fast) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-transition-color:color var(--hzzt-transition-duration-fast) var(--hzzt-transition-function-ease-in-out-bezier);--hzzt-component-size-large:40px;--hzzt-component-size:32px;--hzzt-component-size-small:24px;color-scheme:light;--hzzt-color-primary:#409eff;--hzzt-color-primary-light-3:#79bbff;--hzzt-color-primary-light-5:#a0cfff;--hzzt-color-primary-light-7:#c6e2ff;--hzzt-color-primary-light-8:#d9ecff;--hzzt-color-primary-light-9:#ecf5ff;--hzzt-color-primary-dark-2:#337ecc;--hzzt-color-success:#67c23a;--hzzt-color-success-light-3:#95d475;--hzzt-color-success-light-5:#b3e19d;--hzzt-color-success-light-7:#d1edc4;--hzzt-color-success-light-8:#e1f3d8;--hzzt-color-success-light-9:#f0f9eb;--hzzt-color-success-dark-2:#529b2e;--hzzt-color-warning:#e6a23c;--hzzt-color-warning-light-3:#eebe77;--hzzt-color-warning-light-5:#f3d19e;--hzzt-color-warning-light-7:#f8e3c5;--hzzt-color-warning-light-8:#faecd8;--hzzt-color-warning-light-9:#fdf6ec;--hzzt-color-warning-dark-2:#b88230;--hzzt-color-danger:#f56c6c;--hzzt-color-danger-light-3:#f89898;--hzzt-color-danger-light-5:#fab6b6;--hzzt-color-danger-light-7:#fcd3d3;--hzzt-color-danger-light-8:#fde2e2;--hzzt-color-danger-light-9:#fef0f0;--hzzt-color-danger-dark-2:#c45656;--hzzt-color-error:#f56c6c;--hzzt-color-error-light-3:#f89898;--hzzt-color-error-light-5:#fab6b6;--hzzt-color-error-light-7:#fcd3d3;--hzzt-color-error-light-8:#fde2e2;--hzzt-color-error-light-9:#fef0f0;--hzzt-color-error-dark-2:#c45656;--hzzt-color-info:#909399;--hzzt-color-info-light-3:#b1b3b8;--hzzt-color-info-light-5:#c8c9cc;--hzzt-color-info-light-7:#dedfe0;--hzzt-color-info-light-8:#e9e9eb;--hzzt-color-info-light-9:#f4f4f5;--hzzt-color-info-dark-2:#73767a;--hzzt-bg-color:#ffffff;--hzzt-bg-color-page:#f2f3f5;--hzzt-bg-color-overlay:#ffffff;--hzzt-text-color-primary:#303133;--hzzt-text-color-regular:#606266;--hzzt-text-color-secondary:#909399;--hzzt-text-color-placeholder:#a8abb2;--hzzt-text-color-disabled:#c0c4cc;--hzzt-border-color:#dcdfe6;--hzzt-border-color-light:#e4e7ed;--hzzt-border-color-lighter:#ebeef5;--hzzt-border-color-extra-light:#f2f6fc;--hzzt-border-color-dark:#d4d7de;--hzzt-border-color-darker:#cdd0d6;--hzzt-fill-color:#f0f2f5;--hzzt-fill-color-light:#f5f7fa;--hzzt-fill-color-lighter:#fafafa;--hzzt-fill-color-extra-light:#fafcff;--hzzt-fill-color-dark:#ebedf0;--hzzt-fill-color-darker:#e6e8eb;--hzzt-fill-color-blank:#ffffff;--hzzt-box-shadow:0px 12px 32px 4px rgba(0,0,0,0.04),0px 8px 20px rgba(0,0,0,0.08);--hzzt-box-shadow-light:0px 0px 12px rgba(0,0,0,0.12);--hzzt-box-shadow-lighter:0px 0px 6px rgba(0,0,0,0.12);--hzzt-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,0.08),0px 12px 32px rgba(0,0,0,0.12),0px 8px 16px -8px rgba(0,0,0,0.16);--hzzt-disabled-bg-color:var(--hzzt-fill-color-light);--hzzt-disabled-text-color:var(--hzzt-text-color-placeholder);--hzzt-disabled-border-color:var(--hzzt-border-color-light);--hzzt-overlay-color:rgba(0,0,0,0.8);--hzzt-overlay-color-light:rgba(0,0,0,0.7);--hzzt-overlay-color-lighter:rgba(0,0,0,0.5);--hzzt-mask-color:rgba(255,255,255,0.9);--hzzt-mask-color-extra-light:rgba(255,255,255,0.3);--hzzt-border-width:1px;--hzzt-border-style:solid;--hzzt-border-color-hover:var(--hzzt-text-color-disabled);--hzzt-border:var(--hzzt-border-width) var(--hzzt-border-style) var(--hzzt-border-color);--hzzt-svg-monochrome-grey:var(--hzzt-border-color)}.flex{display:flex;display:-webkit-flex}.column{flex-direction:column}.row{flex-direction:row}.wrap{flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap}.nowrap{flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap}.justify-content-center{justify-content:center;-webkit-justify-content:center}.justify-content-between{justify-content:space-between;-webkit-justify-content:space-between}.justify-content-around{justify-content:space-around;-webkit-justify-content:space-around}.justify-content-start{justify-content:flex-start;-webkit-justify-content:flex-start}.justify-content-end{justify-content:flex-end;-webkit-justify-content:flex-end}.align-content-between{align-content:space-between}.align-items-center{align-items:center;-webkit-align-items:center}.align-items-start{align-items:flex-start;-webkit-align-items:flex-start}.align-items-end{align-items:flex-end;-webkit-align-items:flex-end}.align-items-stretch{align-items:stretch;-webkit-align-items:stretch}.align-items-baseline{align-items:baseline;-webkit-align-items:baseline}.align-self-center{align-self:center;-webkit-align-self:center}.align-self-start{align-self:flex-start;-webkit-align-self:flex-start}.align-self-end{align-self:flex-end;-webkit-align-self:flex-end}.align-self-stretch{align-self:stretch;-webkit-align-self:stretch}.align-self-baseline{align-self:baseline;-webkit-align-self:baseline}.flex-1{flex:1;-webkit-flex:1;-ms-flex:1}.flex-2{flex:2;-webkit-flex:2;-ms-flex:2}.flex-3{flex:3;-webkit-flex:3;-ms-flex:3}.flex-4{flex:4;-webkit-flex:4;-ms-flex:4}.flex-5{flex:5;-webkit-flex:5;-ms-flex:5}.flex-6{flex:6;-webkit-flex:6;-ms-flex:6}.flex-7{flex:7;-webkit-flex:7;-ms-flex:7}.flex-8{flex:8;-webkit-flex:8;-ms-flex:8}.padding-0{padding:0}.padding-v-0{padding-bottom:0;padding-top:0}.padding-h-0{padding-left:0;padding-right:0}.padding-t-0{padding-top:0}.padding-l-0{padding-left:0}.padding-r-0{padding-right:0}.padding-b-0{padding-bottom:0}.margin-0{margin:0}.margin-v-0{margin-bottom:0;margin-top:0}.margin-h-0{margin-left:0;margin-right:0}.margin-t-0{margin-top:0}.margin-l-0{margin-left:0}.margin-r-0{margin-right:0}.margin-b-0{margin-bottom:0}.padding-1{padding:4px}.padding-v-1{padding-bottom:4px;padding-top:4px}.padding-h-1{padding-left:4px;padding-right:4px}.padding-t-1{padding-top:4px}.padding-l-1{padding-left:4px}.padding-r-1{padding-right:4px}.padding-b-1{padding-bottom:4px}.margin-1{margin:4px}.margin-v-1{margin-bottom:4px;margin-top:4px}.margin-h-1{margin-left:4px;margin-right:4px}.margin-t-1{margin-top:4px}.margin-l-1{margin-left:4px}.margin-r-1{margin-right:4px}.margin-b-1{margin-bottom:4px}.padding-2{padding:8px}.padding-v-2{padding-bottom:8px;padding-top:8px}.padding-h-2{padding-left:8px;padding-right:8px}.padding-t-2{padding-top:8px}.padding-l-2{padding-left:8px}.padding-r-2{padding-right:8px}.padding-b-2{padding-bottom:8px}.margin-2{margin:8px}.margin-v-2{margin-bottom:8px;margin-top:8px}.margin-h-2{margin-left:8px;margin-right:8px}.margin-t-2{margin-top:8px}.margin-l-2{margin-left:8px}.margin-r-2{margin-right:8px}.margin-b-2{margin-bottom:8px}.padding-3{padding:12px}.padding-v-3{padding-bottom:12px;padding-top:12px}.padding-h-3{padding-left:12px;padding-right:12px}.padding-t-3{padding-top:12px}.padding-l-3{padding-left:12px}.padding-r-3{padding-right:12px}.padding-b-3{padding-bottom:12px}.margin-3{margin:12px}.margin-v-3{margin-bottom:12px;margin-top:12px}.margin-h-3{margin-left:12px;margin-right:12px}.margin-t-3{margin-top:12px}.margin-l-3{margin-left:12px}.margin-r-3{margin-right:12px}.margin-b-3{margin-bottom:12px}.padding-4{padding:16px}.padding-v-4{padding-bottom:16px;padding-top:16px}.padding-h-4{padding-left:16px;padding-right:16px}.padding-t-4{padding-top:16px}.padding-l-4{padding-left:16px}.padding-r-4{padding-right:16px}.padding-b-4{padding-bottom:16px}.margin-4{margin:16px}.margin-v-4{margin-bottom:16px;margin-top:16px}.margin-h-4{margin-left:16px;margin-right:16px}.margin-t-4{margin-top:16px}.margin-l-4{margin-left:16px}.margin-r-4{margin-right:16px}.margin-b-4{margin-bottom:16px}.padding-5{padding:20px}.padding-v-5{padding-bottom:20px;padding-top:20px}.padding-h-5{padding-left:20px;padding-right:20px}.padding-t-5{padding-top:20px}.padding-l-5{padding-left:20px}.padding-r-5{padding-right:20px}.padding-b-5{padding-bottom:20px}.margin-5{margin:20px}.margin-v-5{margin-bottom:20px;margin-top:20px}.margin-h-5{margin-left:20px;margin-right:20px}.margin-t-5{margin-top:20px}.margin-l-5{margin-left:20px}.margin-r-5{margin-right:20px}.margin-b-5{margin-bottom:20px}.padding-6{padding:24px}.padding-v-6{padding-bottom:24px;padding-top:24px}.padding-h-6{padding-left:24px;padding-right:24px}.padding-t-6{padding-top:24px}.padding-l-6{padding-left:24px}.padding-r-6{padding-right:24px}.padding-b-6{padding-bottom:24px}.margin-6{margin:24px}.margin-v-6{margin-bottom:24px;margin-top:24px}.margin-h-6{margin-left:24px;margin-right:24px}.margin-t-6{margin-top:24px}.margin-l-6{margin-left:24px}.margin-r-6{margin-right:24px}.margin-b-6{margin-bottom:24px}.padding-7{padding:28px}.padding-v-7{padding-bottom:28px;padding-top:28px}.padding-h-7{padding-left:28px;padding-right:28px}.padding-t-7{padding-top:28px}.padding-l-7{padding-left:28px}.padding-r-7{padding-right:28px}.padding-b-7{padding-bottom:28px}.margin-7{margin:28px}.margin-v-7{margin-bottom:28px;margin-top:28px}.margin-h-7{margin-left:28px;margin-right:28px}.margin-t-7{margin-top:28px}.margin-l-7{margin-left:28px}.margin-r-7{margin-right:28px}.margin-b-7{margin-bottom:28px}.padding-8{padding:32px}.padding-v-8{padding-bottom:32px;padding-top:32px}.padding-h-8{padding-left:32px;padding-right:32px}.padding-t-8{padding-top:32px}.padding-l-8{padding-left:32px}.padding-r-8{padding-right:32px}.padding-b-8{padding-bottom:32px}.margin-8{margin:32px}.margin-v-8{margin-bottom:32px;margin-top:32px}.margin-h-8{margin-left:32px;margin-right:32px}.margin-t-8{margin-top:32px}.margin-l-8{margin-left:32px}.margin-r-8{margin-right:32px}.margin-b-8{margin-bottom:32px}.width-0{width:0}.min-width-0{min-width:0}.max-width-0{max-width:0}.height-0{height:0}.min-height-0{min-height:0}.max-height-0{max-height:0}.width-1{width:50px}.min-width-1{min-width:50px}.max-width-1{max-width:50px}.height-1{height:50px}.min-height-1{min-height:50px}.max-height-1{max-height:50px}.width-2{width:100px}.min-width-2{min-width:100px}.max-width-2{max-width:100px}.height-2{height:100px}.min-height-2{min-height:100px}.max-height-2{max-height:100px}.width-3{width:150px}.min-width-3{min-width:150px}.max-width-3{max-width:150px}.height-3{height:150px}.min-height-3{min-height:150px}.max-height-3{max-height:150px}.width-4{width:200px}.min-width-4{min-width:200px}.max-width-4{max-width:200px}.height-4{height:200px}.min-height-4{min-height:200px}.max-height-4{max-height:200px}.width-5{width:250px}.min-width-5{min-width:250px}.max-width-5{max-width:250px}.height-5{height:250px}.min-height-5{min-height:250px}.max-height-5{max-height:250px}.width-6{width:300px}.min-width-6{min-width:300px}.max-width-6{max-width:300px}.height-6{height:300px}.min-height-6{min-height:300px}.max-height-6{max-height:300px}.width-7{width:350px}.min-width-7{min-width:350px}.max-width-7{max-width:350px}.height-7{height:350px}.min-height-7{min-height:350px}.max-height-7{max-height:350px}.width-8{width:400px}.min-width-8{min-width:400px}.max-width-8{max-width:400px}.height-8{height:400px}.min-height-8{min-height:400px}.max-height-8{max-height:400px}.width-9{width:450px}.min-width-9{min-width:450px}.max-width-9{max-width:450px}.height-9{height:450px}.min-height-9{min-height:450px}.max-height-9{max-height:450px}.width-10{width:500px}.min-width-10{min-width:500px}.max-width-10{max-width:500px}.height-10{height:500px}.min-height-10{min-height:500px}.max-height-10{max-height:500px}.width-12{width:600px}.min-width-12{min-width:600px}.max-width-12{max-width:600px}.height-12{height:600px}.min-height-12{min-height:600px}.max-height-12{max-height:600px}.width-13{width:650px}.min-width-13{min-width:650px}.max-width-13{max-width:650px}.height-13{height:650px}.min-height-13{min-height:650px}.max-height-13{max-height:650px}.width-14{width:700px}.min-width-14{min-width:700px}.max-width-14{max-width:700px}.height-14{height:700px}.min-height-14{min-height:700px}.max-height-14{max-height:700px}.width-15{width:750px}.min-width-15{min-width:750px}.max-width-15{max-width:750px}.height-15{height:750px}.min-height-15{min-height:750px}.max-height-15{max-height:750px}.width-16{width:800px}.min-width-16{min-width:800px}.max-width-16{max-width:800px}.height-16{height:800px}.min-height-16{min-height:800px}.max-height-16{max-height:800px}.width-17{width:850px}.min-width-17{min-width:850px}.max-width-17{max-width:850px}.height-17{height:850px}.min-height-17{min-height:850px}.max-height-17{max-height:850px}.width-18{width:900px}.min-width-18{min-width:900px}.max-width-18{max-width:900px}.height-18{height:900px}.min-height-18{min-height:900px}.max-height-18{max-height:900px}.width-19{width:950px}.min-width-19{min-width:950px}.max-width-19{max-width:950px}.height-19{height:950px}.min-height-19{min-height:950px}.max-height-19{max-height:950px}.width-20{width:1000px}.min-width-20{min-width:1000px}.max-width-20{max-width:1000px}.height-20{height:1000px}.min-height-20{min-height:1000px}.max-height-20{max-height:1000px}.width-0\%{width:0}.min-width-0\%{min-width:0}.max-width-0\%{max-width:0}.height-0\%{height:0}.min-height-0\%{min-height:0}.max-height-0\%{max-height:0}.width-5\%{width:5%}.min-width-5\%{min-width:5%}.max-width-5\%{max-width:5%}.height-5\%{height:5%}.min-height-5\%{min-height:5%}.max-height-5\%{max-height:5%}.width-10\%{width:10%}.min-width-10\%{min-width:10%}.max-width-10\%{max-width:10%}.height-10\%{height:10%}.min-height-10\%{min-height:10%}.max-height-10\%{max-height:10%}.width-15\%{width:15%}.min-width-15\%{min-width:15%}.max-width-15\%{max-width:15%}.height-15\%{height:15%}.min-height-15\%{min-height:15%}.max-height-15\%{max-height:15%}.width-20\%{width:20%}.min-width-20\%{min-width:20%}.max-width-20\%{max-width:20%}.height-20\%{height:20%}.min-height-20\%{min-height:20%}.max-height-20\%{max-height:20%}.width-25\%{width:25%}.min-width-25\%{min-width:25%}.max-width-25\%{max-width:25%}.height-25\%{height:25%}.min-height-25\%{min-height:25%}.max-height-25\%{max-height:25%}.width-30\%{width:30%}.min-width-30\%{min-width:30%}.max-width-30\%{max-width:30%}.height-30\%{height:30%}.min-height-30\%{min-height:30%}.max-height-30\%{max-height:30%}.width-35\%{width:35%}.min-width-35\%{min-width:35%}.max-width-35\%{max-width:35%}.height-35\%{height:35%}.min-height-35\%{min-height:35%}.max-height-35\%{max-height:35%}.width-40\%{width:40%}.min-width-40\%{min-width:40%}.max-width-40\%{max-width:40%}.height-40\%{height:40%}.min-height-40\%{min-height:40%}.max-height-40\%{max-height:40%}.width-45\%{width:45%}.min-width-45\%{min-width:45%}.max-width-45\%{max-width:45%}.height-45\%{height:45%}.min-height-45\%{min-height:45%}.max-height-45\%{max-height:45%}.width-50\%{width:50%}.min-width-50\%{min-width:50%}.max-width-50\%{max-width:50%}.height-50\%{height:50%}.min-height-50\%{min-height:50%}.max-height-50\%{max-height:50%}.width-55\%{width:55%}.min-width-55\%{min-width:55%}.max-width-55\%{max-width:55%}.height-55\%{height:55%}.min-height-55\%{min-height:55%}.max-height-55\%{max-height:55%}.width-60\%{width:60%}.min-width-60\%{min-width:60%}.max-width-60\%{max-width:60%}.height-60\%{height:60%}.min-height-60\%{min-height:60%}.max-height-60\%{max-height:60%}.width-65\%{width:65%}.min-width-65\%{min-width:65%}.max-width-65\%{max-width:65%}.height-65\%{height:65%}.min-height-65\%{min-height:65%}.max-height-65\%{max-height:65%}.width-70\%{width:70%}.min-width-70\%{min-width:70%}.max-width-70\%{max-width:70%}.height-70\%{height:70%}.min-height-70\%{min-height:70%}.max-height-70\%{max-height:70%}.width-75\%{width:75%}.min-width-75\%{min-width:75%}.max-width-75\%{max-width:75%}.height-75\%{height:75%}.min-height-75\%{min-height:75%}.max-height-75\%{max-height:75%}.width-80\%{width:80%}.min-width-80\%{min-width:80%}.max-width-80\%{max-width:80%}.height-80\%{height:80%}.min-height-80\%{min-height:80%}.max-height-80\%{max-height:80%}.width-85\%{width:85%}.min-width-85\%{min-width:85%}.max-width-85\%{max-width:85%}.height-85\%{height:85%}.min-height-85\%{min-height:85%}.max-height-85\%{max-height:85%}.width-90\%{width:90%}.min-width-90\%{min-width:90%}.max-width-90\%{max-width:90%}.height-90\%{height:90%}.min-height-90\%{min-height:90%}.max-height-90\%{max-height:90%}.width-95\%{width:95%}.min-width-95\%{min-width:95%}.max-width-95\%{max-width:95%}.height-95\%{height:95%}.min-height-95\%{min-height:95%}.max-height-95\%{max-height:95%}.width-100\%{width:100%}.min-width-100\%{min-width:100%}.max-width-100\%{max-width:100%}.height-100\%{height:100%}.min-height-100\%{min-height:100%}.max-height-100\%{max-height:100%}.font-12{font-size:12px}.font-14{font-size:14px}.font-16{font-size:16px}.font-18{font-size:18px}.font-20{font-size:20px}.font-22{font-size:22px}.font-24{font-size:24px}.font-28{font-size:28px}.font-32{font-size:32px}.font-48{font-size:48px}.font-64{font-size:64px}.font-weight-1{font-weight:100}.font-weight-2{font-weight:200}.font-weight-3{font-weight:300}.font-weight-4{font-weight:400}.font-weight-5{font-weight:500}.font-weight-6{font-weight:600}.font-weight-7{font-weight:700}.font-weight-8{font-weight:800}.font-weight-9{font-weight:900}.line-height-0{line-height:0}.line-height-1{line-height:1}.line-height-2{line-height:2}.line-height-1\.2{line-height:1.2}.line-height-1\.5{line-height:1.5}.bold{font-weight:bold}.normal{font-weight:normal}.lighter{font-weight:lighter}.overflow-auto{overflow:auto}.overflow-x-auto,.overflow-y-hidden{overflow-x:auto;overflow-y:hidden}.overflow-y-auto .overflow-x-hidden{overflow-x:hidden;overflow-y:auto}.overflow-hidden{overflow:hidden}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.hzzt-title{color:#000}.hzzt-title .decorative-line{background:var(--hzzt-color-primary);height:18px;margin-right:7px;min-width:3px;width:3px}.hzzt-title .label-name{color:inherit;font-size:16px;line-height:24px}.hzzt-dropdown{display:block;list-style-type:disc;margin-left:8px}.hzzt-dropdown .hzzt-dropdown-li{color:white;cursor:pointer;padding:4px 6px;position:relative}.hzzt-dropdown .hzzt-dropdown-li-show{background-color:rgba(0,0,0,.1);border-radius:4px}.hzzt-dropdown .hzzt-dropdown-li-show .hzzt-dropdown-menu{display:block}.hzzt-dropdown .hzzt-dropdown-name{font-size:14px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hzzt-dropdown .caret{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;display:inline-block;height:0;margin-bottom:2px;margin-left:2px;vertical-align:middle;width:0}.hzzt-dropdown .hzzt-dropdown-menu{background-color:white;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175);display:none;font-size:13px;list-style:none;margin:6px 0 0;min-width:150px;padding:5px 0;position:absolute;right:0;top:100%;z-index:1000}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-menu-item{color:black;display:block;margin:0;padding:0 10px}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-menu-item a{border-radius:3px;clear:both;color:#000;display:block;font-weight:400;line-height:1.42857143;margin:5px 0;padding:2px 10px;text-decoration:none;white-space:nowrap}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-menu-item a:hover{background:var(--hzzt-color-primary);border-radius:3px;color:white}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu{position:relative}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu .submenu:after{border-bottom:5px solid transparent;border-left:5px solid transparent;border-left-color:var(--hzzt-border-color);border-right:0 solid transparent;border-top:5px solid transparent;content:" ";display:block;float:right;height:0;margin-right:-5px;margin-top:5px;width:0}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .pull-right{display:block}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu{background-color:#FFF4D7;color:#000}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu:after{border-left-color:var(--hzzt-color-primary);color:white}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu:hover{background:var(--hzzt-color-primary);border-radius:3px;color:white}.hzzt-dropdown .hzzt-dropdown-menu .hzzt-dropdown-submenu:hover .submenu:hover:after{border-left-color:white}.hzzt-dropdown .hzzt-dropdown-menu .divider{background-color:#eee;height:1px;margin:9px;overflow:hidden}.hzzt-dropdown .hzzt-dropdown-menu .pull-right{display:none;margin:0;right:100%;top:-10px}.hzzt-dropdown .hzzt-dropdown-menu .selected .hzzt-dropdown-menu-item-label{background:var(--hzzt-color-primary-light-5);color:white;position:relative}.hzzt-dropdown .hzzt-dropdown-menu .selected .hzzt-dropdown-menu-item-label:hover{background:var(--hzzt-color-primary);color:white}.hzzt-dropdown .hzzt-dropdown-menu .selected .hzzt-dropdown-menu-item-label:after{display:block;position:absolute;right:24px;top:4px;speak:none;border:1px solid white;border-left:0;border-top:0;box-sizing:content-box;content:"";height:10px;transform:rotate(45deg) scaleY(1);transform-origin:center;transition:transform .15s ease-in .05s;width:5px}
|
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Hzzt Plus v0.0.
|
|
1
|
+
/*! Hzzt Plus v0.0.1 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -6,27 +6,15 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.HzztPlus = {}, global.Vue));
|
|
7
7
|
})(this, (function (exports, vue) { 'use strict';
|
|
8
8
|
|
|
9
|
-
const INSTALLED_KEY = Symbol("INSTALLED_KEY");
|
|
10
|
-
|
|
11
|
-
const version$1 = "0.0.0-dev.1";
|
|
12
|
-
|
|
13
|
-
const makeInstaller = (components = []) => {
|
|
14
|
-
const install = (app) => {
|
|
15
|
-
if (app[INSTALLED_KEY])
|
|
16
|
-
return;
|
|
17
|
-
app[INSTALLED_KEY] = true;
|
|
18
|
-
components.forEach((c) => app.use(c));
|
|
19
|
-
};
|
|
20
|
-
return {
|
|
21
|
-
version: version$1,
|
|
22
|
-
install
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
9
|
var _a;
|
|
27
10
|
const isClient = typeof window !== "undefined";
|
|
28
11
|
isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
29
12
|
|
|
13
|
+
const hasOwnProperty$p = Object.prototype.hasOwnProperty;
|
|
14
|
+
const hasOwn = (val, key) => hasOwnProperty$p.call(val, key);
|
|
15
|
+
const isArray$1 = Array.isArray;
|
|
16
|
+
const isObject$1 = (val) => val !== null && typeof val === "object";
|
|
17
|
+
|
|
30
18
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
31
19
|
|
|
32
20
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
@@ -2217,7 +2205,7 @@
|
|
|
2217
2205
|
|
|
2218
2206
|
var Promise$1 = getNative(root, "Promise");
|
|
2219
2207
|
|
|
2220
|
-
var Set = getNative(root, "Set");
|
|
2208
|
+
var Set$1 = getNative(root, "Set");
|
|
2221
2209
|
|
|
2222
2210
|
var mapTag$8 = "[object Map]";
|
|
2223
2211
|
var objectTag$2 = "[object Object]";
|
|
@@ -2228,10 +2216,10 @@
|
|
|
2228
2216
|
var dataViewCtorString = toSource(DataView);
|
|
2229
2217
|
var mapCtorString = toSource(Map$1);
|
|
2230
2218
|
var promiseCtorString = toSource(Promise$1);
|
|
2231
|
-
var setCtorString = toSource(Set);
|
|
2219
|
+
var setCtorString = toSource(Set$1);
|
|
2232
2220
|
var weakMapCtorString = toSource(WeakMap);
|
|
2233
2221
|
var getTag = baseGetTag;
|
|
2234
|
-
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag(new Map$1()) != mapTag$8 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$8 || WeakMap && getTag(new WeakMap()) != weakMapTag$2) {
|
|
2222
|
+
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag(new Map$1()) != mapTag$8 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set$1 && getTag(new Set$1()) != setTag$8 || WeakMap && getTag(new WeakMap()) != weakMapTag$2) {
|
|
2235
2223
|
getTag = function(value) {
|
|
2236
2224
|
var result = baseGetTag(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
2237
2225
|
if (ctorString) {
|
|
@@ -4022,7 +4010,7 @@
|
|
|
4022
4010
|
var setTag$2 = "[object Set]";
|
|
4023
4011
|
var objectProto$3 = Object.prototype;
|
|
4024
4012
|
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
4025
|
-
function isEmpty(value) {
|
|
4013
|
+
function isEmpty$1(value) {
|
|
4026
4014
|
if (value == null) {
|
|
4027
4015
|
return true;
|
|
4028
4016
|
}
|
|
@@ -5657,8 +5645,8 @@
|
|
|
5657
5645
|
}
|
|
5658
5646
|
|
|
5659
5647
|
var INFINITY = 1 / 0;
|
|
5660
|
-
var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY) ? noop : function(values) {
|
|
5661
|
-
return new Set(values);
|
|
5648
|
+
var createSet = !(Set$1 && 1 / setToArray(new Set$1([, -0]))[1] == INFINITY) ? noop : function(values) {
|
|
5649
|
+
return new Set$1(values);
|
|
5662
5650
|
};
|
|
5663
5651
|
|
|
5664
5652
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -6054,7 +6042,7 @@
|
|
|
6054
6042
|
isBuffer,
|
|
6055
6043
|
isDate,
|
|
6056
6044
|
isElement: isElement$1,
|
|
6057
|
-
isEmpty,
|
|
6045
|
+
isEmpty: isEmpty$1,
|
|
6058
6046
|
isEqual,
|
|
6059
6047
|
isEqualWith,
|
|
6060
6048
|
isError,
|
|
@@ -6837,8 +6825,52 @@
|
|
|
6837
6825
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
6838
6826
|
*/
|
|
6839
6827
|
|
|
6828
|
+
const isEmpty = (val) => !val && val !== 0 || isArray$1(val) && val.length === 0 || isObject$1(val) && !Object.keys(val).length;
|
|
6829
|
+
|
|
6830
|
+
const keysOf = (arr) => Object.keys(arr);
|
|
6831
|
+
|
|
6840
6832
|
!isClient ? void 0 : document.body;
|
|
6841
6833
|
|
|
6834
|
+
const epPropKey = "__epPropKey";
|
|
6835
|
+
const definePropType = (val) => val;
|
|
6836
|
+
const isEpProp = (val) => isObject$1(val) && !!val[epPropKey];
|
|
6837
|
+
const buildProp = (prop, key) => {
|
|
6838
|
+
if (!isObject$1(prop) || isEpProp(prop))
|
|
6839
|
+
return prop;
|
|
6840
|
+
const { values, required, default: defaultValue, type, validator } = prop;
|
|
6841
|
+
const _validator = values || validator ? (val) => {
|
|
6842
|
+
let valid = false;
|
|
6843
|
+
let allowedValues = [];
|
|
6844
|
+
if (values) {
|
|
6845
|
+
allowedValues = Array.from(values);
|
|
6846
|
+
if (hasOwn(prop, "default")) {
|
|
6847
|
+
allowedValues.push(defaultValue);
|
|
6848
|
+
}
|
|
6849
|
+
valid || (valid = allowedValues.includes(val));
|
|
6850
|
+
}
|
|
6851
|
+
if (validator)
|
|
6852
|
+
valid || (valid = validator(val));
|
|
6853
|
+
if (!valid && allowedValues.length > 0) {
|
|
6854
|
+
const allowValuesText = [...new Set(allowedValues)].map((value) => JSON.stringify(value)).join(", ");
|
|
6855
|
+
vue.warn(`Invalid prop: validation failed${key ? ` for prop "${key}"` : ""}. Expected one of [${allowValuesText}], got value ${JSON.stringify(val)}.`);
|
|
6856
|
+
}
|
|
6857
|
+
return valid;
|
|
6858
|
+
} : void 0;
|
|
6859
|
+
const epProp = {
|
|
6860
|
+
type,
|
|
6861
|
+
required: !!required,
|
|
6862
|
+
validator: _validator,
|
|
6863
|
+
[epPropKey]: true
|
|
6864
|
+
};
|
|
6865
|
+
if (hasOwn(prop, "default"))
|
|
6866
|
+
epProp.default = defaultValue;
|
|
6867
|
+
return epProp;
|
|
6868
|
+
};
|
|
6869
|
+
const buildProps = (props) => fromPairs(Object.entries(props).map(([key, option]) => [
|
|
6870
|
+
key,
|
|
6871
|
+
buildProp(option, key)
|
|
6872
|
+
]));
|
|
6873
|
+
|
|
6842
6874
|
const withInstall = (main, extra) => {
|
|
6843
6875
|
main.install = (app) => {
|
|
6844
6876
|
for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
|
|
@@ -6853,6 +6885,138 @@
|
|
|
6853
6885
|
return main;
|
|
6854
6886
|
};
|
|
6855
6887
|
|
|
6888
|
+
const INSTALLED_KEY = Symbol("INSTALLED_KEY");
|
|
6889
|
+
|
|
6890
|
+
const componentSizes = ["", "default", "small", "large"];
|
|
6891
|
+
|
|
6892
|
+
var English = {
|
|
6893
|
+
name: "en",
|
|
6894
|
+
hzzt: {
|
|
6895
|
+
collapse: {
|
|
6896
|
+
expand: "expand",
|
|
6897
|
+
retract: "retract"
|
|
6898
|
+
}
|
|
6899
|
+
}
|
|
6900
|
+
};
|
|
6901
|
+
|
|
6902
|
+
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
6903
|
+
const translate = (path, option, locale) => get(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => {
|
|
6904
|
+
var _a;
|
|
6905
|
+
return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;
|
|
6906
|
+
});
|
|
6907
|
+
const buildLocaleContext = (locale) => {
|
|
6908
|
+
const lang = vue.computed(() => vue.unref(locale).name);
|
|
6909
|
+
const localeRef = vue.isRef(locale) ? locale : vue.ref(locale);
|
|
6910
|
+
return {
|
|
6911
|
+
lang,
|
|
6912
|
+
locale: localeRef,
|
|
6913
|
+
t: buildTranslator(locale)
|
|
6914
|
+
};
|
|
6915
|
+
};
|
|
6916
|
+
const localeContextKey = Symbol("localeContextKey");
|
|
6917
|
+
const useLocale = (localeOverrides) => {
|
|
6918
|
+
const locale = localeOverrides || vue.inject(localeContextKey, vue.ref());
|
|
6919
|
+
return buildLocaleContext(vue.computed(() => locale.value || English));
|
|
6920
|
+
};
|
|
6921
|
+
|
|
6922
|
+
const useSizeProp = buildProp({
|
|
6923
|
+
type: String,
|
|
6924
|
+
values: componentSizes,
|
|
6925
|
+
required: false
|
|
6926
|
+
});
|
|
6927
|
+
const SIZE_INJECTION_KEY = Symbol("size");
|
|
6928
|
+
|
|
6929
|
+
const configProviderContextKey = Symbol();
|
|
6930
|
+
|
|
6931
|
+
const globalConfig = vue.ref();
|
|
6932
|
+
function useGlobalConfig(key, defaultValue = void 0) {
|
|
6933
|
+
const config = vue.getCurrentInstance() ? vue.inject(configProviderContextKey, globalConfig) : globalConfig;
|
|
6934
|
+
if (key) {
|
|
6935
|
+
return vue.computed(() => {
|
|
6936
|
+
var _a, _b;
|
|
6937
|
+
return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;
|
|
6938
|
+
});
|
|
6939
|
+
} else {
|
|
6940
|
+
return config;
|
|
6941
|
+
}
|
|
6942
|
+
}
|
|
6943
|
+
const provideGlobalConfig = (config, app, global = false) => {
|
|
6944
|
+
var _a;
|
|
6945
|
+
const inSetup = !!vue.getCurrentInstance();
|
|
6946
|
+
const oldConfig = inSetup ? useGlobalConfig() : void 0;
|
|
6947
|
+
const provideFn = (_a = app == null ? void 0 : app.provide) != null ? _a : inSetup ? vue.provide : void 0;
|
|
6948
|
+
if (!provideFn) {
|
|
6949
|
+
return;
|
|
6950
|
+
}
|
|
6951
|
+
const context = vue.computed(() => {
|
|
6952
|
+
const cfg = vue.unref(config);
|
|
6953
|
+
if (!(oldConfig == null ? void 0 : oldConfig.value))
|
|
6954
|
+
return cfg;
|
|
6955
|
+
return mergeConfig(oldConfig.value, cfg);
|
|
6956
|
+
});
|
|
6957
|
+
provideFn(configProviderContextKey, context);
|
|
6958
|
+
provideFn(localeContextKey, vue.computed(() => context.value.locale));
|
|
6959
|
+
provideFn(SIZE_INJECTION_KEY, {
|
|
6960
|
+
size: vue.computed(() => context.value.size || "")
|
|
6961
|
+
});
|
|
6962
|
+
if (global || !globalConfig.value) {
|
|
6963
|
+
globalConfig.value = context.value;
|
|
6964
|
+
}
|
|
6965
|
+
return context;
|
|
6966
|
+
};
|
|
6967
|
+
const mergeConfig = (a, b) => {
|
|
6968
|
+
const keys = [.../* @__PURE__ */ new Set([...keysOf(a), ...keysOf(b)])];
|
|
6969
|
+
const obj = {};
|
|
6970
|
+
for (const key of keys) {
|
|
6971
|
+
obj[key] = b[key] !== void 0 ? b[key] : a[key];
|
|
6972
|
+
}
|
|
6973
|
+
return obj;
|
|
6974
|
+
};
|
|
6975
|
+
|
|
6976
|
+
const configProviderProps = buildProps({
|
|
6977
|
+
a11y: {
|
|
6978
|
+
type: Boolean,
|
|
6979
|
+
default: true
|
|
6980
|
+
},
|
|
6981
|
+
locale: {
|
|
6982
|
+
type: definePropType(Object)
|
|
6983
|
+
},
|
|
6984
|
+
size: useSizeProp,
|
|
6985
|
+
keyboardNavigation: {
|
|
6986
|
+
type: Boolean,
|
|
6987
|
+
default: true
|
|
6988
|
+
}
|
|
6989
|
+
});
|
|
6990
|
+
|
|
6991
|
+
const ConfigProvider = vue.defineComponent({
|
|
6992
|
+
name: "HzztConfigProvider",
|
|
6993
|
+
props: configProviderProps,
|
|
6994
|
+
setup(props, { slots }) {
|
|
6995
|
+
const config = provideGlobalConfig(props);
|
|
6996
|
+
return () => vue.renderSlot(slots, "default", { config: config == null ? void 0 : config.value });
|
|
6997
|
+
}
|
|
6998
|
+
});
|
|
6999
|
+
var ConfigProvider$1 = ConfigProvider;
|
|
7000
|
+
|
|
7001
|
+
const HzztConfigProvider = withInstall(ConfigProvider$1);
|
|
7002
|
+
|
|
7003
|
+
const version$1 = "0.0.1";
|
|
7004
|
+
|
|
7005
|
+
const makeInstaller = (components = []) => {
|
|
7006
|
+
const install = (app, options) => {
|
|
7007
|
+
if (app[INSTALLED_KEY])
|
|
7008
|
+
return;
|
|
7009
|
+
app[INSTALLED_KEY] = true;
|
|
7010
|
+
components.forEach((c) => app.use(c));
|
|
7011
|
+
if (options)
|
|
7012
|
+
provideGlobalConfig(options, app, true);
|
|
7013
|
+
};
|
|
7014
|
+
return {
|
|
7015
|
+
version: version$1,
|
|
7016
|
+
install
|
|
7017
|
+
};
|
|
7018
|
+
};
|
|
7019
|
+
|
|
6856
7020
|
var _export_sfc = (sfc, props) => {
|
|
6857
7021
|
const target = sfc.__vccOpts || sfc;
|
|
6858
7022
|
for (const [key, val] of props) {
|
|
@@ -6861,20 +7025,20 @@
|
|
|
6861
7025
|
return target;
|
|
6862
7026
|
};
|
|
6863
7027
|
|
|
6864
|
-
const _hoisted_1$
|
|
7028
|
+
const _hoisted_1$2 = {
|
|
6865
7029
|
key: 0,
|
|
6866
7030
|
class: "hzzt-title flex align-items-center"
|
|
6867
7031
|
};
|
|
6868
|
-
const _hoisted_2$
|
|
7032
|
+
const _hoisted_2$2 = {
|
|
6869
7033
|
key: 0,
|
|
6870
7034
|
class: "decorative-line"
|
|
6871
7035
|
};
|
|
6872
|
-
const _hoisted_3$
|
|
6873
|
-
const __default__$
|
|
7036
|
+
const _hoisted_3$2 = { class: "label-name" };
|
|
7037
|
+
const __default__$2 = vue.defineComponent({
|
|
6874
7038
|
name: "HzztTitle"
|
|
6875
7039
|
});
|
|
6876
|
-
const _sfc_main$
|
|
6877
|
-
...__default__$
|
|
7040
|
+
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
7041
|
+
...__default__$2,
|
|
6878
7042
|
props: {
|
|
6879
7043
|
label: String,
|
|
6880
7044
|
sideline: {
|
|
@@ -6890,10 +7054,10 @@
|
|
|
6890
7054
|
return props.label || ((_c = (_b = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b[0]) == null ? void 0 : _c.children);
|
|
6891
7055
|
});
|
|
6892
7056
|
return (_ctx, _cache) => {
|
|
6893
|
-
return vue.unref(showLabel) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6894
|
-
__props.sideline ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
7057
|
+
return vue.unref(showLabel) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
|
|
7058
|
+
__props.sideline ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2)) : vue.createCommentVNode("v-if", true),
|
|
6895
7059
|
vue.renderSlot(_ctx.$slots, "before"),
|
|
6896
|
-
vue.createElementVNode("label", _hoisted_3$
|
|
7060
|
+
vue.createElementVNode("label", _hoisted_3$2, [
|
|
6897
7061
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6898
7062
|
vue.createTextVNode(vue.toDisplayString(__props.label), 1)
|
|
6899
7063
|
])
|
|
@@ -6902,7 +7066,7 @@
|
|
|
6902
7066
|
};
|
|
6903
7067
|
}
|
|
6904
7068
|
});
|
|
6905
|
-
var Title = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7069
|
+
var Title = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "index.vue"]]);
|
|
6906
7070
|
|
|
6907
7071
|
const HzztTitle = withInstall(Title);
|
|
6908
7072
|
|
|
@@ -6978,18 +7142,18 @@
|
|
|
6978
7142
|
}
|
|
6979
7143
|
};
|
|
6980
7144
|
|
|
6981
|
-
const _hoisted_1 = ["onClick"];
|
|
6982
|
-
const _hoisted_2 = { class: "hzzt-dropdown-name" };
|
|
6983
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("span", { class: "caret" }, null, -1);
|
|
6984
|
-
const _hoisted_4 = { class: "hzzt-dropdown-menu" };
|
|
6985
|
-
const _hoisted_5 = ["onClick"];
|
|
6986
|
-
const _hoisted_6 = { class: "submenu" };
|
|
6987
|
-
const _hoisted_7 = ["onClick"];
|
|
6988
|
-
const __default__ = vue.defineComponent({
|
|
7145
|
+
const _hoisted_1$1 = ["onClick"];
|
|
7146
|
+
const _hoisted_2$1 = { class: "hzzt-dropdown-name" };
|
|
7147
|
+
const _hoisted_3$1 = /* @__PURE__ */ vue.createElementVNode("span", { class: "caret" }, null, -1);
|
|
7148
|
+
const _hoisted_4$1 = { class: "hzzt-dropdown-menu" };
|
|
7149
|
+
const _hoisted_5$1 = ["onClick"];
|
|
7150
|
+
const _hoisted_6$1 = { class: "submenu" };
|
|
7151
|
+
const _hoisted_7$1 = ["onClick"];
|
|
7152
|
+
const __default__$1 = vue.defineComponent({
|
|
6989
7153
|
name: "HzztDropDown"
|
|
6990
7154
|
});
|
|
6991
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6992
|
-
...__default__,
|
|
7155
|
+
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
7156
|
+
...__default__$1,
|
|
6993
7157
|
props: {
|
|
6994
7158
|
options: {
|
|
6995
7159
|
type: Array,
|
|
@@ -7044,24 +7208,24 @@
|
|
|
7044
7208
|
vue.createElementVNode("li", {
|
|
7045
7209
|
class: vue.normalizeClass({ "hzzt-dropdown-li": true, "hzzt-dropdown-li-show": toggle.value })
|
|
7046
7210
|
}, [
|
|
7047
|
-
vue.createElementVNode("span", _hoisted_2, vue.toDisplayString(__props.label), 1),
|
|
7048
|
-
_hoisted_3,
|
|
7049
|
-
vue.createElementVNode("ul", _hoisted_4, [
|
|
7211
|
+
vue.createElementVNode("span", _hoisted_2$1, vue.toDisplayString(__props.label), 1),
|
|
7212
|
+
_hoisted_3$1,
|
|
7213
|
+
vue.createElementVNode("ul", _hoisted_4$1, [
|
|
7050
7214
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option, index) => {
|
|
7051
7215
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
7052
|
-
|
|
7216
|
+
vue.unref(isEmpty)(option[__props.props.children]) ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
7053
7217
|
class: vue.normalizeClass({ "hzzt-dropdown-menu-item": true, selected: __props.defaultValue.includes(option[__props.props.value]) }),
|
|
7054
7218
|
key: index
|
|
7055
7219
|
}, [
|
|
7056
7220
|
vue.createElementVNode("a", {
|
|
7057
7221
|
onClick: ($event) => selectValue([option[__props.props.value]]),
|
|
7058
7222
|
class: "hzzt-dropdown-menu-item-label"
|
|
7059
|
-
}, vue.toDisplayString(option[__props.props.label]), 9, _hoisted_5)
|
|
7223
|
+
}, vue.toDisplayString(option[__props.props.label]), 9, _hoisted_5$1)
|
|
7060
7224
|
], 2)) : (vue.openBlock(), vue.createElementBlock("li", {
|
|
7061
7225
|
key: index + "submenu",
|
|
7062
7226
|
class: "hzzt-dropdown-menu-item hzzt-dropdown-submenu"
|
|
7063
7227
|
}, [
|
|
7064
|
-
vue.createElementVNode("a", _hoisted_6, vue.toDisplayString(option[__props.props.label]), 1),
|
|
7228
|
+
vue.createElementVNode("a", _hoisted_6$1, vue.toDisplayString(option[__props.props.label]), 1),
|
|
7065
7229
|
vue.createElementVNode("ul", {
|
|
7066
7230
|
class: vue.normalizeClass([["pull-" + __props.position], "hzzt-dropdown-menu"])
|
|
7067
7231
|
}, [
|
|
@@ -7073,7 +7237,7 @@
|
|
|
7073
7237
|
vue.createElementVNode("a", {
|
|
7074
7238
|
onClick: ($event) => selectValue([option[__props.props.value], child[__props.props.value]]),
|
|
7075
7239
|
class: "hzzt-dropdown-menu-item-label"
|
|
7076
|
-
}, vue.toDisplayString(child[__props.props.label]), 9, _hoisted_7)
|
|
7240
|
+
}, vue.toDisplayString(child[__props.props.label]), 9, _hoisted_7$1)
|
|
7077
7241
|
], 2);
|
|
7078
7242
|
}), 128))
|
|
7079
7243
|
], 2)
|
|
@@ -7086,19 +7250,86 @@
|
|
|
7086
7250
|
}), 256))
|
|
7087
7251
|
])
|
|
7088
7252
|
], 2)
|
|
7089
|
-
], 8, _hoisted_1)), [
|
|
7253
|
+
], 8, _hoisted_1$1)), [
|
|
7090
7254
|
[vue.unref(ClickOutside), close]
|
|
7091
7255
|
]);
|
|
7092
7256
|
};
|
|
7093
7257
|
}
|
|
7094
7258
|
});
|
|
7095
|
-
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "index.vue"]]);
|
|
7259
|
+
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "index.vue"]]);
|
|
7096
7260
|
|
|
7097
7261
|
const HzztDropdown = withInstall(Dropdown);
|
|
7098
7262
|
|
|
7263
|
+
const _hoisted_1 = { class: "hzzt-collapse" };
|
|
7264
|
+
const _hoisted_2 = { class: "flex align-items-center" };
|
|
7265
|
+
const _hoisted_3 = { class: "hzzt-collapse-title-wrapper" };
|
|
7266
|
+
const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode("div", { class: "hzzt-collapse-title-block" }, null, -1);
|
|
7267
|
+
const _hoisted_5 = { class: "hzzt-collapse-title" };
|
|
7268
|
+
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "hzzt-collapse-line" }, null, -1);
|
|
7269
|
+
const _hoisted_7 = {
|
|
7270
|
+
key: 0,
|
|
7271
|
+
class: "hzzt-collapse-text"
|
|
7272
|
+
};
|
|
7273
|
+
const __default__ = vue.defineComponent({
|
|
7274
|
+
name: "HzztCollapse"
|
|
7275
|
+
});
|
|
7276
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7277
|
+
...__default__,
|
|
7278
|
+
props: {
|
|
7279
|
+
defaultActive: {
|
|
7280
|
+
type: Boolean,
|
|
7281
|
+
default: false
|
|
7282
|
+
},
|
|
7283
|
+
title: {
|
|
7284
|
+
type: String,
|
|
7285
|
+
default: ""
|
|
7286
|
+
},
|
|
7287
|
+
expand: {
|
|
7288
|
+
type: Boolean,
|
|
7289
|
+
default: true
|
|
7290
|
+
}
|
|
7291
|
+
},
|
|
7292
|
+
setup(__props) {
|
|
7293
|
+
const props = __props;
|
|
7294
|
+
const { t } = useLocale();
|
|
7295
|
+
const active = vue.ref(props.defaultActive);
|
|
7296
|
+
vue.useSlots();
|
|
7297
|
+
vue.watch(() => props.defaultActive, (val) => {
|
|
7298
|
+
active.value = val;
|
|
7299
|
+
});
|
|
7300
|
+
function toggle() {
|
|
7301
|
+
active.value = !active.value;
|
|
7302
|
+
}
|
|
7303
|
+
return (_ctx, _cache) => {
|
|
7304
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
7305
|
+
vue.createElementVNode("div", {
|
|
7306
|
+
class: "hzzt-collapse-header",
|
|
7307
|
+
onClick: toggle
|
|
7308
|
+
}, [
|
|
7309
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
7310
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
7311
|
+
_hoisted_4,
|
|
7312
|
+
vue.createElementVNode("div", _hoisted_5, vue.toDisplayString(__props.title), 1)
|
|
7313
|
+
]),
|
|
7314
|
+
_hoisted_6
|
|
7315
|
+
]),
|
|
7316
|
+
__props.expand ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, vue.toDisplayString(active.value ? vue.unref(t)("hzzt.collapse.retract") : vue.unref(t)("hzzt.collapse.expand")), 1)) : vue.createCommentVNode("v-if", true)
|
|
7317
|
+
]),
|
|
7318
|
+
vue.renderSlot(_ctx.$slots, "active", { active: active.value }),
|
|
7319
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
7320
|
+
]);
|
|
7321
|
+
};
|
|
7322
|
+
}
|
|
7323
|
+
});
|
|
7324
|
+
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "index.vue"]]);
|
|
7325
|
+
|
|
7326
|
+
const HzztCollapse = withInstall(Collapse);
|
|
7327
|
+
|
|
7099
7328
|
var Components = [
|
|
7329
|
+
HzztConfigProvider,
|
|
7100
7330
|
HzztTitle,
|
|
7101
|
-
HzztDropdown
|
|
7331
|
+
HzztDropdown,
|
|
7332
|
+
HzztCollapse
|
|
7102
7333
|
];
|
|
7103
7334
|
|
|
7104
7335
|
var Plugins = [];
|
|
@@ -7108,11 +7339,17 @@
|
|
|
7108
7339
|
const install = installer.install;
|
|
7109
7340
|
const version = installer.version;
|
|
7110
7341
|
|
|
7342
|
+
exports.HzztCollapse = HzztCollapse;
|
|
7343
|
+
exports.HzztConfigProvider = HzztConfigProvider;
|
|
7111
7344
|
exports.HzztDropdown = HzztDropdown;
|
|
7112
7345
|
exports.HzztTitle = HzztTitle;
|
|
7346
|
+
exports.configProviderContextKey = configProviderContextKey;
|
|
7347
|
+
exports.configProviderProps = configProviderProps;
|
|
7113
7348
|
exports["default"] = installer;
|
|
7114
7349
|
exports.install = install;
|
|
7115
7350
|
exports.makeInstaller = makeInstaller;
|
|
7351
|
+
exports.provideGlobalConfig = provideGlobalConfig;
|
|
7352
|
+
exports.useGlobalConfig = useGlobalConfig;
|
|
7116
7353
|
exports.version = version;
|
|
7117
7354
|
|
|
7118
7355
|
Object.defineProperty(exports, '__esModule', { value: true });
|