zartd 0.0.10
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/README.md +3 -0
- package/dist/index.css +2673 -0
- package/dist/index.d.ts +406 -0
- package/dist/index.js +1413 -0
- package/dist/index.min.css +2 -0
- package/dist/index.min.css.map +1 -0
- package/dist/index.min.js +3 -0
- package/dist/index.min.js.map +1 -0
- package/dist/style/fonts/din/din-alternate-bold.ttf +0 -0
- package/dist/style/fonts/din/din.css +4 -0
- package/dist/style/fonts/iconfont/iconfont.css +525 -0
- package/dist/style/fonts/iconfont/iconfont.ttf +0 -0
- package/dist/style/fonts/iconfont/iconfont.woff +0 -0
- package/dist/style/fonts/iconfont/iconfont.woff2 +0 -0
- package/dist/style/images/empty-default.png +0 -0
- package/dist/style/images/login-banner-one-dark.png +0 -0
- package/dist/style/images/login-banner-one-gov.png +0 -0
- package/dist/style/images/login-banner-one.png +0 -0
- package/dist/style/images/login-banner-three-dark.png +0 -0
- package/dist/style/images/login-banner-three-gov.png +0 -0
- package/dist/style/images/login-banner-three.png +0 -0
- package/dist/style/images/login-banner-two-dark.png +0 -0
- package/dist/style/images/login-banner-two-gov.png +0 -0
- package/dist/style/images/login-banner-two.png +0 -0
- package/dist/style/images/login-bg-dark.png +0 -0
- package/dist/style/images/login-bg-gov.png +0 -0
- package/dist/style/images/login-bg.png +0 -0
- package/dist/style/images/spread-navigation-bg.png +0 -0
- package/es/_virtual/plugin-vue_export-helper.js +9 -0
- package/es/a-alert/style/index.css +407 -0
- package/es/a-alert/style/index.d.ts +2 -0
- package/es/a-alert/style/index.js +2 -0
- package/es/a-alert/style/index.less +75 -0
- package/es/a-avatar/style/index.css +3 -0
- package/es/a-avatar/style/index.d.ts +2 -0
- package/es/a-avatar/style/index.js +2 -0
- package/es/a-avatar/style/index.less +3 -0
- package/es/a-badge/style/index.css +3 -0
- package/es/a-badge/style/index.d.ts +2 -0
- package/es/a-badge/style/index.js +2 -0
- package/es/a-badge/style/index.less +5 -0
- package/es/a-button/style/index.css +512 -0
- package/es/a-button/style/index.d.ts +2 -0
- package/es/a-button/style/index.js +2 -0
- package/es/a-button/style/index.less +227 -0
- package/es/a-carousel/style/index.css +3 -0
- package/es/a-carousel/style/index.d.ts +2 -0
- package/es/a-carousel/style/index.js +2 -0
- package/es/a-carousel/style/index.less +9 -0
- package/es/a-cascader/style/index.css +442 -0
- package/es/a-cascader/style/index.d.ts +2 -0
- package/es/a-cascader/style/index.js +2 -0
- package/es/a-cascader/style/index.less +47 -0
- package/es/a-checkbox/style/index.css +383 -0
- package/es/a-checkbox/style/index.d.ts +2 -0
- package/es/a-checkbox/style/index.js +2 -0
- package/es/a-checkbox/style/index.less +65 -0
- package/es/a-collapse/style/index.css +23 -0
- package/es/a-collapse/style/index.d.ts +2 -0
- package/es/a-collapse/style/index.js +2 -0
- package/es/a-collapse/style/index.less +29 -0
- package/es/a-date-picker/style/index.css +26 -0
- package/es/a-date-picker/style/index.d.ts +2 -0
- package/es/a-date-picker/style/index.js +2 -0
- package/es/a-date-picker/style/index.less +53 -0
- package/es/a-description/style/index.css +8 -0
- package/es/a-description/style/index.d.ts +2 -0
- package/es/a-description/style/index.js +2 -0
- package/es/a-description/style/index.less +15 -0
- package/es/a-drawer/style/index.css +38 -0
- package/es/a-drawer/style/index.d.ts +2 -0
- package/es/a-drawer/style/index.js +2 -0
- package/es/a-drawer/style/index.less +53 -0
- package/es/a-dropdown/style/index.css +9 -0
- package/es/a-dropdown/style/index.d.ts +2 -0
- package/es/a-dropdown/style/index.js +2 -0
- package/es/a-dropdown/style/index.less +19 -0
- package/es/a-empty/style/index.css +48 -0
- package/es/a-empty/style/index.d.ts +2 -0
- package/es/a-empty/style/index.js +2 -0
- package/es/a-empty/style/index.less +62 -0
- package/es/a-form/style/index.css +366 -0
- package/es/a-form/style/index.d.ts +2 -0
- package/es/a-form/style/index.js +2 -0
- package/es/a-form/style/index.less +38 -0
- package/es/a-input/style/index.css +373 -0
- package/es/a-input/style/index.d.ts +2 -0
- package/es/a-input/style/index.js +2 -0
- package/es/a-input/style/index.less +41 -0
- package/es/a-input-number/style/index.css +396 -0
- package/es/a-input-number/style/index.d.ts +2 -0
- package/es/a-input-number/style/index.js +2 -0
- package/es/a-input-number/style/index.less +12 -0
- package/es/a-menu/style/index.css +442 -0
- package/es/a-menu/style/index.d.ts +2 -0
- package/es/a-menu/style/index.js +2 -0
- package/es/a-menu/style/index.less +116 -0
- package/es/a-message/style/index.css +361 -0
- package/es/a-message/style/index.d.ts +2 -0
- package/es/a-message/style/index.js +2 -0
- package/es/a-message/style/index.less +17 -0
- package/es/a-modal/style/index.css +381 -0
- package/es/a-modal/style/index.d.ts +2 -0
- package/es/a-modal/style/index.js +2 -0
- package/es/a-modal/style/index.less +41 -0
- package/es/a-notification/style/index.css +407 -0
- package/es/a-notification/style/index.d.ts +2 -0
- package/es/a-notification/style/index.js +2 -0
- package/es/a-notification/style/index.less +79 -0
- package/es/a-pageheader/style/index.css +12 -0
- package/es/a-pageheader/style/index.d.ts +2 -0
- package/es/a-pageheader/style/index.js +2 -0
- package/es/a-pageheader/style/index.less +16 -0
- package/es/a-pagination/style/index.css +4 -0
- package/es/a-pagination/style/index.d.ts +2 -0
- package/es/a-pagination/style/index.js +2 -0
- package/es/a-pagination/style/index.less +8 -0
- package/es/a-popover/style/index.css +439 -0
- package/es/a-popover/style/index.d.ts +2 -0
- package/es/a-popover/style/index.js +2 -0
- package/es/a-popover/style/index.less +115 -0
- package/es/a-progress/style/index.css +409 -0
- package/es/a-progress/style/index.d.ts +2 -0
- package/es/a-progress/style/index.js +2 -0
- package/es/a-progress/style/index.less +93 -0
- package/es/a-radio/style/index.css +389 -0
- package/es/a-radio/style/index.d.ts +2 -0
- package/es/a-radio/style/index.js +2 -0
- package/es/a-radio/style/index.less +59 -0
- package/es/a-select/style/index.css +373 -0
- package/es/a-select/style/index.d.ts +2 -0
- package/es/a-select/style/index.js +2 -0
- package/es/a-select/style/index.less +37 -0
- package/es/a-select-tree/style/index.css +526 -0
- package/es/a-select-tree/style/index.d.ts +2 -0
- package/es/a-select-tree/style/index.js +2 -0
- package/es/a-select-tree/style/index.less +16 -0
- package/es/a-steps/style/index.css +37 -0
- package/es/a-steps/style/index.d.ts +2 -0
- package/es/a-steps/style/index.js +2 -0
- package/es/a-steps/style/index.less +66 -0
- package/es/a-switch/style/index.css +359 -0
- package/es/a-switch/style/index.d.ts +2 -0
- package/es/a-switch/style/index.js +2 -0
- package/es/a-switch/style/index.less +18 -0
- package/es/a-table/style/index.css +12 -0
- package/es/a-table/style/index.d.ts +2 -0
- package/es/a-table/style/index.js +2 -0
- package/es/a-table/style/index.less +25 -0
- package/es/a-tabs/style/index.css +83 -0
- package/es/a-tabs/style/index.d.ts +2 -0
- package/es/a-tabs/style/index.js +2 -0
- package/es/a-tabs/style/index.less +104 -0
- package/es/a-tooltip/style/index.css +5 -0
- package/es/a-tooltip/style/index.d.ts +2 -0
- package/es/a-tooltip/style/index.js +2 -0
- package/es/a-tooltip/style/index.less +7 -0
- package/es/a-tree/style/index.css +457 -0
- package/es/a-tree/style/index.d.ts +2 -0
- package/es/a-tree/style/index.js +2 -0
- package/es/a-tree/style/index.less +84 -0
- package/es/a-upload/style/index.css +488 -0
- package/es/a-upload/style/index.d.ts +2 -0
- package/es/a-upload/style/index.js +2 -0
- package/es/a-upload/style/index.less +180 -0
- package/es/collapse-button/collapse-button.vue.d.ts +45 -0
- package/es/collapse-button/collapse-button.vue.js +54 -0
- package/es/collapse-button/index.d.ts +45 -0
- package/es/collapse-button/index.js +6 -0
- package/es/collapse-button/style/index.css +47 -0
- package/es/collapse-button/style/index.d.ts +2 -0
- package/es/collapse-button/style/index.js +2 -0
- package/es/collapse-button/style/index.less +58 -0
- package/es/empty/index.d.ts +14 -0
- package/es/empty/index.js +6 -0
- package/es/empty/index.vue.d.ts +14 -0
- package/es/empty/index.vue.js +24 -0
- package/es/empty/style/index.css +15 -0
- package/es/empty/style/index.d.ts +2 -0
- package/es/empty/style/index.js +2 -0
- package/es/empty/style/index.less +17 -0
- package/es/iframe/iframe.vue.d.ts +17 -0
- package/es/iframe/iframe.vue.js +42 -0
- package/es/iframe/index.d.ts +17 -0
- package/es/iframe/index.js +6 -0
- package/es/iframe/style/index.css +363 -0
- package/es/iframe/style/index.d.ts +2 -0
- package/es/iframe/style/index.js +2 -0
- package/es/iframe/style/index.less +15 -0
- package/es/iframe-with-token/iframe-with-token.vue.d.ts +16 -0
- package/es/iframe-with-token/iframe-with-token.vue.js +94 -0
- package/es/iframe-with-token/index.d.ts +16 -0
- package/es/iframe-with-token/index.js +6 -0
- package/es/iframe-with-token/style/index.css +4 -0
- package/es/iframe-with-token/style/index.d.ts +2 -0
- package/es/iframe-with-token/style/index.js +2 -0
- package/es/iframe-with-token/style/index.less +4 -0
- package/es/index.d.ts +24 -0
- package/es/index.js +62 -0
- package/es/layout-header-more/index.d.ts +6 -0
- package/es/layout-header-more/index.js +6 -0
- package/es/layout-header-more/layout-header-more.vue.d.ts +6 -0
- package/es/layout-header-more/layout-header-more.vue.js +164 -0
- package/es/layout-header-more/style/index.css +41 -0
- package/es/layout-header-more/style/index.d.ts +2 -0
- package/es/layout-header-more/style/index.js +2 -0
- package/es/layout-header-more/style/index.less +49 -0
- package/es/layout-navs/index.d.ts +44 -0
- package/es/layout-navs/index.js +6 -0
- package/es/layout-navs/layout-navs.vue.d.ts +45 -0
- package/es/layout-navs/layout-navs.vue.js +87 -0
- package/es/layout-navs/style/index.css +11 -0
- package/es/layout-navs/style/index.d.ts +2 -0
- package/es/layout-navs/style/index.js +2 -0
- package/es/layout-navs/style/index.less +15 -0
- package/es/modal-theme/index.d.ts +52 -0
- package/es/modal-theme/index.js +6 -0
- package/es/modal-theme/modal-theme.vue.d.ts +53 -0
- package/es/modal-theme/modal-theme.vue.js +162 -0
- package/es/modal-theme/style/index.css +3 -0
- package/es/modal-theme/style/index.d.ts +2 -0
- package/es/modal-theme/style/index.js +2 -0
- package/es/modal-theme/style/index.less +3 -0
- package/es/modules.d.js +1 -0
- package/es/panal-bg/index.d.ts +16 -0
- package/es/panal-bg/index.js +6 -0
- package/es/panal-bg/panal-bg.vue.d.ts +16 -0
- package/es/panal-bg/panal-bg.vue.js +31 -0
- package/es/panal-bg/style/index.css +17 -0
- package/es/panal-bg/style/index.d.ts +2 -0
- package/es/panal-bg/style/index.js +2 -0
- package/es/panal-bg/style/index.less +20 -0
- package/es/panal-table/index.d.ts +6 -0
- package/es/panal-table/index.js +6 -0
- package/es/panal-table/panal-table.vue.d.ts +6 -0
- package/es/panal-table/panal-table.vue.js +76 -0
- package/es/panal-table/style/index.css +39 -0
- package/es/panal-table/style/index.d.ts +2 -0
- package/es/panal-table/style/index.js +2 -0
- package/es/panal-table/style/index.less +57 -0
- package/es/profile-avatar/index.d.ts +42 -0
- package/es/profile-avatar/index.js +6 -0
- package/es/profile-avatar/profile-avatar.vue.d.ts +42 -0
- package/es/profile-avatar/profile-avatar.vue.js +52 -0
- package/es/profile-avatar/style/index.css +383 -0
- package/es/profile-avatar/style/index.d.ts +2 -0
- package/es/profile-avatar/style/index.js +2 -0
- package/es/profile-avatar/style/index.less +40 -0
- package/es/side-menu/index.d.ts +27 -0
- package/es/side-menu/index.js +6 -0
- package/es/side-menu/side-menu-item.vue.d.ts +14 -0
- package/es/side-menu/side-menu-item.vue.js +45 -0
- package/es/side-menu/side-menu.vue.d.ts +29 -0
- package/es/side-menu/side-menu.vue.js +73 -0
- package/es/side-menu/side-sub-menu.vue.d.ts +14 -0
- package/es/side-menu/side-sub-menu.vue.js +62 -0
- package/es/side-menu/style/index.css +16 -0
- package/es/side-menu/style/index.d.ts +2 -0
- package/es/side-menu/style/index.js +2 -0
- package/es/side-menu/style/index.less +25 -0
- package/es/spread-navigation/index.d.ts +32 -0
- package/es/spread-navigation/index.js +6 -0
- package/es/spread-navigation/spread-navigation.vue.d.ts +33 -0
- package/es/spread-navigation/spread-navigation.vue.js +71 -0
- package/es/spread-navigation/style/index.css +64 -0
- package/es/spread-navigation/style/index.d.ts +2 -0
- package/es/spread-navigation/style/index.js +2 -0
- package/es/spread-navigation/style/index.less +74 -0
- package/es/spread-navigation/types.d.ts +9 -0
- package/es/spread-navigation/types.js +1 -0
- package/es/style/core.less +2 -0
- package/es/style/fonts/din/din-alternate-bold.ttf +0 -0
- package/es/style/fonts/din/din.css +4 -0
- package/es/style/fonts/iconfont/iconfont.css +525 -0
- package/es/style/fonts/iconfont/iconfont.ttf +0 -0
- package/es/style/fonts/iconfont/iconfont.woff +0 -0
- package/es/style/fonts/iconfont/iconfont.woff2 +0 -0
- package/es/style/global.less +26 -0
- package/es/style/images/empty-default.png +0 -0
- package/es/style/images/login-banner-one-dark.png +0 -0
- package/es/style/images/login-banner-one-gov.png +0 -0
- package/es/style/images/login-banner-one.png +0 -0
- package/es/style/images/login-banner-three-dark.png +0 -0
- package/es/style/images/login-banner-three-gov.png +0 -0
- package/es/style/images/login-banner-three.png +0 -0
- package/es/style/images/login-banner-two-dark.png +0 -0
- package/es/style/images/login-banner-two-gov.png +0 -0
- package/es/style/images/login-banner-two.png +0 -0
- package/es/style/images/login-bg-dark.png +0 -0
- package/es/style/images/login-bg-gov.png +0 -0
- package/es/style/images/login-bg.png +0 -0
- package/es/style/images/spread-navigation-bg.png +0 -0
- package/es/style/index.css +2654 -0
- package/es/style/index.d.ts +1 -0
- package/es/style/index.js +1 -0
- package/es/style/index.less +57 -0
- package/es/style/themes/dark.less +18 -0
- package/es/style/themes/gov.less +17 -0
- package/es/style/themes/index.css +350 -0
- package/es/style/themes/index.less +129 -0
- package/es/style/themes/light.less +77 -0
- package/es/style/variable.less +257 -0
- package/es/sub-title/index.d.ts +2 -0
- package/es/sub-title/index.js +6 -0
- package/es/sub-title/style/index.css +370 -0
- package/es/sub-title/style/index.d.ts +2 -0
- package/es/sub-title/style/index.js +2 -0
- package/es/sub-title/style/index.less +23 -0
- package/es/sub-title/sub-title.vue.d.ts +2 -0
- package/es/sub-title/sub-title.vue.js +14 -0
- package/es/top-menu/index.d.ts +17 -0
- package/es/top-menu/index.js +6 -0
- package/es/top-menu/style/index.css +33 -0
- package/es/top-menu/style/index.d.ts +2 -0
- package/es/top-menu/style/index.js +2 -0
- package/es/top-menu/style/index.less +36 -0
- package/es/top-menu/top-menu.vue.d.ts +19 -0
- package/es/top-menu/top-menu.vue.js +57 -0
- package/es/view-login/index.d.ts +33 -0
- package/es/view-login/index.js +6 -0
- package/es/view-login/style/index.css +168 -0
- package/es/view-login/style/index.d.ts +2 -0
- package/es/view-login/style/index.js +2 -0
- package/es/view-login/style/index.less +209 -0
- package/es/view-login/view-login.vue.d.ts +33 -0
- package/es/view-login/view-login.vue.js +195 -0
- package/es/view-rec-box/index.d.ts +12 -0
- package/es/view-rec-box/index.js +6 -0
- package/es/view-rec-box/service.d.ts +6 -0
- package/es/view-rec-box/service.js +10 -0
- package/es/view-rec-box/style/index.css +4 -0
- package/es/view-rec-box/style/index.d.ts +2 -0
- package/es/view-rec-box/style/index.js +2 -0
- package/es/view-rec-box/style/index.less +4 -0
- package/es/view-rec-box/view-rec-box.vue.d.ts +12 -0
- package/es/view-rec-box/view-rec-box.vue.js +102 -0
- package/lib/_virtual/plugin-vue_export-helper.js +13 -0
- package/lib/a-alert/style/index.css +407 -0
- package/lib/a-alert/style/index.d.ts +2 -0
- package/lib/a-alert/style/index.js +2 -0
- package/lib/a-alert/style/index.less +75 -0
- package/lib/a-avatar/style/index.css +3 -0
- package/lib/a-avatar/style/index.d.ts +2 -0
- package/lib/a-avatar/style/index.js +2 -0
- package/lib/a-avatar/style/index.less +3 -0
- package/lib/a-badge/style/index.css +3 -0
- package/lib/a-badge/style/index.d.ts +2 -0
- package/lib/a-badge/style/index.js +2 -0
- package/lib/a-badge/style/index.less +5 -0
- package/lib/a-button/style/index.css +512 -0
- package/lib/a-button/style/index.d.ts +2 -0
- package/lib/a-button/style/index.js +2 -0
- package/lib/a-button/style/index.less +227 -0
- package/lib/a-carousel/style/index.css +3 -0
- package/lib/a-carousel/style/index.d.ts +2 -0
- package/lib/a-carousel/style/index.js +2 -0
- package/lib/a-carousel/style/index.less +9 -0
- package/lib/a-cascader/style/index.css +442 -0
- package/lib/a-cascader/style/index.d.ts +2 -0
- package/lib/a-cascader/style/index.js +2 -0
- package/lib/a-cascader/style/index.less +47 -0
- package/lib/a-checkbox/style/index.css +383 -0
- package/lib/a-checkbox/style/index.d.ts +2 -0
- package/lib/a-checkbox/style/index.js +2 -0
- package/lib/a-checkbox/style/index.less +65 -0
- package/lib/a-collapse/style/index.css +23 -0
- package/lib/a-collapse/style/index.d.ts +2 -0
- package/lib/a-collapse/style/index.js +2 -0
- package/lib/a-collapse/style/index.less +29 -0
- package/lib/a-date-picker/style/index.css +26 -0
- package/lib/a-date-picker/style/index.d.ts +2 -0
- package/lib/a-date-picker/style/index.js +2 -0
- package/lib/a-date-picker/style/index.less +53 -0
- package/lib/a-description/style/index.css +8 -0
- package/lib/a-description/style/index.d.ts +2 -0
- package/lib/a-description/style/index.js +2 -0
- package/lib/a-description/style/index.less +15 -0
- package/lib/a-drawer/style/index.css +38 -0
- package/lib/a-drawer/style/index.d.ts +2 -0
- package/lib/a-drawer/style/index.js +2 -0
- package/lib/a-drawer/style/index.less +53 -0
- package/lib/a-dropdown/style/index.css +9 -0
- package/lib/a-dropdown/style/index.d.ts +2 -0
- package/lib/a-dropdown/style/index.js +2 -0
- package/lib/a-dropdown/style/index.less +19 -0
- package/lib/a-empty/style/index.css +48 -0
- package/lib/a-empty/style/index.d.ts +2 -0
- package/lib/a-empty/style/index.js +2 -0
- package/lib/a-empty/style/index.less +62 -0
- package/lib/a-form/style/index.css +366 -0
- package/lib/a-form/style/index.d.ts +2 -0
- package/lib/a-form/style/index.js +2 -0
- package/lib/a-form/style/index.less +38 -0
- package/lib/a-input/style/index.css +373 -0
- package/lib/a-input/style/index.d.ts +2 -0
- package/lib/a-input/style/index.js +2 -0
- package/lib/a-input/style/index.less +41 -0
- package/lib/a-input-number/style/index.css +396 -0
- package/lib/a-input-number/style/index.d.ts +2 -0
- package/lib/a-input-number/style/index.js +2 -0
- package/lib/a-input-number/style/index.less +12 -0
- package/lib/a-menu/style/index.css +442 -0
- package/lib/a-menu/style/index.d.ts +2 -0
- package/lib/a-menu/style/index.js +2 -0
- package/lib/a-menu/style/index.less +116 -0
- package/lib/a-message/style/index.css +361 -0
- package/lib/a-message/style/index.d.ts +2 -0
- package/lib/a-message/style/index.js +2 -0
- package/lib/a-message/style/index.less +17 -0
- package/lib/a-modal/style/index.css +381 -0
- package/lib/a-modal/style/index.d.ts +2 -0
- package/lib/a-modal/style/index.js +2 -0
- package/lib/a-modal/style/index.less +41 -0
- package/lib/a-notification/style/index.css +407 -0
- package/lib/a-notification/style/index.d.ts +2 -0
- package/lib/a-notification/style/index.js +2 -0
- package/lib/a-notification/style/index.less +79 -0
- package/lib/a-pageheader/style/index.css +12 -0
- package/lib/a-pageheader/style/index.d.ts +2 -0
- package/lib/a-pageheader/style/index.js +2 -0
- package/lib/a-pageheader/style/index.less +16 -0
- package/lib/a-pagination/style/index.css +4 -0
- package/lib/a-pagination/style/index.d.ts +2 -0
- package/lib/a-pagination/style/index.js +2 -0
- package/lib/a-pagination/style/index.less +8 -0
- package/lib/a-popover/style/index.css +439 -0
- package/lib/a-popover/style/index.d.ts +2 -0
- package/lib/a-popover/style/index.js +2 -0
- package/lib/a-popover/style/index.less +115 -0
- package/lib/a-progress/style/index.css +409 -0
- package/lib/a-progress/style/index.d.ts +2 -0
- package/lib/a-progress/style/index.js +2 -0
- package/lib/a-progress/style/index.less +93 -0
- package/lib/a-radio/style/index.css +389 -0
- package/lib/a-radio/style/index.d.ts +2 -0
- package/lib/a-radio/style/index.js +2 -0
- package/lib/a-radio/style/index.less +59 -0
- package/lib/a-select/style/index.css +373 -0
- package/lib/a-select/style/index.d.ts +2 -0
- package/lib/a-select/style/index.js +2 -0
- package/lib/a-select/style/index.less +37 -0
- package/lib/a-select-tree/style/index.css +526 -0
- package/lib/a-select-tree/style/index.d.ts +2 -0
- package/lib/a-select-tree/style/index.js +2 -0
- package/lib/a-select-tree/style/index.less +16 -0
- package/lib/a-steps/style/index.css +37 -0
- package/lib/a-steps/style/index.d.ts +2 -0
- package/lib/a-steps/style/index.js +2 -0
- package/lib/a-steps/style/index.less +66 -0
- package/lib/a-switch/style/index.css +359 -0
- package/lib/a-switch/style/index.d.ts +2 -0
- package/lib/a-switch/style/index.js +2 -0
- package/lib/a-switch/style/index.less +18 -0
- package/lib/a-table/style/index.css +12 -0
- package/lib/a-table/style/index.d.ts +2 -0
- package/lib/a-table/style/index.js +2 -0
- package/lib/a-table/style/index.less +25 -0
- package/lib/a-tabs/style/index.css +83 -0
- package/lib/a-tabs/style/index.d.ts +2 -0
- package/lib/a-tabs/style/index.js +2 -0
- package/lib/a-tabs/style/index.less +104 -0
- package/lib/a-tooltip/style/index.css +5 -0
- package/lib/a-tooltip/style/index.d.ts +2 -0
- package/lib/a-tooltip/style/index.js +2 -0
- package/lib/a-tooltip/style/index.less +7 -0
- package/lib/a-tree/style/index.css +457 -0
- package/lib/a-tree/style/index.d.ts +2 -0
- package/lib/a-tree/style/index.js +2 -0
- package/lib/a-tree/style/index.less +84 -0
- package/lib/a-upload/style/index.css +488 -0
- package/lib/a-upload/style/index.d.ts +2 -0
- package/lib/a-upload/style/index.js +2 -0
- package/lib/a-upload/style/index.less +180 -0
- package/lib/collapse-button/collapse-button.vue.d.ts +45 -0
- package/lib/collapse-button/collapse-button.vue.js +58 -0
- package/lib/collapse-button/index.d.ts +45 -0
- package/lib/collapse-button/index.js +11 -0
- package/lib/collapse-button/style/index.css +47 -0
- package/lib/collapse-button/style/index.d.ts +2 -0
- package/lib/collapse-button/style/index.js +2 -0
- package/lib/collapse-button/style/index.less +58 -0
- package/lib/empty/index.d.ts +14 -0
- package/lib/empty/index.js +11 -0
- package/lib/empty/index.vue.d.ts +14 -0
- package/lib/empty/index.vue.js +28 -0
- package/lib/empty/style/index.css +15 -0
- package/lib/empty/style/index.d.ts +2 -0
- package/lib/empty/style/index.js +2 -0
- package/lib/empty/style/index.less +17 -0
- package/lib/iframe/iframe.vue.d.ts +17 -0
- package/lib/iframe/iframe.vue.js +46 -0
- package/lib/iframe/index.d.ts +17 -0
- package/lib/iframe/index.js +11 -0
- package/lib/iframe/style/index.css +363 -0
- package/lib/iframe/style/index.d.ts +2 -0
- package/lib/iframe/style/index.js +2 -0
- package/lib/iframe/style/index.less +15 -0
- package/lib/iframe-with-token/iframe-with-token.vue.d.ts +16 -0
- package/lib/iframe-with-token/iframe-with-token.vue.js +102 -0
- package/lib/iframe-with-token/index.d.ts +16 -0
- package/lib/iframe-with-token/index.js +11 -0
- package/lib/iframe-with-token/style/index.css +4 -0
- package/lib/iframe-with-token/style/index.d.ts +2 -0
- package/lib/iframe-with-token/style/index.js +2 -0
- package/lib/iframe-with-token/style/index.less +4 -0
- package/lib/index.d.ts +24 -0
- package/lib/index.js +67 -0
- package/lib/layout-header-more/index.d.ts +6 -0
- package/lib/layout-header-more/index.js +11 -0
- package/lib/layout-header-more/layout-header-more.vue.d.ts +6 -0
- package/lib/layout-header-more/layout-header-more.vue.js +168 -0
- package/lib/layout-header-more/style/index.css +41 -0
- package/lib/layout-header-more/style/index.d.ts +2 -0
- package/lib/layout-header-more/style/index.js +2 -0
- package/lib/layout-header-more/style/index.less +49 -0
- package/lib/layout-navs/index.d.ts +44 -0
- package/lib/layout-navs/index.js +11 -0
- package/lib/layout-navs/layout-navs.vue.d.ts +45 -0
- package/lib/layout-navs/layout-navs.vue.js +91 -0
- package/lib/layout-navs/style/index.css +11 -0
- package/lib/layout-navs/style/index.d.ts +2 -0
- package/lib/layout-navs/style/index.js +2 -0
- package/lib/layout-navs/style/index.less +15 -0
- package/lib/modal-theme/index.d.ts +52 -0
- package/lib/modal-theme/index.js +11 -0
- package/lib/modal-theme/modal-theme.vue.d.ts +53 -0
- package/lib/modal-theme/modal-theme.vue.js +166 -0
- package/lib/modal-theme/style/index.css +3 -0
- package/lib/modal-theme/style/index.d.ts +2 -0
- package/lib/modal-theme/style/index.js +2 -0
- package/lib/modal-theme/style/index.less +3 -0
- package/lib/modules.d.js +4 -0
- package/lib/panal-bg/index.d.ts +16 -0
- package/lib/panal-bg/index.js +11 -0
- package/lib/panal-bg/panal-bg.vue.d.ts +16 -0
- package/lib/panal-bg/panal-bg.vue.js +35 -0
- package/lib/panal-bg/style/index.css +17 -0
- package/lib/panal-bg/style/index.d.ts +2 -0
- package/lib/panal-bg/style/index.js +2 -0
- package/lib/panal-bg/style/index.less +20 -0
- package/lib/panal-table/index.d.ts +6 -0
- package/lib/panal-table/index.js +11 -0
- package/lib/panal-table/panal-table.vue.d.ts +6 -0
- package/lib/panal-table/panal-table.vue.js +80 -0
- package/lib/panal-table/style/index.css +39 -0
- package/lib/panal-table/style/index.d.ts +2 -0
- package/lib/panal-table/style/index.js +2 -0
- package/lib/panal-table/style/index.less +57 -0
- package/lib/profile-avatar/index.d.ts +42 -0
- package/lib/profile-avatar/index.js +11 -0
- package/lib/profile-avatar/profile-avatar.vue.d.ts +42 -0
- package/lib/profile-avatar/profile-avatar.vue.js +56 -0
- package/lib/profile-avatar/style/index.css +383 -0
- package/lib/profile-avatar/style/index.d.ts +2 -0
- package/lib/profile-avatar/style/index.js +2 -0
- package/lib/profile-avatar/style/index.less +40 -0
- package/lib/side-menu/index.d.ts +27 -0
- package/lib/side-menu/index.js +11 -0
- package/lib/side-menu/side-menu-item.vue.d.ts +14 -0
- package/lib/side-menu/side-menu-item.vue.js +49 -0
- package/lib/side-menu/side-menu.vue.d.ts +29 -0
- package/lib/side-menu/side-menu.vue.js +77 -0
- package/lib/side-menu/side-sub-menu.vue.d.ts +14 -0
- package/lib/side-menu/side-sub-menu.vue.js +66 -0
- package/lib/side-menu/style/index.css +16 -0
- package/lib/side-menu/style/index.d.ts +2 -0
- package/lib/side-menu/style/index.js +2 -0
- package/lib/side-menu/style/index.less +25 -0
- package/lib/spread-navigation/index.d.ts +32 -0
- package/lib/spread-navigation/index.js +11 -0
- package/lib/spread-navigation/spread-navigation.vue.d.ts +33 -0
- package/lib/spread-navigation/spread-navigation.vue.js +75 -0
- package/lib/spread-navigation/style/index.css +64 -0
- package/lib/spread-navigation/style/index.d.ts +2 -0
- package/lib/spread-navigation/style/index.js +2 -0
- package/lib/spread-navigation/style/index.less +74 -0
- package/lib/spread-navigation/types.d.ts +9 -0
- package/lib/spread-navigation/types.js +2 -0
- package/lib/style/core.less +2 -0
- package/lib/style/fonts/din/din-alternate-bold.ttf +0 -0
- package/lib/style/fonts/din/din.css +4 -0
- package/lib/style/fonts/iconfont/iconfont.css +525 -0
- package/lib/style/fonts/iconfont/iconfont.ttf +0 -0
- package/lib/style/fonts/iconfont/iconfont.woff +0 -0
- package/lib/style/fonts/iconfont/iconfont.woff2 +0 -0
- package/lib/style/global.less +26 -0
- package/lib/style/images/empty-default.png +0 -0
- package/lib/style/images/login-banner-one-dark.png +0 -0
- package/lib/style/images/login-banner-one-gov.png +0 -0
- package/lib/style/images/login-banner-one.png +0 -0
- package/lib/style/images/login-banner-three-dark.png +0 -0
- package/lib/style/images/login-banner-three-gov.png +0 -0
- package/lib/style/images/login-banner-three.png +0 -0
- package/lib/style/images/login-banner-two-dark.png +0 -0
- package/lib/style/images/login-banner-two-gov.png +0 -0
- package/lib/style/images/login-banner-two.png +0 -0
- package/lib/style/images/login-bg-dark.png +0 -0
- package/lib/style/images/login-bg-gov.png +0 -0
- package/lib/style/images/login-bg.png +0 -0
- package/lib/style/images/spread-navigation-bg.png +0 -0
- package/lib/style/index.css +2654 -0
- package/lib/style/index.d.ts +1 -0
- package/lib/style/index.js +1 -0
- package/lib/style/index.less +57 -0
- package/lib/style/themes/dark.less +18 -0
- package/lib/style/themes/gov.less +17 -0
- package/lib/style/themes/index.css +350 -0
- package/lib/style/themes/index.less +129 -0
- package/lib/style/themes/light.less +77 -0
- package/lib/style/variable.less +257 -0
- package/lib/sub-title/index.d.ts +2 -0
- package/lib/sub-title/index.js +11 -0
- package/lib/sub-title/style/index.css +370 -0
- package/lib/sub-title/style/index.d.ts +2 -0
- package/lib/sub-title/style/index.js +2 -0
- package/lib/sub-title/style/index.less +23 -0
- package/lib/sub-title/sub-title.vue.d.ts +2 -0
- package/lib/sub-title/sub-title.vue.js +18 -0
- package/lib/top-menu/index.d.ts +17 -0
- package/lib/top-menu/index.js +11 -0
- package/lib/top-menu/style/index.css +33 -0
- package/lib/top-menu/style/index.d.ts +2 -0
- package/lib/top-menu/style/index.js +2 -0
- package/lib/top-menu/style/index.less +36 -0
- package/lib/top-menu/top-menu.vue.d.ts +19 -0
- package/lib/top-menu/top-menu.vue.js +61 -0
- package/lib/view-login/index.d.ts +33 -0
- package/lib/view-login/index.js +11 -0
- package/lib/view-login/style/index.css +168 -0
- package/lib/view-login/style/index.d.ts +2 -0
- package/lib/view-login/style/index.js +2 -0
- package/lib/view-login/style/index.less +209 -0
- package/lib/view-login/view-login.vue.d.ts +33 -0
- package/lib/view-login/view-login.vue.js +199 -0
- package/lib/view-rec-box/index.d.ts +12 -0
- package/lib/view-rec-box/index.js +11 -0
- package/lib/view-rec-box/service.d.ts +6 -0
- package/lib/view-rec-box/service.js +14 -0
- package/lib/view-rec-box/style/index.css +4 -0
- package/lib/view-rec-box/style/index.d.ts +2 -0
- package/lib/view-rec-box/style/index.js +2 -0
- package/lib/view-rec-box/style/index.less +4 -0
- package/lib/view-rec-box/view-rec-box.vue.d.ts +12 -0
- package/lib/view-rec-box/view-rec-box.vue.js +106 -0
- package/package.json +88 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, mergeProps, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { Modal, Form, FormItem, Radio, RadioGroup } from 'ant-design-vue/es';
|
|
3
|
+
import { storeToRefs } from 'pinia';
|
|
4
|
+
import { useThemeStore } from '@ega/hooks';
|
|
5
|
+
import _export_sfc from '../_virtual/plugin-vue_export-helper.js';
|
|
6
|
+
|
|
7
|
+
var __async = (__this, __arguments, generator) => {
|
|
8
|
+
return new Promise((resolve, reject) => {
|
|
9
|
+
var fulfilled = (value) => {
|
|
10
|
+
try {
|
|
11
|
+
step(generator.next(value));
|
|
12
|
+
} catch (e) {
|
|
13
|
+
reject(e);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
var rejected = (value) => {
|
|
17
|
+
try {
|
|
18
|
+
step(generator.throw(value));
|
|
19
|
+
} catch (e) {
|
|
20
|
+
reject(e);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
24
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const colors = [
|
|
28
|
+
{ value: "light", text: "\u9752\u51FA\u4E8E\u84DD" },
|
|
29
|
+
{ value: "dark", text: "\u5343\u5CA9\u7ADE\u79C0" },
|
|
30
|
+
{ value: "gov", text: "\u7EA2\u65D7\u62DB\u5C55" }
|
|
31
|
+
];
|
|
32
|
+
const sizes = [
|
|
33
|
+
{ value: "large", text: "\u5927" },
|
|
34
|
+
{ value: "middle", text: "\u4E2D" },
|
|
35
|
+
{ value: "small", text: "\u5C0F" }
|
|
36
|
+
];
|
|
37
|
+
const _sfc_main = defineComponent({
|
|
38
|
+
name: "ZtModalTheme",
|
|
39
|
+
components: {
|
|
40
|
+
AModal: Modal,
|
|
41
|
+
AForm: Form,
|
|
42
|
+
AFormItem: FormItem,
|
|
43
|
+
ARadio: Radio,
|
|
44
|
+
ARadioGroup: RadioGroup
|
|
45
|
+
},
|
|
46
|
+
props: {
|
|
47
|
+
title: { type: String, default: "\u4E3B\u9898\u8BBE\u7F6E" },
|
|
48
|
+
visible: { type: Boolean, default: false }
|
|
49
|
+
},
|
|
50
|
+
emits: ["update:visible", "ok"],
|
|
51
|
+
setup(props, { emit }) {
|
|
52
|
+
const themeStore = useThemeStore();
|
|
53
|
+
const theme = storeToRefs(themeStore);
|
|
54
|
+
const { validate, validateInfos } = Form.useForm(theme, { color: [{ required: true }], size: [{ required: true }] });
|
|
55
|
+
function handleChangeColor(event) {
|
|
56
|
+
themeStore.changeColor(event.target.value);
|
|
57
|
+
}
|
|
58
|
+
function handleChangeSize(event) {
|
|
59
|
+
themeStore.changeSize(event.target.value);
|
|
60
|
+
}
|
|
61
|
+
function handleCancel() {
|
|
62
|
+
emit("update:visible", false);
|
|
63
|
+
}
|
|
64
|
+
function handleOk() {
|
|
65
|
+
return __async(this, null, function* () {
|
|
66
|
+
try {
|
|
67
|
+
const values = yield validate();
|
|
68
|
+
emit("update:visible", false);
|
|
69
|
+
emit("ok", values);
|
|
70
|
+
} catch (error) {
|
|
71
|
+
console.log(error);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
sizes,
|
|
77
|
+
colors,
|
|
78
|
+
theme,
|
|
79
|
+
validateInfos,
|
|
80
|
+
handleChangeColor,
|
|
81
|
+
handleChangeSize,
|
|
82
|
+
handleCancel,
|
|
83
|
+
handleOk
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
88
|
+
const _component_a_radio = resolveComponent("a-radio");
|
|
89
|
+
const _component_a_radio_group = resolveComponent("a-radio-group");
|
|
90
|
+
const _component_a_form_item = resolveComponent("a-form-item");
|
|
91
|
+
const _component_a_form = resolveComponent("a-form");
|
|
92
|
+
const _component_a_modal = resolveComponent("a-modal");
|
|
93
|
+
return openBlock(), createBlock(_component_a_modal, {
|
|
94
|
+
visible: _ctx.visible,
|
|
95
|
+
class: "zt-modal-theme",
|
|
96
|
+
title: _ctx.title,
|
|
97
|
+
onCancel: _ctx.handleCancel,
|
|
98
|
+
onOk: _ctx.handleOk
|
|
99
|
+
}, {
|
|
100
|
+
default: withCtx(() => [
|
|
101
|
+
createVNode(_component_a_form, null, {
|
|
102
|
+
default: withCtx(() => [
|
|
103
|
+
createVNode(_component_a_form_item, mergeProps({ label: "\u5B57\u4F53\u5927\u5C0F" }, _ctx.validateInfos.size), {
|
|
104
|
+
default: withCtx(() => [
|
|
105
|
+
createVNode(_component_a_radio_group, {
|
|
106
|
+
value: _ctx.theme.size,
|
|
107
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.theme.size = $event),
|
|
108
|
+
onChange: _ctx.handleChangeSize
|
|
109
|
+
}, {
|
|
110
|
+
default: withCtx(() => [
|
|
111
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sizes, (size) => {
|
|
112
|
+
return openBlock(), createBlock(_component_a_radio, {
|
|
113
|
+
key: size.value,
|
|
114
|
+
value: size.value
|
|
115
|
+
}, {
|
|
116
|
+
default: withCtx(() => [
|
|
117
|
+
createTextVNode(toDisplayString(size.text), 1)
|
|
118
|
+
]),
|
|
119
|
+
_: 2
|
|
120
|
+
}, 1032, ["value"]);
|
|
121
|
+
}), 128))
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
}, 8, ["value", "onChange"])
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 16),
|
|
128
|
+
createVNode(_component_a_form_item, mergeProps({ label: "\u4E3B\u9898\u989C\u8272" }, _ctx.validateInfos.color), {
|
|
129
|
+
default: withCtx(() => [
|
|
130
|
+
createVNode(_component_a_radio_group, {
|
|
131
|
+
value: _ctx.theme.color,
|
|
132
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => _ctx.theme.color = $event),
|
|
133
|
+
onChange: _ctx.handleChangeColor
|
|
134
|
+
}, {
|
|
135
|
+
default: withCtx(() => [
|
|
136
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.colors, (color) => {
|
|
137
|
+
return openBlock(), createBlock(_component_a_radio, {
|
|
138
|
+
key: color.value,
|
|
139
|
+
value: color.value
|
|
140
|
+
}, {
|
|
141
|
+
default: withCtx(() => [
|
|
142
|
+
createTextVNode(toDisplayString(color.text), 1)
|
|
143
|
+
]),
|
|
144
|
+
_: 2
|
|
145
|
+
}, 1032, ["value"]);
|
|
146
|
+
}), 128))
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}, 8, ["value", "onChange"])
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}, 16)
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
})
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
}, 8, ["visible", "title", "onCancel", "onOk"]);
|
|
159
|
+
}
|
|
160
|
+
var ModalTheme = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/modal-theme/modal-theme.vue"]]);
|
|
161
|
+
|
|
162
|
+
export { ModalTheme as default };
|
package/es/modules.d.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vue-router';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const ZtPanalBg: import("@ega/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
padding: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
zoomPadding: import("vue").Ref<number>;
|
|
8
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
padding: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
padding: number;
|
|
15
|
+
}>>;
|
|
16
|
+
export default ZtPanalBg;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
padding: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
zoomPadding: import("vue").Ref<number>;
|
|
8
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
padding: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
padding: number;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent, ref, watchEffect, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeStyle, renderSlot } from 'vue';
|
|
2
|
+
import _export_sfc from '../_virtual/plugin-vue_export-helper.js';
|
|
3
|
+
|
|
4
|
+
const _sfc_main = defineComponent({
|
|
5
|
+
name: "ZtPanalBg",
|
|
6
|
+
props: {
|
|
7
|
+
padding: { type: Number, default: 20 }
|
|
8
|
+
},
|
|
9
|
+
setup(props) {
|
|
10
|
+
const zoomPadding = ref(0);
|
|
11
|
+
watchEffect(() => {
|
|
12
|
+
zoomPadding.value = (window.pageZoom || 1) * (props.padding || 0);
|
|
13
|
+
});
|
|
14
|
+
return {
|
|
15
|
+
zoomPadding
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20
|
+
return openBlock(), createElementBlock("section", mergeProps({ class: "zt-panal-bg" }, _ctx.$attrs), [
|
|
21
|
+
createElementVNode("main", {
|
|
22
|
+
class: "zt-panal-bg-shadow",
|
|
23
|
+
style: normalizeStyle({ padding: _ctx.zoomPadding + "px" })
|
|
24
|
+
}, [
|
|
25
|
+
renderSlot(_ctx.$slots, "default")
|
|
26
|
+
], 4)
|
|
27
|
+
], 16);
|
|
28
|
+
}
|
|
29
|
+
var PanalBg = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/panal-bg/panal-bg.vue"]]);
|
|
30
|
+
|
|
31
|
+
export { PanalBg as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.zt-panal-bg {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
}
|
|
6
|
+
.zt-panal-bg > main {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
.zt-panal-bg-shadow {
|
|
11
|
+
background: var(--zartd-panal-bg-background-color);
|
|
12
|
+
border-radius: 5px;
|
|
13
|
+
box-shadow: var(--zartd-panal-bg-box-shadow);
|
|
14
|
+
}
|
|
15
|
+
.zt-panal-bg:not(:first-of-type) {
|
|
16
|
+
padding-top: 0;
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.zt-panal-bg {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
|
|
6
|
+
> main {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&-shadow {
|
|
12
|
+
background: var(--zartd-panal-bg-background-color);
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
box-shadow: var(--zartd-panal-bg-box-shadow);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:not(:first-of-type) {
|
|
18
|
+
padding-top: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ZtPanalTable: import("@ega/utils").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
2
|
+
dom: import("vue").Ref<HTMLElement | null>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:bodyHeight"[], "update:bodyHeight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
"onUpdate:bodyHeight"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}>>;
|
|
6
|
+
export default ZtPanalTable;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
dom: import("vue").Ref<HTMLElement | null>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:bodyHeight"[], "update:bodyHeight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
"onUpdate:bodyHeight"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { useThrottleFn } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, mergeProps, renderSlot, createCommentVNode, createElementVNode } from 'vue';
|
|
3
|
+
import _export_sfc from '../_virtual/plugin-vue_export-helper.js';
|
|
4
|
+
|
|
5
|
+
const _sfc_main = defineComponent({
|
|
6
|
+
name: "ZtPanalTable",
|
|
7
|
+
emits: ["update:bodyHeight"],
|
|
8
|
+
setup(props, { emit }) {
|
|
9
|
+
const resizeObserver = ref();
|
|
10
|
+
const dom = ref(null);
|
|
11
|
+
const resize = useThrottleFn(() => {
|
|
12
|
+
if (!dom.value) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
const domHeight = dom.value.offsetHeight || 0;
|
|
16
|
+
const domHeader = dom.value.querySelector(".ant-table-header");
|
|
17
|
+
if (!domHeader) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const headerHeight = domHeader.offsetHeight || 0;
|
|
21
|
+
const domPagination = dom.value.querySelector(".ant-pagination");
|
|
22
|
+
let paginationHeight = 0;
|
|
23
|
+
if (domPagination) {
|
|
24
|
+
const style = window.getComputedStyle(domPagination);
|
|
25
|
+
paginationHeight = domPagination.offsetHeight + (Number(style.marginTop.replace("px", "")) || 0);
|
|
26
|
+
}
|
|
27
|
+
const bodyHeight = domHeight - headerHeight - paginationHeight;
|
|
28
|
+
emit("update:bodyHeight", bodyHeight);
|
|
29
|
+
}, 500);
|
|
30
|
+
onMounted(() => {
|
|
31
|
+
resizeObserver.value = new ResizeObserver(resize);
|
|
32
|
+
resizeObserver.value.observe(dom.value);
|
|
33
|
+
});
|
|
34
|
+
onBeforeUnmount(() => {
|
|
35
|
+
resizeObserver.value.unobserve(dom.value);
|
|
36
|
+
});
|
|
37
|
+
return {
|
|
38
|
+
dom
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const _hoisted_1 = { key: 0 };
|
|
43
|
+
const _hoisted_2 = {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: "zt-panal-table-buttons"
|
|
46
|
+
};
|
|
47
|
+
const _hoisted_3 = {
|
|
48
|
+
key: 1,
|
|
49
|
+
class: "zt-panal-table-extra"
|
|
50
|
+
};
|
|
51
|
+
const _hoisted_4 = {
|
|
52
|
+
ref: "dom",
|
|
53
|
+
class: "zt-panal-table-main"
|
|
54
|
+
};
|
|
55
|
+
const _hoisted_5 = { key: 1 };
|
|
56
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
+
return openBlock(), createElementBlock("section", mergeProps({ class: "zt-panal-table" }, _ctx.$attrs), [
|
|
58
|
+
_ctx.$slots.buttons || _ctx.$slots.extra ? (openBlock(), createElementBlock("header", _hoisted_1, [
|
|
59
|
+
_ctx.$slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
60
|
+
renderSlot(_ctx.$slots, "buttons")
|
|
61
|
+
])) : createCommentVNode("v-if", true),
|
|
62
|
+
_ctx.$slots.extra ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
63
|
+
renderSlot(_ctx.$slots, "extra")
|
|
64
|
+
])) : createCommentVNode("v-if", true)
|
|
65
|
+
])) : createCommentVNode("v-if", true),
|
|
66
|
+
createElementVNode("main", _hoisted_4, [
|
|
67
|
+
renderSlot(_ctx.$slots, "default")
|
|
68
|
+
], 512),
|
|
69
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_5, [
|
|
70
|
+
renderSlot(_ctx.$slots, "footer")
|
|
71
|
+
])) : createCommentVNode("v-if", true)
|
|
72
|
+
], 16);
|
|
73
|
+
}
|
|
74
|
+
var PanalTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/panal-table/panal-table.vue"]]);
|
|
75
|
+
|
|
76
|
+
export { PanalTable as default };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.zt-panal-table {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
.zt-panal-table > header {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
margin-bottom: 20px;
|
|
11
|
+
}
|
|
12
|
+
.zt-panal-table > header > .zt-panal-table-buttons {
|
|
13
|
+
display: flex;
|
|
14
|
+
}
|
|
15
|
+
.zt-panal-table > header > .zt-panal-table-buttons > .ant-btn {
|
|
16
|
+
margin-left: 10px;
|
|
17
|
+
}
|
|
18
|
+
.zt-panal-table > header > .zt-panal-table-buttons > .ant-btn:first-child {
|
|
19
|
+
margin-left: 0;
|
|
20
|
+
}
|
|
21
|
+
.zt-panal-table > main {
|
|
22
|
+
flex: auto;
|
|
23
|
+
height: 0;
|
|
24
|
+
}
|
|
25
|
+
.zt-panal-table > main .ant-table-wrapper {
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
.zt-panal-table > main .ant-table-wrapper .ant-spin-nested-loading,
|
|
29
|
+
.zt-panal-table > main .ant-table-wrapper .ant-spin-container {
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
.zt-panal-table > main .ant-table-wrapper .ant-pagination {
|
|
33
|
+
position: absolute;
|
|
34
|
+
right: 0;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
.zt-panal-table > footer {
|
|
38
|
+
margin-top: 20px;
|
|
39
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.zt-panal-table {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
|
|
7
|
+
& > header {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
margin-bottom: 20px;
|
|
11
|
+
|
|
12
|
+
& > .zt-panal-table-buttons {
|
|
13
|
+
display: flex;
|
|
14
|
+
|
|
15
|
+
& > .ant-btn {
|
|
16
|
+
margin-left: 10px;
|
|
17
|
+
|
|
18
|
+
&:first-child {
|
|
19
|
+
margin-left: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& > main {
|
|
26
|
+
flex: auto;
|
|
27
|
+
height: 0;
|
|
28
|
+
|
|
29
|
+
.ant-table-wrapper {
|
|
30
|
+
height: 100%;
|
|
31
|
+
|
|
32
|
+
.ant-spin-nested-loading,
|
|
33
|
+
.ant-spin-container {
|
|
34
|
+
height: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ant-pagination {
|
|
38
|
+
position: absolute;
|
|
39
|
+
right: 0;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ant-table {
|
|
44
|
+
&-cell {
|
|
45
|
+
// &:has(.ant-btn) {
|
|
46
|
+
// padding-top: 4px;
|
|
47
|
+
// padding-bottom: 4px;
|
|
48
|
+
// }
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& > footer {
|
|
55
|
+
margin-top: 20px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const ZtProfileAvatar: import("@ega/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
photo: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
photoId: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
direction: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
avatarSrc: import("vue").Ref<string | undefined>;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
photo: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
photoId: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
direction: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
direction: string;
|
|
39
|
+
photo: string;
|
|
40
|
+
photoId: number;
|
|
41
|
+
}>>;
|
|
42
|
+
export default ZtProfileAvatar;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
photo: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
photoId: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
direction: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
avatarSrc: import("vue").Ref<string | undefined>;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
photo: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
photoId: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
direction: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
direction: string;
|
|
39
|
+
photo: string;
|
|
40
|
+
photoId: number;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent, ref, watchEffect, resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, createBlock, toDisplayString } from 'vue';
|
|
2
|
+
import { Image } from 'ant-design-vue/es';
|
|
3
|
+
import _export_sfc from '../_virtual/plugin-vue_export-helper.js';
|
|
4
|
+
|
|
5
|
+
const _sfc_main = defineComponent({
|
|
6
|
+
name: "ZtProfileAvatar",
|
|
7
|
+
components: {
|
|
8
|
+
AImage: Image
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
name: { type: String, required: true },
|
|
12
|
+
photo: { type: String, default: void 0 },
|
|
13
|
+
photoId: { type: Number, default: void 0 },
|
|
14
|
+
direction: { type: String, default: "horizontal" }
|
|
15
|
+
},
|
|
16
|
+
setup(props) {
|
|
17
|
+
const avatarSrc = ref();
|
|
18
|
+
watchEffect(() => {
|
|
19
|
+
if (props.photo) {
|
|
20
|
+
avatarSrc.value = props.photo;
|
|
21
|
+
} else if (props.photoId) {
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
avatarSrc
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
const _hoisted_1 = { class: "zt-profile-avatar-photo" };
|
|
30
|
+
const _hoisted_2 = {
|
|
31
|
+
key: 1,
|
|
32
|
+
class: "base-iconfont base-icon-user"
|
|
33
|
+
};
|
|
34
|
+
const _hoisted_3 = { class: "zt-profile-avatar-name" };
|
|
35
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36
|
+
const _component_a_image = resolveComponent("a-image");
|
|
37
|
+
return openBlock(), createElementBlock("div", mergeProps({ class: "zt-profile-avatar" }, _ctx.$attrs, {
|
|
38
|
+
class: `direction-${_ctx.direction}`
|
|
39
|
+
}), [
|
|
40
|
+
createElementVNode("div", _hoisted_1, [
|
|
41
|
+
_ctx.avatarSrc ? (openBlock(), createBlock(_component_a_image, {
|
|
42
|
+
key: 0,
|
|
43
|
+
src: _ctx.avatarSrc,
|
|
44
|
+
"preview-mask": false
|
|
45
|
+
}, null, 8, ["src"])) : (openBlock(), createElementBlock("i", _hoisted_2))
|
|
46
|
+
]),
|
|
47
|
+
createElementVNode("div", _hoisted_3, toDisplayString(_ctx.name), 1)
|
|
48
|
+
], 16);
|
|
49
|
+
}
|
|
50
|
+
var ProfileAvatar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/profile-avatar/profile-avatar.vue"]]);
|
|
51
|
+
|
|
52
|
+
export { ProfileAvatar as default };
|