@duxweb/dvha-pro 0.0.5 → 0.0.7
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/LICENSE +21 -0
- package/dist/cjs/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/cjs/_virtual/browser.cjs +1 -0
- package/dist/cjs/_virtual/browser2.cjs +1 -0
- package/dist/cjs/_virtual/sourcemap-codec.umd.cjs +1 -0
- package/dist/cjs/_virtual/sourcemap-codec.umd2.cjs +1 -0
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/chart/echart.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/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/list/card.cjs +1 -1
- package/dist/cjs/components/list/list.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/modal/modalTab.cjs +1 -1
- package/dist/cjs/components/select/cardSelect.cjs +1 -0
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- package/dist/cjs/config/echart.cjs +1 -0
- package/dist/cjs/config/uno.cjs +1 -1
- package/dist/cjs/config/validate.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/echart.cjs +1 -0
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/main.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.cjs +391 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.cjs +10 -0
- package/dist/cjs/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.cjs +1 -0
- 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/theme/naiveTheme.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +28 -6
- package/dist/esm/_virtual/_commonjsHelpers.js +6 -0
- package/dist/esm/_virtual/browser.js +7 -0
- package/dist/esm/_virtual/browser2.js +4 -0
- package/dist/esm/_virtual/sourcemap-codec.umd.js +5 -0
- package/dist/esm/_virtual/sourcemap-codec.umd2.js +4 -0
- package/dist/esm/component.js +44 -42
- package/dist/esm/components/card/card.js +1 -1
- package/dist/esm/components/chart/echart.js +75 -0
- package/dist/esm/components/dialog/dialog.js +87 -93
- package/dist/esm/components/drawer/drawer.js +34 -32
- package/dist/esm/components/form/modalForm.js +1 -1
- package/dist/esm/components/form/pageForm.js +25 -20
- package/dist/esm/components/form/settingForm.js +27 -22
- package/dist/esm/components/layout/list.js +204 -142
- package/dist/esm/components/layout/table.js +211 -145
- package/dist/esm/components/list/card.js +42 -32
- package/dist/esm/components/list/list.js +27 -16
- package/dist/esm/components/modal/modal.js +46 -86
- package/dist/esm/components/modal/modalPage.js +23 -18
- package/dist/esm/components/modal/modalTab.js +11 -11
- package/dist/esm/components/select/cardSelect.js +103 -0
- package/dist/esm/components/table/tablePage.js +21 -18
- package/dist/esm/config/echart.js +456 -0
- package/dist/esm/config/uno.js +16 -13
- package/dist/esm/config/validate.js +2 -2
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/action.js +46 -45
- package/dist/esm/hooks/dialog.js +24 -7
- package/dist/esm/hooks/drawer.js +14 -9
- package/dist/esm/hooks/echart.js +469 -0
- package/dist/esm/hooks/modal.js +25 -9
- package/dist/esm/hooks/table/media.js +19 -14
- package/dist/esm/index.js +158 -135
- package/dist/esm/main.js +11 -8
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.js +14 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +11 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +9 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +23 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +17 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.js +40 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js +46 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.js +55 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.js +38 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +69 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +29 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +14 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.js +6 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.js +6 -0
- package/dist/esm/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +255 -0
- package/dist/esm/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js +88 -0
- package/dist/esm/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.js +51 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.js +17 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.js +151 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.js +8 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.js +322 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.js +547 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.js +32 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.js +2307 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.js +627 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.js +7 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.js +588 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.js +51 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.js +553 -0
- package/dist/esm/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js +632 -0
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js +146 -0
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js +97 -0
- package/dist/esm/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.js +56 -0
- package/dist/esm/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js +608 -0
- package/dist/esm/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js +85 -0
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.js +23 -0
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.js +219 -0
- package/dist/esm/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.js +153 -0
- package/dist/esm/pages/authLayout.js +4 -3
- package/dist/esm/pages/layout/global.js +46 -33
- package/dist/esm/pages/layout/page.js +15 -10
- package/dist/esm/pages/login.js +26 -21
- package/dist/esm/pages/menu/avatar.js +14 -14
- package/dist/esm/pages/menu/button.js +19 -14
- package/dist/esm/pages/menu/cmd.js +29 -24
- package/dist/esm/pages/menu/main.js +26 -21
- package/dist/esm/pages/menu/mobile.js +19 -14
- package/dist/esm/pages/page.js +16 -16
- package/dist/esm/pages/page404.js +25 -20
- package/dist/esm/pages/pageStatus.js +13 -8
- package/dist/esm/theme/naiveTheme.js +57 -51
- package/dist/esm/theme/uno.css.js +28 -6
- package/dist/types/components/chart/echart.d.ts +284 -0
- package/dist/types/components/chart/index.d.ts +1 -0
- package/dist/types/components/dialog/dialog.d.ts +1 -20
- package/dist/types/components/drawer/drawer.d.ts +14 -4
- package/dist/types/components/form/formLayout.d.ts +1 -1
- package/dist/types/components/form/modalForm.d.ts +1 -1
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/layout/list.d.ts +22 -1
- package/dist/types/components/layout/table.d.ts +22 -1
- package/dist/types/components/list/card.d.ts +41 -3
- package/dist/types/components/list/list.d.ts +46 -5
- package/dist/types/components/modal/modal.d.ts +13 -31
- package/dist/types/components/modal/modalPage.d.ts +3 -6
- package/dist/types/components/panel/alert.d.ts +1 -1
- package/dist/types/components/select/cardSelect.d.ts +88 -0
- package/dist/types/components/select/index.d.ts +1 -0
- package/dist/types/components/table/tablePage.d.ts +28 -2
- package/dist/types/config/echart.d.ts +4 -0
- package/dist/types/config/index.d.ts +1 -0
- package/dist/types/hooks/drawer.d.ts +3 -2
- package/dist/types/hooks/echart.d.ts +166 -0
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/modal.d.ts +10 -5
- package/dist/types/hooks/table/types.d.ts +1 -0
- package/dist/types/main.d.ts +1 -0
- package/dist/types/pages/layout/global.d.ts +1 -0
- package/dist/types/pages/menu/avatar.d.ts +3 -3
- package/dist/types/pages/menu/button.d.ts +3 -3
- package/dist/types/pages/menu/main.d.ts +3 -3
- package/dist/types/pages/page.d.ts +1 -1
- package/package.json +22 -16
- package/dist/cjs/node_modules/@overlastic/core/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/@overlastic/vue/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/@vueuse/integrations/useFocusTrap.cjs +0 -1
- package/dist/cjs/node_modules/@vueuse/shared/index.cjs +0 -1
- package/dist/cjs/node_modules/colorizr/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/focus-trap/dist/focus-trap.esm.cjs +0 -5
- package/dist/cjs/node_modules/lower-case/dist.es2015/index.cjs +0 -1
- package/dist/cjs/node_modules/no-case/dist.es2015/index.cjs +0 -1
- package/dist/cjs/node_modules/pascal-case/dist.es2015/index.cjs +0 -1
- package/dist/cjs/node_modules/tabbable/dist/index.esm.cjs +0 -4
- package/dist/cjs/node_modules/tslib/tslib.es6.cjs +0 -1
- package/dist/esm/node_modules/@overlastic/core/dist/index.js +0 -76
- package/dist/esm/node_modules/@overlastic/vue/dist/index.js +0 -122
- package/dist/esm/node_modules/@vueuse/integrations/useFocusTrap.js +0 -43
- package/dist/esm/node_modules/@vueuse/shared/index.js +0 -6
- package/dist/esm/node_modules/colorizr/dist/index.js +0 -318
- package/dist/esm/node_modules/focus-trap/dist/focus-trap.esm.js +0 -473
- package/dist/esm/node_modules/lower-case/dist.es2015/index.js +0 -6
- package/dist/esm/node_modules/no-case/dist.es2015/index.js +0 -18
- package/dist/esm/node_modules/pascal-case/dist.es2015/index.js +0 -13
- package/dist/esm/node_modules/tabbable/dist/index.esm.js +0 -202
- package/dist/esm/node_modules/tslib/tslib.es6.js +0 -12
- /package/dist/cjs/node_modules/{@iconify-json → .pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json}/tabler/icons.json.cjs +0 -0
- /package/dist/cjs/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/en.json.cjs +0 -0
- /package/dist/cjs/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/zh_CN.json.cjs +0 -0
- /package/dist/esm/node_modules/{@iconify-json → .pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json}/tabler/icons.json.js +0 -0
- /package/dist/esm/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/en.json.js +0 -0
- /package/dist/esm/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/zh_CN.json.js +0 -0
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
import { variantParentMatcher as m, variantMatcher as u, createPartClasses as F, variantGetParameter as h, variantGetBracket as y, calcMaxWidthBySize as C, createPseudoClassesAndElements as B, createPseudoClassFunctions as M, createTaggedPseudoClasses as w, getBracket as E, hasThemeFn as T, transformThemeFn as R, getStringComponent as A } from "../../../../../../@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js";
|
|
2
|
+
import { b as l, C as x, r as V, E as j, f as z, j as D } from "./preset-wind4.BwwuP5Yw.js";
|
|
3
|
+
import { toArray as L } from "../../../../../../@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js";
|
|
4
|
+
const G = {
|
|
5
|
+
name: "aria",
|
|
6
|
+
match(t, a) {
|
|
7
|
+
var r;
|
|
8
|
+
const e = h("aria-", t, a.generator.config.separators);
|
|
9
|
+
if (e) {
|
|
10
|
+
const [n, i] = e, s = l.bracket(n) ?? ((r = a.theme.aria) == null ? void 0 : r[n]) ?? "";
|
|
11
|
+
if (s)
|
|
12
|
+
return {
|
|
13
|
+
matcher: i,
|
|
14
|
+
selector: (o) => `${o}[aria-${s}]`
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
multiPass: !0,
|
|
19
|
+
autocomplete: "aria-$aria"
|
|
20
|
+
};
|
|
21
|
+
function b(t) {
|
|
22
|
+
return {
|
|
23
|
+
name: `${t}-aria`,
|
|
24
|
+
match(a, e) {
|
|
25
|
+
var n;
|
|
26
|
+
const r = h(`${t}-aria-`, a, e.generator.config.separators);
|
|
27
|
+
if (r) {
|
|
28
|
+
const [i, s] = r, o = l.bracket(i) ?? ((n = e.theme.aria) == null ? void 0 : n[i]) ?? "";
|
|
29
|
+
if (o)
|
|
30
|
+
return {
|
|
31
|
+
matcher: `${t}-[[aria-${o}]]:${s}`
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
const I = [
|
|
38
|
+
b("group"),
|
|
39
|
+
b("peer"),
|
|
40
|
+
b("parent"),
|
|
41
|
+
b("previous")
|
|
42
|
+
], W = /(max|min)-\[([^\]]*)\]:/;
|
|
43
|
+
function N() {
|
|
44
|
+
const t = {};
|
|
45
|
+
return {
|
|
46
|
+
name: "breakpoints",
|
|
47
|
+
match(a, e) {
|
|
48
|
+
if (W.test(a)) {
|
|
49
|
+
const n = a.match(W);
|
|
50
|
+
return {
|
|
51
|
+
matcher: a.replace(n[0], ""),
|
|
52
|
+
handle: (s, o) => o({
|
|
53
|
+
...s,
|
|
54
|
+
parent: `${s.parent ? `${s.parent} $$ ` : ""}@media (${n[1]}-width: ${n[2]})`
|
|
55
|
+
// parentOrder: order,
|
|
56
|
+
})
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
const r = (V(e) ?? []).map(({ point: n, size: i }, s) => [n, i, s]);
|
|
60
|
+
for (const [n, i, s] of r) {
|
|
61
|
+
t[n] || (t[n] = new RegExp(`^((?:([al]t-|[<~]|max-))?${n}(?:${e.generator.config.separators.join("|")}))`));
|
|
62
|
+
const o = a.match(t[n]);
|
|
63
|
+
if (!o)
|
|
64
|
+
continue;
|
|
65
|
+
const [, c] = o, d = a.slice(c.length);
|
|
66
|
+
if (d === "container")
|
|
67
|
+
continue;
|
|
68
|
+
const $ = c.startsWith("lt-") || c.startsWith("<") || c.startsWith("max-"), P = c.startsWith("at-") || c.startsWith("~");
|
|
69
|
+
let p = 3e3;
|
|
70
|
+
return $ ? (p -= s + 1, {
|
|
71
|
+
matcher: d,
|
|
72
|
+
handle: (f, g) => g({
|
|
73
|
+
...f,
|
|
74
|
+
parent: `${f.parent ? `${f.parent} $$ ` : ""}@media (max-width: ${C(i)})`,
|
|
75
|
+
parentOrder: p
|
|
76
|
+
})
|
|
77
|
+
}) : (p += s + 1, P && s < r.length - 1 ? {
|
|
78
|
+
matcher: d,
|
|
79
|
+
handle: (f, g) => g({
|
|
80
|
+
...f,
|
|
81
|
+
parent: `${f.parent ? `${f.parent} $$ ` : ""}@media (min-width: ${i}) and (max-width: ${C(r[s + 1][1])})`,
|
|
82
|
+
parentOrder: p
|
|
83
|
+
})
|
|
84
|
+
} : {
|
|
85
|
+
matcher: d,
|
|
86
|
+
handle: (f, g) => g({
|
|
87
|
+
...f,
|
|
88
|
+
parent: `${f.parent ? `${f.parent} $$ ` : ""}@media (min-width: ${i})`,
|
|
89
|
+
parentOrder: p
|
|
90
|
+
})
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
multiPass: !0,
|
|
95
|
+
autocomplete: "(at-|lt-|max-|)$breakpoint:"
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
const J = [
|
|
99
|
+
u("*", (t) => ({ selector: `${t.selector} > *` }))
|
|
100
|
+
];
|
|
101
|
+
function v(t, a) {
|
|
102
|
+
return {
|
|
103
|
+
name: `combinator:${t}`,
|
|
104
|
+
match(e, r) {
|
|
105
|
+
if (!e.startsWith(t))
|
|
106
|
+
return;
|
|
107
|
+
const n = r.generator.config.separators;
|
|
108
|
+
let i = y(`${t}-`, e, n);
|
|
109
|
+
if (!i) {
|
|
110
|
+
for (const o of n)
|
|
111
|
+
if (e.startsWith(`${t}${o}`)) {
|
|
112
|
+
i = ["", e.slice(t.length + o.length)];
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
if (!i)
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
let s = l.bracket(i[0]) ?? "";
|
|
119
|
+
return s === "" && (s = "*"), {
|
|
120
|
+
matcher: i[1],
|
|
121
|
+
selector: (o) => `${o}${a}${s}`
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
multiPass: !0
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
const H = [
|
|
128
|
+
v("all", " "),
|
|
129
|
+
v("children", ">"),
|
|
130
|
+
v("next", "+"),
|
|
131
|
+
v("sibling", "+"),
|
|
132
|
+
v("siblings", "~")
|
|
133
|
+
], _ = [
|
|
134
|
+
u("svg", (t) => ({ selector: `${t.selector} svg` }))
|
|
135
|
+
], q = {
|
|
136
|
+
name: "@",
|
|
137
|
+
match(t, a) {
|
|
138
|
+
var r;
|
|
139
|
+
if (t.startsWith("@container"))
|
|
140
|
+
return;
|
|
141
|
+
const e = h("@", t, a.generator.config.separators);
|
|
142
|
+
if (e) {
|
|
143
|
+
const [n, i, s] = e, o = l.bracket(n);
|
|
144
|
+
let c;
|
|
145
|
+
if (o ? c = l.numberWithUnit(o) : c = ((r = a.theme.container) == null ? void 0 : r[n]) ?? "", c) {
|
|
146
|
+
let d = 1e3 + Object.keys(a.theme.container ?? {}).indexOf(n);
|
|
147
|
+
return s && (d += 1e3), {
|
|
148
|
+
matcher: i,
|
|
149
|
+
handle: ($, P) => P({
|
|
150
|
+
...$,
|
|
151
|
+
parent: `${$.parent ? `${$.parent} $$ ` : ""}@container${s ? ` ${s} ` : " "}(min-width: ${c})`,
|
|
152
|
+
parentOrder: d
|
|
153
|
+
})
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
multiPass: !0
|
|
159
|
+
};
|
|
160
|
+
function K(t = {}) {
|
|
161
|
+
if ((t == null ? void 0 : t.dark) === "class" || typeof t.dark == "object") {
|
|
162
|
+
const { dark: a = ".dark", light: e = ".light" } = typeof t.dark == "string" ? {} : t.dark;
|
|
163
|
+
return [
|
|
164
|
+
u("dark", (r) => ({ prefix: `${a} $$ ${r.prefix}` })),
|
|
165
|
+
u("light", (r) => ({ prefix: `${e} $$ ${r.prefix}` }))
|
|
166
|
+
];
|
|
167
|
+
}
|
|
168
|
+
return [
|
|
169
|
+
m("dark", "@media (prefers-color-scheme: dark)"),
|
|
170
|
+
m("light", "@media (prefers-color-scheme: light)")
|
|
171
|
+
];
|
|
172
|
+
}
|
|
173
|
+
const Q = [
|
|
174
|
+
u(".dark", (t) => ({ prefix: `.dark $$ ${t.prefix}` })),
|
|
175
|
+
u(".light", (t) => ({ prefix: `.light $$ ${t.prefix}` })),
|
|
176
|
+
m("@dark", "@media (prefers-color-scheme: dark)"),
|
|
177
|
+
m("@light", "@media (prefers-color-scheme: light)"),
|
|
178
|
+
m("not-dark", "@media not (prefers-color-scheme: dark)")
|
|
179
|
+
], U = {
|
|
180
|
+
name: "data",
|
|
181
|
+
match(t, a) {
|
|
182
|
+
var r;
|
|
183
|
+
const e = h("data-", t, a.generator.config.separators);
|
|
184
|
+
if (e) {
|
|
185
|
+
const [n, i] = e, s = l.bracket(n) ?? ((r = a.theme.data) == null ? void 0 : r[n]) ?? "";
|
|
186
|
+
if (s)
|
|
187
|
+
return {
|
|
188
|
+
matcher: i,
|
|
189
|
+
selector: (o) => `${o}[data-${s}]`
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
multiPass: !0
|
|
194
|
+
};
|
|
195
|
+
function k(t) {
|
|
196
|
+
return {
|
|
197
|
+
name: `${t}-data`,
|
|
198
|
+
match(a, e) {
|
|
199
|
+
var n;
|
|
200
|
+
const r = h(`${t}-data-`, a, e.generator.config.separators);
|
|
201
|
+
if (r) {
|
|
202
|
+
const [i, s, o] = r, c = l.bracket(i) ?? ((n = e.theme.data) == null ? void 0 : n[i]) ?? "";
|
|
203
|
+
if (c)
|
|
204
|
+
return {
|
|
205
|
+
matcher: `${t}-[[data-${c}]]${o ? `/${o}` : ""}:${s}`
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
const X = [
|
|
212
|
+
k("group"),
|
|
213
|
+
k("peer"),
|
|
214
|
+
k("parent"),
|
|
215
|
+
k("previous")
|
|
216
|
+
], Y = [
|
|
217
|
+
u("rtl", (t) => ({ prefix: `[dir="rtl"] $$ ${t.prefix}` })),
|
|
218
|
+
u("ltr", (t) => ({ prefix: `[dir="ltr"] $$ ${t.prefix}` }))
|
|
219
|
+
];
|
|
220
|
+
function Z() {
|
|
221
|
+
let t;
|
|
222
|
+
return {
|
|
223
|
+
name: "important",
|
|
224
|
+
match(a, e) {
|
|
225
|
+
t || (t = new RegExp(`^(important(?:${e.generator.config.separators.join("|")})|!)`));
|
|
226
|
+
let r;
|
|
227
|
+
const n = a.match(t);
|
|
228
|
+
if (n ? r = a.slice(n[0].length) : a.endsWith("!") && (r = a.slice(0, -1)), r)
|
|
229
|
+
return {
|
|
230
|
+
matcher: r,
|
|
231
|
+
body: (i) => (i.forEach((s) => {
|
|
232
|
+
s[1] != null && (s[1] += " !important");
|
|
233
|
+
}), i)
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
const tt = m("noscript", "@media (scripting: none)"), et = {
|
|
239
|
+
name: "scripting",
|
|
240
|
+
match(t, a) {
|
|
241
|
+
const e = h(["script-", "scripting-"], t, a.generator.config.separators);
|
|
242
|
+
if (e) {
|
|
243
|
+
const [r, n] = e;
|
|
244
|
+
if (["none", "initial-only", "enabled"].includes(r))
|
|
245
|
+
return {
|
|
246
|
+
matcher: n,
|
|
247
|
+
handle: (s, o) => o({
|
|
248
|
+
...s,
|
|
249
|
+
parent: `${s.parent ? `${s.parent} $$ ` : ""}@media (scripting: ${r})`
|
|
250
|
+
})
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
multiPass: !0,
|
|
255
|
+
autocomplete: ["(scripting|script)-(none|initial-only|enabled)"]
|
|
256
|
+
}, rt = m("print", "@media print"), at = {
|
|
257
|
+
name: "media",
|
|
258
|
+
match(t, a) {
|
|
259
|
+
var r;
|
|
260
|
+
const e = h("media-", t, a.generator.config.separators);
|
|
261
|
+
if (e) {
|
|
262
|
+
const [n, i] = e;
|
|
263
|
+
let s = l.bracket(n) ?? "";
|
|
264
|
+
if (s === "" && (s = ((r = a.theme.media) == null ? void 0 : r[n]) ?? ""), s)
|
|
265
|
+
return {
|
|
266
|
+
matcher: i,
|
|
267
|
+
handle: (o, c) => c({
|
|
268
|
+
...o,
|
|
269
|
+
parent: `${o.parent ? `${o.parent} $$ ` : ""}@media ${s}`
|
|
270
|
+
})
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
multiPass: !0,
|
|
275
|
+
autocomplete: "media-$media"
|
|
276
|
+
}, nt = [
|
|
277
|
+
m("contrast-more", "@media (prefers-contrast: more)"),
|
|
278
|
+
m("contrast-less", "@media (prefers-contrast: less)")
|
|
279
|
+
], st = [
|
|
280
|
+
m("motion-reduce", "@media (prefers-reduced-motion: reduce)"),
|
|
281
|
+
m("motion-safe", "@media (prefers-reduced-motion: no-preference)")
|
|
282
|
+
], it = [
|
|
283
|
+
m("landscape", "@media (orientation: landscape)"),
|
|
284
|
+
m("portrait", "@media (orientation: portrait)")
|
|
285
|
+
], ot = [
|
|
286
|
+
m("forced-colors", "@media (forced-colors: active)")
|
|
287
|
+
], ct = {
|
|
288
|
+
name: "selector",
|
|
289
|
+
match(t, a) {
|
|
290
|
+
const e = y("selector-", t, a.generator.config.separators);
|
|
291
|
+
if (e) {
|
|
292
|
+
const [r, n] = e, i = l.bracket(r);
|
|
293
|
+
if (i)
|
|
294
|
+
return {
|
|
295
|
+
matcher: n,
|
|
296
|
+
selector: () => i
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}, lt = {
|
|
301
|
+
name: "layer",
|
|
302
|
+
match(t, a) {
|
|
303
|
+
const e = h("layer-", t, a.generator.config.separators);
|
|
304
|
+
if (e) {
|
|
305
|
+
const [r, n] = e, i = l.bracket(r) ?? r;
|
|
306
|
+
if (i)
|
|
307
|
+
return {
|
|
308
|
+
matcher: n,
|
|
309
|
+
handle: (s, o) => o({
|
|
310
|
+
...s,
|
|
311
|
+
parent: `${s.parent ? `${s.parent} $$ ` : ""}@layer ${i}`
|
|
312
|
+
})
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}, mt = {
|
|
317
|
+
name: "uno-layer",
|
|
318
|
+
match(t, a) {
|
|
319
|
+
const e = h("uno-layer-", t, a.generator.config.separators);
|
|
320
|
+
if (e) {
|
|
321
|
+
const [r, n] = e, i = l.bracket(r) ?? r;
|
|
322
|
+
if (i)
|
|
323
|
+
return {
|
|
324
|
+
matcher: n,
|
|
325
|
+
layer: i
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}, ft = {
|
|
330
|
+
name: "scope",
|
|
331
|
+
match(t, a) {
|
|
332
|
+
const e = y("scope-", t, a.generator.config.separators);
|
|
333
|
+
if (e) {
|
|
334
|
+
const [r, n] = e, i = l.bracket(r);
|
|
335
|
+
if (i)
|
|
336
|
+
return {
|
|
337
|
+
matcher: n,
|
|
338
|
+
selector: (s) => `${i} $$ ${s}`
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}, ht = {
|
|
343
|
+
name: "variables",
|
|
344
|
+
match(t, a) {
|
|
345
|
+
if (!t.startsWith("["))
|
|
346
|
+
return;
|
|
347
|
+
const [e, r] = E(t, "[", "]") ?? [];
|
|
348
|
+
if (!(e && r))
|
|
349
|
+
return;
|
|
350
|
+
let n;
|
|
351
|
+
for (const o of a.generator.config.separators)
|
|
352
|
+
if (r.startsWith(o)) {
|
|
353
|
+
n = r.slice(o.length);
|
|
354
|
+
break;
|
|
355
|
+
}
|
|
356
|
+
if (n == null)
|
|
357
|
+
return;
|
|
358
|
+
const i = l.bracket(e) ?? "", s = i.startsWith("@");
|
|
359
|
+
if (s || i.includes("&"))
|
|
360
|
+
return {
|
|
361
|
+
matcher: n,
|
|
362
|
+
handle(o, c) {
|
|
363
|
+
const d = s ? {
|
|
364
|
+
parent: `${o.parent ? `${o.parent} $$ ` : ""}${i}`
|
|
365
|
+
} : {
|
|
366
|
+
selector: i.replace(/&/g, o.selector)
|
|
367
|
+
};
|
|
368
|
+
return c({
|
|
369
|
+
...o,
|
|
370
|
+
...d
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
},
|
|
375
|
+
multiPass: !0
|
|
376
|
+
}, dt = {
|
|
377
|
+
name: "theme-variables",
|
|
378
|
+
match(t, a) {
|
|
379
|
+
if (T(t))
|
|
380
|
+
return {
|
|
381
|
+
matcher: t,
|
|
382
|
+
handle(e, r) {
|
|
383
|
+
return r({
|
|
384
|
+
...e,
|
|
385
|
+
// entries: [ [ '--css-spacing', '28px' ] ],
|
|
386
|
+
entries: JSON.parse(R(JSON.stringify(e.entries), a.theme))
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
}, ut = [
|
|
392
|
+
u("@hover", (t) => ({
|
|
393
|
+
parent: `${t.parent ? `${t.parent} $$ ` : ""}@media (hover: hover) and (pointer: fine)`,
|
|
394
|
+
selector: `${t.selector || ""}:hover`
|
|
395
|
+
}))
|
|
396
|
+
], O = /^-?[0-9.]+(?:[a-z]+|%)?$/, S = /-?[0-9.]+(?:[a-z]+|%)?/, $t = [
|
|
397
|
+
/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/
|
|
398
|
+
];
|
|
399
|
+
function pt(t) {
|
|
400
|
+
const a = t.match(z) || t.match(D);
|
|
401
|
+
if (a) {
|
|
402
|
+
const [e, r] = A(`(${a[2]})${a[3]}`, "(", ")", " ") ?? [];
|
|
403
|
+
if (e)
|
|
404
|
+
return `calc(${a[1]}${e} * -1)${r ? ` ${r}` : ""}`;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
const gt = /\b(hue-rotate)\s*(\(.*)/;
|
|
408
|
+
function vt(t) {
|
|
409
|
+
const a = t.match(gt);
|
|
410
|
+
if (a) {
|
|
411
|
+
const [e, r] = A(a[2], "(", ")", " ") ?? [];
|
|
412
|
+
if (e) {
|
|
413
|
+
const n = O.test(e.slice(1, -1)) ? e.replace(S, (i) => i.startsWith("-") ? i.slice(1) : `-${i}`) : `(calc(${e} * -1))`;
|
|
414
|
+
return `${a[1]}${n}${r ? ` ${r}` : ""}`;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
const bt = {
|
|
419
|
+
name: "negative",
|
|
420
|
+
match(t) {
|
|
421
|
+
if (t.startsWith("-"))
|
|
422
|
+
return {
|
|
423
|
+
matcher: t.slice(1),
|
|
424
|
+
body: (a) => {
|
|
425
|
+
if (a.find((r) => r[0] === x))
|
|
426
|
+
return;
|
|
427
|
+
let e = !1;
|
|
428
|
+
return a.forEach((r) => {
|
|
429
|
+
var o;
|
|
430
|
+
if (L(r[2]).includes(x))
|
|
431
|
+
return;
|
|
432
|
+
const n = (o = r[1]) == null ? void 0 : o.toString();
|
|
433
|
+
if (!n || n === "0" || $t.some((c) => c.test(r[0])))
|
|
434
|
+
return;
|
|
435
|
+
const i = pt(n);
|
|
436
|
+
if (i) {
|
|
437
|
+
r[1] = i, e = !0;
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
const s = vt(n);
|
|
441
|
+
if (s) {
|
|
442
|
+
r[1] = s, e = !0;
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
O.test(n) && (r[1] = n.replace(S, (c) => c.startsWith("-") ? c.slice(1) : `-${c}`), e = !0);
|
|
446
|
+
}), e ? a : [];
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
}, kt = (t, { theme: a }) => {
|
|
451
|
+
const e = t.match(/^(.*)\b(placeholder-)(.+)$/);
|
|
452
|
+
if (e) {
|
|
453
|
+
const [, r = "", n, i] = e;
|
|
454
|
+
if (j(i, a) || yt(i))
|
|
455
|
+
return {
|
|
456
|
+
// Append `placeholder-$ ` (with space!) to the rule to be matched.
|
|
457
|
+
// The `placeholder-` is added for placeholder variant processing, and
|
|
458
|
+
// the `$ ` is added for rule matching after `placeholder-` is removed by the variant.
|
|
459
|
+
// See rules/placeholder.
|
|
460
|
+
matcher: `${r}placeholder-$ ${n}${i}`
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
function yt(t) {
|
|
465
|
+
const a = t.match(/^op(?:acity)?-?(.+)$/);
|
|
466
|
+
return a && a[1] != null ? l.bracket.percent(a[1]) != null : !1;
|
|
467
|
+
}
|
|
468
|
+
function Pt() {
|
|
469
|
+
return B({ h: l });
|
|
470
|
+
}
|
|
471
|
+
function Ct() {
|
|
472
|
+
return M({ getBracket: E, h: l });
|
|
473
|
+
}
|
|
474
|
+
function xt(t = {}) {
|
|
475
|
+
return w(t, { h: l, variantGetBracket: y });
|
|
476
|
+
}
|
|
477
|
+
const Wt = F(), Et = {
|
|
478
|
+
name: "starting",
|
|
479
|
+
match(t) {
|
|
480
|
+
if (t.startsWith("starting:"))
|
|
481
|
+
return {
|
|
482
|
+
matcher: t.slice(9),
|
|
483
|
+
handle: (a, e) => e({
|
|
484
|
+
...a,
|
|
485
|
+
parent: "@starting-style"
|
|
486
|
+
})
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
}, At = {
|
|
490
|
+
name: "supports",
|
|
491
|
+
match(t, a) {
|
|
492
|
+
var r;
|
|
493
|
+
const e = h("supports-", t, a.generator.config.separators);
|
|
494
|
+
if (e) {
|
|
495
|
+
const [n, i] = e;
|
|
496
|
+
let s = l.bracket(n) ?? "";
|
|
497
|
+
if (s === "" && (s = ((r = a.theme.supports) == null ? void 0 : r[n]) ?? ""), s)
|
|
498
|
+
return s.startsWith("(") && s.endsWith(")") || (s = `(${s})`), {
|
|
499
|
+
matcher: i,
|
|
500
|
+
handle: (o, c) => c({
|
|
501
|
+
...o,
|
|
502
|
+
parent: `${o.parent ? `${o.parent} $$ ` : ""}@supports ${s}`
|
|
503
|
+
})
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
multiPass: !0
|
|
508
|
+
};
|
|
509
|
+
function Bt(t) {
|
|
510
|
+
return [
|
|
511
|
+
G,
|
|
512
|
+
U,
|
|
513
|
+
lt,
|
|
514
|
+
ct,
|
|
515
|
+
mt,
|
|
516
|
+
bt,
|
|
517
|
+
Et,
|
|
518
|
+
Z(),
|
|
519
|
+
At,
|
|
520
|
+
tt,
|
|
521
|
+
et,
|
|
522
|
+
rt,
|
|
523
|
+
at,
|
|
524
|
+
...nt,
|
|
525
|
+
...st,
|
|
526
|
+
...it,
|
|
527
|
+
...ot,
|
|
528
|
+
N(),
|
|
529
|
+
...H,
|
|
530
|
+
..._,
|
|
531
|
+
kt,
|
|
532
|
+
...Pt(),
|
|
533
|
+
Ct(),
|
|
534
|
+
...xt(t),
|
|
535
|
+
Wt,
|
|
536
|
+
...K(t),
|
|
537
|
+
...Q,
|
|
538
|
+
...Y,
|
|
539
|
+
ft,
|
|
540
|
+
...J,
|
|
541
|
+
q,
|
|
542
|
+
ht,
|
|
543
|
+
...X,
|
|
544
|
+
...I,
|
|
545
|
+
dt,
|
|
546
|
+
// variantSpaceAndDivide,
|
|
547
|
+
...ut
|
|
548
|
+
].flat();
|
|
549
|
+
}
|
|
550
|
+
export {
|
|
551
|
+
ht as A,
|
|
552
|
+
dt as B,
|
|
553
|
+
ut as C,
|
|
554
|
+
bt as D,
|
|
555
|
+
kt as E,
|
|
556
|
+
Pt as F,
|
|
557
|
+
Ct as G,
|
|
558
|
+
xt as H,
|
|
559
|
+
Wt as I,
|
|
560
|
+
Et as J,
|
|
561
|
+
At as K,
|
|
562
|
+
I as a,
|
|
563
|
+
N as b,
|
|
564
|
+
J as c,
|
|
565
|
+
H as d,
|
|
566
|
+
_ as e,
|
|
567
|
+
q as f,
|
|
568
|
+
K as g,
|
|
569
|
+
Q as h,
|
|
570
|
+
U as i,
|
|
571
|
+
X as j,
|
|
572
|
+
Bt as k,
|
|
573
|
+
Y as l,
|
|
574
|
+
Z as m,
|
|
575
|
+
tt as n,
|
|
576
|
+
et as o,
|
|
577
|
+
rt as p,
|
|
578
|
+
at as q,
|
|
579
|
+
nt as r,
|
|
580
|
+
st as s,
|
|
581
|
+
it as t,
|
|
582
|
+
ot as u,
|
|
583
|
+
G as v,
|
|
584
|
+
ct as w,
|
|
585
|
+
lt as x,
|
|
586
|
+
mt as y,
|
|
587
|
+
ft as z
|
|
588
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { isString as p } from "../../../../../../@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js";
|
|
2
|
+
import { r as y } from "./preset-wind4.BwwuP5Yw.js";
|
|
3
|
+
const v = [
|
|
4
|
+
[/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, i, r]) => ({
|
|
5
|
+
"container-type": r ?? "inline-size",
|
|
6
|
+
"container-name": i
|
|
7
|
+
})]
|
|
8
|
+
], z = /@media \(min-width: (.+)\)/, A = [
|
|
9
|
+
[
|
|
10
|
+
/^__container$/,
|
|
11
|
+
(i, r) => {
|
|
12
|
+
var u, d, h, g, _, w, $;
|
|
13
|
+
const { theme: t, variantHandlers: a } = r, n = (u = t.containers) == null ? void 0 : u.padding;
|
|
14
|
+
let e;
|
|
15
|
+
p(n) ? e = n : e = n == null ? void 0 : n.DEFAULT;
|
|
16
|
+
const c = (d = t.containers) == null ? void 0 : d.maxWidth;
|
|
17
|
+
let l;
|
|
18
|
+
for (const m of a) {
|
|
19
|
+
const x = (g = (h = m.handle) == null ? void 0 : h.call(m, {}, (s) => s)) == null ? void 0 : g.parent;
|
|
20
|
+
if (p(x)) {
|
|
21
|
+
const s = (_ = x.match(z)) == null ? void 0 : _[1];
|
|
22
|
+
if (s) {
|
|
23
|
+
const f = (w = (y(r) ?? []).find((q) => q.size === s)) == null ? void 0 : w.point;
|
|
24
|
+
c ? f && (l = c == null ? void 0 : c[f]) : l = s, f && !p(n) && (e = (n == null ? void 0 : n[f]) ?? e);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const o = {
|
|
29
|
+
"max-width": l
|
|
30
|
+
};
|
|
31
|
+
return a.length || (o.width = "100%"), ($ = t.containers) != null && $.center && (o["margin-left"] = "auto", o["margin-right"] = "auto"), n && (o["padding-left"] = e, o["padding-right"] = e), o;
|
|
32
|
+
},
|
|
33
|
+
{ internal: !0 }
|
|
34
|
+
]
|
|
35
|
+
], D = [
|
|
36
|
+
[/^(?:(\w+)[:-])?container$/, ([, i], r) => {
|
|
37
|
+
let t = (y(r) ?? []).map((n) => n.point);
|
|
38
|
+
if (i) {
|
|
39
|
+
if (!t.includes(i))
|
|
40
|
+
return;
|
|
41
|
+
t = t.slice(t.indexOf(i));
|
|
42
|
+
}
|
|
43
|
+
const a = t.map((n) => `${n}:__container`);
|
|
44
|
+
return i || a.unshift("__container"), a;
|
|
45
|
+
}]
|
|
46
|
+
];
|
|
47
|
+
export {
|
|
48
|
+
A as a,
|
|
49
|
+
D as b,
|
|
50
|
+
v as c
|
|
51
|
+
};
|