@duxweb/dvha-pro 0.0.8 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/card/store.cjs +1 -0
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/crop/imageCrop.cjs +1 -0
- package/dist/cjs/components/crop/imageCropModal.cjs +1 -0
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
- package/dist/cjs/components/data/dynamicData.cjs +1 -0
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -0
- package/dist/cjs/components/data/selectModal.cjs +1 -0
- package/dist/cjs/components/dialog/dialog.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/editor/aiEditor.cjs +1 -0
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -0
- package/dist/cjs/components/media/media.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/modal/modalPage.cjs +1 -1
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/stats/number.cjs +1 -0
- package/dist/cjs/components/stats/realTime.cjs +1 -0
- package/dist/cjs/components/status/blockEmpty.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -0
- package/dist/cjs/components/upload/image.cjs +1 -0
- package/dist/cjs/components/upload/manage/item.cjs +1 -0
- package/dist/cjs/components/upload/manager.cjs +1 -0
- package/dist/cjs/components/widget/avatar.cjs +1 -0
- package/dist/cjs/components/widget/connect.cjs +1 -1
- package/dist/cjs/components/widget/image.cjs +1 -0
- package/dist/cjs/components/widget/placeholder.cjs +1 -0
- package/dist/cjs/config/uno.cjs +1 -1
- package/dist/cjs/config/validate.cjs +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/download.cjs +1 -0
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/echart.cjs +1 -1
- package/dist/cjs/hooks/image.cjs +1 -0
- package/dist/cjs/hooks/level.cjs +1 -0
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/copy.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/input.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/hooks/table.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/main.cjs +1 -1
- package/dist/cjs/pages/authLayout.cjs +1 -1
- package/dist/cjs/pages/layout/global.cjs +1 -1
- package/dist/cjs/pages/layout/page.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/cmd.cjs +1 -1
- package/dist/cjs/pages/menu/main.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/page.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/static/images/icon/audio.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/excel.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/file.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/folder.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/pdf.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/ppt.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/video.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/word.svg.cjs +1 -0
- package/dist/cjs/stores/ui.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +108 -12
- package/dist/esm/component.js +64 -47
- package/dist/esm/components/card/card.js +22 -21
- package/dist/esm/components/card/store.js +64 -0
- package/dist/esm/components/chart/echart.js +29 -16
- package/dist/esm/components/crop/imageCrop.js +105 -0
- package/dist/esm/components/crop/imageCropModal.js +118 -0
- package/dist/esm/components/dashboard/helloBig.js +3 -2
- package/dist/esm/components/data/dynamicData.js +145 -0
- package/dist/esm/components/data/dynamicSelect.js +109 -0
- package/dist/esm/components/data/selectModal.js +135 -0
- package/dist/esm/components/dialog/dialog.js +50 -38
- package/dist/esm/components/drawer/drawer.js +14 -12
- package/dist/esm/components/editor/aiEditor.js +129 -0
- package/dist/esm/components/form/modalForm.js +66 -40
- package/dist/esm/components/form/pageForm.js +31 -21
- package/dist/esm/components/form/settingForm.js +31 -21
- package/dist/esm/components/layout/list.js +67 -57
- package/dist/esm/components/layout/table.js +59 -49
- package/dist/esm/components/level/level.js +103 -0
- package/dist/esm/components/media/media.js +18 -16
- package/dist/esm/components/modal/modal.js +27 -21
- package/dist/esm/components/modal/modalPage.js +7 -7
- package/dist/esm/components/panel/setting.js +9 -6
- package/dist/esm/components/stats/number.js +49 -0
- package/dist/esm/components/stats/realTime.js +99 -0
- package/dist/esm/components/status/blockEmpty.js +136 -57
- package/dist/esm/components/upload/file.js +258 -0
- package/dist/esm/components/upload/image.js +189 -0
- package/dist/esm/components/upload/manage/item.js +178 -0
- package/dist/esm/components/upload/manager.js +378 -0
- package/dist/esm/components/widget/avatar.js +59 -0
- package/dist/esm/components/widget/connect.js +6 -4
- package/dist/esm/components/widget/image.js +67 -0
- package/dist/esm/components/widget/placeholder.js +83 -0
- package/dist/esm/config/uno.js +6 -6
- package/dist/esm/config/validate.js +2 -2
- package/dist/esm/hooks/action.js +34 -34
- package/dist/esm/hooks/dialog.js +13 -3
- package/dist/esm/hooks/download.js +100 -0
- package/dist/esm/hooks/drawer.js +13 -3
- package/dist/esm/hooks/echart.js +292 -246
- package/dist/esm/hooks/image.js +23 -0
- package/dist/esm/hooks/level.js +75 -0
- package/dist/esm/hooks/modal.js +14 -4
- package/dist/esm/hooks/table/copy.js +14 -11
- package/dist/esm/hooks/table/image.js +55 -17
- package/dist/esm/hooks/table/input.js +35 -33
- package/dist/esm/hooks/table/media.js +17 -7
- package/dist/esm/hooks/table.js +41 -25
- package/dist/esm/index.js +198 -160
- package/dist/esm/langs/en-US.json.js +6 -4
- package/dist/esm/langs/zh-CN.json.js +5 -3
- package/dist/esm/main.js +8 -6
- package/dist/esm/pages/authLayout.js +24 -18
- package/dist/esm/pages/layout/global.js +29 -23
- package/dist/esm/pages/layout/page.js +26 -16
- package/dist/esm/pages/login.js +33 -23
- package/dist/esm/pages/menu/avatar.js +122 -93
- package/dist/esm/pages/menu/button.js +23 -13
- package/dist/esm/pages/menu/cmd.js +41 -31
- package/dist/esm/pages/menu/main.js +38 -28
- package/dist/esm/pages/menu/mobile.js +20 -10
- package/dist/esm/pages/page.js +21 -14
- package/dist/esm/pages/page404.js +15 -5
- package/dist/esm/pages/pageStatus.js +22 -12
- package/dist/esm/static/images/icon/audio.svg.js +4 -0
- package/dist/esm/static/images/icon/excel.svg.js +4 -0
- package/dist/esm/static/images/icon/file.svg.js +4 -0
- package/dist/esm/static/images/icon/folder.svg.js +4 -0
- package/dist/esm/static/images/icon/pdf.svg.js +4 -0
- package/dist/esm/static/images/icon/ppt.svg.js +4 -0
- package/dist/esm/static/images/icon/video.svg.js +4 -0
- package/dist/esm/static/images/icon/word.svg.js +4 -0
- package/dist/esm/stores/ui.js +10 -10
- package/dist/esm/theme/uno.css.js +108 -12
- package/dist/types/components/card/index.d.ts +1 -0
- package/dist/types/components/card/store.d.ts +16 -0
- package/dist/types/components/chart/echart.d.ts +2 -2
- package/dist/types/components/crop/imageCrop.d.ts +40 -0
- package/dist/types/components/crop/imageCropModal.d.ts +7 -0
- package/dist/types/components/crop/index.d.ts +2 -0
- package/dist/types/components/data/dynamicData.d.ts +56 -0
- package/dist/types/components/data/dynamicSelect.d.ts +49 -0
- package/dist/types/components/data/index.d.ts +3 -0
- package/dist/types/components/data/selectModal.d.ts +61 -0
- package/dist/types/components/dialog/dialog.d.ts +2 -0
- package/dist/types/components/editor/aiEditor.d.ts +26 -0
- package/dist/types/components/editor/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/components/level/index.d.ts +1 -0
- package/dist/types/components/level/level.d.ts +60 -0
- package/dist/types/components/modal/index.d.ts +2 -2
- package/dist/types/components/modal/modal.d.ts +1 -4
- package/dist/types/components/stats/index.d.ts +2 -0
- package/dist/types/components/stats/number.d.ts +50 -0
- package/dist/types/components/stats/realTime.d.ts +56 -0
- package/dist/types/components/upload/file.d.ts +9 -0
- package/dist/types/components/upload/image.d.ts +99 -0
- package/dist/types/components/upload/index.d.ts +4 -0
- package/dist/types/components/upload/manage/item.d.ts +22 -0
- package/dist/types/components/upload/manager.d.ts +37 -0
- package/dist/types/components/widget/avatar.d.ts +159 -0
- package/dist/types/components/widget/image.d.ts +257 -0
- package/dist/types/components/widget/index.d.ts +2 -0
- package/dist/types/components/widget/placeholder.d.ts +22 -0
- package/dist/types/hooks/dialog.d.ts +1 -0
- package/dist/types/hooks/download.d.ts +31 -0
- package/dist/types/hooks/echart.d.ts +14 -0
- package/dist/types/hooks/image.d.ts +3 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/level.d.ts +19 -0
- package/dist/types/main.d.ts +12 -0
- package/dist/types/static/images/icon/index.d.ts +8 -0
- package/package.json +9 -3
- package/dist/cjs/_virtual/_commonjsHelpers.cjs +0 -1
- package/dist/cjs/_virtual/browser.cjs +0 -1
- package/dist/cjs/_virtual/browser2.cjs +0 -1
- package/dist/cjs/_virtual/sourcemap-codec.umd.cjs +0 -1
- package/dist/cjs/_virtual/sourcemap-codec.umd2.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.cjs +0 -391
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.cjs +0 -10
- package/dist/cjs/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.cjs +0 -1
- package/dist/cjs/static/images/placeholder.png.cjs +0 -1
- package/dist/esm/_virtual/_commonjsHelpers.js +0 -6
- package/dist/esm/_virtual/browser.js +0 -7
- package/dist/esm/_virtual/browser2.js +0 -4
- package/dist/esm/_virtual/sourcemap-codec.umd.js +0 -5
- package/dist/esm/_virtual/sourcemap-codec.umd2.js +0 -4
- package/dist/esm/node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.js +0 -17
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -14
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +0 -11
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +0 -9
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -23
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -17
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.js +0 -40
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js +0 -46
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.js +0 -55
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.js +0 -38
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +0 -69
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +0 -29
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -14
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +0 -27
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.js +0 -6
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.js +0 -6
- package/dist/esm/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -255
- package/dist/esm/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js +0 -88
- package/dist/esm/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.js +0 -51
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.js +0 -17
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.js +0 -151
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.js +0 -8
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.js +0 -322
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.js +0 -547
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.js +0 -32
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.js +0 -2307
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.js +0 -627
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.js +0 -7
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.js +0 -588
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.js +0 -51
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.js +0 -553
- package/dist/esm/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js +0 -632
- package/dist/esm/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.js +0 -9
- package/dist/esm/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js +0 -9
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js +0 -146
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js +0 -97
- package/dist/esm/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.js +0 -56
- package/dist/esm/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js +0 -608
- package/dist/esm/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js +0 -85
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.js +0 -23
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.js +0 -219
- package/dist/esm/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.js +0 -153
- package/dist/esm/static/images/placeholder.png.js +0 -4
|
@@ -1,627 +0,0 @@
|
|
|
1
|
-
import { symbols as d, toArray as w, escapeSelector as W } from "../../../../../../@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js";
|
|
2
|
-
import { createValueHandler as B, getStringComponents as E, isInterpolatedMethod as C, parseCssColor as v, colorToString as S } from "../../../../../../@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js";
|
|
3
|
-
const xt = "@unocss/preset-wind4", Ot = "$$mini-no-negative", j = {
|
|
4
|
-
transparent: "transparent",
|
|
5
|
-
current: "currentColor",
|
|
6
|
-
inherit: "inherit"
|
|
7
|
-
}, y = {
|
|
8
|
-
l: ["-left"],
|
|
9
|
-
r: ["-right"],
|
|
10
|
-
t: ["-top"],
|
|
11
|
-
b: ["-bottom"],
|
|
12
|
-
s: ["-inline-start"],
|
|
13
|
-
e: ["-inline-end"],
|
|
14
|
-
// 'x': ['-left', '-right'],
|
|
15
|
-
// 'y': ['-top', '-bottom'],
|
|
16
|
-
x: ["-inline"],
|
|
17
|
-
y: ["-block"],
|
|
18
|
-
"": [""],
|
|
19
|
-
bs: ["-block-start"],
|
|
20
|
-
be: ["-block-end"],
|
|
21
|
-
is: ["-inline-start"],
|
|
22
|
-
ie: ["-inline-end"],
|
|
23
|
-
block: ["-block-start", "-block-end"],
|
|
24
|
-
inline: ["-inline-start", "-inline-end"]
|
|
25
|
-
}, wt = {
|
|
26
|
-
...y,
|
|
27
|
-
x: ["-inset-inline"],
|
|
28
|
-
y: ["-inset-block"],
|
|
29
|
-
s: ["-inset-inline-start"],
|
|
30
|
-
start: ["-inset-inline-start"],
|
|
31
|
-
e: ["-inset-inline-end"],
|
|
32
|
-
end: ["-inset-inline-end"],
|
|
33
|
-
bs: ["-inset-block-start"],
|
|
34
|
-
be: ["-inset-block-end"],
|
|
35
|
-
is: ["-inset-inline-start"],
|
|
36
|
-
ie: ["-inset-inline-end"],
|
|
37
|
-
block: ["-inset-block-start", "-inset-block-end"],
|
|
38
|
-
inline: ["-inset-inline-start", "-inset-inline-end"]
|
|
39
|
-
}, Ct = {
|
|
40
|
-
l: ["-top-left", "-bottom-left"],
|
|
41
|
-
r: ["-top-right", "-bottom-right"],
|
|
42
|
-
t: ["-top-left", "-top-right"],
|
|
43
|
-
b: ["-bottom-left", "-bottom-right"],
|
|
44
|
-
tl: ["-top-left"],
|
|
45
|
-
lt: ["-top-left"],
|
|
46
|
-
tr: ["-top-right"],
|
|
47
|
-
rt: ["-top-right"],
|
|
48
|
-
bl: ["-bottom-left"],
|
|
49
|
-
lb: ["-bottom-left"],
|
|
50
|
-
br: ["-bottom-right"],
|
|
51
|
-
rb: ["-bottom-right"],
|
|
52
|
-
"": [""],
|
|
53
|
-
bs: ["-start-start", "-start-end"],
|
|
54
|
-
be: ["-end-start", "-end-end"],
|
|
55
|
-
s: ["-end-start", "-start-start"],
|
|
56
|
-
is: ["-end-start", "-start-start"],
|
|
57
|
-
e: ["-start-end", "-end-end"],
|
|
58
|
-
ie: ["-start-end", "-end-end"],
|
|
59
|
-
ss: ["-start-start"],
|
|
60
|
-
"bs-is": ["-start-start"],
|
|
61
|
-
"is-bs": ["-start-start"],
|
|
62
|
-
se: ["-start-end"],
|
|
63
|
-
"bs-ie": ["-start-end"],
|
|
64
|
-
"ie-bs": ["-start-end"],
|
|
65
|
-
es: ["-end-start"],
|
|
66
|
-
"be-is": ["-end-start"],
|
|
67
|
-
"is-be": ["-end-start"],
|
|
68
|
-
ee: ["-end-end"],
|
|
69
|
-
"be-ie": ["-end-end"],
|
|
70
|
-
"ie-be": ["-end-end"]
|
|
71
|
-
}, St = {
|
|
72
|
-
x: ["-x"],
|
|
73
|
-
y: ["-y"],
|
|
74
|
-
z: ["-z"],
|
|
75
|
-
"": ["-x", "-y"]
|
|
76
|
-
}, Ft = ["x", "y", "z"], F = [
|
|
77
|
-
"top",
|
|
78
|
-
"top center",
|
|
79
|
-
"top left",
|
|
80
|
-
"top right",
|
|
81
|
-
"bottom",
|
|
82
|
-
"bottom center",
|
|
83
|
-
"bottom left",
|
|
84
|
-
"bottom right",
|
|
85
|
-
"left",
|
|
86
|
-
"left center",
|
|
87
|
-
"left top",
|
|
88
|
-
"left bottom",
|
|
89
|
-
"right",
|
|
90
|
-
"right center",
|
|
91
|
-
"right top",
|
|
92
|
-
"right bottom",
|
|
93
|
-
"center",
|
|
94
|
-
"center top",
|
|
95
|
-
"center bottom",
|
|
96
|
-
"center left",
|
|
97
|
-
"center right",
|
|
98
|
-
"center center"
|
|
99
|
-
], Mt = Object.assign(
|
|
100
|
-
{},
|
|
101
|
-
...F.map((t) => ({ [t.replace(/ /, "-")]: t })),
|
|
102
|
-
...F.map((t) => ({ [t.replace(/\b(\w)\w+/g, "$1").replace(/ /, "")]: t }))
|
|
103
|
-
), A = [
|
|
104
|
-
"inherit",
|
|
105
|
-
"initial",
|
|
106
|
-
"revert",
|
|
107
|
-
"revert-layer",
|
|
108
|
-
"unset"
|
|
109
|
-
], L = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/, G = /^(var)\s*\((.+)\)(.*)/, k = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i, K = /^(-?\d*(?:\.\d+)?)$/, V = /^(px|[sld]?v[wh])$/i, R = {
|
|
110
|
-
px: 1,
|
|
111
|
-
vw: 100,
|
|
112
|
-
vh: 100,
|
|
113
|
-
svw: 100,
|
|
114
|
-
svh: 100,
|
|
115
|
-
dvw: 100,
|
|
116
|
-
dvh: 100,
|
|
117
|
-
lvh: 100,
|
|
118
|
-
lvw: 100
|
|
119
|
-
}, U = /^\[(color|image|length|size|position|quoted|string|number|family):/i, Tt = /,(?![^()]*\))/g, q = [
|
|
120
|
-
// basic props
|
|
121
|
-
"color",
|
|
122
|
-
"border-color",
|
|
123
|
-
"background-color",
|
|
124
|
-
"outline-color",
|
|
125
|
-
"text-decoration-color",
|
|
126
|
-
"flex-grow",
|
|
127
|
-
"flex",
|
|
128
|
-
"flex-shrink",
|
|
129
|
-
"caret-color",
|
|
130
|
-
"font",
|
|
131
|
-
"gap",
|
|
132
|
-
"opacity",
|
|
133
|
-
"visibility",
|
|
134
|
-
"z-index",
|
|
135
|
-
"font-weight",
|
|
136
|
-
"zoom",
|
|
137
|
-
"text-shadow",
|
|
138
|
-
"transform",
|
|
139
|
-
"box-shadow",
|
|
140
|
-
"border",
|
|
141
|
-
// positions
|
|
142
|
-
"background-position",
|
|
143
|
-
"left",
|
|
144
|
-
"right",
|
|
145
|
-
"top",
|
|
146
|
-
"bottom",
|
|
147
|
-
"object-position",
|
|
148
|
-
// sizes
|
|
149
|
-
"max-height",
|
|
150
|
-
"min-height",
|
|
151
|
-
"max-width",
|
|
152
|
-
"min-width",
|
|
153
|
-
"height",
|
|
154
|
-
"width",
|
|
155
|
-
"border-width",
|
|
156
|
-
"margin",
|
|
157
|
-
"padding",
|
|
158
|
-
"outline-width",
|
|
159
|
-
"outline-offset",
|
|
160
|
-
"font-size",
|
|
161
|
-
"line-height",
|
|
162
|
-
"text-indent",
|
|
163
|
-
"vertical-align",
|
|
164
|
-
"border-spacing",
|
|
165
|
-
"letter-spacing",
|
|
166
|
-
"word-spacing",
|
|
167
|
-
// enhances
|
|
168
|
-
"stroke",
|
|
169
|
-
"filter",
|
|
170
|
-
"backdrop-filter",
|
|
171
|
-
"fill",
|
|
172
|
-
"mask",
|
|
173
|
-
"mask-size",
|
|
174
|
-
"mask-border",
|
|
175
|
-
"clip-path",
|
|
176
|
-
"clip",
|
|
177
|
-
"border-radius"
|
|
178
|
-
];
|
|
179
|
-
function p(t) {
|
|
180
|
-
return +t.toFixed(10);
|
|
181
|
-
}
|
|
182
|
-
function H(t) {
|
|
183
|
-
const n = t.match(k);
|
|
184
|
-
if (!n)
|
|
185
|
-
return;
|
|
186
|
-
const [, i, r] = n, e = Number.parseFloat(i);
|
|
187
|
-
if (r && !Number.isNaN(e))
|
|
188
|
-
return `${p(e)}${r}`;
|
|
189
|
-
}
|
|
190
|
-
function J(t) {
|
|
191
|
-
if (t === "auto" || t === "a")
|
|
192
|
-
return "auto";
|
|
193
|
-
}
|
|
194
|
-
function Z(t) {
|
|
195
|
-
if (!t)
|
|
196
|
-
return;
|
|
197
|
-
if (V.test(t))
|
|
198
|
-
return `${R[t]}${t}`;
|
|
199
|
-
const n = t.match(k);
|
|
200
|
-
if (!n)
|
|
201
|
-
return;
|
|
202
|
-
const [, i, r] = n, e = Number.parseFloat(i);
|
|
203
|
-
if (!Number.isNaN(e))
|
|
204
|
-
return e === 0 ? "0" : r ? `${p(e)}${r}` : `${p(e / 4)}rem`;
|
|
205
|
-
}
|
|
206
|
-
function Q(t) {
|
|
207
|
-
if (V.test(t))
|
|
208
|
-
return `${R[t]}${t}`;
|
|
209
|
-
const n = t.match(k);
|
|
210
|
-
if (!n)
|
|
211
|
-
return;
|
|
212
|
-
const [, i, r] = n, e = Number.parseFloat(i);
|
|
213
|
-
if (!Number.isNaN(e))
|
|
214
|
-
return r ? `${p(e)}${r}` : `${p(e)}px`;
|
|
215
|
-
}
|
|
216
|
-
function D(t) {
|
|
217
|
-
if (!K.test(t))
|
|
218
|
-
return;
|
|
219
|
-
const n = Number.parseFloat(t);
|
|
220
|
-
if (!Number.isNaN(n))
|
|
221
|
-
return p(n);
|
|
222
|
-
}
|
|
223
|
-
function X(t) {
|
|
224
|
-
t.endsWith("%") && (t = t.slice(0, -1));
|
|
225
|
-
const n = D(t);
|
|
226
|
-
if (n != null)
|
|
227
|
-
return `${n}%`;
|
|
228
|
-
}
|
|
229
|
-
function Y(t) {
|
|
230
|
-
if (!t)
|
|
231
|
-
return;
|
|
232
|
-
if (t === "full")
|
|
233
|
-
return "100%";
|
|
234
|
-
const [n, i] = t.split("/"), r = Number.parseFloat(n) / Number.parseFloat(i);
|
|
235
|
-
if (!Number.isNaN(r))
|
|
236
|
-
return r === 0 ? "0" : `${p(r * 100)}%`;
|
|
237
|
-
}
|
|
238
|
-
function h(t, n) {
|
|
239
|
-
if (t && t.startsWith("[") && t.endsWith("]")) {
|
|
240
|
-
let i, r;
|
|
241
|
-
const e = t.match(U);
|
|
242
|
-
if (!e)
|
|
243
|
-
i = t.slice(1, -1);
|
|
244
|
-
else {
|
|
245
|
-
if (!n)
|
|
246
|
-
r = e[1];
|
|
247
|
-
else if (e[1] !== n)
|
|
248
|
-
return;
|
|
249
|
-
i = t.slice(e[0].length, -1);
|
|
250
|
-
}
|
|
251
|
-
if (!i || i === '=""')
|
|
252
|
-
return;
|
|
253
|
-
if (i.startsWith("--")) {
|
|
254
|
-
const [a, s] = i.slice(2).split(",");
|
|
255
|
-
i = `var(--${W(a)}${s ? `, ${s}` : ""})`;
|
|
256
|
-
}
|
|
257
|
-
let o = 0;
|
|
258
|
-
for (const a of i)
|
|
259
|
-
if (a === "[")
|
|
260
|
-
o += 1;
|
|
261
|
-
else if (a === "]" && (o -= 1, o < 0))
|
|
262
|
-
return;
|
|
263
|
-
if (o)
|
|
264
|
-
return;
|
|
265
|
-
switch (r) {
|
|
266
|
-
case "string":
|
|
267
|
-
return i.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_");
|
|
268
|
-
case "quoted":
|
|
269
|
-
return i.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(["\\])/g, "\\$1").replace(/^(.+)$/, '"$1"');
|
|
270
|
-
}
|
|
271
|
-
return i.replace(/(url\(.*?\))/g, (a) => a.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (a) => {
|
|
272
|
-
const s = [];
|
|
273
|
-
return a.replace(/var\((--.+?)[,)]/g, (c, l) => (s.push(l), c.replace(l, "--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => s.shift());
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
function tt(t) {
|
|
278
|
-
return h(t);
|
|
279
|
-
}
|
|
280
|
-
function et(t) {
|
|
281
|
-
return h(t, "color");
|
|
282
|
-
}
|
|
283
|
-
function nt(t) {
|
|
284
|
-
return h(t, "length") || h(t, "size");
|
|
285
|
-
}
|
|
286
|
-
function rt(t) {
|
|
287
|
-
return h(t, "position");
|
|
288
|
-
}
|
|
289
|
-
function it(t) {
|
|
290
|
-
return h(t, "family");
|
|
291
|
-
}
|
|
292
|
-
function ot(t) {
|
|
293
|
-
return h(t, "number");
|
|
294
|
-
}
|
|
295
|
-
function st(t) {
|
|
296
|
-
if (t.startsWith("var("))
|
|
297
|
-
return t;
|
|
298
|
-
const n = t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);
|
|
299
|
-
if (n) {
|
|
300
|
-
const [i, r] = n[1].split(",");
|
|
301
|
-
return `var(--${W(i)}${r ? `, ${r}` : ""})`;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
function at(t) {
|
|
305
|
-
const n = t.match(/^(-?[0-9.]+)(s|ms)?$/i);
|
|
306
|
-
if (!n)
|
|
307
|
-
return;
|
|
308
|
-
const [, i, r] = n, e = Number.parseFloat(i);
|
|
309
|
-
if (!Number.isNaN(e))
|
|
310
|
-
return e === 0 && !r ? "0s" : r ? `${p(e)}${r}` : `${p(e)}ms`;
|
|
311
|
-
}
|
|
312
|
-
function ct(t) {
|
|
313
|
-
const n = t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);
|
|
314
|
-
if (!n)
|
|
315
|
-
return;
|
|
316
|
-
const [, i, r] = n, e = Number.parseFloat(i);
|
|
317
|
-
if (!Number.isNaN(e))
|
|
318
|
-
return e === 0 ? "0" : r ? `${p(e)}${r}` : `${p(e)}deg`;
|
|
319
|
-
}
|
|
320
|
-
function lt(t) {
|
|
321
|
-
if (A.includes(t))
|
|
322
|
-
return t;
|
|
323
|
-
}
|
|
324
|
-
function ut(t) {
|
|
325
|
-
if (t.split(",").every((n) => q.includes(n)))
|
|
326
|
-
return t;
|
|
327
|
-
}
|
|
328
|
-
function ft(t) {
|
|
329
|
-
if (["top", "left", "right", "bottom", "center"].includes(t))
|
|
330
|
-
return t;
|
|
331
|
-
}
|
|
332
|
-
function pt(t) {
|
|
333
|
-
if (t === "none")
|
|
334
|
-
return "none";
|
|
335
|
-
}
|
|
336
|
-
const mt = {
|
|
337
|
-
__proto__: null,
|
|
338
|
-
auto: J,
|
|
339
|
-
bracket: tt,
|
|
340
|
-
bracketOfColor: et,
|
|
341
|
-
bracketOfFamily: it,
|
|
342
|
-
bracketOfLength: nt,
|
|
343
|
-
bracketOfNumber: ot,
|
|
344
|
-
bracketOfPosition: rt,
|
|
345
|
-
cssvar: st,
|
|
346
|
-
degree: ct,
|
|
347
|
-
fraction: Y,
|
|
348
|
-
global: lt,
|
|
349
|
-
none: pt,
|
|
350
|
-
number: D,
|
|
351
|
-
numberWithUnit: H,
|
|
352
|
-
percent: X,
|
|
353
|
-
position: ft,
|
|
354
|
-
properties: ut,
|
|
355
|
-
px: Q,
|
|
356
|
-
rem: Z,
|
|
357
|
-
time: at
|
|
358
|
-
}, bt = B(mt), b = bt;
|
|
359
|
-
function ht(t, n) {
|
|
360
|
-
const i = b.number(t) ?? n;
|
|
361
|
-
if (i != null) {
|
|
362
|
-
let r = Number(i);
|
|
363
|
-
return String(i).endsWith("%") && (r = Number(String(i).slice(0, -1)) / 100), r;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
function _t(t) {
|
|
367
|
-
function n(r) {
|
|
368
|
-
const e = r.match(k);
|
|
369
|
-
if (e) {
|
|
370
|
-
const [, o, a] = e, s = Number.parseFloat(o);
|
|
371
|
-
if (!Number.isNaN(s))
|
|
372
|
-
return [s, a];
|
|
373
|
-
}
|
|
374
|
-
return [void 0, void 0];
|
|
375
|
-
}
|
|
376
|
-
function i(r) {
|
|
377
|
-
var a;
|
|
378
|
-
let e, o;
|
|
379
|
-
if ((a = r.spacing) != null && a.DEFAULT) {
|
|
380
|
-
const [s, c] = n(r.spacing.DEFAULT);
|
|
381
|
-
s != null && c != null && (e = s, o = c);
|
|
382
|
-
}
|
|
383
|
-
return Object.entries(r.spacing ?? {}).reduce((s, [c, l]) => {
|
|
384
|
-
const [u, m] = n(l);
|
|
385
|
-
return u != null && m != null && m === o ? s[c] = u / e : s[c] = l, s;
|
|
386
|
-
}, {});
|
|
387
|
-
}
|
|
388
|
-
return ([r, e, o], { theme: a }) => {
|
|
389
|
-
if (o != null && e != null) {
|
|
390
|
-
const s = i(a);
|
|
391
|
-
let c;
|
|
392
|
-
const l = o.startsWith("-");
|
|
393
|
-
if (l && (o = o.slice(1)), c = ht(o, s[o]), c != null)
|
|
394
|
-
return Number.isNaN(c) ? (x("spacing", o), y[e].map((u) => [`${t}${u}`, l ? `calc(var(--spacing-${o} * -1)` : `var(--spacing-${o})`])) : (x("spacing"), y[e].map((u) => [`${t}${u}`, `calc(var(--spacing) * ${l ? "-" : ""}${c})`]));
|
|
395
|
-
if (c = b.bracket.cssvar.global.auto.fraction.rem(l ? `-${o}` : o), c != null)
|
|
396
|
-
return y[e].map((u) => [`${t}${u}`, c]);
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
function z(t, n) {
|
|
401
|
-
let i;
|
|
402
|
-
const [r, ...e] = E(t, ["/", ":"], 3) ?? [];
|
|
403
|
-
if (r != null) {
|
|
404
|
-
const g = (r.match(U) ?? [])[1];
|
|
405
|
-
(g == null || g === "color") && (i = [r, ...e]);
|
|
406
|
-
}
|
|
407
|
-
if (!i)
|
|
408
|
-
return;
|
|
409
|
-
let o, [a, s, c] = i;
|
|
410
|
-
C(s) || C(b.bracket(s ?? "")) ? c = s : o = s;
|
|
411
|
-
const l = a.replace(/([a-z])(\d)/g, "$1-$2").split(/-/g), [u] = l;
|
|
412
|
-
if (!u)
|
|
413
|
-
return;
|
|
414
|
-
let { no: m, keys: N, color: f } = dt(n, l) ?? {};
|
|
415
|
-
if (!f) {
|
|
416
|
-
const g = b.bracketOfColor(a), $ = g || a;
|
|
417
|
-
if (b.numberWithUnit($))
|
|
418
|
-
return;
|
|
419
|
-
/^#[\da-f]+$/i.test($) ? f = $ : /^hex-[\da-fA-F]+$/.test($) ? f = `#${$.slice(4)}` : a.startsWith("$") && (f = b.cssvar(a)), f = f || g;
|
|
420
|
-
}
|
|
421
|
-
return {
|
|
422
|
-
opacity: o,
|
|
423
|
-
modifier: c && b.bracket.cssvar(c) || c,
|
|
424
|
-
name: u,
|
|
425
|
-
no: m,
|
|
426
|
-
color: f ?? j[u],
|
|
427
|
-
alpha: b.bracket.cssvar.percent(o ?? ""),
|
|
428
|
-
/**
|
|
429
|
-
* Keys means the color is from theme object.
|
|
430
|
-
*/
|
|
431
|
-
keys: N,
|
|
432
|
-
get cssColor() {
|
|
433
|
-
return v(this.color);
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
function dt(t, n) {
|
|
438
|
-
let i, r, e;
|
|
439
|
-
const o = P(t, "colors", n);
|
|
440
|
-
if (typeof o == "object" ? "DEFAULT" in o && (i = o.DEFAULT, r = "DEFAULT", e = [...n, r]) : typeof o == "string" && (i = o, e = n, r = n.at(-1)), !!i)
|
|
441
|
-
return {
|
|
442
|
-
color: i,
|
|
443
|
-
no: r,
|
|
444
|
-
keys: e
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
function P(t, n, i) {
|
|
448
|
-
const r = t[n];
|
|
449
|
-
function e(o, a) {
|
|
450
|
-
if (!(!o || typeof o != "object")) {
|
|
451
|
-
if (a.length === 0)
|
|
452
|
-
return o;
|
|
453
|
-
for (let s = a.length; s > 0; s--) {
|
|
454
|
-
const c = a.slice(0, s).join("-");
|
|
455
|
-
if (c in o) {
|
|
456
|
-
const l = o[c];
|
|
457
|
-
return s === a.length ? l : e(l, a.slice(s));
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
return e(r, i);
|
|
463
|
-
}
|
|
464
|
-
function gt(t, n, i, r) {
|
|
465
|
-
if (!t)
|
|
466
|
-
return;
|
|
467
|
-
const { color: e, keys: o, alpha: a, modifier: s } = t, c = (r == null ? void 0 : r.generator.config.envMode) === "dev" && e ? ` /* ${e} */` : "", l = {};
|
|
468
|
-
if (e) {
|
|
469
|
-
const u = [l];
|
|
470
|
-
if (Object.values(j).includes(e))
|
|
471
|
-
l[n] = e;
|
|
472
|
-
else {
|
|
473
|
-
const m = `--un-${i}-opacity`, N = o ? vt("colors", o) : e;
|
|
474
|
-
let f = s ?? (o ? "in srgb" : "in oklab");
|
|
475
|
-
!f.startsWith("in ") && !f.startsWith("var(") && (f = `in ${f}`), l[n] = `color-mix(${f}, ${N} ${a ?? `var(${m})`}, transparent)${c}`, u.push($t(m, { syntax: "<percentage>", initialValue: "100%" })), o && (x("colors", o), s || u.push({
|
|
476
|
-
[d.parent]: "@supports (color: color-mix(in lab, red, red))",
|
|
477
|
-
[d.noMerge]: !0,
|
|
478
|
-
[d.shortcutsNoMerge]: !0,
|
|
479
|
-
[n]: `color-mix(in oklab, ${N} ${a ?? `var(${m})`}, transparent)${c}`
|
|
480
|
-
})), r != null && r.theme && I(e, r.theme);
|
|
481
|
-
}
|
|
482
|
-
return u;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
function Wt(t, n) {
|
|
486
|
-
return ([, i], r) => {
|
|
487
|
-
const e = z(i ?? "", r.theme);
|
|
488
|
-
if (e)
|
|
489
|
-
return gt(e, t, n, r);
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
function Et(t, n) {
|
|
493
|
-
const i = [];
|
|
494
|
-
t = w(t);
|
|
495
|
-
for (let r = 0; r < t.length; r++) {
|
|
496
|
-
const e = E(t[r], " ", 6);
|
|
497
|
-
if (!e || e.length < 3)
|
|
498
|
-
return t;
|
|
499
|
-
let o = !1;
|
|
500
|
-
const a = e.indexOf("inset");
|
|
501
|
-
a !== -1 && (e.splice(a, 1), o = !0);
|
|
502
|
-
let s = "";
|
|
503
|
-
const c = e.at(-1);
|
|
504
|
-
if (v(e.at(0))) {
|
|
505
|
-
const l = v(e.shift());
|
|
506
|
-
l && (s = `, ${S(l)}`);
|
|
507
|
-
} else if (v(c)) {
|
|
508
|
-
const l = v(e.pop());
|
|
509
|
-
l && (s = `, ${S(l)}`);
|
|
510
|
-
} else c && G.test(c) && (s = `, ${e.pop()}`);
|
|
511
|
-
i.push(`${o ? "inset " : ""}${e.join(" ")} var(${n}${s})`);
|
|
512
|
-
}
|
|
513
|
-
return i;
|
|
514
|
-
}
|
|
515
|
-
function jt(t, n) {
|
|
516
|
-
var i;
|
|
517
|
-
return t != null && !!((i = z(t, n)) != null && i.color);
|
|
518
|
-
}
|
|
519
|
-
const M = /[a-z]+/gi, O = /* @__PURE__ */ new WeakMap();
|
|
520
|
-
function At({ theme: t, generator: n }, i = "breakpoint") {
|
|
521
|
-
var o, a;
|
|
522
|
-
const r = ((a = (o = n == null ? void 0 : n.userConfig) == null ? void 0 : o.theme) == null ? void 0 : a[i]) || t[i];
|
|
523
|
-
if (!r)
|
|
524
|
-
return;
|
|
525
|
-
if (O.has(t))
|
|
526
|
-
return O.get(t);
|
|
527
|
-
const e = Object.entries(r).sort((s, c) => Number.parseInt(s[1].replace(M, "")) - Number.parseInt(c[1].replace(M, ""))).map(([s, c]) => ({ point: s, size: c }));
|
|
528
|
-
return O.set(t, e), e;
|
|
529
|
-
}
|
|
530
|
-
function Lt(t, n) {
|
|
531
|
-
return A.map((i) => [`${t}-${i}`, { [n ?? t]: i }]);
|
|
532
|
-
}
|
|
533
|
-
function $t(t, n = {}) {
|
|
534
|
-
const {
|
|
535
|
-
syntax: i = "*",
|
|
536
|
-
inherits: r = !1,
|
|
537
|
-
initialValue: e
|
|
538
|
-
} = n, o = {
|
|
539
|
-
[d.shortcutsNoMerge]: !0,
|
|
540
|
-
[d.noMerge]: !0,
|
|
541
|
-
[d.variants]: () => [
|
|
542
|
-
{
|
|
543
|
-
parent: "",
|
|
544
|
-
layer: "properties",
|
|
545
|
-
selector: () => `@property ${t}`
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
syntax: JSON.stringify(i),
|
|
549
|
-
inherits: r ? "true" : "false"
|
|
550
|
-
};
|
|
551
|
-
return e != null && (o["initial-value"] = e, kt(t, String(e))), o;
|
|
552
|
-
}
|
|
553
|
-
function Vt(t) {
|
|
554
|
-
return t != null && L.test(t);
|
|
555
|
-
}
|
|
556
|
-
function Rt(t) {
|
|
557
|
-
return t[0] === "[" && t.slice(-1) === "]" && (t = t.slice(1, -1)), L.test(t) || k.test(t);
|
|
558
|
-
}
|
|
559
|
-
function Ut(t) {
|
|
560
|
-
return t.replace(/(?:^|\B)([A-Z])/g, "-$1").toLowerCase();
|
|
561
|
-
}
|
|
562
|
-
function Dt(t, n = !1) {
|
|
563
|
-
return n ? t.trim() : t.trim().replace(/\s+/g, " ").replace(/\/\*[\s\S]*?\*\//g, "");
|
|
564
|
-
}
|
|
565
|
-
const T = /* @__PURE__ */ new Set([]);
|
|
566
|
-
function x(t, n = "DEFAULT") {
|
|
567
|
-
const i = `${t}:${w(n).join("-")}`;
|
|
568
|
-
T.has(i) || T.add(i);
|
|
569
|
-
}
|
|
570
|
-
function vt(t, n) {
|
|
571
|
-
return `var(--${t}-${w(n).join("-")})`;
|
|
572
|
-
}
|
|
573
|
-
function I(t, n) {
|
|
574
|
-
var i;
|
|
575
|
-
if (t.startsWith("var(")) {
|
|
576
|
-
const r = (i = t.match(/var\(--([\w-]+)(?:,.*)?\)/)) == null ? void 0 : i[1];
|
|
577
|
-
if (r) {
|
|
578
|
-
const [e, ...o] = r.split("-"), a = P(n, e, o);
|
|
579
|
-
typeof a == "string" && (x(e, o), I(a, n));
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
const _ = /* @__PURE__ */ new Map();
|
|
584
|
-
function kt(t, n) {
|
|
585
|
-
_.has(t) || _.set(t, n);
|
|
586
|
-
}
|
|
587
|
-
export {
|
|
588
|
-
gt as A,
|
|
589
|
-
Wt as B,
|
|
590
|
-
Ot as C,
|
|
591
|
-
Et as D,
|
|
592
|
-
jt as E,
|
|
593
|
-
Lt as G,
|
|
594
|
-
$t as H,
|
|
595
|
-
Vt as I,
|
|
596
|
-
Rt as J,
|
|
597
|
-
Ut as L,
|
|
598
|
-
Dt as M,
|
|
599
|
-
Tt as N,
|
|
600
|
-
U as O,
|
|
601
|
-
xt as P,
|
|
602
|
-
j as S,
|
|
603
|
-
b,
|
|
604
|
-
Ct as c,
|
|
605
|
-
y as d,
|
|
606
|
-
Ft as e,
|
|
607
|
-
L as f,
|
|
608
|
-
A as g,
|
|
609
|
-
bt as h,
|
|
610
|
-
wt as i,
|
|
611
|
-
G as j,
|
|
612
|
-
x as k,
|
|
613
|
-
vt as l,
|
|
614
|
-
I as m,
|
|
615
|
-
_ as n,
|
|
616
|
-
kt as o,
|
|
617
|
-
Mt as p,
|
|
618
|
-
ht as q,
|
|
619
|
-
At as r,
|
|
620
|
-
_t as s,
|
|
621
|
-
T as t,
|
|
622
|
-
mt as v,
|
|
623
|
-
z as w,
|
|
624
|
-
St as x,
|
|
625
|
-
dt as y,
|
|
626
|
-
P as z
|
|
627
|
-
};
|