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,164 @@
|
|
|
1
|
+
import { defineComponent, createElementVNode, createTextVNode, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from 'vue';
|
|
2
|
+
import { Button, Popover, Space, Modal } from 'ant-design-vue/es';
|
|
3
|
+
import { useToggle } from '@vueuse/core';
|
|
4
|
+
import { useGlobal } 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 _sfc_main = defineComponent({
|
|
28
|
+
name: "ZtLayoutHeaderMore",
|
|
29
|
+
components: {
|
|
30
|
+
AButton: Button,
|
|
31
|
+
APopover: Popover,
|
|
32
|
+
ASpace: Space
|
|
33
|
+
},
|
|
34
|
+
setup() {
|
|
35
|
+
const [themeVisible, themeToggle] = useToggle();
|
|
36
|
+
const { global } = useGlobal();
|
|
37
|
+
function handleSkinClick() {
|
|
38
|
+
themeToggle();
|
|
39
|
+
}
|
|
40
|
+
function handleLogoutClick() {
|
|
41
|
+
Modal.confirm({
|
|
42
|
+
title: "\u9000\u51FA\u767B\u5F55",
|
|
43
|
+
content: "\u662F\u5426\u786E\u8BA4\u9000\u51FA\u767B\u5F55?",
|
|
44
|
+
onOk() {
|
|
45
|
+
return __async(this, null, function* () {
|
|
46
|
+
yield global == null ? void 0 : global.$login.logout();
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
themeVisible,
|
|
53
|
+
handleSkinClick,
|
|
54
|
+
handleLogoutClick
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
const _hoisted_1 = { class: "zt-layout-header-more" };
|
|
59
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("i", { class: "base-iconfont base-icon-more" }, null, -1);
|
|
60
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("i", { class: "base-iconfont base-icon-user" }, null, -1);
|
|
61
|
+
const _hoisted_4 = /* @__PURE__ */ createTextVNode(" \u4E2A\u4EBA\u4E2D\u5FC3 ");
|
|
62
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("i", { class: "base-iconfont base-icon-skin" }, null, -1);
|
|
63
|
+
const _hoisted_6 = /* @__PURE__ */ createTextVNode(" \u4E3B\u9898\u8BBE\u7F6E ");
|
|
64
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("i", { class: "base-iconfont base-icon-config" }, null, -1);
|
|
65
|
+
const _hoisted_8 = /* @__PURE__ */ createTextVNode(" \u7CFB\u7EDF\u8BBE\u7F6E ");
|
|
66
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("i", { class: "base-iconfont base-icon-info-about" }, null, -1);
|
|
67
|
+
const _hoisted_10 = /* @__PURE__ */ createTextVNode(" \u5173\u4E8E\u6211\u4EEC ");
|
|
68
|
+
const _hoisted_11 = /* @__PURE__ */ createElementVNode("i", { class: "base-iconfont base-icon-logout" }, null, -1);
|
|
69
|
+
const _hoisted_12 = /* @__PURE__ */ createTextVNode(" \u6CE8\u9500 ");
|
|
70
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
71
|
+
const _component_a_button = resolveComponent("a-button");
|
|
72
|
+
const _component_a_space = resolveComponent("a-space");
|
|
73
|
+
const _component_a_popover = resolveComponent("a-popover");
|
|
74
|
+
const _component_zt_modal_theme = resolveComponent("zt-modal-theme");
|
|
75
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
76
|
+
createElementVNode("div", _hoisted_1, [
|
|
77
|
+
createVNode(_component_a_popover, { placement: "bottomRight" }, {
|
|
78
|
+
content: withCtx(() => [
|
|
79
|
+
createVNode(_component_a_space, {
|
|
80
|
+
direction: "vertical",
|
|
81
|
+
size: 0
|
|
82
|
+
}, {
|
|
83
|
+
default: withCtx(() => [
|
|
84
|
+
createVNode(_component_a_button, {
|
|
85
|
+
class: "zt-layout-header-more-button",
|
|
86
|
+
type: "text"
|
|
87
|
+
}, {
|
|
88
|
+
icon: withCtx(() => [
|
|
89
|
+
_hoisted_3
|
|
90
|
+
]),
|
|
91
|
+
default: withCtx(() => [
|
|
92
|
+
_hoisted_4
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
}),
|
|
96
|
+
createVNode(_component_a_button, {
|
|
97
|
+
class: "zt-layout-header-more-button",
|
|
98
|
+
type: "text",
|
|
99
|
+
onClick: _ctx.handleSkinClick
|
|
100
|
+
}, {
|
|
101
|
+
icon: withCtx(() => [
|
|
102
|
+
_hoisted_5
|
|
103
|
+
]),
|
|
104
|
+
default: withCtx(() => [
|
|
105
|
+
_hoisted_6
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}, 8, ["onClick"]),
|
|
109
|
+
createVNode(_component_a_button, {
|
|
110
|
+
class: "zt-layout-header-more-button",
|
|
111
|
+
type: "text"
|
|
112
|
+
}, {
|
|
113
|
+
icon: withCtx(() => [
|
|
114
|
+
_hoisted_7
|
|
115
|
+
]),
|
|
116
|
+
default: withCtx(() => [
|
|
117
|
+
_hoisted_8
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
}),
|
|
121
|
+
createVNode(_component_a_button, {
|
|
122
|
+
class: "zt-layout-header-more-button",
|
|
123
|
+
type: "text"
|
|
124
|
+
}, {
|
|
125
|
+
icon: withCtx(() => [
|
|
126
|
+
_hoisted_9
|
|
127
|
+
]),
|
|
128
|
+
default: withCtx(() => [
|
|
129
|
+
_hoisted_10
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}),
|
|
133
|
+
createVNode(_component_a_button, {
|
|
134
|
+
class: "zt-layout-header-more-button button-logout",
|
|
135
|
+
type: "text",
|
|
136
|
+
onClick: _ctx.handleLogoutClick
|
|
137
|
+
}, {
|
|
138
|
+
icon: withCtx(() => [
|
|
139
|
+
_hoisted_11
|
|
140
|
+
]),
|
|
141
|
+
default: withCtx(() => [
|
|
142
|
+
_hoisted_12
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["onClick"])
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
})
|
|
149
|
+
]),
|
|
150
|
+
default: withCtx(() => [
|
|
151
|
+
_hoisted_2
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
})
|
|
155
|
+
]),
|
|
156
|
+
createVNode(_component_zt_modal_theme, {
|
|
157
|
+
visible: _ctx.themeVisible,
|
|
158
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.themeVisible = $event)
|
|
159
|
+
}, null, 8, ["visible"])
|
|
160
|
+
], 64);
|
|
161
|
+
}
|
|
162
|
+
var LayoutHeaderMore = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/layout-header-more/layout-header-more.vue"]]);
|
|
163
|
+
|
|
164
|
+
export { LayoutHeaderMore as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.zt-layout-header-more {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
}
|
|
6
|
+
.zt-layout-header-more > i {
|
|
7
|
+
color: var(--zartd-text-color-light);
|
|
8
|
+
font-size: 20px;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
.zt-layout-header-more .ant-popover {
|
|
12
|
+
z-index: 10;
|
|
13
|
+
padding-top: 13px;
|
|
14
|
+
}
|
|
15
|
+
.zt-layout-header-more .ant-popover-arrow {
|
|
16
|
+
top: 5px;
|
|
17
|
+
}
|
|
18
|
+
.zt-layout-header-more .ant-popover-inner-content {
|
|
19
|
+
padding: 10px !important;
|
|
20
|
+
}
|
|
21
|
+
.zt-layout-header-more-button {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
width: 180px;
|
|
25
|
+
height: 40px;
|
|
26
|
+
padding: 0 20px;
|
|
27
|
+
color: var(--zartd-text-color-8);
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
}
|
|
30
|
+
.zt-layout-header-more-button:hover {
|
|
31
|
+
color: var(--zartd-primary-color);
|
|
32
|
+
background-color: var(--zartd-layout-header-more-button-active-background-color);
|
|
33
|
+
}
|
|
34
|
+
.zt-layout-header-more-button:hover.button-logout {
|
|
35
|
+
color: var(--zartd-error-color);
|
|
36
|
+
}
|
|
37
|
+
.zt-layout-header-more-button > i {
|
|
38
|
+
margin-right: 10px;
|
|
39
|
+
font-weight: normal;
|
|
40
|
+
font-size: 18px;
|
|
41
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.zt-layout-header-more {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
|
|
6
|
+
> i {
|
|
7
|
+
color: var(--zartd-text-color-light);
|
|
8
|
+
font-size: 20px;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ant-popover {
|
|
13
|
+
z-index: 10;
|
|
14
|
+
padding-top: 13px;
|
|
15
|
+
|
|
16
|
+
&-arrow {
|
|
17
|
+
top: 5px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-inner-content {
|
|
21
|
+
padding: 10px !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-button {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
width: 180px;
|
|
29
|
+
height: 40px;
|
|
30
|
+
padding: 0 20px;
|
|
31
|
+
color: var(--zartd-text-color-8);
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
color: var(--zartd-primary-color);
|
|
36
|
+
background-color: var(--zartd-layout-header-more-button-active-background-color);
|
|
37
|
+
|
|
38
|
+
&.button-logout {
|
|
39
|
+
color: var(--zartd-error-color);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
> i {
|
|
44
|
+
margin-right: 10px;
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
font-size: 18px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const ZtLayoutNavs: import("@ega/utils").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
2
|
+
visible: import("vue").Ref<boolean>;
|
|
3
|
+
navStore: import("pinia").Store<"nav", import("pinia")._UnwrapAll<Pick<{
|
|
4
|
+
nav: import("vue").Ref<import("vue-router").RouteLocationNormalized | undefined>;
|
|
5
|
+
navs: import("vue").Ref<import("vue-router").RouteLocationNormalized[] | undefined>;
|
|
6
|
+
getNavKey: (nav: import("vue-router").RouteLocationNormalized | undefined) => string;
|
|
7
|
+
find: (nav: import("vue-router").RouteLocationNormalized) => import("vue-router").RouteLocationNormalized | undefined;
|
|
8
|
+
findNavByKey: (key: string) => import("vue-router").RouteLocationNormalized | undefined;
|
|
9
|
+
isEquals: (a: import("vue-router").RouteLocationNormalized, b?: import("vue").Ref<import("vue-router").RouteLocationNormalized | undefined> | undefined) => boolean;
|
|
10
|
+
active: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
11
|
+
push: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
12
|
+
unshift: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
13
|
+
remove: (route: import("vue-router").RouteLocationNormalized) => import("vue-router").RouteLocationNormalized | undefined;
|
|
14
|
+
removeByKey: (key: string) => import("vue-router").RouteLocationNormalized | undefined;
|
|
15
|
+
}, "nav" | "navs">>, Pick<{
|
|
16
|
+
nav: import("vue").Ref<import("vue-router").RouteLocationNormalized | undefined>;
|
|
17
|
+
navs: import("vue").Ref<import("vue-router").RouteLocationNormalized[] | undefined>;
|
|
18
|
+
getNavKey: (nav: import("vue-router").RouteLocationNormalized | undefined) => string;
|
|
19
|
+
find: (nav: import("vue-router").RouteLocationNormalized) => import("vue-router").RouteLocationNormalized | undefined;
|
|
20
|
+
findNavByKey: (key: string) => import("vue-router").RouteLocationNormalized | undefined;
|
|
21
|
+
isEquals: (a: import("vue-router").RouteLocationNormalized, b?: import("vue").Ref<import("vue-router").RouteLocationNormalized | undefined> | undefined) => boolean;
|
|
22
|
+
active: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
23
|
+
push: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
24
|
+
unshift: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
25
|
+
remove: (route: import("vue-router").RouteLocationNormalized) => import("vue-router").RouteLocationNormalized | undefined;
|
|
26
|
+
removeByKey: (key: string) => import("vue-router").RouteLocationNormalized | undefined;
|
|
27
|
+
}, never>, Pick<{
|
|
28
|
+
nav: import("vue").Ref<import("vue-router").RouteLocationNormalized | undefined>;
|
|
29
|
+
navs: import("vue").Ref<import("vue-router").RouteLocationNormalized[] | undefined>;
|
|
30
|
+
getNavKey: (nav: import("vue-router").RouteLocationNormalized | undefined) => string;
|
|
31
|
+
find: (nav: import("vue-router").RouteLocationNormalized) => import("vue-router").RouteLocationNormalized | undefined;
|
|
32
|
+
findNavByKey: (key: string) => import("vue-router").RouteLocationNormalized | undefined;
|
|
33
|
+
isEquals: (a: import("vue-router").RouteLocationNormalized, b?: import("vue").Ref<import("vue-router").RouteLocationNormalized | undefined> | undefined) => boolean;
|
|
34
|
+
active: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
35
|
+
push: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
36
|
+
unshift: (route: import("vue-router").RouteLocationNormalized) => void;
|
|
37
|
+
remove: (route: import("vue-router").RouteLocationNormalized) => import("vue-router").RouteLocationNormalized | undefined;
|
|
38
|
+
removeByKey: (key: string) => import("vue-router").RouteLocationNormalized | undefined;
|
|
39
|
+
}, "push" | "unshift" | "find" | "active" | "getNavKey" | "findNavByKey" | "isEquals" | "remove" | "removeByKey">>;
|
|
40
|
+
activeTabKey: import("vue").ComputedRef<string>;
|
|
41
|
+
handleTabClick: (activeKey: string | number) => void;
|
|
42
|
+
handleTabEdit: (e: MouseEvent | KeyboardEvent | import("ant-design-vue/es/_util/type").Key, action: "remove" | "add") => void;
|
|
43
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
44
|
+
export default ZtLayoutNavs;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type RouteLocationNormalized } from 'vue-router';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
visible: import("vue").Ref<boolean>;
|
|
4
|
+
navStore: import("pinia").Store<"nav", import("pinia")._UnwrapAll<Pick<{
|
|
5
|
+
nav: import("vue").Ref<RouteLocationNormalized | undefined>;
|
|
6
|
+
navs: import("vue").Ref<RouteLocationNormalized[] | undefined>;
|
|
7
|
+
getNavKey: (nav: RouteLocationNormalized | undefined) => string;
|
|
8
|
+
find: (nav: RouteLocationNormalized) => RouteLocationNormalized | undefined;
|
|
9
|
+
findNavByKey: (key: string) => RouteLocationNormalized | undefined;
|
|
10
|
+
isEquals: (a: RouteLocationNormalized, b?: import("vue").Ref<RouteLocationNormalized | undefined> | undefined) => boolean;
|
|
11
|
+
active: (route: RouteLocationNormalized) => void;
|
|
12
|
+
push: (route: RouteLocationNormalized) => void;
|
|
13
|
+
unshift: (route: RouteLocationNormalized) => void;
|
|
14
|
+
remove: (route: RouteLocationNormalized) => RouteLocationNormalized | undefined;
|
|
15
|
+
removeByKey: (key: string) => RouteLocationNormalized | undefined;
|
|
16
|
+
}, "nav" | "navs">>, Pick<{
|
|
17
|
+
nav: import("vue").Ref<RouteLocationNormalized | undefined>;
|
|
18
|
+
navs: import("vue").Ref<RouteLocationNormalized[] | undefined>;
|
|
19
|
+
getNavKey: (nav: RouteLocationNormalized | undefined) => string;
|
|
20
|
+
find: (nav: RouteLocationNormalized) => RouteLocationNormalized | undefined;
|
|
21
|
+
findNavByKey: (key: string) => RouteLocationNormalized | undefined;
|
|
22
|
+
isEquals: (a: RouteLocationNormalized, b?: import("vue").Ref<RouteLocationNormalized | undefined> | undefined) => boolean;
|
|
23
|
+
active: (route: RouteLocationNormalized) => void;
|
|
24
|
+
push: (route: RouteLocationNormalized) => void;
|
|
25
|
+
unshift: (route: RouteLocationNormalized) => void;
|
|
26
|
+
remove: (route: RouteLocationNormalized) => RouteLocationNormalized | undefined;
|
|
27
|
+
removeByKey: (key: string) => RouteLocationNormalized | undefined;
|
|
28
|
+
}, never>, Pick<{
|
|
29
|
+
nav: import("vue").Ref<RouteLocationNormalized | undefined>;
|
|
30
|
+
navs: import("vue").Ref<RouteLocationNormalized[] | undefined>;
|
|
31
|
+
getNavKey: (nav: RouteLocationNormalized | undefined) => string;
|
|
32
|
+
find: (nav: RouteLocationNormalized) => RouteLocationNormalized | undefined;
|
|
33
|
+
findNavByKey: (key: string) => RouteLocationNormalized | undefined;
|
|
34
|
+
isEquals: (a: RouteLocationNormalized, b?: import("vue").Ref<RouteLocationNormalized | undefined> | undefined) => boolean;
|
|
35
|
+
active: (route: RouteLocationNormalized) => void;
|
|
36
|
+
push: (route: RouteLocationNormalized) => void;
|
|
37
|
+
unshift: (route: RouteLocationNormalized) => void;
|
|
38
|
+
remove: (route: RouteLocationNormalized) => RouteLocationNormalized | undefined;
|
|
39
|
+
removeByKey: (key: string) => RouteLocationNormalized | undefined;
|
|
40
|
+
}, "push" | "unshift" | "find" | "active" | "getNavKey" | "findNavByKey" | "isEquals" | "remove" | "removeByKey">>;
|
|
41
|
+
activeTabKey: import("vue").ComputedRef<string>;
|
|
42
|
+
handleTabClick: (activeKey: string | number) => void;
|
|
43
|
+
handleTabEdit: (e: MouseEvent | KeyboardEvent | import("ant-design-vue/es/_util/type").Key, action: "remove" | "add") => void;
|
|
44
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, resolveComponent, withDirectives, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, vShow } from 'vue';
|
|
2
|
+
import { useRouter } from 'vue-router';
|
|
3
|
+
import { Tabs, TabPane } from 'ant-design-vue/es';
|
|
4
|
+
import { useNavStore } from '@ega/hooks';
|
|
5
|
+
import _export_sfc from '../_virtual/plugin-vue_export-helper.js';
|
|
6
|
+
|
|
7
|
+
const _sfc_main = defineComponent({
|
|
8
|
+
name: "ZtLayoutNavs",
|
|
9
|
+
components: {
|
|
10
|
+
ATabs: Tabs,
|
|
11
|
+
ATabPane: TabPane
|
|
12
|
+
},
|
|
13
|
+
setup() {
|
|
14
|
+
const router = useRouter();
|
|
15
|
+
const navStore = useNavStore();
|
|
16
|
+
const visible = ref(false);
|
|
17
|
+
const activeTabKey = computed(() => navStore.getNavKey(navStore.nav));
|
|
18
|
+
function handleTabClick(activeKey) {
|
|
19
|
+
if (typeof activeKey === "string" && activeTabKey.value !== activeKey) {
|
|
20
|
+
const currentNav = navStore.findNavByKey(activeKey);
|
|
21
|
+
if (currentNav) {
|
|
22
|
+
router.push(currentNav);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const handleTabEdit = (targetKey) => {
|
|
27
|
+
if (typeof targetKey === "string") {
|
|
28
|
+
const nextNav = navStore.removeByKey(targetKey);
|
|
29
|
+
if (nextNav) {
|
|
30
|
+
if (!navStore.isEquals(nextNav)) {
|
|
31
|
+
router.push(nextNav);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
watch(
|
|
37
|
+
() => navStore.nav,
|
|
38
|
+
(val) => {
|
|
39
|
+
var _a;
|
|
40
|
+
const show = !!((_a = val == null ? void 0 : val.meta) == null ? void 0 : _a.tab);
|
|
41
|
+
if (show) {
|
|
42
|
+
visible.value = show;
|
|
43
|
+
} else {
|
|
44
|
+
visible.value = show;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
return {
|
|
49
|
+
visible,
|
|
50
|
+
navStore,
|
|
51
|
+
activeTabKey,
|
|
52
|
+
handleTabClick,
|
|
53
|
+
handleTabEdit
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const _hoisted_1 = { class: "zt-layout-navs" };
|
|
58
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
59
|
+
const _component_a_tab_pane = resolveComponent("a-tab-pane");
|
|
60
|
+
const _component_a_tabs = resolveComponent("a-tabs");
|
|
61
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
62
|
+
createVNode(_component_a_tabs, {
|
|
63
|
+
activeKey: _ctx.activeTabKey,
|
|
64
|
+
"onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => _ctx.activeTabKey = $event),
|
|
65
|
+
"hide-add": "",
|
|
66
|
+
type: "editable-card",
|
|
67
|
+
onTabClick: _ctx.handleTabClick,
|
|
68
|
+
onEdit: _ctx.handleTabEdit
|
|
69
|
+
}, {
|
|
70
|
+
default: withCtx(() => [
|
|
71
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navStore.navs, (nav) => {
|
|
72
|
+
return openBlock(), createBlock(_component_a_tab_pane, {
|
|
73
|
+
key: _ctx.navStore.getNavKey(nav),
|
|
74
|
+
tab: nav.meta.title,
|
|
75
|
+
closable: _ctx.navStore.navs && _ctx.navStore.navs.length > 1 && nav.meta.tabClosable
|
|
76
|
+
}, null, 8, ["tab", "closable"]);
|
|
77
|
+
}), 128))
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
}, 8, ["activeKey", "onTabClick", "onEdit"])
|
|
81
|
+
], 512)), [
|
|
82
|
+
[vShow, _ctx.visible]
|
|
83
|
+
]);
|
|
84
|
+
}
|
|
85
|
+
var LayoutNavs = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/layout-navs/layout-navs.vue"]]);
|
|
86
|
+
|
|
87
|
+
export { LayoutNavs as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const ZtModalTheme: import("@ega/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
visible: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
sizes: {
|
|
12
|
+
value: string;
|
|
13
|
+
text: string;
|
|
14
|
+
}[];
|
|
15
|
+
colors: {
|
|
16
|
+
value: string;
|
|
17
|
+
text: string;
|
|
18
|
+
}[];
|
|
19
|
+
theme: import("vue").ToRefs<{
|
|
20
|
+
size: string | undefined;
|
|
21
|
+
color: string | undefined;
|
|
22
|
+
} & import("pinia")._StoreWithGetters<Pick<{
|
|
23
|
+
color: import("vue").Ref<string | undefined>;
|
|
24
|
+
size: import("vue").Ref<string | undefined>;
|
|
25
|
+
changeColor: (value: string) => void;
|
|
26
|
+
changeSize: (value: string) => void;
|
|
27
|
+
}, never>> & import("pinia").PiniaCustomStateProperties<{
|
|
28
|
+
size: string | undefined;
|
|
29
|
+
color: string | undefined;
|
|
30
|
+
}>>;
|
|
31
|
+
validateInfos: import("ant-design-vue/es/form/useForm").validateInfos;
|
|
32
|
+
handleChangeColor: (event: import("ant-design-vue/es").RadioChangeEvent) => void;
|
|
33
|
+
handleChangeSize: (event: import("ant-design-vue/es").RadioChangeEvent) => void;
|
|
34
|
+
handleCancel: () => void;
|
|
35
|
+
handleOk: () => Promise<void>;
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "ok")[], "update:visible" | "ok", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
title: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>> & {
|
|
46
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
title: string;
|
|
50
|
+
visible: boolean;
|
|
51
|
+
}>>;
|
|
52
|
+
export default ZtModalTheme;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type RadioChangeEvent } from 'ant-design-vue/es';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
visible: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
sizes: {
|
|
13
|
+
value: string;
|
|
14
|
+
text: string;
|
|
15
|
+
}[];
|
|
16
|
+
colors: {
|
|
17
|
+
value: string;
|
|
18
|
+
text: string;
|
|
19
|
+
}[];
|
|
20
|
+
theme: import("vue").ToRefs<{
|
|
21
|
+
size: string | undefined;
|
|
22
|
+
color: string | undefined;
|
|
23
|
+
} & import("pinia")._StoreWithGetters<Pick<{
|
|
24
|
+
color: import("vue").Ref<string | undefined>;
|
|
25
|
+
size: import("vue").Ref<string | undefined>;
|
|
26
|
+
changeColor: (value: string) => void;
|
|
27
|
+
changeSize: (value: string) => void;
|
|
28
|
+
}, never>> & import("pinia").PiniaCustomStateProperties<{
|
|
29
|
+
size: string | undefined;
|
|
30
|
+
color: string | undefined;
|
|
31
|
+
}>>;
|
|
32
|
+
validateInfos: import("ant-design-vue/es/form/useForm").validateInfos;
|
|
33
|
+
handleChangeColor: (event: RadioChangeEvent) => void;
|
|
34
|
+
handleChangeSize: (event: RadioChangeEvent) => void;
|
|
35
|
+
handleCancel: () => void;
|
|
36
|
+
handleOk: () => Promise<void>;
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "ok")[], "update:visible" | "ok", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
title: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
visible: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>> & {
|
|
47
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
title: string;
|
|
51
|
+
visible: boolean;
|
|
52
|
+
}>;
|
|
53
|
+
export default _default;
|