@antdv-vue/pro-layout 0.0.0-stage → 2.0.3
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/CHANGELOG.md +266 -0
- package/README.md +111 -2
- package/dist/BasicLayout.d.ts +255 -0
- package/dist/BasicLayout.js +895 -0
- package/dist/ProLayout.d.ts +334 -0
- package/dist/ProLayout.js +548 -0
- package/dist/RenderTypings.d.ts +116 -0
- package/dist/RenderTypings.js +1 -0
- package/dist/WrapContent.d.ts +23 -0
- package/dist/WrapContent.js +73 -0
- package/dist/assert/Logo.d.ts +6 -0
- package/dist/assert/Logo.js +102 -0
- package/dist/components/AppsLogoComponents/AppsLogo.d.ts +10 -0
- package/dist/components/AppsLogoComponents/AppsLogo.js +17 -0
- package/dist/components/AppsLogoComponents/DefaultContent.d.ts +22 -0
- package/dist/components/AppsLogoComponents/DefaultContent.js +42 -0
- package/dist/components/AppsLogoComponents/SimpleContent.d.ts +12 -0
- package/dist/components/AppsLogoComponents/SimpleContent.js +44 -0
- package/dist/components/AppsLogoComponents/index.d.ts +22 -0
- package/dist/components/AppsLogoComponents/index.js +85 -0
- package/dist/components/AppsLogoComponents/style/default.d.ts +7 -0
- package/dist/components/AppsLogoComponents/style/default.js +72 -0
- package/dist/components/AppsLogoComponents/style/index.d.ts +8 -0
- package/dist/components/AppsLogoComponents/style/index.js +69 -0
- package/dist/components/AppsLogoComponents/style/simple.d.ts +7 -0
- package/dist/components/AppsLogoComponents/style/simple.js +85 -0
- package/dist/components/AppsLogoComponents/typing.d.ts +14 -0
- package/dist/components/AppsLogoComponents/typing.js +1 -0
- package/dist/components/CollapsedIcon/index.d.ts +9 -0
- package/dist/components/CollapsedIcon/index.js +6 -0
- package/dist/components/Footer/index.d.ts +18 -0
- package/dist/components/Footer/index.js +25 -0
- package/dist/components/FooterToolbar/index.d.ts +21 -0
- package/dist/components/FooterToolbar/index.js +85 -0
- package/dist/components/FooterToolbar/style/index.d.ts +8 -0
- package/dist/components/FooterToolbar/style/index.js +35 -0
- package/dist/components/FooterToolbar/style/stylish.d.ts +13 -0
- package/dist/components/FooterToolbar/style/stylish.js +12 -0
- package/dist/components/GlobalFooter/index.d.ts +17 -0
- package/dist/components/GlobalFooter/index.js +46 -0
- package/dist/components/GlobalFooter/style/index.d.ts +8 -0
- package/dist/components/GlobalFooter/style/index.js +33 -0
- package/dist/components/GlobalHeader/ActionsContent.d.ts +30 -0
- package/dist/components/GlobalHeader/ActionsContent.js +88 -0
- package/dist/components/GlobalHeader/index.d.ts +146 -0
- package/dist/components/GlobalHeader/index.js +289 -0
- package/dist/components/GlobalHeader/style/index.d.ts +8 -0
- package/dist/components/GlobalHeader/style/index.js +62 -0
- package/dist/components/GlobalHeader/style/rightContentStyle.d.ts +8 -0
- package/dist/components/GlobalHeader/style/rightContentStyle.js +99 -0
- package/dist/components/GridContent/index.d.ts +19 -0
- package/dist/components/GridContent/index.js +40 -0
- package/dist/components/GridContent/style/index.d.ts +8 -0
- package/dist/components/GridContent/style/index.js +17 -0
- package/dist/components/Header/index.d.ts +106 -0
- package/dist/components/Header/index.js +330 -0
- package/dist/components/Header/style/header.d.ts +8 -0
- package/dist/components/Header/style/header.js +39 -0
- package/dist/components/Header/style/stylish.d.ts +17 -0
- package/dist/components/Header/style/stylish.js +12 -0
- package/dist/components/Help/AsyncContentPanel.d.ts +11 -0
- package/dist/components/Help/AsyncContentPanel.js +51 -0
- package/dist/components/Help/HelpProvide.d.ts +206 -0
- package/dist/components/Help/HelpProvide.js +20 -0
- package/dist/components/Help/ProHelpContentPanel.d.ts +19 -0
- package/dist/components/Help/ProHelpContentPanel.js +120 -0
- package/dist/components/Help/ProHelpDrawer.d.ts +13 -0
- package/dist/components/Help/ProHelpDrawer.js +108 -0
- package/dist/components/Help/ProHelpModal.d.ts +19 -0
- package/dist/components/Help/ProHelpModal.js +105 -0
- package/dist/components/Help/ProHelpPanel.d.ts +95 -0
- package/dist/components/Help/ProHelpPanel.js +245 -0
- package/dist/components/Help/ProHelpPopover.d.ts +61 -0
- package/dist/components/Help/ProHelpPopover.js +183 -0
- package/dist/components/Help/ProHelpSearch.d.ts +14 -0
- package/dist/components/Help/ProHelpSearch.js +530 -0
- package/dist/components/Help/RenderContentPanel.d.ts +11 -0
- package/dist/components/Help/RenderContentPanel.js +90 -0
- package/dist/components/Help/index.d.ts +43 -0
- package/dist/components/Help/index.js +31 -0
- package/dist/components/Help/style/index.d.ts +10 -0
- package/dist/components/Help/style/index.js +96 -0
- package/dist/components/MultiTab/index.d.ts +71 -0
- package/dist/components/MultiTab/index.js +303 -0
- package/dist/components/MultiTab/style/index.d.ts +8 -0
- package/dist/components/MultiTab/style/index.js +67 -0
- package/dist/components/PageContainer/PageContainerBase.d.ts +155 -0
- package/dist/components/PageContainer/PageContainerBase.js +349 -0
- package/dist/components/PageContainer/index.d.ts +57 -0
- package/dist/components/PageContainer/index.js +234 -0
- package/dist/components/PageContainer/style/index.d.ts +8 -0
- package/dist/components/PageContainer/style/index.js +63 -0
- package/dist/components/PageContainer/style/stylish.d.ts +13 -0
- package/dist/components/PageContainer/style/stylish.js +12 -0
- package/dist/components/PageHeader/index.d.ts +37 -0
- package/dist/components/PageHeader/index.js +221 -0
- package/dist/components/PageHeader/style/index.d.ts +17 -0
- package/dist/components/PageHeader/style/index.js +132 -0
- package/dist/components/PageLoading/index.d.ts +9 -0
- package/dist/components/PageLoading/index.js +15 -0
- package/dist/components/SettingDrawer/BlockCheckbox.d.ts +18 -0
- package/dist/components/SettingDrawer/BlockCheckbox.js +25 -0
- package/dist/components/SettingDrawer/LayoutChange.d.ts +28 -0
- package/dist/components/SettingDrawer/LayoutChange.js +127 -0
- package/dist/components/SettingDrawer/RegionalChange.d.ts +15 -0
- package/dist/components/SettingDrawer/RegionalChange.js +35 -0
- package/dist/components/SettingDrawer/ThemeColor.d.ts +28 -0
- package/dist/components/SettingDrawer/ThemeColor.js +30 -0
- package/dist/components/SettingDrawer/icon/group.d.ts +10 -0
- package/dist/components/SettingDrawer/icon/group.js +190 -0
- package/dist/components/SettingDrawer/icon/sub.d.ts +10 -0
- package/dist/components/SettingDrawer/icon/sub.js +187 -0
- package/dist/components/SettingDrawer/index.d.ts +42 -0
- package/dist/components/SettingDrawer/index.js +510 -0
- package/dist/components/SettingDrawer/style/index.d.ts +9 -0
- package/dist/components/SettingDrawer/style/index.js +236 -0
- package/dist/components/SiderMenu/BaseMenu.d.ts +133 -0
- package/dist/components/SiderMenu/BaseMenu.js +583 -0
- package/dist/components/SiderMenu/SiderMenu.d.ts +326 -0
- package/dist/components/SiderMenu/SiderMenu.js +756 -0
- package/dist/components/SiderMenu/index.d.ts +72 -0
- package/dist/components/SiderMenu/index.js +507 -0
- package/dist/components/SiderMenu/style/index.d.ts +20 -0
- package/dist/components/SiderMenu/style/index.js +301 -0
- package/dist/components/SiderMenu/style/menu.d.ts +10 -0
- package/dist/components/SiderMenu/style/menu.js +23 -0
- package/dist/components/SiderMenu/style/stylish.d.ts +20 -0
- package/dist/components/SiderMenu/style/stylish.js +15 -0
- package/dist/components/TopNavHeader/index.d.ts +86 -0
- package/dist/components/TopNavHeader/index.js +536 -0
- package/dist/components/TopNavHeader/style/index.d.ts +8 -0
- package/dist/components/TopNavHeader/style/index.js +71 -0
- package/dist/context/RouteContext.d.ts +39 -0
- package/dist/context/RouteContext.js +9 -0
- package/dist/defaultSettings.d.ts +115 -0
- package/dist/defaultSettings.js +16 -0
- package/dist/getPageTitle.d.ts +31 -0
- package/dist/getPageTitle.js +55 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +17 -0
- package/dist/locales/ar-EG/help.d.ts +6 -0
- package/dist/locales/ar-EG/help.js +4 -0
- package/dist/locales/ar-EG/multiTab.d.ts +6 -0
- package/dist/locales/ar-EG/multiTab.js +10 -0
- package/dist/locales/ar-EG/settingDrawer.d.ts +6 -0
- package/dist/locales/ar-EG/settingDrawer.js +50 -0
- package/dist/locales/ar-EG.d.ts +56 -0
- package/dist/locales/ar-EG.js +11 -0
- package/dist/locales/ca-ES/help.d.ts +6 -0
- package/dist/locales/ca-ES/help.js +4 -0
- package/dist/locales/ca-ES/multiTab.d.ts +6 -0
- package/dist/locales/ca-ES/multiTab.js +10 -0
- package/dist/locales/ca-ES/settingDrawer.d.ts +6 -0
- package/dist/locales/ca-ES/settingDrawer.js +50 -0
- package/dist/locales/ca-ES.d.ts +56 -0
- package/dist/locales/ca-ES.js +11 -0
- package/dist/locales/cs-CZ/help.d.ts +6 -0
- package/dist/locales/cs-CZ/help.js +4 -0
- package/dist/locales/cs-CZ/multiTab.d.ts +6 -0
- package/dist/locales/cs-CZ/multiTab.js +10 -0
- package/dist/locales/cs-CZ/settingDrawer.d.ts +6 -0
- package/dist/locales/cs-CZ/settingDrawer.js +50 -0
- package/dist/locales/cs-CZ.d.ts +56 -0
- package/dist/locales/cs-CZ.js +11 -0
- package/dist/locales/de-DE/help.d.ts +6 -0
- package/dist/locales/de-DE/help.js +4 -0
- package/dist/locales/de-DE/multiTab.d.ts +6 -0
- package/dist/locales/de-DE/multiTab.js +10 -0
- package/dist/locales/de-DE/settingDrawer.d.ts +6 -0
- package/dist/locales/de-DE/settingDrawer.js +50 -0
- package/dist/locales/de-DE.d.ts +56 -0
- package/dist/locales/de-DE.js +11 -0
- package/dist/locales/en-GB/help.d.ts +6 -0
- package/dist/locales/en-GB/help.js +4 -0
- package/dist/locales/en-GB/multiTab.d.ts +6 -0
- package/dist/locales/en-GB/multiTab.js +10 -0
- package/dist/locales/en-GB/settingDrawer.d.ts +6 -0
- package/dist/locales/en-GB/settingDrawer.js +50 -0
- package/dist/locales/en-GB.d.ts +56 -0
- package/dist/locales/en-GB.js +11 -0
- package/dist/locales/en-US/help.d.ts +6 -0
- package/dist/locales/en-US/help.js +4 -0
- package/dist/locales/en-US/multiTab.d.ts +6 -0
- package/dist/locales/en-US/multiTab.js +10 -0
- package/dist/locales/en-US/settingDrawer.d.ts +6 -0
- package/dist/locales/en-US/settingDrawer.js +50 -0
- package/dist/locales/en-US.d.ts +56 -0
- package/dist/locales/en-US.js +11 -0
- package/dist/locales/es-ES/help.d.ts +6 -0
- package/dist/locales/es-ES/help.js +4 -0
- package/dist/locales/es-ES/multiTab.d.ts +6 -0
- package/dist/locales/es-ES/multiTab.js +10 -0
- package/dist/locales/es-ES/settingDrawer.d.ts +6 -0
- package/dist/locales/es-ES/settingDrawer.js +50 -0
- package/dist/locales/es-ES.d.ts +56 -0
- package/dist/locales/es-ES.js +11 -0
- package/dist/locales/fa-IR/help.d.ts +6 -0
- package/dist/locales/fa-IR/help.js +4 -0
- package/dist/locales/fa-IR/multiTab.d.ts +6 -0
- package/dist/locales/fa-IR/multiTab.js +10 -0
- package/dist/locales/fa-IR/settingDrawer.d.ts +6 -0
- package/dist/locales/fa-IR/settingDrawer.js +50 -0
- package/dist/locales/fa-IR.d.ts +56 -0
- package/dist/locales/fa-IR.js +11 -0
- package/dist/locales/fr-FR/help.d.ts +6 -0
- package/dist/locales/fr-FR/help.js +4 -0
- package/dist/locales/fr-FR/multiTab.d.ts +6 -0
- package/dist/locales/fr-FR/multiTab.js +10 -0
- package/dist/locales/fr-FR/settingDrawer.d.ts +6 -0
- package/dist/locales/fr-FR/settingDrawer.js +50 -0
- package/dist/locales/fr-FR.d.ts +56 -0
- package/dist/locales/fr-FR.js +11 -0
- package/dist/locales/he-IL/help.d.ts +6 -0
- package/dist/locales/he-IL/help.js +4 -0
- package/dist/locales/he-IL/multiTab.d.ts +6 -0
- package/dist/locales/he-IL/multiTab.js +10 -0
- package/dist/locales/he-IL/settingDrawer.d.ts +6 -0
- package/dist/locales/he-IL/settingDrawer.js +50 -0
- package/dist/locales/he-IL.d.ts +56 -0
- package/dist/locales/he-IL.js +11 -0
- package/dist/locales/hr-HR/help.d.ts +6 -0
- package/dist/locales/hr-HR/help.js +4 -0
- package/dist/locales/hr-HR/multiTab.d.ts +6 -0
- package/dist/locales/hr-HR/multiTab.js +10 -0
- package/dist/locales/hr-HR/settingDrawer.d.ts +6 -0
- package/dist/locales/hr-HR/settingDrawer.js +50 -0
- package/dist/locales/hr-HR.d.ts +56 -0
- package/dist/locales/hr-HR.js +11 -0
- package/dist/locales/id-ID/help.d.ts +6 -0
- package/dist/locales/id-ID/help.js +4 -0
- package/dist/locales/id-ID/multiTab.d.ts +6 -0
- package/dist/locales/id-ID/multiTab.js +10 -0
- package/dist/locales/id-ID/settingDrawer.d.ts +6 -0
- package/dist/locales/id-ID/settingDrawer.js +50 -0
- package/dist/locales/id-ID.d.ts +56 -0
- package/dist/locales/id-ID.js +11 -0
- package/dist/locales/index.d.ts +1756 -0
- package/dist/locales/index.js +86 -0
- package/dist/locales/it-IT/help.d.ts +6 -0
- package/dist/locales/it-IT/help.js +4 -0
- package/dist/locales/it-IT/multiTab.d.ts +6 -0
- package/dist/locales/it-IT/multiTab.js +10 -0
- package/dist/locales/it-IT/settingDrawer.d.ts +6 -0
- package/dist/locales/it-IT/settingDrawer.js +50 -0
- package/dist/locales/it-IT.d.ts +56 -0
- package/dist/locales/it-IT.js +11 -0
- package/dist/locales/ja-JP/help.d.ts +6 -0
- package/dist/locales/ja-JP/help.js +4 -0
- package/dist/locales/ja-JP/multiTab.d.ts +6 -0
- package/dist/locales/ja-JP/multiTab.js +10 -0
- package/dist/locales/ja-JP/settingDrawer.d.ts +6 -0
- package/dist/locales/ja-JP/settingDrawer.js +50 -0
- package/dist/locales/ja-JP.d.ts +56 -0
- package/dist/locales/ja-JP.js +11 -0
- package/dist/locales/ko-KR/help.d.ts +6 -0
- package/dist/locales/ko-KR/help.js +4 -0
- package/dist/locales/ko-KR/multiTab.d.ts +6 -0
- package/dist/locales/ko-KR/multiTab.js +10 -0
- package/dist/locales/ko-KR/settingDrawer.d.ts +6 -0
- package/dist/locales/ko-KR/settingDrawer.js +50 -0
- package/dist/locales/ko-KR.d.ts +56 -0
- package/dist/locales/ko-KR.js +11 -0
- package/dist/locales/mn-MN/help.d.ts +6 -0
- package/dist/locales/mn-MN/help.js +4 -0
- package/dist/locales/mn-MN/multiTab.d.ts +6 -0
- package/dist/locales/mn-MN/multiTab.js +10 -0
- package/dist/locales/mn-MN/settingDrawer.d.ts +6 -0
- package/dist/locales/mn-MN/settingDrawer.js +50 -0
- package/dist/locales/mn-MN.d.ts +56 -0
- package/dist/locales/mn-MN.js +11 -0
- package/dist/locales/ms-MY/help.d.ts +6 -0
- package/dist/locales/ms-MY/help.js +4 -0
- package/dist/locales/ms-MY/multiTab.d.ts +6 -0
- package/dist/locales/ms-MY/multiTab.js +10 -0
- package/dist/locales/ms-MY/settingDrawer.d.ts +6 -0
- package/dist/locales/ms-MY/settingDrawer.js +50 -0
- package/dist/locales/ms-MY.d.ts +56 -0
- package/dist/locales/ms-MY.js +11 -0
- package/dist/locales/nl-NL/help.d.ts +6 -0
- package/dist/locales/nl-NL/help.js +4 -0
- package/dist/locales/nl-NL/multiTab.d.ts +6 -0
- package/dist/locales/nl-NL/multiTab.js +10 -0
- package/dist/locales/nl-NL/settingDrawer.d.ts +6 -0
- package/dist/locales/nl-NL/settingDrawer.js +50 -0
- package/dist/locales/nl-NL.d.ts +56 -0
- package/dist/locales/nl-NL.js +11 -0
- package/dist/locales/pl-PL/help.d.ts +6 -0
- package/dist/locales/pl-PL/help.js +4 -0
- package/dist/locales/pl-PL/multiTab.d.ts +6 -0
- package/dist/locales/pl-PL/multiTab.js +10 -0
- package/dist/locales/pl-PL/settingDrawer.d.ts +6 -0
- package/dist/locales/pl-PL/settingDrawer.js +50 -0
- package/dist/locales/pl-PL.d.ts +56 -0
- package/dist/locales/pl-PL.js +11 -0
- package/dist/locales/pt-BR/help.d.ts +6 -0
- package/dist/locales/pt-BR/help.js +4 -0
- package/dist/locales/pt-BR/multiTab.d.ts +6 -0
- package/dist/locales/pt-BR/multiTab.js +10 -0
- package/dist/locales/pt-BR/settingDrawer.d.ts +6 -0
- package/dist/locales/pt-BR/settingDrawer.js +50 -0
- package/dist/locales/pt-BR.d.ts +56 -0
- package/dist/locales/pt-BR.js +11 -0
- package/dist/locales/ro-RO/help.d.ts +6 -0
- package/dist/locales/ro-RO/help.js +4 -0
- package/dist/locales/ro-RO/multiTab.d.ts +6 -0
- package/dist/locales/ro-RO/multiTab.js +10 -0
- package/dist/locales/ro-RO/settingDrawer.d.ts +6 -0
- package/dist/locales/ro-RO/settingDrawer.js +50 -0
- package/dist/locales/ro-RO.d.ts +56 -0
- package/dist/locales/ro-RO.js +11 -0
- package/dist/locales/ru-RU/help.d.ts +6 -0
- package/dist/locales/ru-RU/help.js +4 -0
- package/dist/locales/ru-RU/multiTab.d.ts +6 -0
- package/dist/locales/ru-RU/multiTab.js +10 -0
- package/dist/locales/ru-RU/settingDrawer.d.ts +6 -0
- package/dist/locales/ru-RU/settingDrawer.js +50 -0
- package/dist/locales/ru-RU.d.ts +56 -0
- package/dist/locales/ru-RU.js +11 -0
- package/dist/locales/sk-SK/help.d.ts +6 -0
- package/dist/locales/sk-SK/help.js +4 -0
- package/dist/locales/sk-SK/multiTab.d.ts +6 -0
- package/dist/locales/sk-SK/multiTab.js +9 -0
- package/dist/locales/sk-SK/settingDrawer.d.ts +6 -0
- package/dist/locales/sk-SK/settingDrawer.js +50 -0
- package/dist/locales/sk-SK.d.ts +56 -0
- package/dist/locales/sk-SK.js +11 -0
- package/dist/locales/sr-RS/help.d.ts +6 -0
- package/dist/locales/sr-RS/help.js +4 -0
- package/dist/locales/sr-RS/multiTab.d.ts +6 -0
- package/dist/locales/sr-RS/multiTab.js +10 -0
- package/dist/locales/sr-RS/settingDrawer.d.ts +6 -0
- package/dist/locales/sr-RS/settingDrawer.js +50 -0
- package/dist/locales/sr-RS.d.ts +56 -0
- package/dist/locales/sr-RS.js +11 -0
- package/dist/locales/sv-SE/help.d.ts +6 -0
- package/dist/locales/sv-SE/help.js +4 -0
- package/dist/locales/sv-SE/multiTab.d.ts +6 -0
- package/dist/locales/sv-SE/multiTab.js +10 -0
- package/dist/locales/sv-SE/settingDrawer.d.ts +6 -0
- package/dist/locales/sv-SE/settingDrawer.js +50 -0
- package/dist/locales/sv-SE.d.ts +56 -0
- package/dist/locales/sv-SE.js +11 -0
- package/dist/locales/th-TH/help.d.ts +6 -0
- package/dist/locales/th-TH/help.js +4 -0
- package/dist/locales/th-TH/multiTab.d.ts +6 -0
- package/dist/locales/th-TH/multiTab.js +10 -0
- package/dist/locales/th-TH/settingDrawer.d.ts +6 -0
- package/dist/locales/th-TH/settingDrawer.js +50 -0
- package/dist/locales/th-TH.d.ts +56 -0
- package/dist/locales/th-TH.js +11 -0
- package/dist/locales/tr-TR/help.d.ts +6 -0
- package/dist/locales/tr-TR/help.js +4 -0
- package/dist/locales/tr-TR/multiTab.d.ts +6 -0
- package/dist/locales/tr-TR/multiTab.js +10 -0
- package/dist/locales/tr-TR/settingDrawer.d.ts +6 -0
- package/dist/locales/tr-TR/settingDrawer.js +50 -0
- package/dist/locales/tr-TR.d.ts +56 -0
- package/dist/locales/tr-TR.js +11 -0
- package/dist/locales/uk-UA/help.d.ts +6 -0
- package/dist/locales/uk-UA/help.js +4 -0
- package/dist/locales/uk-UA/multiTab.d.ts +6 -0
- package/dist/locales/uk-UA/multiTab.js +10 -0
- package/dist/locales/uk-UA/settingDrawer.d.ts +6 -0
- package/dist/locales/uk-UA/settingDrawer.js +50 -0
- package/dist/locales/uk-UA.d.ts +56 -0
- package/dist/locales/uk-UA.js +11 -0
- package/dist/locales/uz-UZ/help.d.ts +6 -0
- package/dist/locales/uz-UZ/help.js +4 -0
- package/dist/locales/uz-UZ/multiTab.d.ts +6 -0
- package/dist/locales/uz-UZ/multiTab.js +10 -0
- package/dist/locales/uz-UZ/settingDrawer.d.ts +6 -0
- package/dist/locales/uz-UZ/settingDrawer.js +50 -0
- package/dist/locales/uz-UZ.d.ts +56 -0
- package/dist/locales/uz-UZ.js +11 -0
- package/dist/locales/vi-VN/help.d.ts +6 -0
- package/dist/locales/vi-VN/help.js +4 -0
- package/dist/locales/vi-VN/multiTab.d.ts +6 -0
- package/dist/locales/vi-VN/multiTab.js +10 -0
- package/dist/locales/vi-VN/settingDrawer.d.ts +6 -0
- package/dist/locales/vi-VN/settingDrawer.js +50 -0
- package/dist/locales/vi-VN.d.ts +56 -0
- package/dist/locales/vi-VN.js +11 -0
- package/dist/locales/zh-CN/help.d.ts +8 -0
- package/dist/locales/zh-CN/help.js +4 -0
- package/dist/locales/zh-CN/multiTab.d.ts +19 -0
- package/dist/locales/zh-CN/multiTab.js +17 -0
- package/dist/locales/zh-CN/settingDrawer.d.ts +52 -0
- package/dist/locales/zh-CN/settingDrawer.js +50 -0
- package/dist/locales/zh-CN.d.ts +56 -0
- package/dist/locales/zh-CN.js +11 -0
- package/dist/locales/zh-HK/help.d.ts +6 -0
- package/dist/locales/zh-HK/help.js +4 -0
- package/dist/locales/zh-HK/multiTab.d.ts +6 -0
- package/dist/locales/zh-HK/multiTab.js +10 -0
- package/dist/locales/zh-HK/settingDrawer.d.ts +6 -0
- package/dist/locales/zh-HK/settingDrawer.js +50 -0
- package/dist/locales/zh-HK.d.ts +56 -0
- package/dist/locales/zh-HK.js +11 -0
- package/dist/locales/zh-TW/help.d.ts +6 -0
- package/dist/locales/zh-TW/help.js +4 -0
- package/dist/locales/zh-TW/multiTab.d.ts +6 -0
- package/dist/locales/zh-TW/multiTab.js +10 -0
- package/dist/locales/zh-TW/settingDrawer.d.ts +6 -0
- package/dist/locales/zh-TW/settingDrawer.js +50 -0
- package/dist/locales/zh-TW.d.ts +56 -0
- package/dist/locales/zh-TW.js +11 -0
- package/dist/pro-layout.esm.js +11423 -0
- package/dist/style/index.d.ts +30 -0
- package/dist/style/index.js +120 -0
- package/dist/typing.d.ts +63 -0
- package/dist/typing.js +1 -0
- package/dist/utils/getBreadcrumbProps.d.ts +34 -0
- package/dist/utils/getBreadcrumbProps.js +91 -0
- package/dist/utils/getMenuData.d.ts +13 -0
- package/dist/utils/getMenuData.js +19 -0
- package/dist/utils/index.d.ts +30 -0
- package/dist/utils/index.js +55 -0
- package/dist/utils/siderWidth.d.ts +29 -0
- package/dist/utils/siderWidth.js +20 -0
- package/dist/utils/useCurrentMenuLayoutProps.d.ts +10 -0
- package/dist/utils/useCurrentMenuLayoutProps.js +28 -0
- package/dist/utils/useProLayoutLocation.d.ts +8 -0
- package/dist/utils/useProLayoutLocation.js +14 -0
- package/dist/utils/useProLayoutRender.d.ts +25 -0
- package/dist/utils/useProLayoutRender.js +42 -0
- package/package.json +61 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { renderLayoutSettingItem } from "./LayoutChange.js";
|
|
2
|
+
import { createVNode } from "vue";
|
|
3
|
+
import { classNames } from "@v-c/util";
|
|
4
|
+
import { Listy, Switch } from "antdv-next";
|
|
5
|
+
//#region src/components/SettingDrawer/RegionalChange.tsx
|
|
6
|
+
const RegionalSetting = ({ settings = {}, prefixCls, changeSetting, formatMessage, cssVarCls, hashId }) => {
|
|
7
|
+
return createVNode(Listy, {
|
|
8
|
+
"class": classNames(`${prefixCls}-list`, hashId, cssVarCls),
|
|
9
|
+
"itemRender": (item) => renderLayoutSettingItem(item),
|
|
10
|
+
"rowKey": (item) => item.title,
|
|
11
|
+
"styles": { item: {
|
|
12
|
+
borderBottom: 0,
|
|
13
|
+
paddingInlineStart: 0,
|
|
14
|
+
paddingInlineEnd: 0
|
|
15
|
+
} },
|
|
16
|
+
"items": [
|
|
17
|
+
"header",
|
|
18
|
+
"footer",
|
|
19
|
+
"siderMenu",
|
|
20
|
+
"menuHeader"
|
|
21
|
+
].map((key) => {
|
|
22
|
+
return {
|
|
23
|
+
title: formatMessage({ id: `app.setting.regionalsettings.${key}` }),
|
|
24
|
+
action: createVNode(Switch, {
|
|
25
|
+
"size": "small",
|
|
26
|
+
"class": classNames(`regional-${key}`, hashId, cssVarCls),
|
|
27
|
+
"checked": (settings[`${key}Render`] || settings[`${key}Render`]) === void 0,
|
|
28
|
+
"onChange": (checked) => changeSetting(`${key}Render`, checked === true ? void 0 : false)
|
|
29
|
+
}, null)
|
|
30
|
+
};
|
|
31
|
+
})
|
|
32
|
+
}, null);
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { RegionalSetting as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FunctionalComponent } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/SettingDrawer/ThemeColor.d.ts
|
|
4
|
+
interface TagProps {
|
|
5
|
+
color: string;
|
|
6
|
+
check: boolean;
|
|
7
|
+
class?: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
}
|
|
10
|
+
interface ThemeColorProps {
|
|
11
|
+
colorList?: {
|
|
12
|
+
key: string;
|
|
13
|
+
color: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
}[];
|
|
16
|
+
prefixCls: string;
|
|
17
|
+
value: string;
|
|
18
|
+
onChange: (color: string) => void;
|
|
19
|
+
formatMessage: (data: {
|
|
20
|
+
id: string;
|
|
21
|
+
defaultMessage?: string;
|
|
22
|
+
}) => string | undefined;
|
|
23
|
+
hashId: string;
|
|
24
|
+
cssVarCls: string;
|
|
25
|
+
}
|
|
26
|
+
declare const ThemeColor: FunctionalComponent<ThemeColorProps>;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { TagProps, ThemeColorProps, ThemeColor as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createVNode, mergeProps } from "vue";
|
|
2
|
+
import { classNames } from "@v-c/util";
|
|
3
|
+
import { Tooltip } from "antdv-next";
|
|
4
|
+
import { CheckOutlined } from "@antdv-next/icons";
|
|
5
|
+
import Wave from "antdv-next/dist/_util/wave/index";
|
|
6
|
+
//#region src/components/SettingDrawer/ThemeColor.tsx
|
|
7
|
+
const Tag = ({ color, check, ...rest }) => {
|
|
8
|
+
return createVNode("div", mergeProps(rest, { "style": { backgroundColor: color } }), [check ? createVNode(CheckOutlined, null, null) : ""]);
|
|
9
|
+
};
|
|
10
|
+
const ThemeColor = ({ value, colorList, onChange, prefixCls, formatMessage, hashId, cssVarCls }) => {
|
|
11
|
+
if (!colorList || colorList?.length < 1) return null;
|
|
12
|
+
const baseClassName = `${prefixCls}-theme-color`;
|
|
13
|
+
return createVNode("div", { "class": classNames(`${baseClassName}`, hashId, cssVarCls) }, [colorList?.map(({ key, color, title }) => {
|
|
14
|
+
if (!key) return null;
|
|
15
|
+
return createVNode(Tooltip, {
|
|
16
|
+
"key": color,
|
|
17
|
+
"title": title ?? formatMessage({ id: `app.setting.themecolor.${key}` })
|
|
18
|
+
}, { default: () => [createVNode(Wave, {
|
|
19
|
+
"component": "Tag",
|
|
20
|
+
"disabled": (value.startsWith("#") ? value.toUpperCase() : value) === color
|
|
21
|
+
}, { default: () => [createVNode(Tag, {
|
|
22
|
+
"class": classNames(`${baseClassName}-block`, hashId, cssVarCls),
|
|
23
|
+
"color": color,
|
|
24
|
+
"check": (value.startsWith("#") ? value.toUpperCase() : value) === color,
|
|
25
|
+
"onClick": () => onChange && onChange(color)
|
|
26
|
+
}, null)] })] });
|
|
27
|
+
})]);
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ThemeColor as default };
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { createVNode } from "vue";
|
|
2
|
+
//#region src/components/SettingDrawer/icon/group.tsx
|
|
3
|
+
function GroupIcon({ dark }) {
|
|
4
|
+
const color = dark ? {
|
|
5
|
+
bg: "rgb(36, 37, 37)",
|
|
6
|
+
sider: "rgb(42, 44, 44)",
|
|
7
|
+
header: "rgb(42, 44, 44)",
|
|
8
|
+
content: "rgb(42, 44, 44)",
|
|
9
|
+
firstLineOpacity: "0.2",
|
|
10
|
+
secendLineOpacity: "0.2"
|
|
11
|
+
} : {
|
|
12
|
+
bg: "#F0F2F5",
|
|
13
|
+
sider: "#E6EAF0",
|
|
14
|
+
header: "#E6EAF0",
|
|
15
|
+
content: "#FFF",
|
|
16
|
+
firstLineOpacity: "1",
|
|
17
|
+
secendLineOpacity: "1"
|
|
18
|
+
};
|
|
19
|
+
return createVNode("svg", {
|
|
20
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
21
|
+
"xmlnsXlink": "http://www.w3.org/1999/xlink",
|
|
22
|
+
"width": "1em",
|
|
23
|
+
"height": "1em",
|
|
24
|
+
"viewBox": "0 0 104 104"
|
|
25
|
+
}, [createVNode("defs", null, [createVNode("rect", {
|
|
26
|
+
"id": "path-1",
|
|
27
|
+
"width": "90",
|
|
28
|
+
"height": "72",
|
|
29
|
+
"x": "0",
|
|
30
|
+
"y": "0",
|
|
31
|
+
"rx": "10"
|
|
32
|
+
}, null), createVNode("filter", {
|
|
33
|
+
"id": "filter-2",
|
|
34
|
+
"width": "152.2%",
|
|
35
|
+
"height": "165.3%",
|
|
36
|
+
"x": "-26.1%",
|
|
37
|
+
"y": "-27.1%",
|
|
38
|
+
"filterUnits": "objectBoundingBox"
|
|
39
|
+
}, [
|
|
40
|
+
createVNode("feMorphology", {
|
|
41
|
+
"in": "SourceAlpha",
|
|
42
|
+
"radius": "0.25",
|
|
43
|
+
"result": "shadowSpreadOuter1"
|
|
44
|
+
}, null),
|
|
45
|
+
createVNode("feOffset", {
|
|
46
|
+
"dy": "1",
|
|
47
|
+
"in": "shadowSpreadOuter1",
|
|
48
|
+
"result": "shadowOffsetOuter1"
|
|
49
|
+
}, null),
|
|
50
|
+
createVNode("feGaussianBlur", {
|
|
51
|
+
"in": "shadowOffsetOuter1",
|
|
52
|
+
"result": "shadowBlurOuter1",
|
|
53
|
+
"stdDeviation": "1"
|
|
54
|
+
}, null),
|
|
55
|
+
createVNode("feColorMatrix", {
|
|
56
|
+
"in": "shadowBlurOuter1",
|
|
57
|
+
"result": "shadowMatrixOuter1",
|
|
58
|
+
"values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
59
|
+
}, null),
|
|
60
|
+
createVNode("feMorphology", {
|
|
61
|
+
"in": "SourceAlpha",
|
|
62
|
+
"radius": "1",
|
|
63
|
+
"result": "shadowSpreadOuter2"
|
|
64
|
+
}, null),
|
|
65
|
+
createVNode("feOffset", {
|
|
66
|
+
"dy": "2",
|
|
67
|
+
"in": "shadowSpreadOuter2",
|
|
68
|
+
"result": "shadowOffsetOuter2"
|
|
69
|
+
}, null),
|
|
70
|
+
createVNode("feGaussianBlur", {
|
|
71
|
+
"in": "shadowOffsetOuter2",
|
|
72
|
+
"result": "shadowBlurOuter2",
|
|
73
|
+
"stdDeviation": "4"
|
|
74
|
+
}, null),
|
|
75
|
+
createVNode("feColorMatrix", {
|
|
76
|
+
"in": "shadowBlurOuter2",
|
|
77
|
+
"result": "shadowMatrixOuter2",
|
|
78
|
+
"values": "0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"
|
|
79
|
+
}, null),
|
|
80
|
+
createVNode("feMorphology", {
|
|
81
|
+
"in": "SourceAlpha",
|
|
82
|
+
"radius": "2",
|
|
83
|
+
"result": "shadowSpreadOuter3"
|
|
84
|
+
}, null),
|
|
85
|
+
createVNode("feOffset", {
|
|
86
|
+
"dy": "4",
|
|
87
|
+
"in": "shadowSpreadOuter3",
|
|
88
|
+
"result": "shadowOffsetOuter3"
|
|
89
|
+
}, null),
|
|
90
|
+
createVNode("feGaussianBlur", {
|
|
91
|
+
"in": "shadowOffsetOuter3",
|
|
92
|
+
"result": "shadowBlurOuter3",
|
|
93
|
+
"stdDeviation": "8"
|
|
94
|
+
}, null),
|
|
95
|
+
createVNode("feColorMatrix", {
|
|
96
|
+
"in": "shadowBlurOuter3",
|
|
97
|
+
"result": "shadowMatrixOuter3",
|
|
98
|
+
"values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"
|
|
99
|
+
}, null),
|
|
100
|
+
createVNode("feMerge", null, [
|
|
101
|
+
createVNode("feMergeNode", { "in": "shadowMatrixOuter1" }, null),
|
|
102
|
+
createVNode("feMergeNode", { "in": "shadowMatrixOuter2" }, null),
|
|
103
|
+
createVNode("feMergeNode", { "in": "shadowMatrixOuter3" }, null)
|
|
104
|
+
])
|
|
105
|
+
])]), createVNode("g", {
|
|
106
|
+
"fill": "none",
|
|
107
|
+
"fill-rule": "evenodd",
|
|
108
|
+
"stroke": "none",
|
|
109
|
+
"stroke-width": "1"
|
|
110
|
+
}, [
|
|
111
|
+
createVNode("g", null, [createVNode("use", {
|
|
112
|
+
"fill": "#000",
|
|
113
|
+
"filter": "url(#filter-2)",
|
|
114
|
+
"xlink:href": "#path-1"
|
|
115
|
+
}, null), createVNode("use", {
|
|
116
|
+
"fill": color.sider,
|
|
117
|
+
"xlink:href": "#path-1"
|
|
118
|
+
}, null)]),
|
|
119
|
+
createVNode("path", {
|
|
120
|
+
"fill": color.bg,
|
|
121
|
+
"d": "M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"
|
|
122
|
+
}, null),
|
|
123
|
+
createVNode("path", {
|
|
124
|
+
"stroke": color.header,
|
|
125
|
+
"stroke-linecap": "square",
|
|
126
|
+
"d": "M0.5 15.5L90.5 15.5"
|
|
127
|
+
}, null),
|
|
128
|
+
createVNode("rect", {
|
|
129
|
+
"width": "14",
|
|
130
|
+
"height": "3",
|
|
131
|
+
"x": "4",
|
|
132
|
+
"y": "26",
|
|
133
|
+
"fill": "#D7DDE6",
|
|
134
|
+
"rx": "1.5",
|
|
135
|
+
"opacity": color.firstLineOpacity
|
|
136
|
+
}, null),
|
|
137
|
+
createVNode("rect", {
|
|
138
|
+
"width": "9",
|
|
139
|
+
"height": "3",
|
|
140
|
+
"x": "4",
|
|
141
|
+
"y": "32",
|
|
142
|
+
"fill": "#D7DDE6",
|
|
143
|
+
"rx": "1.5",
|
|
144
|
+
"opacity": color.firstLineOpacity
|
|
145
|
+
}, null),
|
|
146
|
+
createVNode("rect", {
|
|
147
|
+
"width": "9",
|
|
148
|
+
"height": "3",
|
|
149
|
+
"x": "4",
|
|
150
|
+
"y": "42",
|
|
151
|
+
"fill": "#E6EAF0",
|
|
152
|
+
"rx": "1.5",
|
|
153
|
+
"opacity": color.secendLineOpacity
|
|
154
|
+
}, null),
|
|
155
|
+
createVNode("rect", {
|
|
156
|
+
"width": "9",
|
|
157
|
+
"height": "3",
|
|
158
|
+
"x": "4",
|
|
159
|
+
"y": "21",
|
|
160
|
+
"fill": "#E6EAF0",
|
|
161
|
+
"rx": "1.5",
|
|
162
|
+
"opacity": color.secendLineOpacity
|
|
163
|
+
}, null),
|
|
164
|
+
createVNode("rect", {
|
|
165
|
+
"width": "9",
|
|
166
|
+
"height": "3",
|
|
167
|
+
"x": "4",
|
|
168
|
+
"y": "53",
|
|
169
|
+
"fill": "#D7DDE6",
|
|
170
|
+
"rx": "1.5",
|
|
171
|
+
"opacity": color.firstLineOpacity
|
|
172
|
+
}, null),
|
|
173
|
+
createVNode("rect", {
|
|
174
|
+
"width": "14",
|
|
175
|
+
"height": "3",
|
|
176
|
+
"x": "4",
|
|
177
|
+
"y": "47",
|
|
178
|
+
"fill": "#D7DDE6",
|
|
179
|
+
"rx": "1.5",
|
|
180
|
+
"opacity": color.firstLineOpacity
|
|
181
|
+
}, null),
|
|
182
|
+
createVNode("path", {
|
|
183
|
+
"stroke": color.sider,
|
|
184
|
+
"stroke-linecap": "square",
|
|
185
|
+
"d": "M25.5 15.5L25.5 72.5"
|
|
186
|
+
}, null)
|
|
187
|
+
])]);
|
|
188
|
+
}
|
|
189
|
+
//#endregion
|
|
190
|
+
export { GroupIcon };
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { createVNode } from "vue";
|
|
2
|
+
//#region src/components/SettingDrawer/icon/sub.tsx
|
|
3
|
+
function SubIcon({ dark }) {
|
|
4
|
+
const color = dark ? {
|
|
5
|
+
bg: "rgb(42, 44, 44)",
|
|
6
|
+
side: "#0f1c29",
|
|
7
|
+
header: "rgb(36, 37, 37)"
|
|
8
|
+
} : {
|
|
9
|
+
bg: "#F0F2F5",
|
|
10
|
+
side: "#001529",
|
|
11
|
+
header: "#fff"
|
|
12
|
+
};
|
|
13
|
+
return createVNode("svg", {
|
|
14
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
15
|
+
"xmlnsXlink": "http://www.w3.org/1999/xlink",
|
|
16
|
+
"width": "1em",
|
|
17
|
+
"height": "1em",
|
|
18
|
+
"viewBox": "0 0 104 104"
|
|
19
|
+
}, [createVNode("defs", null, [createVNode("rect", {
|
|
20
|
+
"id": "path-1",
|
|
21
|
+
"width": "90",
|
|
22
|
+
"height": "72",
|
|
23
|
+
"x": "0",
|
|
24
|
+
"y": "0",
|
|
25
|
+
"rx": "10"
|
|
26
|
+
}, null), createVNode("filter", {
|
|
27
|
+
"id": "filter-2",
|
|
28
|
+
"width": "152.2%",
|
|
29
|
+
"height": "165.3%",
|
|
30
|
+
"x": "-26.1%",
|
|
31
|
+
"y": "-27.1%",
|
|
32
|
+
"filterUnits": "objectBoundingBox"
|
|
33
|
+
}, [
|
|
34
|
+
createVNode("feMorphology", {
|
|
35
|
+
"in": "SourceAlpha",
|
|
36
|
+
"radius": "0.25",
|
|
37
|
+
"result": "shadowSpreadOuter1"
|
|
38
|
+
}, null),
|
|
39
|
+
createVNode("feOffset", {
|
|
40
|
+
"dy": "1",
|
|
41
|
+
"in": "shadowSpreadOuter1",
|
|
42
|
+
"result": "shadowOffsetOuter1"
|
|
43
|
+
}, null),
|
|
44
|
+
createVNode("feGaussianBlur", {
|
|
45
|
+
"in": "shadowOffsetOuter1",
|
|
46
|
+
"result": "shadowBlurOuter1",
|
|
47
|
+
"stdDeviation": "1"
|
|
48
|
+
}, null),
|
|
49
|
+
createVNode("feColorMatrix", {
|
|
50
|
+
"in": "shadowBlurOuter1",
|
|
51
|
+
"result": "shadowMatrixOuter1",
|
|
52
|
+
"values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
53
|
+
}, null),
|
|
54
|
+
createVNode("feMorphology", {
|
|
55
|
+
"in": "SourceAlpha",
|
|
56
|
+
"radius": "1",
|
|
57
|
+
"result": "shadowSpreadOuter2"
|
|
58
|
+
}, null),
|
|
59
|
+
createVNode("feOffset", {
|
|
60
|
+
"dy": "2",
|
|
61
|
+
"in": "shadowSpreadOuter2",
|
|
62
|
+
"result": "shadowOffsetOuter2"
|
|
63
|
+
}, null),
|
|
64
|
+
createVNode("feGaussianBlur", {
|
|
65
|
+
"in": "shadowOffsetOuter2",
|
|
66
|
+
"result": "shadowBlurOuter2",
|
|
67
|
+
"stdDeviation": "4"
|
|
68
|
+
}, null),
|
|
69
|
+
createVNode("feColorMatrix", {
|
|
70
|
+
"in": "shadowBlurOuter2",
|
|
71
|
+
"result": "shadowMatrixOuter2",
|
|
72
|
+
"values": "0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"
|
|
73
|
+
}, null),
|
|
74
|
+
createVNode("feMorphology", {
|
|
75
|
+
"in": "SourceAlpha",
|
|
76
|
+
"radius": "2",
|
|
77
|
+
"result": "shadowSpreadOuter3"
|
|
78
|
+
}, null),
|
|
79
|
+
createVNode("feOffset", {
|
|
80
|
+
"dy": "4",
|
|
81
|
+
"in": "shadowSpreadOuter3",
|
|
82
|
+
"result": "shadowOffsetOuter3"
|
|
83
|
+
}, null),
|
|
84
|
+
createVNode("feGaussianBlur", {
|
|
85
|
+
"in": "shadowOffsetOuter3",
|
|
86
|
+
"result": "shadowBlurOuter3",
|
|
87
|
+
"stdDeviation": "8"
|
|
88
|
+
}, null),
|
|
89
|
+
createVNode("feColorMatrix", {
|
|
90
|
+
"in": "shadowBlurOuter3",
|
|
91
|
+
"result": "shadowMatrixOuter3",
|
|
92
|
+
"values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"
|
|
93
|
+
}, null),
|
|
94
|
+
createVNode("feMerge", null, [
|
|
95
|
+
createVNode("feMergeNode", { "in": "shadowMatrixOuter1" }, null),
|
|
96
|
+
createVNode("feMergeNode", { "in": "shadowMatrixOuter2" }, null),
|
|
97
|
+
createVNode("feMergeNode", { "in": "shadowMatrixOuter3" }, null)
|
|
98
|
+
])
|
|
99
|
+
])]), createVNode("g", {
|
|
100
|
+
"fill": "none",
|
|
101
|
+
"fill-rule": "evenodd",
|
|
102
|
+
"stroke": "none",
|
|
103
|
+
"stroke-width": "1"
|
|
104
|
+
}, [
|
|
105
|
+
createVNode("g", null, [createVNode("use", {
|
|
106
|
+
"fill": "#000",
|
|
107
|
+
"filter": "url(#filter-2)",
|
|
108
|
+
"xlink:href": "#path-1"
|
|
109
|
+
}, null), createVNode("use", {
|
|
110
|
+
"fill": color.bg,
|
|
111
|
+
"xlink:href": "#path-1"
|
|
112
|
+
}, null)]),
|
|
113
|
+
createVNode("path", {
|
|
114
|
+
"fill": color.header,
|
|
115
|
+
"d": "M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"
|
|
116
|
+
}, null),
|
|
117
|
+
createVNode("path", {
|
|
118
|
+
"fill": color.side,
|
|
119
|
+
"d": "M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"
|
|
120
|
+
}, null),
|
|
121
|
+
createVNode("rect", {
|
|
122
|
+
"width": "14",
|
|
123
|
+
"height": "3",
|
|
124
|
+
"x": "5",
|
|
125
|
+
"y": "18",
|
|
126
|
+
"fill": "#D7DDE6",
|
|
127
|
+
"opacity": "0.2",
|
|
128
|
+
"rx": "1.5"
|
|
129
|
+
}, null),
|
|
130
|
+
createVNode("rect", {
|
|
131
|
+
"width": "14",
|
|
132
|
+
"height": "3",
|
|
133
|
+
"x": "5",
|
|
134
|
+
"y": "42",
|
|
135
|
+
"fill": "#D7DDE6",
|
|
136
|
+
"opacity": "0.2",
|
|
137
|
+
"rx": "1.5"
|
|
138
|
+
}, null),
|
|
139
|
+
createVNode("rect", {
|
|
140
|
+
"width": "9",
|
|
141
|
+
"height": "3",
|
|
142
|
+
"x": "9",
|
|
143
|
+
"y": "24",
|
|
144
|
+
"fill": "#D7DDE6",
|
|
145
|
+
"opacity": "0.2",
|
|
146
|
+
"rx": "1.5"
|
|
147
|
+
}, null),
|
|
148
|
+
createVNode("rect", {
|
|
149
|
+
"width": "9",
|
|
150
|
+
"height": "3",
|
|
151
|
+
"x": "9",
|
|
152
|
+
"y": "48",
|
|
153
|
+
"fill": "#D7DDE6",
|
|
154
|
+
"opacity": "0.2",
|
|
155
|
+
"rx": "1.5"
|
|
156
|
+
}, null),
|
|
157
|
+
createVNode("rect", {
|
|
158
|
+
"width": "9",
|
|
159
|
+
"height": "3",
|
|
160
|
+
"x": "9",
|
|
161
|
+
"y": "36",
|
|
162
|
+
"fill": "#D7DDE6",
|
|
163
|
+
"opacity": "0.2",
|
|
164
|
+
"rx": "1.5"
|
|
165
|
+
}, null),
|
|
166
|
+
createVNode("rect", {
|
|
167
|
+
"width": "14",
|
|
168
|
+
"height": "3",
|
|
169
|
+
"x": "9",
|
|
170
|
+
"y": "30",
|
|
171
|
+
"fill": "#D7DDE6",
|
|
172
|
+
"opacity": "0.2",
|
|
173
|
+
"rx": "1.5"
|
|
174
|
+
}, null),
|
|
175
|
+
createVNode("rect", {
|
|
176
|
+
"width": "14",
|
|
177
|
+
"height": "3",
|
|
178
|
+
"x": "9",
|
|
179
|
+
"y": "54",
|
|
180
|
+
"fill": "#D7DDE6",
|
|
181
|
+
"opacity": "0.2",
|
|
182
|
+
"rx": "1.5"
|
|
183
|
+
}, null)
|
|
184
|
+
])]);
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
export { SubIcon };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ProSettings } from "../../defaultSettings.js";
|
|
2
|
+
import { SettingItemProps } from "./LayoutChange.js";
|
|
3
|
+
import * as _$vue from "vue";
|
|
4
|
+
|
|
5
|
+
//#region src/components/SettingDrawer/index.d.ts
|
|
6
|
+
type MergerSettingsType<T> = Partial<T> & {
|
|
7
|
+
colorPrimary?: string;
|
|
8
|
+
colorWeak?: boolean;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
interface SettingDrawerProps {
|
|
12
|
+
settings?: MergerSettingsType<ProSettings>;
|
|
13
|
+
prefixCls?: string;
|
|
14
|
+
collapsed?: boolean;
|
|
15
|
+
colorList?: {
|
|
16
|
+
key: string;
|
|
17
|
+
color: string;
|
|
18
|
+
title?: string;
|
|
19
|
+
}[] | false;
|
|
20
|
+
hideHintAlert?: boolean;
|
|
21
|
+
hideCopyButton?: boolean;
|
|
22
|
+
onSettingChange?: (config: MergerSettingsType<ProSettings>) => void;
|
|
23
|
+
onCollapse?: (collapsed: boolean) => void;
|
|
24
|
+
'onUpdate:collapsed'?: (collapsed: boolean) => void;
|
|
25
|
+
otherSettingsRender?: (({
|
|
26
|
+
items,
|
|
27
|
+
settings,
|
|
28
|
+
changeSetting
|
|
29
|
+
}: {
|
|
30
|
+
settings: MergerSettingsType<ProSettings>;
|
|
31
|
+
changeSetting: (key: string, value: any) => void;
|
|
32
|
+
items: SettingItemProps[];
|
|
33
|
+
}) => SettingItemProps[]) | false;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 可视化配置组件
|
|
37
|
+
*
|
|
38
|
+
* @param props
|
|
39
|
+
*/
|
|
40
|
+
declare const SettingDrawer: _$vue.DefineSetupFnComponent<SettingDrawerProps, {}, {}, SettingDrawerProps & {}, _$vue.PublicProps>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { SettingDrawerProps, SettingDrawer as default };
|