@bethinkpl/design-system 26.14.9 → 26.14.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +0 -1
- package/.storybook/main.ts +8 -8
- package/.storybook/scss-preview-styles-plugin.ts +31 -31
- package/dist/design-system.umd.cjs +17 -17
- package/dist/design-system.umd.cjs.map +1 -1
- package/docs/assets/{AccessStatus-CGnNcMlb.js → AccessStatus-BdbWaHQP.js} +1 -1
- package/docs/assets/{AccessStatus.stories-D-joThPx.js → AccessStatus.stories-DqcEfuBA.js} +1 -1
- package/docs/assets/{Avatar-Ce5XbKKY.js → Avatar-BfMssJty.js} +1 -1
- package/docs/assets/{Avatar.stories-DSstbDoo.js → Avatar.stories-DUjrdPxd.js} +1 -1
- package/docs/assets/{Badge-DwaAe2hE.js → Badge-D6TIWhxN.js} +1 -1
- package/docs/assets/{Badge.stories-Cbakkf_B.js → Badge.stories-Bv5vOVUm.js} +2 -2
- package/docs/assets/{BadgeScore-wy93bXgK.js → BadgeScore-Cb9gd56c.js} +1 -1
- package/docs/assets/{BadgeScore.stories-DY6gfwYr.js → BadgeScore.stories-BsD5r0Lb.js} +1 -1
- package/docs/assets/{Banner-B9Tr_i8L.js → Banner-Bc-GaNQo.js} +1 -1
- package/docs/assets/{Banner.stories-DWEKk5dM.js → Banner.stories-DkCWYPus.js} +1 -1
- package/docs/assets/BasicRichListItem-D0Wk0hG3.js +1 -0
- package/docs/assets/{BasicRichListItem.stories-ISlFYvCI.js → BasicRichListItem.stories-6qskAByC.js} +1 -1
- package/docs/assets/{BlockadeStatus-CMiMJ44p.js → BlockadeStatus-BAO7ZSMR.js} +1 -1
- package/docs/assets/{BlockedeStatus.stories-BYDVudbT.js → BlockedeStatus.stories-DPgKWNlb.js} +1 -1
- package/docs/assets/{Button-BspEkV6x.js → Button-DTM9D6tQ.js} +1 -1
- package/docs/assets/{Button.stories-DZ52UjGc.js → Button.stories-Drsp2tgd.js} +2 -2
- package/docs/assets/{Card-YhM4NzlD.js → Card-KSW_Q55y.js} +1 -1
- package/docs/assets/{Card.stories-CyZBsJ2u.js → Card.stories-Bqmd77lg.js} +2 -2
- package/docs/assets/CardExpandable-DZ5qdj_Y.js +1 -0
- package/docs/assets/{CardExpandable.stories-CIwn6Vo9.js → CardExpandable.stories-cFQsWRUN.js} +1 -1
- package/docs/assets/{Checkbox-C4-1HpKO.js → Checkbox-yVtwyPI-.js} +1 -1
- package/docs/assets/{Checkbox.stories-BbnMf-xs.js → Checkbox.stories-UYUu1WCA.js} +1 -1
- package/docs/assets/{Chip-DQKjSxOw.js → Chip-C-ttDDPa.js} +1 -1
- package/docs/assets/{Chip.stories-D59LB8Li.js → Chip.stories-DEv2a6cC.js} +1 -1
- package/docs/assets/Color-ERTF36HU-knumLUL8.js +1 -0
- package/docs/assets/{Colors.stories-C8hIYHsM.js → Colors.stories-BrNisWwH.js} +3 -3
- package/docs/assets/{ColorsThemes.stories-g01vwZZd.js → ColorsThemes.stories-DvZl0m40.js} +2 -2
- package/docs/assets/ColorsTokensLms.stories-D3nA1ro1.js +11 -0
- package/docs/assets/{ColorsTokensPrimaryBodywork.stories-YrgPsIZE.js → ColorsTokensPrimaryBodywork.stories-w4A7RjpQ.js} +1 -1
- package/docs/assets/{ColorsTokensPrimaryWnl.stories-pfaw97Pu.js → ColorsTokensPrimaryWnl.stories-CncgXEG5.js} +1 -1
- package/docs/assets/{CounterToggle-BHx5fQcS.js → CounterToggle-DleD8vtl.js} +1 -1
- package/docs/assets/{CounterToggle.stories-bp-J5qBR.js → CounterToggle.stories-gIBPTeUE.js} +1 -1
- package/docs/assets/{DateBox.stories-C6CMLw_w.js → DateBox.stories-BvGIrNgL.js} +3 -3
- package/docs/assets/DatePicker-BCT6boRT.js +1 -0
- package/docs/assets/{DatePicker.stories-_mZqvqHL.js → DatePicker.stories-k0wYjOME.js} +2 -2
- package/docs/assets/DateRangePicker-CnUEzq-Z.js +1 -0
- package/docs/assets/{DateRangePicker.stories-93Slgmlz.js → DateRangePicker.stories-BWsIHtfr.js} +2 -2
- package/docs/assets/{Divider-C8Drds6C.js → Divider-9o-i_zKL.js} +1 -1
- package/docs/assets/{Divider.stories-jAhp6jPo.js → Divider.stories-IQKEznYT.js} +2 -2
- package/docs/assets/DocsRenderer-CFRXHY34-CsJlhGZ8.js +639 -0
- package/docs/assets/{Drawer-DbgJzgqG.js → Drawer-ClrSDwUZ.js} +1 -1
- package/docs/assets/{Drawer.stories-C6cSORhx.js → Drawer.stories-DR-CXra3.js} +1 -1
- package/docs/assets/{DrawerContent-CaU7wIbB.js → DrawerContent-D6Bl5GA-.js} +1 -1
- package/docs/assets/{DrawerContent.stories-ChrmYVDB.js → DrawerContent.stories-BR11egKi.js} +1 -1
- package/docs/assets/{DrawerDivider-1FPi8JiH.js → DrawerDivider-DMhjaSPk.js} +1 -1
- package/docs/assets/{DrawerDivider.stories-BdIRw3cE.js → DrawerDivider.stories-DdcVRbtO.js} +2 -2
- package/docs/assets/{DrawerHeader-4iw56M9S.js → DrawerHeader-Wv_4-y80.js} +1 -1
- package/docs/assets/{DrawerHeader.stories-DbjD5Kob.js → DrawerHeader.stories-oX2zW_qZ.js} +1 -1
- package/docs/assets/DrawerListItem-CIEm2YIc.js +1 -0
- package/docs/assets/{DrawerListItem.stories-BTDse0Ly.js → DrawerListItem.stories-CT4AHRKW.js} +1 -1
- package/docs/assets/{DrawerListItemGroup-DHghqnvr.js → DrawerListItemGroup-B5XadRVV.js} +1 -1
- package/docs/assets/{DrawerListItemGroup.stories-CCjEl3Qc.js → DrawerListItemGroup.stories-B541RV6U.js} +1 -1
- package/docs/assets/{DrawerSection-CJve_uPO.js → DrawerSection-Di_ofHSH.js} +1 -1
- package/docs/assets/{DrawerSection.stories-CW3ar6_9.js → DrawerSection.stories-C4ixwQIo.js} +1 -1
- package/docs/assets/{DrawerTile-CJMOxl7M.js → DrawerTile-DMIeqQC0.js} +1 -1
- package/docs/assets/{DrawerTile.stories-D-WFiGyA.js → DrawerTile.stories-WzAPfUy9.js} +1 -1
- package/docs/assets/Dropdown-CYFZ3OvV.js +1 -0
- package/docs/assets/{Dropdown.stories-DYgrjeCS.js → Dropdown.stories-BEI0k1ws.js} +2 -2
- package/docs/assets/{FeatureIcon-D1pT2eRN.js → FeatureIcon-JKiMnOvS.js} +1 -1
- package/docs/assets/{FeatureIcon.stories-Pjv2IhFN.js → FeatureIcon.stories-DyY2g0uS.js} +1 -1
- package/docs/assets/{GroupRichListItem-ZRcp4uu7.js → GroupRichListItem-BvLfDPjh.js} +1 -1
- package/docs/assets/{GroupRichListItem.stories-CANW2eUN.js → GroupRichListItem.stories-C6gd1aBX.js} +1 -1
- package/docs/assets/Icon-DLflpryl.js +761 -0
- package/docs/assets/{Icon.stories-QBxgAX7L.js → Icon.stories-C0zrdS-E.js} +1 -1
- package/docs/assets/{IconButton-D1G48iNF.js → IconButton-jIBOZaL6.js} +1 -1
- package/docs/assets/{IconButton.stories-nkUTGd5p.js → IconButton.stories-u8ZnxA0r.js} +6 -6
- package/docs/assets/{IconText-CQ2EOPS3.js → IconText-D16p7ozy.js} +1 -1
- package/docs/assets/{IconText.stories-CYyY8k8w.js → IconText.stories-90zCvZeb.js} +2 -2
- package/docs/assets/{Image-DBf62AYO.js → Image-Dbv2u4ta.js} +1 -1
- package/docs/assets/{Image.stories-8CR2Xgh1.js → Image.stories-CUWPBT5K.js} +1 -1
- package/docs/assets/{ItemsList-wyz4ig57.js → ItemsList-CJTCYbgI.js} +1 -1
- package/docs/assets/{LoadingBar-BrB35t4Q.js → LoadingBar-Dc_eLNsl.js} +1 -1
- package/docs/assets/{LoadingBar.stories-DKbRUeve.js → LoadingBar.stories-DWH4VmcD.js} +1 -1
- package/docs/assets/{Modal-D7FYbnpP.js → Modal-BcXHhF5p.js} +1 -1
- package/docs/assets/{Modal.stories-B4nhKbEw.js → Modal.stories-CuBB-dA5.js} +1 -1
- package/docs/assets/ModalDialog-BTKtgJej.js +1 -0
- package/docs/assets/{ModalDialog.stories-CbShiK1Z.js → ModalDialog.stories-HhLl8KlV.js} +1 -1
- package/docs/assets/{NumberInCircle-Bl3O1NY9.js → NumberInCircle-DnPE2szs.js} +1 -1
- package/docs/assets/{NumberInCircle.stories-CvQo4d_n.js → NumberInCircle.stories-Tn0v6S_I.js} +1 -1
- package/docs/assets/{OutlineDivider-DLeaEHJV.js → OutlineDivider-UaRb6wKt.js} +1 -1
- package/docs/assets/{OutlineDivider.stories-kRQwvLLq.js → OutlineDivider.stories-D9Hzkdbe.js} +2 -2
- package/docs/assets/{OutlineItem-DxyGNhy0.js → OutlineItem-k4o2gAd_.js} +1 -1
- package/docs/assets/{OutlineItem.stories-DYkOeuFr.js → OutlineItem.stories-qRcEu4u8.js} +2 -2
- package/docs/assets/{OutlineSectionHeader-D0yWigNU.js → OutlineSectionHeader-LGOAi424.js} +1 -1
- package/docs/assets/{OutlineSectionHeader.stories-rgGBTWra.js → OutlineSectionHeader.stories-PPIsaHhR.js} +1 -1
- package/docs/assets/OverlayHeader-CM0t7lPr.js +1 -0
- package/docs/assets/{OverlayHeader.stories-DRA9O825.js → OverlayHeader.stories-DdUnt5mJ.js} +2 -2
- package/docs/assets/{PageHeader-Bm1rvulD.js → PageHeader-DkHlb7_P.js} +1 -1
- package/docs/assets/{PageHeader.stories-BGuwpE2Y.js → PageHeader.stories-WThxfLse.js} +1 -1
- package/docs/assets/{Pagination-B2EizK9F.js → Pagination-TTyuIJ3s.js} +1 -1
- package/docs/assets/{Pagination.stories-DhUcDKHI.js → Pagination.stories-CCT0nhBs.js} +1 -1
- package/docs/assets/{PopOver-CEiHBD0K.js → PopOver-BtWRUcqR.js} +1 -1
- package/docs/assets/{PopOver.stories-jIxSKRkg.js → PopOver.stories-DdmtSmb1.js} +1 -1
- package/docs/assets/ProgressBar-bPl8V4zL.js +1 -0
- package/docs/assets/{ProgressBar.stories-Z4jewKzH.js → ProgressBar.stories-DPWwdCMP.js} +2 -2
- package/docs/assets/ProgressDonutChart-B42JFhmC.js +1 -0
- package/docs/assets/{ProgressDonutChart.stories-DvgOxiji.js → ProgressDonutChart.stories-139yf9qk.js} +1 -1
- package/docs/assets/{RadioButton-BP_xSqRz.js → RadioButton-CocBbkKQ.js} +1 -1
- package/docs/assets/{RadioButton.stories-gdWo9JRu.js → RadioButton.stories-Dj4K2DOd.js} +1 -1
- package/docs/assets/{RichListItem.stories-Bhq-H3o3.js → RichListItem.stories-Ds8COMWc.js} +1 -1
- package/docs/assets/{SectionHeader-BB4a8U3x.js → SectionHeader-CoK_3gzJ.js} +1 -1
- package/docs/assets/SectionHeader.stories-r1QYbspK.js +24 -0
- package/docs/assets/{SectionTitle-B_bXkybY.js → SectionTitle-DLcFKzRH.js} +1 -1
- package/docs/assets/{SectionTitle.stories-BwEqWW1e.js → SectionTitle.stories-Dybq4paM.js} +1 -1
- package/docs/assets/{SelectList-D5Bts8VC.js → SelectList-B323Y2el.js} +1 -1
- package/docs/assets/{SelectList.stories-wPjCN2Hi.js → SelectList.stories-C89bpLpi.js} +2 -2
- package/docs/assets/{SelectListItem-Bd8O0NCh.js → SelectListItem-BfrNC0lN.js} +1 -1
- package/docs/assets/{SelectListItem.stories-CkpKE3P4.js → SelectListItem.stories-7_Hgwc0t.js} +2 -2
- package/docs/assets/{SelectListItemDivider-CMQALpY4.js → SelectListItemDivider-lDLIwtP8.js} +1 -1
- package/docs/assets/{SelectListItemDivider.stories-D9qt2vAD.js → SelectListItemDivider.stories-BZ6_HOBG.js} +1 -1
- package/docs/assets/{SelectListItemTile-CXr5iXVh.js → SelectListItemTile-VUKxo3Ph.js} +1 -1
- package/docs/assets/{SelectListItemTile.stories-C_Z3MQ0H.js → SelectListItemTile.stories-zTWQ8pfo.js} +1 -1
- package/docs/assets/{SelectListItemToggle-D3c7ZwdI.js → SelectListItemToggle-DVeIonzN.js} +1 -1
- package/docs/assets/{SelectListItemToggle.stories-DXmW5UuX.js → SelectListItemToggle.stories-isbsW94B.js} +2 -2
- package/docs/assets/{SelectListSectionTitle-DqFzixd5.js → SelectListSectionTitle-BFbrwNgw.js} +1 -1
- package/docs/assets/{SelectListSectionTitle.stories-Bff6cW1U.js → SelectListSectionTitle.stories-NKPegok4.js} +1 -1
- package/docs/assets/{SelectionControl-k2rO_ZDX.js → SelectionControl-JHBohZVS.js} +1 -1
- package/docs/assets/{SelectionTile-BFDhuh-k.js → SelectionTile-BUXi_pjW.js} +2 -2
- package/docs/assets/{SelectionTile.stories-DIRy9HXD.js → SelectionTile.stories-BGkoASzB.js} +2 -2
- package/docs/assets/Skeleton-DhyJ4ZKG.js +179 -0
- package/docs/assets/{Skeleton.stories-BcZQO1fR.js → Skeleton.stories-CsZjBoj1.js} +1 -1
- package/docs/assets/SurveyQuestionOpenEnded-Cc4cKSQ6.js +1 -0
- package/docs/assets/{SurveyQuestionOpenEnded.stories-CGdAFkuU.js → SurveyQuestionOpenEnded.stories-RzpJn8fr.js} +1 -1
- package/docs/assets/{SurveyQuestionScale-DJkJami8.js → SurveyQuestionScale-DECnKlLN.js} +1 -1
- package/docs/assets/{SurveyQuestionScale.stories-Dv_IfI4O.js → SurveyQuestionScale.stories-CIEPsvni.js} +1 -1
- package/docs/assets/SurveyToggle-DBYCLMcd.js +1 -0
- package/docs/assets/SurveyToggle.stories-C0M1EYrR.js +14 -0
- package/docs/assets/{Switch-BW1DYjhE.js → Switch-CJmb9Pod.js} +1 -1
- package/docs/assets/{Switch.stories-On5GbpK0.js → Switch.stories-B_SvqqVw.js} +2 -2
- package/docs/assets/{TabItem-cCxUq9SH.js → TabItem-DHcL0LcY.js} +1 -1
- package/docs/assets/{TabItem.stories-KQLETE1X.js → TabItem.stories-D-hHY4xD.js} +1 -1
- package/docs/assets/{TextGroup-CYKZ-tOo.js → TextGroup-AUUBIFJZ.js} +1 -1
- package/docs/assets/{TextGroup.stories-cU3ZCXVQ.js → TextGroup.stories-CqwkdBAO.js} +2 -2
- package/docs/assets/{ThreeColumnLayout-DyxM7a22.js → ThreeColumnLayout-DXA1815_.js} +1 -1
- package/docs/assets/{ThreeColumnLayout.stories-BakzsXzp.js → ThreeColumnLayout.stories-BA08mTZ7.js} +1 -1
- package/docs/assets/{Tile-DXOYbUz7.js → Tile-C-0-l9Zd.js} +1 -1
- package/docs/assets/{Tile.sb.shared-9_Eyhwmq.js → Tile.sb.shared-CPS5WnqW.js} +2 -2
- package/docs/assets/{Tile.stories-CjBrMb2f.js → Tile.stories-CS3Brfmz.js} +1 -1
- package/docs/assets/{Toast-CZcuGptt.js → Toast-CiehGYa_.js} +1 -1
- package/docs/assets/{Toast.stories-CJsok2aE.js → Toast.stories-a73EHj2n.js} +2 -2
- package/docs/assets/{ToggleButton-BOxfkVg6.js → ToggleButton-B2K48hG5.js} +1 -1
- package/docs/assets/{ToggleButton.stories-B3LGwwTO.js → ToggleButton.stories-DU0K3-Gd.js} +2 -2
- package/docs/assets/{Tooltip-Du7SUpMn.js → Tooltip-DZi9yXjr.js} +1 -1
- package/docs/assets/{Tooltip.stories-C4fS4gBL.js → Tooltip.stories-d9VyD_0V.js} +1 -1
- package/docs/assets/TypographyTokensLms.stories-CZpPPUwu.js +11 -0
- package/docs/assets/{TypographyVariables.stories-DUTx2qnw.js → TypographyVariables.stories-B4Lg96R3.js} +2 -2
- package/docs/assets/{Well-CFXJEAct.js → Well-Cuj5KPHL.js} +1 -1
- package/docs/assets/{Well.stories-CD3NOykX.js → Well.stories-BeM1zP19.js} +1 -1
- package/docs/assets/_commonjsHelpers-CDR5Xrri.js +1 -0
- package/docs/assets/decorator-B_8W69Nd.js +1 -0
- package/docs/assets/entry-preview-docs-Bz8Se46p.js +16 -0
- package/docs/assets/{entry-preview-BOTW3a15.js → entry-preview-lHccVHf5.js} +1 -1
- package/docs/assets/{iframe-BorftRc6.js → iframe-DeX83N-_.js} +2 -2
- package/docs/assets/{index-BFHz6C5r.js → index-BSZogKLd.js} +1 -1
- package/docs/assets/{index-DHVt3G8q.js → index-Bt72ABkX.js} +1 -1
- package/docs/assets/index-C7dYv50j.js +8 -0
- package/docs/assets/pl-1OaNPZt2.js +1 -0
- package/docs/assets/preview-Br-h4d84.js +1 -0
- package/docs/assets/{preview-e9x7yjLo.js → preview-CxZpfmpr.js} +2 -2
- package/docs/assets/{preview-DFphXfmq.js → preview-DH_HFzT6.js} +1 -1
- package/docs/assets/preview-vDX9kXAW.js +64 -0
- package/docs/assets/{string-FgB6VwTw.js → string-BUK4JyUO.js} +1 -1
- package/docs/assets/v4-CwV2VaSl.js +1 -0
- package/docs/assets/vue-popper-DoPHnofs.js +24 -0
- package/docs/assets/{vue.esm-bundler-C__e7YM5.js → vue.esm-bundler-DD4BrEtS.js} +2 -2
- package/docs/iframe.html +1 -1
- package/docs/project.json +1 -1
- package/lib/js/components/Avatar/Avatar.spec.ts +46 -50
- package/lib/js/components/Badge/Badge.spec.ts +1 -0
- package/lib/js/components/BadgeScore/BadgeScore.spec.ts +1 -0
- package/lib/js/components/Buttons/Button/Button.spec.ts +1 -0
- package/lib/js/components/Cards/Card/Card.spec.ts +1 -0
- package/lib/js/components/Cards/CardExpandable/CardExpandable.spec.ts +1 -0
- package/lib/js/components/Chip/Chip.spec.ts +1 -0
- package/lib/js/components/Modal/Modal.spec.ts +1 -0
- package/lib/js/components/Pagination/Pagination.spec.ts +1 -0
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.ts +1 -0
- package/lib/js/components/Statuses/AccessStatus/AccessStatus.spec.ts +1 -0
- package/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.spec.ts +1 -0
- package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.spec.ts +1 -0
- package/lib/js/components/SurveyToggle/SurveyToggle.spec.ts +1 -0
- package/lib/js/components/TabItem/TabItem.spec.ts +1 -0
- package/lib/js/components/Tile/Tile.spec.ts +1 -0
- package/lib/js/components/Toggles/CounterToggle/CounterToggle.spec.ts +1 -0
- package/package.json +11 -13
- package/stylelint.config.cjs +1 -5
- package/tools/importers/SynchronizeTypographyTokens.spec.ts +1 -0
- package/tsconfig.base.json +40 -0
- package/tsconfig.json +4 -44
- package/vite.config.ts +7 -10
- package/docs/assets/BasicRichListItem-EHksywrU.js +0 -1
- package/docs/assets/CardExpandable-BWWt4G-H.js +0 -1
- package/docs/assets/Color-ERTF36HU-uH_nFL28.js +0 -1
- package/docs/assets/ColorsTokensLms.stories-cGNfW5nL.js +0 -11
- package/docs/assets/DatePicker-C-1wTByq.js +0 -2
- package/docs/assets/DateRangePicker-BgM4UM4T.js +0 -1
- package/docs/assets/DocsRenderer-CFRXHY34-tOqzxQlO.js +0 -639
- package/docs/assets/DrawerListItem-BcMjiOPy.js +0 -1
- package/docs/assets/Dropdown-T-DajGjx.js +0 -1
- package/docs/assets/Icon-CytrC3Ws.js +0 -761
- package/docs/assets/ModalDialog-hJS5-Cvl.js +0 -1
- package/docs/assets/OverlayHeader-CoWd_rAb.js +0 -1
- package/docs/assets/ProgressBar-BvzrsS6B.js +0 -1
- package/docs/assets/ProgressDonutChart-B7aAm79i.js +0 -1
- package/docs/assets/SectionHeader.stories-CkORFOdL.js +0 -24
- package/docs/assets/Skeleton-Cpsye1IX.js +0 -179
- package/docs/assets/SurveyQuestionOpenEnded-jQ5oxfE_.js +0 -1
- package/docs/assets/SurveyToggle-Da_RDBHk.js +0 -1
- package/docs/assets/SurveyToggle.stories-Dc1xWmo3.js +0 -14
- package/docs/assets/TypographyTokensLms.stories-CLfM1Xav.js +0 -11
- package/docs/assets/_commonjsHelpers-Chg3vePA.js +0 -1
- package/docs/assets/decorator-CSnIf-k5.js +0 -1
- package/docs/assets/entry-preview-docs-Cvbf5NiE.js +0 -16
- package/docs/assets/index-vG0co4wr.js +0 -8
- package/docs/assets/pl-Cy1N1vsP.js +0 -1
- package/docs/assets/preview-CqdwwHjh.js +0 -64
- package/docs/assets/preview-DFmD0pui.js +0 -1
- package/docs/assets/v4-BZawosSj.js +0 -1
- package/docs/assets/vue-popper-BvR5iCy5.js +0 -24
- package/jest.config.js +0 -28
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{g as X,a as de}from"./_commonjsHelpers-CDR5Xrri.js";import{D as ve}from"./vue.esm-bundler-DD4BrEtS.js";var D={exports:{}};/**!
|
|
2
|
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
3
|
+
* @version 1.16.1
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
* in the Software without restriction, including without limitation the rights
|
|
10
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
* furnished to do so, subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
* copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
* SOFTWARE.
|
|
24
|
+
*/var T=typeof window!="undefined"&&typeof document!="undefined"&&typeof navigator!="undefined",me=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(T&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function ge(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function we(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},me))}}var be=T&&window.Promise,ye=be?ge:we;function Q(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function E(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,o=r.getComputedStyle(e,null);return t?o[t]:o}function H(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function L(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=E(e),r=t.overflow,o=t.overflowX,s=t.overflowY;return/(auto|scroll|overlay)/.test(r+s+o)?e:L(H(e))}function Z(e){return e&&e.referenceNode?e.referenceNode:e}var J=T&&!!(window.MSInputMethodContext&&document.documentMode),U=T&&/MSIE 10/.test(navigator.userAgent);function C(e){return e===11?J:e===10?U:J||U}function S(e){if(!e)return document.documentElement;for(var t=C(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var o=r&&r.nodeName;return!o||o==="BODY"||o==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&E(r,"position")==="static"?S(r):r}function Oe(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||S(e.firstElementChild)===e}function R(e){return e.parentNode!==null?R(e.parentNode):e}function B(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?e:t,s=r?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(s,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||o.contains(s))return Oe(a)?a:S(a);var f=R(e);return f.host?B(f.host,t):B(e,R(t).host)}function P(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=t==="top"?"scrollTop":"scrollLeft",o=e.nodeName;if(o==="BODY"||o==="HTML"){var s=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||s;return i[r]}return e[r]}function Ee(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=P(t,"top"),s=P(t,"left"),i=r?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=s*i,e.right+=s*i,e}function q(e,t){var r=t==="x"?"Left":"Top",o=r==="Left"?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+o+"Width"])}function Y(e,t,r,o){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],C(10)?parseInt(r["offset"+e])+parseInt(o["margin"+(e==="Height"?"Top":"Left")])+parseInt(o["margin"+(e==="Height"?"Bottom":"Right")]):0)}function ee(e){var t=e.body,r=e.documentElement,o=C(10)&&getComputedStyle(r);return{height:Y("Height",t,r,o),width:Y("Width",t,r,o)}}var Se=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Pe=function(){function e(t,r){for(var o=0;o<r.length;o++){var s=r[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),x=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function y(e){return g({},e,{right:e.left+e.width,bottom:e.top+e.height})}function W(e){var t={};try{if(C(10)){t=e.getBoundingClientRect();var r=P(e,"top"),o=P(e,"left");t.top+=r,t.left+=o,t.bottom+=r,t.right+=o}else t=e.getBoundingClientRect()}catch{}var s={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i=e.nodeName==="HTML"?ee(e.ownerDocument):{},a=i.width||e.clientWidth||s.width,f=i.height||e.clientHeight||s.height,u=e.offsetWidth-a,l=e.offsetHeight-f;if(u||l){var n=E(e);u-=q(n,"x"),l-=q(n,"y"),s.width-=u,s.height-=l}return y(s)}function V(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=C(10),s=t.nodeName==="HTML",i=W(e),a=W(t),f=L(e),u=E(t),l=parseFloat(u.borderTopWidth),n=parseFloat(u.borderLeftWidth);r&&s&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=y({top:i.top-a.top-l,left:i.left-a.left-n,width:i.width,height:i.height});if(p.marginTop=0,p.marginLeft=0,!o&&s){var c=parseFloat(u.marginTop),h=parseFloat(u.marginLeft);p.top-=l-c,p.bottom-=l-c,p.left-=n-h,p.right-=n-h,p.marginTop=c,p.marginLeft=h}return(o&&!r?t.contains(f):t===f&&f.nodeName!=="BODY")&&(p=Ee(p,t)),p}function xe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,o=V(e,r),s=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:P(r),f=t?0:P(r,"left"),u={top:a-o.top+o.marginTop,left:f-o.left+o.marginLeft,width:s,height:i};return y(u)}function te(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(E(e,"position")==="fixed")return!0;var r=H(e);return r?te(r):!1}function re(e){if(!e||!e.parentElement||C())return document.documentElement;for(var t=e.parentElement;t&&E(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function I(e,t,r,o){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i={top:0,left:0},a=s?re(e):B(e,Z(t));if(o==="viewport")i=xe(a,s);else{var f=void 0;o==="scrollParent"?(f=L(H(t)),f.nodeName==="BODY"&&(f=e.ownerDocument.documentElement)):o==="window"?f=e.ownerDocument.documentElement:f=o;var u=V(f,a,s);if(f.nodeName==="HTML"&&!te(a)){var l=ee(e.ownerDocument),n=l.height,p=l.width;i.top+=u.top-u.marginTop,i.bottom=n+u.top,i.left+=u.left-u.marginLeft,i.right=p+u.left}else i=u}r=r||0;var c=typeof r=="number";return i.left+=c?r:r.left||0,i.top+=c?r:r.top||0,i.right-=c?r:r.right||0,i.bottom-=c?r:r.bottom||0,i}function Ce(e){var t=e.width,r=e.height;return t*r}function oe(e,t,r,o,s){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var a=I(r,o,i,s),f={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(f).map(function(c){return g({key:c},f[c],{area:Ce(f[c])})}).sort(function(c,h){return h.area-c.area}),l=u.filter(function(c){var h=c.width,d=c.height;return h>=r.clientWidth&&d>=r.clientHeight}),n=l.length>0?l[0].key:u[0].key,p=e.split("-")[1];return n+(p?"-"+p:"")}function ne(e,t,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=o?re(t):B(t,Z(r));return V(r,s,o)}function ie(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),o=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),s=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),i={width:e.offsetWidth+s,height:e.offsetHeight+o};return i}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(r){return t[r]})}function se(e,t,r){r=r.split("-")[0];var o=ie(e),s={width:o.width,height:o.height},i=["right","left"].indexOf(r)!==-1,a=i?"top":"left",f=i?"left":"top",u=i?"height":"width",l=i?"width":"height";return s[a]=t[a]+t[u]/2-o[u]/2,r===f?s[f]=t[f]-o[l]:s[f]=t[A(f)],s}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Te(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(s){return s[t]===r});var o=M(e,function(s){return s[t]===r});return e.indexOf(o)}function ae(e,t,r){var o=r===void 0?e:e.slice(0,Te(e,"name",r));return o.forEach(function(s){s.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=s.function||s.fn;s.enabled&&Q(i)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=i(t,s))}),t}function Le(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ne(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=oe(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=se(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=ae(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function fe(e,t){return e.some(function(r){var o=r.name,s=r.enabled;return s&&o===t})}function _(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var s=t[o],i=s?""+s+r:e;if(typeof document.body.style[i]!="undefined")return i}return null}function Me(){return this.state.isDestroyed=!0,fe(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[_("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function pe(e){var t=e.ownerDocument;return t?t.defaultView:window}function ue(e,t,r,o){var s=e.nodeName==="BODY",i=s?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),s||ue(L(i.parentNode),t,r,o),o.push(i)}function De(e,t,r,o){r.updateBound=o,pe(e).addEventListener("resize",r.updateBound,{passive:!0});var s=L(e);return ue(s,"scroll",r.updateBound,r.scrollParents),r.scrollElement=s,r.eventsEnabled=!0,r}function Be(){this.state.eventsEnabled||(this.state=De(this.reference,this.options,this.state,this.scheduleUpdate))}function Ae(e,t){return pe(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(r){r.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function Ne(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Ae(this.reference,this.state))}function j(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach(function(r){var o="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&j(t[r])&&(o="px"),e.style[r]=t[r]+o})}function ke(e,t){Object.keys(t).forEach(function(r){var o=t[r];o!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function Fe(e){return $(e.instance.popper,e.styles),ke(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&$(e.arrowElement,e.arrowStyles),e}function Re(e,t,r,o,s){var i=ne(s,t,e,r.positionFixed),a=oe(r.placement,i,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),$(t,{position:r.positionFixed?"fixed":"absolute"}),r}function We(e,t){var r=e.offsets,o=r.popper,s=r.reference,i=Math.round,a=Math.floor,f=function(b){return b},u=i(s.width),l=i(o.width),n=["left","right"].indexOf(e.placement)!==-1,p=e.placement.indexOf("-")!==-1,c=u%2===l%2,h=u%2===1&&l%2===1,d=t?n||p||c?i:a:f,v=t?i:f;return{left:d(h&&!p&&t?o.left-1:o.left),top:v(o.top),bottom:v(o.bottom),right:d(o.right)}}var $e=T&&/Firefox/i.test(navigator.userAgent);function He(e,t){var r=t.x,o=t.y,s=e.offsets.popper,i=M(e.instance.modifiers,function(O){return O.name==="applyStyle"}).gpuAcceleration;i!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=i!==void 0?i:t.gpuAcceleration,f=S(e.instance.popper),u=W(f),l={position:s.position},n=We(e,window.devicePixelRatio<2||!$e),p=r==="bottom"?"top":"bottom",c=o==="right"?"left":"right",h=_("transform"),d=void 0,v=void 0;if(p==="bottom"?f.nodeName==="HTML"?v=-f.clientHeight+n.bottom:v=-u.height+n.bottom:v=n.top,c==="right"?f.nodeName==="HTML"?d=-f.clientWidth+n.right:d=-u.width+n.right:d=n.left,a&&h)l[h]="translate3d("+d+"px, "+v+"px, 0)",l[p]=0,l[c]=0,l.willChange="transform";else{var w=p==="bottom"?-1:1,b=c==="right"?-1:1;l[p]=v*w,l[c]=d*b,l.willChange=p+", "+c}var m={"x-placement":e.placement};return e.attributes=g({},m,e.attributes),e.styles=g({},l,e.styles),e.arrowStyles=g({},e.offsets.arrow,e.arrowStyles),e}function le(e,t,r){var o=M(e,function(f){var u=f.name;return u===t}),s=!!o&&e.some(function(f){return f.name===r&&f.enabled&&f.order<o.order});if(!s){var i="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return s}function Ve(e,t){var r;if(!le(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if(typeof o=="string"){if(o=e.instance.popper.querySelector(o),!o)return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var s=e.placement.split("-")[0],i=e.offsets,a=i.popper,f=i.reference,u=["left","right"].indexOf(s)!==-1,l=u?"height":"width",n=u?"Top":"Left",p=n.toLowerCase(),c=u?"left":"top",h=u?"bottom":"right",d=ie(o)[l];f[h]-d<a[p]&&(e.offsets.popper[p]-=a[p]-(f[h]-d)),f[p]+d>a[h]&&(e.offsets.popper[p]+=f[p]+d-a[h]),e.offsets.popper=y(e.offsets.popper);var v=f[p]+f[l]/2-d/2,w=E(e.instance.popper),b=parseFloat(w["margin"+n]),m=parseFloat(w["border"+n+"Width"]),O=v-e.offsets.popper[p]-b-m;return O=Math.max(Math.min(a[l]-d,O),0),e.arrowElement=o,e.offsets.arrow=(r={},x(r,p,Math.round(O)),x(r,c,""),r),e}function Ie(e){return e==="end"?"start":e==="start"?"end":e}var ce=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],k=ce.slice(3);function G(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=k.indexOf(e),o=k.slice(r+1).concat(k.slice(0,r));return t?o.reverse():o}var F={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function _e(e,t){if(fe(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],s=A(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case F.FLIP:a=[o,s];break;case F.CLOCKWISE:a=G(o);break;case F.COUNTERCLOCKWISE:a=G(o,!0);break;default:a=t.behavior}return a.forEach(function(f,u){if(o!==f||a.length===u+1)return e;o=e.placement.split("-")[0],s=A(o);var l=e.offsets.popper,n=e.offsets.reference,p=Math.floor,c=o==="left"&&p(l.right)>p(n.left)||o==="right"&&p(l.left)<p(n.right)||o==="top"&&p(l.bottom)>p(n.top)||o==="bottom"&&p(l.top)<p(n.bottom),h=p(l.left)<p(r.left),d=p(l.right)>p(r.right),v=p(l.top)<p(r.top),w=p(l.bottom)>p(r.bottom),b=o==="left"&&h||o==="right"&&d||o==="top"&&v||o==="bottom"&&w,m=["top","bottom"].indexOf(o)!==-1,O=!!t.flipVariations&&(m&&i==="start"&&h||m&&i==="end"&&d||!m&&i==="start"&&v||!m&&i==="end"&&w),he=!!t.flipVariationsByContent&&(m&&i==="start"&&d||m&&i==="end"&&h||!m&&i==="start"&&w||!m&&i==="end"&&v),z=O||he;(c||b||z)&&(e.flipped=!0,(c||b)&&(o=a[u+1]),z&&(i=Ie(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=g({},e.offsets.popper,se(e.instance.popper,e.offsets.reference,e.placement)),e=ae(e.instance.modifiers,e,"flip"))}),e}function je(e){var t=e.offsets,r=t.popper,o=t.reference,s=e.placement.split("-")[0],i=Math.floor,a=["top","bottom"].indexOf(s)!==-1,f=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return r[f]<i(o[u])&&(e.offsets.popper[u]=i(o[u])-r[l]),r[u]>i(o[f])&&(e.offsets.popper[u]=i(o[f])),e}function ze(e,t,r,o){var s=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+s[1],a=s[2];if(!i)return e;if(a.indexOf("%")===0){var f=void 0;switch(a){case"%p":f=r;break;case"%":case"%r":default:f=o}var u=y(f);return u[t]/100*i}else if(a==="vh"||a==="vw"){var l=void 0;return a==="vh"?l=Math.max(document.documentElement.clientHeight,window.innerHeight||0):l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),l/100*i}else return i}function Je(e,t,r,o){var s=[0,0],i=["right","left"].indexOf(o)!==-1,a=e.split(/(\+|\-)/).map(function(n){return n.trim()}),f=a.indexOf(M(a,function(n){return n.search(/,|\s/)!==-1}));a[f]&&a[f].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=f!==-1?[a.slice(0,f).concat([a[f].split(u)[0]]),[a[f].split(u)[1]].concat(a.slice(f+1))]:[a];return l=l.map(function(n,p){var c=(p===1?!i:i)?"height":"width",h=!1;return n.reduce(function(d,v){return d[d.length-1]===""&&["+","-"].indexOf(v)!==-1?(d[d.length-1]=v,h=!0,d):h?(d[d.length-1]+=v,h=!1,d):d.concat(v)},[]).map(function(d){return ze(d,c,t,r)})}),l.forEach(function(n,p){n.forEach(function(c,h){j(c)&&(s[p]+=c*(n[h-1]==="-"?-1:1))})}),s}function Ue(e,t){var r=t.offset,o=e.placement,s=e.offsets,i=s.popper,a=s.reference,f=o.split("-")[0],u=void 0;return j(+r)?u=[+r,0]:u=Je(r,i,a,f),f==="left"?(i.top+=u[0],i.left-=u[1]):f==="right"?(i.top+=u[0],i.left+=u[1]):f==="top"?(i.left+=u[0],i.top-=u[1]):f==="bottom"&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e}function qe(e,t){var r=t.boundariesElement||S(e.instance.popper);e.instance.reference===r&&(r=S(r));var o=_("transform"),s=e.instance.popper.style,i=s.top,a=s.left,f=s[o];s.top="",s.left="",s[o]="";var u=I(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);s.top=i,s.left=a,s[o]=f,t.boundaries=u;var l=t.priority,n=e.offsets.popper,p={primary:function(h){var d=n[h];return n[h]<u[h]&&!t.escapeWithReference&&(d=Math.max(n[h],u[h])),x({},h,d)},secondary:function(h){var d=h==="right"?"left":"top",v=n[d];return n[h]>u[h]&&!t.escapeWithReference&&(v=Math.min(n[d],u[h]-(h==="right"?n.width:n.height))),x({},d,v)}};return l.forEach(function(c){var h=["left","top"].indexOf(c)!==-1?"primary":"secondary";n=g({},n,p[h](c))}),e.offsets.popper=n,e}function Ye(e){var t=e.placement,r=t.split("-")[0],o=t.split("-")[1];if(o){var s=e.offsets,i=s.reference,a=s.popper,f=["bottom","top"].indexOf(r)!==-1,u=f?"left":"top",l=f?"width":"height",n={start:x({},u,i[u]),end:x({},u,i[u]+i[l]-a[l])};e.offsets.popper=g({},a,n[o])}return e}function Ge(e){if(!le(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=M(e.instance.modifiers,function(o){return o.name==="preventOverflow"}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function Ke(e){var t=e.placement,r=t.split("-")[0],o=e.offsets,s=o.popper,i=o.reference,a=["left","right"].indexOf(r)!==-1,f=["top","left"].indexOf(r)===-1;return s[a?"left":"top"]=i[r]-(f?s[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=y(s),e}var Xe={shift:{order:100,enabled:!0,fn:Ye},offset:{order:200,enabled:!0,fn:Ue,offset:0},preventOverflow:{order:300,enabled:!0,fn:qe,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:je},arrow:{order:500,enabled:!0,fn:Ve,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:_e,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Ke},hide:{order:800,enabled:!0,fn:Ge},computeStyle:{order:850,enabled:!0,fn:He,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:Fe,onLoad:Re,gpuAcceleration:void 0}},Qe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Xe},N=function(){function e(t,r){var o=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Se(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=ye(this.update.bind(this)),this.options=g({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(g({},e.Defaults.modifiers,s.modifiers)).forEach(function(a){o.options.modifiers[a]=g({},e.Defaults.modifiers[a]||{},s.modifiers?s.modifiers[a]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return g({name:a},o.options.modifiers[a])}).sort(function(a,f){return a.order-f.order}),this.modifiers.forEach(function(a){a.enabled&&Q(a.onLoad)&&a.onLoad(o.reference,o.popper,o.options,a,o.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Pe(e,[{key:"update",value:function(){return Le.call(this)}},{key:"destroy",value:function(){return Me.call(this)}},{key:"enableEventListeners",value:function(){return Be.call(this)}},{key:"disableEventListeners",value:function(){return Ne.call(this)}}]),e}();N.Utils=(typeof window!="undefined"?window:global).PopperUtils;N.placements=ce;N.Defaults=Qe;const Ze=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"})),et=X(Ze),tt=X(ve);var rt=D.exports,K;function ot(){return K||(K=1,function(e,t){(function(r,o){e.exports=o(et,tt)})(rt,function(r,o){function s(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var i=s(r);function a(n,p,c){n&&p&&c&&(document.addEventListener?n.addEventListener(p,c,!1):n.attachEvent("on"+p,c))}function f(n,p,c){n&&p&&(document.removeEventListener?n.removeEventListener(p,c,!1):n.detachEvent("on"+p,c))}var u={props:{tagName:{type:String,default:"span"},trigger:{type:String,default:"hover",validator:function(n){return["clickToOpen","click","clickToToggle","hover","focus"].indexOf(n)>-1}},delayOnMouseOver:{type:Number,default:10},delayOnMouseOut:{type:Number,default:10},disabled:{type:Boolean,default:!1},content:String,enterActiveClass:String,leaveActiveClass:String,boundariesSelector:String,reference:{},forceShow:{type:Boolean,default:!1},dataValue:{default:null},appendToBody:{type:Boolean,default:!1},visibleArrow:{type:Boolean,default:!0},transition:{type:String,default:""},stopPropagation:{type:Boolean,default:!1},preventDefault:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},rootClass:{type:String,default:""}},data:function(){return{referenceElm:null,popperJS:null,showPopper:!1,currentPlacement:"",popperOptions:{placement:"bottom",computeStyle:{gpuAcceleration:!1}}}},watch:{showPopper:function(n){n?(this.$emit("show",this),this.popperJS&&this.popperJS.enableEventListeners(),this.updatePopper()):(this.popperJS&&this.popperJS.disableEventListeners(),this.$emit("hide",this))},forceShow:{handler:function(n){this[n?"doShow":"doClose"]()},immediate:!0},disabled:function(n){n&&(this.showPopper=!1)}},created:function(){this.appendedArrow=!1,this.appendedToBody=!1,this.popperOptions=Object.assign(this.popperOptions,this.options)},mounted:function(){switch(this.referenceElm=this.$refs.wrapper.children[0],this.popper=this.$refs.popper.children[0],this.trigger){case"clickToOpen":a(this.referenceElm,"click",this.doShow),a(document,"click",this.handleDocumentClick),a(document,"touchstart",this.handleDocumentClick);break;case"click":case"clickToToggle":a(this.referenceElm,"click",this.doToggle),a(document,"click",this.handleDocumentClick),a(document,"touchstart",this.handleDocumentClick);break;case"hover":a(this.referenceElm,"mouseover",this.onMouseOver),a(this.popper,"mouseover",this.onMouseOver),a(this.referenceElm,"mouseout",this.onMouseOut),a(this.popper,"mouseout",this.onMouseOut);break;case"focus":a(this.referenceElm,"focus",this.onMouseOver),a(this.popper,"focus",this.onMouseOver),a(this.referenceElm,"blur",this.onMouseOut),a(this.popper,"blur",this.onMouseOut)}},methods:{doToggle:function(n){this.stopPropagation&&n.stopPropagation(),this.preventDefault&&n.preventDefault(),this.forceShow||(this.showPopper=!this.showPopper)},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},doDestroy:function(){this.showPopper||(this.popperJS&&(this.popperJS.destroy(),this.popperJS=null),this.appendedToBody&&(this.appendedToBody=!1,document.body.removeChild(this.popper.parentElement)))},createPopper:function(){var n=this;this.$nextTick(function(){if(n.visibleArrow&&n.appendArrow(n.popper),n.appendToBody&&!n.appendedToBody&&(n.appendedToBody=!0,document.body.appendChild(n.popper.parentElement)),n.popperJS&&n.popperJS.destroy&&n.popperJS.destroy(),n.boundariesSelector){var p=document.querySelector(n.boundariesSelector);p&&(n.popperOptions.modifiers=Object.assign({},n.popperOptions.modifiers),n.popperOptions.modifiers.preventOverflow=Object.assign({},n.popperOptions.modifiers.preventOverflow),n.popperOptions.modifiers.preventOverflow.boundariesElement=p)}n.popperOptions.onCreate=function(){n.$emit("created",n),n.$nextTick(n.updatePopper)},n.popperJS=new i.default(n.referenceElm,n.popper,n.popperOptions)})},destroyPopper:function(){f(this.referenceElm,"click",this.doToggle),f(this.referenceElm,"mouseup",this.doClose),f(this.referenceElm,"mousedown",this.doShow),f(this.referenceElm,"focus",this.doShow),f(this.referenceElm,"blur",this.doClose),f(this.referenceElm,"mouseout",this.onMouseOut),f(this.referenceElm,"mouseover",this.onMouseOver),f(document,"click",this.handleDocumentClick),this.showPopper=!1,this.doDestroy()},appendArrow:function(n){if(!this.appendedArrow){this.appendedArrow=!0;var p=document.createElement("div");p.setAttribute("x-arrow",""),p.className="popper__arrow",n.appendChild(p)}},updatePopper:function(){this.popperJS?this.popperJS.scheduleUpdate():this.createPopper()},onMouseOver:function(){var n=this;clearTimeout(this._timer),this._timer=setTimeout(function(){n.showPopper=!0},this.delayOnMouseOver)},onMouseOut:function(){var n=this;clearTimeout(this._timer),this._timer=setTimeout(function(){n.showPopper=!1},this.delayOnMouseOut)},handleDocumentClick:function(n){this.$el&&this.referenceElm&&!this.elementContains(this.$el,n.target)&&!this.elementContains(this.referenceElm,n.target)&&this.popper&&!this.elementContains(this.popper,n.target)&&(this.$emit("documentClick",this),this.forceShow||(this.showPopper=!1))},elementContains:function(n,p){return typeof n.contains=="function"&&n.contains(p)}},unmounted:function(){this.destroyPopper()}},l={ref:"wrapper"};return u.render=function(n,p,c,h,d,v){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(c.tagName),{class:o.normalizeClass({"popper-active":d.showPopper})},{default:o.withCtx(function(){return[o.createVNode(o.Transition,{name:c.transition,"enter-active-class":c.enterActiveClass,"leave-active-class":c.leaveActiveClass,onAfterLeave:v.doDestroy},{default:o.withCtx(function(){return[o.withDirectives(o.createElementVNode("span",{ref:"popper",class:o.normalizeClass(c.rootClass)},[o.renderSlot(n.$slots,"default",{},function(){return[o.createTextVNode(o.toDisplayString(c.content),1)]})],2),[[o.vShow,!c.disabled&&d.showPopper]])]}),_:3},8,["name","enter-active-class","leave-active-class","onAfterLeave"]),o.createElementVNode("span",l,[o.renderSlot(n.$slots,"reference")],512)]}),_:3},8,["class"])},u})}(D)),D.exports}var nt=ot();const at=de(nt);export{at as V};
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
`,-1),c())),e.components.length&&(dr(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(dr(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),dr(e.filters,"filter",n),c()),e.temps>0){i("let ");for(let A=0;A<e.temps;A++)i(`${A>0?", ":""}_temp${A}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
26
26
|
`,0),c()),f||i("return "),e.codegenNode?Me(e.codegenNode,n):i("null"),g&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Sg(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:c}=t,a=l,f=Array.from(e.helpers);if(f.length>0&&(i(`const _Vue = ${a}
|
|
27
27
|
`,-1),e.hoists.length)){const u=[Ho,Uo,xs,jo,pu].filter(d=>f.includes(d)).map(Pu).join(", ");i(`const { ${u} } = _Vue
|
|
28
|
-
`,-1)}vg(e.hoists,t),r(),i("return ")}function dr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Go:t==="component"?Ko:qo);for(let l=0;l<e.length;l++){let c=e[l];const a=c.endsWith("__self");a&&(c=c.slice(0,-6)),s(`const ${ps(c,t)} = ${o}(${JSON.stringify(c)}${a?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function vg(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),Me(r,t),s())}t.pure=!1}function rl(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Os(e,t,n),n&&t.deindent(),t.push("]")}function Os(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];Z(l)?i(l,-3):B(l)?rl(l,t):Me(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function Me(e,t){if(Z(e)){t.push(e,-3);return}if(Ke(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Me(e.codegenNode,t);break;case 2:Eg(e,t);break;case 4:Mu(e,t);break;case 5:Tg(e,t);break;case 12:Me(e.codegenNode,t);break;case 8:ku(e,t);break;case 3:Ag(e,t);break;case 13:Ng(e,t);break;case 14:xg(e,t);break;case 15:Ig(e,t);break;case 17:Og(e,t);break;case 18:Rg(e,t);break;case 19:Pg(e,t);break;case 20:Mg(e,t);break;case 21:Os(e.body,t,!0,!1);break}}function Eg(e,t){t.push(JSON.stringify(e.content),-3,e)}function Mu(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function Tg(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(Gi)}(`),Me(e.content,t),n(")")}function ku(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];Z(s)?t.push(s,-3):Me(s,t)}}function Cg(e,t){const{push:n}=t;if(e.type===8)n("["),ku(e,t),n("]");else if(e.isStatic){const s=sl(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function Ag(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(xs)}(${JSON.stringify(e.content)})`,-3,e)}function Ng(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:c,dynamicProps:a,directives:f,isBlock:u,disableTracking:d,isComponent:g}=e;let b;c&&(b=String(c)),f&&n(s(Jo)+"("),u&&n(`(${s(cn)}(${d?"true":""}), `),i&&n(Xi);const _=u?Ln(t.inSSR,g):kn(t.inSSR,g);n(s(_)+"(",-2,e),Os(wg([r,o,l,b,a]),t),n(")"),u&&n(")"),f&&(n(", "),Me(f,t),n(")"))}function wg(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function xg(e,t){const{push:n,helper:s,pure:i}=t,r=Z(e.callee)?e.callee:s(e.callee);i&&n(Xi),n(r+"(",-2,e),Os(e.arguments,t),n(")")}function Ig(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let c=0;c<o.length;c++){const{key:a,value:f}=o[c];Cg(a,t),n(": "),Me(f,t),c<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function Og(e,t){rl(e.elements,t)}function Rg(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:c,isSlot:a}=e;a&&n(`_${Pn[zo]}(`),n("(",-2,e),B(r)?Os(r,t):r&&Me(r,t),n(") => "),(c||l)&&(n("{"),s()),o?(c&&n("return "),B(o)?rl(o,t):Me(o,t)):l&&Me(l,t),(c||l)&&(i(),n("}")),a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Pg(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:a}=t;if(n.type===4){const u=!sl(n.content);u&&o("("),Mu(n,t),u&&o(")")}else o("("),Me(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),Me(s,t),t.indentLevel--,r&&a(),r||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,Me(i,t),f||t.indentLevel--,r&&c(!0)}function Mg(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(bi)}(-1),`),o(),n("(")),n(`_cache[${e.index}] = `),Me(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(bi)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const kg=Ru(/^(if|else|else-if)$/,(e,t,n)=>Lg(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const a=o[l];a&&a.type===9&&(c+=a.branches.length)}return()=>{if(r)s.codegenNode=ic(i,c,n);else{const a=Dg(s.codegenNode);a.alternate=ic(i,c+s.branches.length-1,n)}}}));function Lg(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(de(28,t.loc)),t.exp=Q("true",!1,i)}if(t.name==="if"){const i=sc(e,t),r={type:9,loc:cg(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(de(30,e.loc)),n.removeNode();const l=sc(e,t);o.branches.push(l);const c=s&&s(o,l,!1);Yi(l,n),c&&c(),n.currentNode=null}else n.onError(de(30,e.loc));break}}}function sc(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!tt(e,"for")?e.children:[e],userKey:Ji(e,"key"),isTemplateIf:n}}function ic(e,t,n){return e.condition?kr(e.condition,rc(e,t,n),ve(n.helper(xs),['""',"true"])):rc(e,t,n)}function rc(e,t,n){const{helper:s}=n,i=ye("key",Q(`${t}`,!1,ze,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return Ei(c,i,n),c}else return hs(n,s(fs),nt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,a=Zp(c);return a.type===13&&tl(a,n),Ei(a,i,n),c}}function Dg(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Fg=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(de(52,r.loc)),{props:[ye(r,Q("",!0,i))]};Lu(e),o=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=ue(r.content):r.content=`${n.helperString(Pr)}(${r.content})`:(r.children.unshift(`${n.helperString(Pr)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&oc(r,"."),s.some(l=>l.content==="attr")&&oc(r,"^")),{props:[ye(r,o)]}},Lu=(e,t)=>{const n=e.arg,s=ue(n.content);e.exp=Q(s,!1,n.loc)},oc=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Vg=Ru("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return $g(e,t,n,r=>{const o=ve(s(Yo),[r.source]),l=Si(e),c=tt(e,"memo"),a=Ji(e,"key",!1,!0);a&&a.type===7&&!a.exp&&Lu(a);const f=a&&(a.type===6?a.value?Q(a.value.content,!0):void 0:a.exp),u=a&&f?ye("key",f):null,d=r.source.type===4&&r.source.constType>0,g=d?64:a?128:256;return r.codegenNode=hs(n,s(fs),void 0,o,g,void 0,void 0,!0,!d,!1,e.loc),()=>{let b;const{children:_}=r,k=_.length!==1||_[0].type!==1,w=vi(e)?e:l&&e.children.length===1&&vi(e.children[0])?e.children[0]:null;if(w?(b=w.codegenNode,l&&u&&Ei(b,u,n)):k?b=hs(n,s(fs),u?nt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=_[0].codegenNode,l&&u&&Ei(b,u,n),b.isBlock!==!d&&(b.isBlock?(i(cn),i(Ln(n.inSSR,b.isComponent))):i(kn(n.inSSR,b.isComponent))),b.isBlock=!d,b.isBlock?(s(cn),s(Ln(n.inSSR,b.isComponent))):s(kn(n.inSSR,b.isComponent))),c){const A=Mn(Fr(r.parseResult,[Q("_cached")]));A.body=Vp([ct(["const _memo = (",c.exp,")"]),ct(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(yu)}(_cached, _memo)) return _cached`]),ct(["const _item = ",b]),Q("_item.memo = _memo"),Q("return _item")]),o.arguments.push(A,Q("_cache"),Q(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Mn(Fr(r.parseResult),b,!0))}})});function $g(e,t,n,s){if(!t.exp){n.onError(de(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(de(32,t.loc));return}Du(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:a,key:f,index:u}=i,d={type:11,loc:t.loc,source:c,valueAlias:a,keyAlias:f,objectIndexAlias:u,parseResult:i,children:Si(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const g=s&&s(d);return()=>{l.vFor--,g&&g()}}function Du(e,t){e.finalized||(e.finalized=!0)}function Fr({value:e,key:t,index:n},s=[]){return Bg([e,t,n,...s])}function Bg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Q("_".repeat(s+1),!1))}const lc=Q("undefined",!1),Hg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ug=(e,t,n,s)=>Mn(e,n,!1,!0,n.length?n[0].loc:s);function jg(e,t,n=Ug){t.helper(zo);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=tt(e,"slot",!0);if(c){const{arg:k,exp:w}=c;k&&!Ue(k)&&(l=!0),r.push(ye(k||Q("default",!0),n(w,void 0,s,i)))}let a=!1,f=!1;const u=[],d=new Set;let g=0;for(let k=0;k<s.length;k++){const w=s[k];let A;if(!Si(w)||!(A=tt(w,"slot",!0))){w.type!==3&&u.push(w);continue}if(c){t.onError(de(37,A.loc));break}a=!0;const{children:m,loc:y}=w,{arg:v=Q("default",!0),exp:x,loc:V}=A;let O;Ue(v)?O=v?v.content:"default":l=!0;const S=tt(w,"for"),T=n(x,S,m,y);let M,C;if(M=tt(w,"if"))l=!0,o.push(kr(M.exp,js(v,T,g++),lc));else if(C=tt(w,/^else(-if)?$/,!0)){let D=k,W;for(;D--&&(W=s[D],W.type===3););if(W&&Si(W)&&tt(W,/^(else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=C.exp?kr(C.exp,js(v,T,g++),lc):js(v,T,g++)}else t.onError(de(30,C.loc))}else if(S){l=!0;const D=S.forParseResult;D?(Du(D),o.push(ve(t.helper(Yo),[D.source,Mn(Fr(D),js(v,T),!0)]))):t.onError(de(32,S.loc))}else{if(O){if(d.has(O)){t.onError(de(38,V));continue}d.add(O),O==="default"&&(f=!0)}r.push(ye(v,T))}}if(!c){const k=(w,A)=>{const m=n(w,void 0,A,i);return t.compatConfig&&(m.isNonScopedSlot=!0),ye("default",m)};a?u.length&&u.some(w=>Fu(w))&&(f?t.onError(de(39,u[0].loc)):r.push(k(void 0,u))):r.push(k(void 0,s))}const b=l?2:Qs(e.children)?3:1;let _=nt(r.concat(ye("_",Q(b+"",!1))),i);return o.length&&(_=ve(t.helper(mu),[_,nn(o)])),{slots:_,hasDynamicSlots:l}}function js(e,t,n){const s=[ye("name",e),ye("fn",t)];return n!=null&&s.push(ye("key",Q(String(n),!0))),nt(s)}function Qs(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Qs(n.children))return!0;break;case 9:if(Qs(n.branches))return!0;break;case 10:case 11:if(Qs(n.children))return!0;break}}return!1}function Fu(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():Fu(e.content)}const Vu=new WeakMap,Kg=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?Wg(e,t):`"${s}"`;const l=le(o)&&o.callee===Wo;let c,a,f=0,u,d,g,b=l||o===es||o===Bo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const _=$u(e,t,void 0,r,l);c=_.props,f=_.patchFlag,d=_.dynamicPropNames;const k=_.directives;g=k&&k.length?nn(k.map(w=>Gg(w,t))):void 0,_.shouldUseBlock&&(b=!0)}if(e.children.length>0)if(o===mi&&(b=!0,f|=1024),r&&o!==es&&o!==mi){const{slots:k,hasDynamicSlots:w}=jg(e,t);a=k,w&&(f|=1024)}else if(e.children.length===1&&o!==es){const k=e.children[0],w=k.type,A=w===5||w===8;A&&Ye(k,t)===0&&(f|=1),A||w===2?a=k:a=e.children}else a=e.children;d&&d.length&&(u=Jg(d)),e.codegenNode=hs(t,o,c,a,f===0?void 0:f,u,g,!!b,!1,r,e.loc)};function Wg(e,t,n=!1){let{tag:s}=e;const i=Vr(s),r=Ji(e,"is",!1,!0);if(r)if(i||sn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Q(r.value.content,!0):(l=r.exp,l||(l=Q("is",!1,r.arg.loc))),l)return ve(t.helper(Wo),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=_u(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Ko),t.components.add(s),ps(s,"component"))}function $u(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let a=[];const f=[],u=[],d=c.length>0;let g=!1,b=0,_=!1,k=!1,w=!1,A=!1,m=!1,y=!1;const v=[],x=T=>{a.length&&(f.push(nt(cc(a),l)),a=[]),T&&f.push(T)},V=()=>{t.scopes.vFor>0&&a.push(ye(Q("ref_for",!0),Q("true")))},O=({key:T,value:M})=>{if(Ue(T)){const C=T.content,D=an(C);if(D&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!Vt(C)&&(A=!0),D&&Vt(C)&&(y=!0),D&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&Ye(M,t)>0)return;C==="ref"?_=!0:C==="class"?k=!0:C==="style"?w=!0:C!=="key"&&!v.includes(C)&&v.push(C),s&&(C==="class"||C==="style")&&!v.includes(C)&&v.push(C)}else m=!0};for(let T=0;T<n.length;T++){const M=n[T];if(M.type===6){const{loc:C,name:D,nameLoc:W,value:J}=M;let U=!0;if(D==="ref"&&(_=!0,V()),D==="is"&&(Vr(o)||J&&J.content.startsWith("vue:")||sn("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(ye(Q(D,!0,W),Q(J?J.content:"",U,J?J.loc:C)))}else{const{name:C,arg:D,exp:W,loc:J,modifiers:U}=M,Y=C==="bind",j=C==="on";if(C==="slot"){s||t.onError(de(40,J));continue}if(C==="once"||C==="memo"||C==="is"||Y&&Zt(D,"is")&&(Vr(o)||sn("COMPILER_IS_ON_ELEMENT",t))||j&&r)continue;if((Y&&Zt(D,"key")||j&&d&&Zt(D,"vue:before-update"))&&(g=!0),Y&&Zt(D,"ref")&&V(),!D&&(Y||j)){if(m=!0,W)if(Y){if(V(),x(),sn("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(W);continue}f.push(W)}else x({type:14,loc:J,callee:t.helper(Qo),arguments:s?[W]:[W,"true"]});else t.onError(de(Y?34:35,J));continue}Y&&U.some(ft=>ft.content==="prop")&&(b|=32);const be=t.directiveTransforms[C];if(be){const{props:ft,needRuntime:it}=be(M,e,t);!r&&ft.forEach(O),j&&D&&!Ue(D)?x(nt(ft,l)):a.push(...ft),it&&(u.push(M),Ke(it)&&Vu.set(M,it))}else ih(C)||(u.push(M),d&&(g=!0))}}let S;if(f.length?(x(),f.length>1?S=ve(t.helper(yi),f,l):S=f[0]):a.length&&(S=nt(cc(a),l)),m?b|=16:(k&&!s&&(b|=2),w&&!s&&(b|=4),v.length&&(b|=8),A&&(b|=32)),!g&&(b===0||b===32)&&(_||y||u.length>0)&&(b|=512),!t.inSSR&&S)switch(S.type){case 15:let T=-1,M=-1,C=!1;for(let J=0;J<S.properties.length;J++){const U=S.properties[J].key;Ue(U)?U.content==="class"?T=J:U.content==="style"&&(M=J):U.isHandlerKey||(C=!0)}const D=S.properties[T],W=S.properties[M];C?S=ve(t.helper(us),[S]):(D&&!Ue(D.value)&&(D.value=ve(t.helper(Xo),[D.value])),W&&(w||W.value.type===4&&W.value.content.trim()[0]==="["||W.value.type===17)&&(W.value=ve(t.helper(Zo),[W.value])));break;case 14:break;default:S=ve(t.helper(us),[ve(t.helper(Is),[S])]);break}return{props:S,directives:u,patchFlag:b,dynamicPropNames:v,shouldUseBlock:g}}function cc(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||an(r))&&qg(o,i):(t.set(r,i),n.push(i))}return n}function qg(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=nn([e.value,t.value],e.loc)}function Gg(e,t){const n=[],s=Vu.get(e);s?n.push(t.helperString(s)):(t.helper(qo),t.directives.add(e.name),n.push(ps(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=Q("true",!1,i);n.push(nt(e.modifiers.map(o=>ye(o,r)),i))}return nn(n,e.loc)}function Jg(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Vr(e){return e==="component"||e==="Component"}const Yg=(e,t)=>{if(vi(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Xg(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Mn([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=ve(t.helper(gu),o,s)}};function Xg(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=ue(o.name),i.push(o)));else if(o.name==="bind"&&Zt(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=ue(o.arg.content);n=o.exp=Q(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ue(o.arg)&&(o.arg.content=ue(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=$u(e,t,i,!1,!1);s=r,o.length&&t.onError(de(36,o[0].loc))}return{slotName:n,slotProps:s}}const Bu=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(de(35,i));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const d=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?zt(ue(u)):`on:${u}`;l=Q(d,!0,o.loc)}else l=ct([`${n.helperString(Mr)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Mr)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=vu(c),d=!(u||Gp(c)),g=c.content.includes(";");(d||a&&u)&&(c=ct([`${d?"$event":"(...args)"} => ${g?"{":"("}`,c,g?"}":")"]))}let f={props:[ye(l,c||Q("() => {}",!1,i))]};return s&&(f=s(f)),a&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(u=>u.key.isHandlerKey=!0),f},Zg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)){i=!0;for(let l=r+1;l<n.length;l++){const c=n[l];if(hr(c))s||(s=n[r]=ct([o],o.loc)),s.children.push(" + ",c),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Ye(o,t)===0&&l.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:ve(t.helper(jo),l)}}}}},ac=new WeakSet,Qg=(e,t)=>{if(e.type===1&&tt(e,"once",!0))return ac.has(e)||t.inVOnce||t.inSSR?void 0:(ac.add(e),t.inVOnce=!0,t.helper(bi),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Hu=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(de(41,e.loc)),Ks();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(de(44,s.loc)),Ks();if(!o.trim()||!vu(s)&&!!1)return n.onError(de(42,s.loc)),Ks();const a=i||Q("modelValue",!0),f=i?Ue(i)?`onUpdate:${ue(i.content)}`:ct(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=ct([`${d} => ((`,s,") = $event)"]);const g=[ye(a,e.exp),ye(f,u)];if(e.modifiers.length&&t.tagType===1){const b=e.modifiers.map(k=>k.content).map(k=>(sl(k)?k:JSON.stringify(k))+": true").join(", "),_=i?Ue(i)?`${i.content}Modifiers`:ct([i,' + "Modifiers"']):"modelModifiers";g.push(ye(_,Q(`{ ${b} }`,!1,e.loc,2)))}return Ks(g)};function Ks(e=[]){return{props:e}}const zg=/[\w).+\-_$\]]/,em=(e,t)=>{sn("COMPILER_FILTERS",t)&&(e.type===5?Ti(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Ti(n.exp,t)}))};function Ti(e,t){if(e.type===4)fc(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?fc(s,t):s.type===8?Ti(e,t):s.type===5&&Ti(s.content,t))}}function fc(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,c=0,a=0,f=0,u,d,g,b,_=[];for(g=0;g<n.length;g++)if(d=u,u=n.charCodeAt(g),s)u===39&&d!==92&&(s=!1);else if(i)u===34&&d!==92&&(i=!1);else if(r)u===96&&d!==92&&(r=!1);else if(o)u===47&&d!==92&&(o=!1);else if(u===124&&n.charCodeAt(g+1)!==124&&n.charCodeAt(g-1)!==124&&!l&&!c&&!a)b===void 0?(f=g+1,b=n.slice(0,g).trim()):k();else{switch(u){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:a++;break;case 41:a--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--;break}if(u===47){let w=g-1,A;for(;w>=0&&(A=n.charAt(w),A===" ");w--);(!A||!zg.test(A))&&(o=!0)}}b===void 0?b=n.slice(0,g).trim():f!==0&&k();function k(){_.push(n.slice(f,g).trim()),f=g+1}if(_.length){for(g=0;g<_.length;g++)b=tm(b,_[g],t);e.content=b,e.ast=void 0}}function tm(e,t,n){n.helper(Go);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ps(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ps(i,"filter")}(${e}${r!==")"?","+r:r}`}}const uc=new WeakSet,nm=(e,t)=>{if(e.type===1){const n=tt(e,"memo");return!n||uc.has(e)?void 0:(uc.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&tl(s,t),e.codegenNode=ve(t.helper(el),[n.exp,Mn(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function sm(e){return[[Qg,kg,nm,Vg,em,Yg,Kg,Hg,Zg],{on:Bu,bind:Fg,model:Hu}]}function im(e,t={}){const n=t.onError||nl,s=t.mode==="module";t.prefixIdentifiers===!0?n(de(47)):s&&n(de(48));const i=!1;t.cacheHandlers&&n(de(49)),t.scopeId&&!s&&n(de(50));const r=ee({},t,{prefixIdentifiers:i}),o=Z(e)?ug(e,r):e,[l,c]=sm();return gg(o,ee({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ee({},c,t.directiveTransforms||{})})),_g(o,r)}const rm=()=>({props:[]});/**
|
|
28
|
+
`,-1)}vg(e.hoists,t),r(),i("return ")}function dr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Go:t==="component"?Ko:qo);for(let l=0;l<e.length;l++){let c=e[l];const a=c.endsWith("__self");a&&(c=c.slice(0,-6)),s(`const ${ps(c,t)} = ${o}(${JSON.stringify(c)}${a?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function vg(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),Me(r,t),s())}t.pure=!1}function rl(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Os(e,t,n),n&&t.deindent(),t.push("]")}function Os(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];Z(l)?i(l,-3):B(l)?rl(l,t):Me(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function Me(e,t){if(Z(e)){t.push(e,-3);return}if(Ke(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Me(e.codegenNode,t);break;case 2:Eg(e,t);break;case 4:Mu(e,t);break;case 5:Tg(e,t);break;case 12:Me(e.codegenNode,t);break;case 8:ku(e,t);break;case 3:Ag(e,t);break;case 13:Ng(e,t);break;case 14:xg(e,t);break;case 15:Ig(e,t);break;case 17:Og(e,t);break;case 18:Rg(e,t);break;case 19:Pg(e,t);break;case 20:Mg(e,t);break;case 21:Os(e.body,t,!0,!1);break}}function Eg(e,t){t.push(JSON.stringify(e.content),-3,e)}function Mu(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function Tg(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(Gi)}(`),Me(e.content,t),n(")")}function ku(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];Z(s)?t.push(s,-3):Me(s,t)}}function Cg(e,t){const{push:n}=t;if(e.type===8)n("["),ku(e,t),n("]");else if(e.isStatic){const s=sl(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function Ag(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(xs)}(${JSON.stringify(e.content)})`,-3,e)}function Ng(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:c,dynamicProps:a,directives:f,isBlock:u,disableTracking:d,isComponent:g}=e;let b;c&&(b=String(c)),f&&n(s(Jo)+"("),u&&n(`(${s(cn)}(${d?"true":""}), `),i&&n(Xi);const _=u?Ln(t.inSSR,g):kn(t.inSSR,g);n(s(_)+"(",-2,e),Os(wg([r,o,l,b,a]),t),n(")"),u&&n(")"),f&&(n(", "),Me(f,t),n(")"))}function wg(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function xg(e,t){const{push:n,helper:s,pure:i}=t,r=Z(e.callee)?e.callee:s(e.callee);i&&n(Xi),n(r+"(",-2,e),Os(e.arguments,t),n(")")}function Ig(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let c=0;c<o.length;c++){const{key:a,value:f}=o[c];Cg(a,t),n(": "),Me(f,t),c<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function Og(e,t){rl(e.elements,t)}function Rg(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:c,isSlot:a}=e;a&&n(`_${Pn[zo]}(`),n("(",-2,e),B(r)?Os(r,t):r&&Me(r,t),n(") => "),(c||l)&&(n("{"),s()),o?(c&&n("return "),B(o)?rl(o,t):Me(o,t)):l&&Me(l,t),(c||l)&&(i(),n("}")),a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Pg(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:a}=t;if(n.type===4){const u=!sl(n.content);u&&o("("),Mu(n,t),u&&o(")")}else o("("),Me(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),Me(s,t),t.indentLevel--,r&&a(),r||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,Me(i,t),f||t.indentLevel--,r&&c(!0)}function Mg(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(bi)}(-1),`),o(),n("(")),n(`_cache[${e.index}] = `),Me(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(bi)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const kg=Ru(/^(if|else|else-if)$/,(e,t,n)=>Lg(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const a=o[l];a&&a.type===9&&(c+=a.branches.length)}return()=>{if(r)s.codegenNode=ic(i,c,n);else{const a=Dg(s.codegenNode);a.alternate=ic(i,c+s.branches.length-1,n)}}}));function Lg(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(de(28,t.loc)),t.exp=Q("true",!1,i)}if(t.name==="if"){const i=sc(e,t),r={type:9,loc:cg(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(de(30,e.loc)),n.removeNode();const l=sc(e,t);o.branches.push(l);const c=s&&s(o,l,!1);Yi(l,n),c&&c(),n.currentNode=null}else n.onError(de(30,e.loc));break}}}function sc(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!tt(e,"for")?e.children:[e],userKey:Ji(e,"key"),isTemplateIf:n}}function ic(e,t,n){return e.condition?kr(e.condition,rc(e,t,n),ve(n.helper(xs),['""',"true"])):rc(e,t,n)}function rc(e,t,n){const{helper:s}=n,i=ye("key",Q(`${t}`,!1,ze,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return Ei(c,i,n),c}else return hs(n,s(fs),nt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,a=Zp(c);return a.type===13&&tl(a,n),Ei(a,i,n),c}}function Dg(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Fg=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(de(52,r.loc)),{props:[ye(r,Q("",!0,i))]};Lu(e),o=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=ue(r.content):r.content=`${n.helperString(Pr)}(${r.content})`:(r.children.unshift(`${n.helperString(Pr)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&oc(r,"."),s.some(l=>l.content==="attr")&&oc(r,"^")),{props:[ye(r,o)]}},Lu=(e,t)=>{const n=e.arg,s=ue(n.content);e.exp=Q(s,!1,n.loc)},oc=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Vg=Ru("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return $g(e,t,n,r=>{const o=ve(s(Yo),[r.source]),l=Si(e),c=tt(e,"memo"),a=Ji(e,"key",!1,!0);a&&a.type===7&&!a.exp&&Lu(a);const f=a&&(a.type===6?a.value?Q(a.value.content,!0):void 0:a.exp),u=a&&f?ye("key",f):null,d=r.source.type===4&&r.source.constType>0,g=d?64:a?128:256;return r.codegenNode=hs(n,s(fs),void 0,o,g,void 0,void 0,!0,!d,!1,e.loc),()=>{let b;const{children:_}=r,k=_.length!==1||_[0].type!==1,w=vi(e)?e:l&&e.children.length===1&&vi(e.children[0])?e.children[0]:null;if(w?(b=w.codegenNode,l&&u&&Ei(b,u,n)):k?b=hs(n,s(fs),u?nt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=_[0].codegenNode,l&&u&&Ei(b,u,n),b.isBlock!==!d&&(b.isBlock?(i(cn),i(Ln(n.inSSR,b.isComponent))):i(kn(n.inSSR,b.isComponent))),b.isBlock=!d,b.isBlock?(s(cn),s(Ln(n.inSSR,b.isComponent))):s(kn(n.inSSR,b.isComponent))),c){const A=Mn(Fr(r.parseResult,[Q("_cached")]));A.body=Vp([ct(["const _memo = (",c.exp,")"]),ct(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(yu)}(_cached, _memo)) return _cached`]),ct(["const _item = ",b]),Q("_item.memo = _memo"),Q("return _item")]),o.arguments.push(A,Q("_cache"),Q(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Mn(Fr(r.parseResult),b,!0))}})});function $g(e,t,n,s){if(!t.exp){n.onError(de(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(de(32,t.loc));return}Du(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:a,key:f,index:u}=i,d={type:11,loc:t.loc,source:c,valueAlias:a,keyAlias:f,objectIndexAlias:u,parseResult:i,children:Si(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const g=s&&s(d);return()=>{l.vFor--,g&&g()}}function Du(e,t){e.finalized||(e.finalized=!0)}function Fr({value:e,key:t,index:n},s=[]){return Bg([e,t,n,...s])}function Bg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Q("_".repeat(s+1),!1))}const lc=Q("undefined",!1),Hg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ug=(e,t,n,s)=>Mn(e,n,!1,!0,n.length?n[0].loc:s);function jg(e,t,n=Ug){t.helper(zo);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=tt(e,"slot",!0);if(c){const{arg:k,exp:w}=c;k&&!Ue(k)&&(l=!0),r.push(ye(k||Q("default",!0),n(w,void 0,s,i)))}let a=!1,f=!1;const u=[],d=new Set;let g=0;for(let k=0;k<s.length;k++){const w=s[k];let A;if(!Si(w)||!(A=tt(w,"slot",!0))){w.type!==3&&u.push(w);continue}if(c){t.onError(de(37,A.loc));break}a=!0;const{children:m,loc:y}=w,{arg:v=Q("default",!0),exp:x,loc:V}=A;let O;Ue(v)?O=v?v.content:"default":l=!0;const S=tt(w,"for"),T=n(x,S,m,y);let M,C;if(M=tt(w,"if"))l=!0,o.push(kr(M.exp,js(v,T,g++),lc));else if(C=tt(w,/^else(-if)?$/,!0)){let D=k,W;for(;D--&&(W=s[D],W.type===3););if(W&&Si(W)&&tt(W,/^(else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=C.exp?kr(C.exp,js(v,T,g++),lc):js(v,T,g++)}else t.onError(de(30,C.loc))}else if(S){l=!0;const D=S.forParseResult;D?(Du(D),o.push(ve(t.helper(Yo),[D.source,Mn(Fr(D),js(v,T),!0)]))):t.onError(de(32,S.loc))}else{if(O){if(d.has(O)){t.onError(de(38,V));continue}d.add(O),O==="default"&&(f=!0)}r.push(ye(v,T))}}if(!c){const k=(w,A)=>{const m=n(w,void 0,A,i);return t.compatConfig&&(m.isNonScopedSlot=!0),ye("default",m)};a?u.length&&u.some(w=>Fu(w))&&(f?t.onError(de(39,u[0].loc)):r.push(k(void 0,u))):r.push(k(void 0,s))}const b=l?2:Qs(e.children)?3:1;let _=nt(r.concat(ye("_",Q(b+"",!1))),i);return o.length&&(_=ve(t.helper(mu),[_,nn(o)])),{slots:_,hasDynamicSlots:l}}function js(e,t,n){const s=[ye("name",e),ye("fn",t)];return n!=null&&s.push(ye("key",Q(String(n),!0))),nt(s)}function Qs(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Qs(n.children))return!0;break;case 9:if(Qs(n.branches))return!0;break;case 10:case 11:if(Qs(n.children))return!0;break}}return!1}function Fu(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():Fu(e.content)}const Vu=new WeakMap,Kg=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?Wg(e,t):`"${s}"`;const l=le(o)&&o.callee===Wo;let c,a,f=0,u,d,g,b=l||o===es||o===Bo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const _=$u(e,t,void 0,r,l);c=_.props,f=_.patchFlag,d=_.dynamicPropNames;const k=_.directives;g=k&&k.length?nn(k.map(w=>Gg(w,t))):void 0,_.shouldUseBlock&&(b=!0)}if(e.children.length>0)if(o===mi&&(b=!0,f|=1024),r&&o!==es&&o!==mi){const{slots:k,hasDynamicSlots:w}=jg(e,t);a=k,w&&(f|=1024)}else if(e.children.length===1&&o!==es){const k=e.children[0],w=k.type,A=w===5||w===8;A&&Ye(k,t)===0&&(f|=1),A||w===2?a=k:a=e.children}else a=e.children;d&&d.length&&(u=Jg(d)),e.codegenNode=hs(t,o,c,a,f===0?void 0:f,u,g,!!b,!1,r,e.loc)};function Wg(e,t,n=!1){let{tag:s}=e;const i=Vr(s),r=Ji(e,"is",!1,!0);if(r)if(i||sn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Q(r.value.content,!0):(l=r.exp,l||(l=Q("is",!1,r.arg.loc))),l)return ve(t.helper(Wo),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=_u(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Ko),t.components.add(s),ps(s,"component"))}function $u(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let a=[];const f=[],u=[],d=c.length>0;let g=!1,b=0,_=!1,k=!1,w=!1,A=!1,m=!1,y=!1;const v=[],x=T=>{a.length&&(f.push(nt(cc(a),l)),a=[]),T&&f.push(T)},V=()=>{t.scopes.vFor>0&&a.push(ye(Q("ref_for",!0),Q("true")))},O=({key:T,value:M})=>{if(Ue(T)){const C=T.content,D=an(C);if(D&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!Vt(C)&&(A=!0),D&&Vt(C)&&(y=!0),D&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&Ye(M,t)>0)return;C==="ref"?_=!0:C==="class"?k=!0:C==="style"?w=!0:C!=="key"&&!v.includes(C)&&v.push(C),s&&(C==="class"||C==="style")&&!v.includes(C)&&v.push(C)}else m=!0};for(let T=0;T<n.length;T++){const M=n[T];if(M.type===6){const{loc:C,name:D,nameLoc:W,value:J}=M;let U=!0;if(D==="ref"&&(_=!0,V()),D==="is"&&(Vr(o)||J&&J.content.startsWith("vue:")||sn("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(ye(Q(D,!0,W),Q(J?J.content:"",U,J?J.loc:C)))}else{const{name:C,arg:D,exp:W,loc:J,modifiers:U}=M,Y=C==="bind",j=C==="on";if(C==="slot"){s||t.onError(de(40,J));continue}if(C==="once"||C==="memo"||C==="is"||Y&&Zt(D,"is")&&(Vr(o)||sn("COMPILER_IS_ON_ELEMENT",t))||j&&r)continue;if((Y&&Zt(D,"key")||j&&d&&Zt(D,"vue:before-update"))&&(g=!0),Y&&Zt(D,"ref")&&V(),!D&&(Y||j)){if(m=!0,W)if(Y){if(V(),x(),sn("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(W);continue}f.push(W)}else x({type:14,loc:J,callee:t.helper(Qo),arguments:s?[W]:[W,"true"]});else t.onError(de(Y?34:35,J));continue}Y&&U.some(ft=>ft.content==="prop")&&(b|=32);const be=t.directiveTransforms[C];if(be){const{props:ft,needRuntime:it}=be(M,e,t);!r&&ft.forEach(O),j&&D&&!Ue(D)?x(nt(ft,l)):a.push(...ft),it&&(u.push(M),Ke(it)&&Vu.set(M,it))}else ih(C)||(u.push(M),d&&(g=!0))}}let S;if(f.length?(x(),f.length>1?S=ve(t.helper(yi),f,l):S=f[0]):a.length&&(S=nt(cc(a),l)),m?b|=16:(k&&!s&&(b|=2),w&&!s&&(b|=4),v.length&&(b|=8),A&&(b|=32)),!g&&(b===0||b===32)&&(_||y||u.length>0)&&(b|=512),!t.inSSR&&S)switch(S.type){case 15:let T=-1,M=-1,C=!1;for(let J=0;J<S.properties.length;J++){const U=S.properties[J].key;Ue(U)?U.content==="class"?T=J:U.content==="style"&&(M=J):U.isHandlerKey||(C=!0)}const D=S.properties[T],W=S.properties[M];C?S=ve(t.helper(us),[S]):(D&&!Ue(D.value)&&(D.value=ve(t.helper(Xo),[D.value])),W&&(w||W.value.type===4&&W.value.content.trim()[0]==="["||W.value.type===17)&&(W.value=ve(t.helper(Zo),[W.value])));break;case 14:break;default:S=ve(t.helper(us),[ve(t.helper(Is),[S])]);break}return{props:S,directives:u,patchFlag:b,dynamicPropNames:v,shouldUseBlock:g}}function cc(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||an(r))&&qg(o,i):(t.set(r,i),n.push(i))}return n}function qg(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=nn([e.value,t.value],e.loc)}function Gg(e,t){const n=[],s=Vu.get(e);s?n.push(t.helperString(s)):(t.helper(qo),t.directives.add(e.name),n.push(ps(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=Q("true",!1,i);n.push(nt(e.modifiers.map(o=>ye(o,r)),i))}return nn(n,e.loc)}function Jg(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Vr(e){return e==="component"||e==="Component"}const Yg=(e,t)=>{if(vi(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Xg(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Mn([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=ve(t.helper(gu),o,s)}};function Xg(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=ue(o.name),i.push(o)));else if(o.name==="bind"&&Zt(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=ue(o.arg.content);n=o.exp=Q(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ue(o.arg)&&(o.arg.content=ue(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=$u(e,t,i,!1,!1);s=r,o.length&&t.onError(de(36,o[0].loc))}return{slotName:n,slotProps:s}}const Bu=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(de(35,i));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const d=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?zt(ue(u)):`on:${u}`;l=Q(d,!0,o.loc)}else l=ct([`${n.helperString(Mr)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Mr)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=vu(c),d=!(u||Gp(c)),g=c.content.includes(";");(d||a&&u)&&(c=ct([`${d?"$event":"(...args)"} => ${g?"{":"("}`,c,g?"}":")"]))}let f={props:[ye(l,c||Q("() => {}",!1,i))]};return s&&(f=s(f)),a&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(u=>u.key.isHandlerKey=!0),f},Zg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)){i=!0;for(let l=r+1;l<n.length;l++){const c=n[l];if(hr(c))s||(s=n[r]=ct([o],o.loc)),s.children.push(" + ",c),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Ye(o,t)===0&&l.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:ve(t.helper(jo),l)}}}}},ac=new WeakSet,Qg=(e,t)=>{if(e.type===1&&tt(e,"once",!0))return ac.has(e)||t.inVOnce||t.inSSR?void 0:(ac.add(e),t.inVOnce=!0,t.helper(bi),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Hu=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(de(41,e.loc)),Ks();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(de(44,s.loc)),Ks();if(!o.trim()||!vu(s))return n.onError(de(42,s.loc)),Ks();const c=i||Q("modelValue",!0),a=i?Ue(i)?`onUpdate:${ue(i.content)}`:ct(['"onUpdate:" + ',i]):"onUpdate:modelValue";let f;const u=n.isTS?"($event: any)":"$event";f=ct([`${u} => ((`,s,") = $event)"]);const d=[ye(c,e.exp),ye(a,f)];if(e.modifiers.length&&t.tagType===1){const g=e.modifiers.map(_=>_.content).map(_=>(sl(_)?_:JSON.stringify(_))+": true").join(", "),b=i?Ue(i)?`${i.content}Modifiers`:ct([i,' + "Modifiers"']):"modelModifiers";d.push(ye(b,Q(`{ ${g} }`,!1,e.loc,2)))}return Ks(d)};function Ks(e=[]){return{props:e}}const zg=/[\w).+\-_$\]]/,em=(e,t)=>{sn("COMPILER_FILTERS",t)&&(e.type===5?Ti(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Ti(n.exp,t)}))};function Ti(e,t){if(e.type===4)fc(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?fc(s,t):s.type===8?Ti(e,t):s.type===5&&Ti(s.content,t))}}function fc(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,c=0,a=0,f=0,u,d,g,b,_=[];for(g=0;g<n.length;g++)if(d=u,u=n.charCodeAt(g),s)u===39&&d!==92&&(s=!1);else if(i)u===34&&d!==92&&(i=!1);else if(r)u===96&&d!==92&&(r=!1);else if(o)u===47&&d!==92&&(o=!1);else if(u===124&&n.charCodeAt(g+1)!==124&&n.charCodeAt(g-1)!==124&&!l&&!c&&!a)b===void 0?(f=g+1,b=n.slice(0,g).trim()):k();else{switch(u){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:a++;break;case 41:a--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--;break}if(u===47){let w=g-1,A;for(;w>=0&&(A=n.charAt(w),A===" ");w--);(!A||!zg.test(A))&&(o=!0)}}b===void 0?b=n.slice(0,g).trim():f!==0&&k();function k(){_.push(n.slice(f,g).trim()),f=g+1}if(_.length){for(g=0;g<_.length;g++)b=tm(b,_[g],t);e.content=b,e.ast=void 0}}function tm(e,t,n){n.helper(Go);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ps(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ps(i,"filter")}(${e}${r!==")"?","+r:r}`}}const uc=new WeakSet,nm=(e,t)=>{if(e.type===1){const n=tt(e,"memo");return!n||uc.has(e)?void 0:(uc.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&tl(s,t),e.codegenNode=ve(t.helper(el),[n.exp,Mn(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function sm(e){return[[Qg,kg,nm,Vg,em,Yg,Kg,Hg,Zg],{on:Bu,bind:Fg,model:Hu}]}function im(e,t={}){const n=t.onError||nl,s=t.mode==="module";t.prefixIdentifiers===!0?n(de(47)):s&&n(de(48));const i=!1;t.cacheHandlers&&n(de(49)),t.scopeId&&!s&&n(de(50));const r=ee({},t,{prefixIdentifiers:i}),o=Z(e)?ug(e,r):e,[l,c]=sm();return gg(o,ee({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ee({},c,t.directiveTransforms||{})})),_g(o,r)}const rm=()=>({props:[]});/**
|
|
29
29
|
* @vue/compiler-dom v3.5.12
|
|
30
30
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
31
31
|
* @license MIT
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
* vue v3.5.12
|
|
34
34
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
35
35
|
* @license MIT
|
|
36
|
-
**/const dc=Object.create(null);function Qu(e,t){if(!Z(e))if(e.nodeType)e=e.innerHTML;else return Pe;const n=lh(e,t),s=dc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=ee({hoistStatic:!0,onError:void 0,onWarn:Pe},t);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Em(e,i),o=new Function("Vue",r)(Ip);return o._rc=!0,dc[n]=o}xo(Qu);const Tm=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:to,BaseTransitionPropsValidators:Vi,Comment:me,DeprecationTypes:Ff,EffectScope:xi,ErrorCodes:Qc,ErrorTypeStrings:Rf,Fragment:Se,KeepAlive:va,ReactiveEffect:wn,Static:Bt,Suspense:hf,Teleport:aa,Text:Nt,TrackOpTypes:Gc,Transition:Hf,TransitionGroup:zf,TriggerOpTypes:Jc,VueElement:ws,assertNumber:Zc,callWithAsyncErrorHandling:Xe,callWithErrorHandling:un,camelize:ue,capitalize:Kt,cloneVNode:at,compatUtils:Df,compile:Qu,computed:Io,createApp:gi,createBlock:cs,createCommentVNode:vf,createElementBlock:yf,createElementVNode:ji,createHydrationRenderer:bo,createPropsRestProxy:ja,createRenderer:yo,createSSRApp:$o,createSlots:xa,createStaticVNode:Sf,createTextVNode:Ki,createVNode:fe,customRef:Qr,defineAsyncComponent:Sa,defineComponent:$i,defineCustomElement:ko,defineEmits:Pa,defineExpose:Ma,defineModel:Da,defineOptions:ka,defineProps:Ra,defineSSRCustomElement:Jf,defineSlots:La,devtools:Pf,effect:xc,effectScope:vc,getCurrentInstance:Qe,getCurrentScope:Wr,getCurrentWatcher:Yc,getTransitionRawChildren:Ss,guardReactiveProps:Ao,h:Oo,handleError:Gt,hasInjectionContext:Ga,hydrate:lu,hydrateOnIdle:ma,hydrateOnInteraction:_a,hydrateOnMediaQuery:ba,hydrateOnVisible:ya,initCustomFormatter:xf,initDirectivesForSSR:fu,inject:Cn,isMemoSame:Ro,isProxy:ys,isReactive:At,isReadonly:xt,isRef:_e,isRuntimeOnly:Af,isShallow:je,isVNode:mt,markRaw:Xr,mergeDefaults:Ha,mergeModels:Ua,mergeProps:wo,nextTick:_s,normalizeClass:Vn,normalizeProps:yc,normalizeStyle:Fn,onActivated:so,onBeforeMount:Hi,onBeforeUnmount:Ts,onBeforeUpdate:ro,onDeactivated:io,onErrorCaptured:ao,onMounted:$n,onRenderTracked:co,onRenderTriggered:lo,onScopeDispose:Ec,onServerPrefetch:oo,onUnmounted:Cs,onUpdated:Es,onWatcherCleanup:zr,openBlock:xn,popScopeId:ia,provide:go,proxyRefs:ki,pushScopeId:sa,queuePostFlushCb:ss,reactive:ms,readonly:Pi,ref:En,registerRuntimeCompiler:xo,render:Vo,renderList:wa,renderSlot:Ia,resolveComponent:Ta,resolveDirective:Na,resolveDynamicComponent:Aa,resolveFilter:Lf,resolveTransitionHooks:rn,setBlockTracking:ai,setDevtoolsHook:Mf,setTransitionHooks:gt,shallowReactive:Yr,shallowReadonly:Bc,shallowRef:Zr,ssrContextKey:So,ssrUtils:kf,stop:Ic,toDisplayString:Kr,toHandlerKey:zt,toHandlers:Oa,toRaw:te,toRef:Wc,toRefs:Kc,toValue:jc,transformVNodeArgs:bf,triggerRef:Uc,unref:bs,useAttrs:$a,useCssModule:Xf,useCssVars:Gf,useHost:Lo,useId:pa,useModel:af,useSSRContext:vo,useShadowRoot:Yf,useSlots:Va,useTemplateRef:ga,useTransitionState:Fi,vModelCheckbox:Wi,vModelDynamic:Fo,vModelRadio:qi,vModelSelect:Do,vModelText:as,vShow:Mo,version:Po,warn:Of,watch:An,watchEffect:lf,watchPostEffect:Eo,watchSyncEffect:To,withAsyncContext:Ka,withCtx:Di,withDefaults:Fa,withDirectives:oa,withKeys:su,withMemo:If,withModifiers:nu,withScopeId:ra},Symbol.toStringTag,{value:"Module"}));export{su as A,oa as B,Na as C,Tm as D,Cs as E,Se as F,Pi as G,Qe as H,$n as I,_s as J,ms as K,Oo as L,Sf as M,gi as N,At as O,aa as T,ji as a,cs as b,yf as c,$i as d,Di as e,Ia as f,vf as g,xa as h,mt as i,
|
|
36
|
+
**/const dc=Object.create(null);function Qu(e,t){if(!Z(e))if(e.nodeType)e=e.innerHTML;else return Pe;const n=lh(e,t),s=dc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=ee({hoistStatic:!0,onError:void 0,onWarn:Pe},t);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Em(e,i),o=new Function("Vue",r)(Ip);return o._rc=!0,dc[n]=o}xo(Qu);const Tm=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:to,BaseTransitionPropsValidators:Vi,Comment:me,DeprecationTypes:Ff,EffectScope:xi,ErrorCodes:Qc,ErrorTypeStrings:Rf,Fragment:Se,KeepAlive:va,ReactiveEffect:wn,Static:Bt,Suspense:hf,Teleport:aa,Text:Nt,TrackOpTypes:Gc,Transition:Hf,TransitionGroup:zf,TriggerOpTypes:Jc,VueElement:ws,assertNumber:Zc,callWithAsyncErrorHandling:Xe,callWithErrorHandling:un,camelize:ue,capitalize:Kt,cloneVNode:at,compatUtils:Df,compile:Qu,computed:Io,createApp:gi,createBlock:cs,createCommentVNode:vf,createElementBlock:yf,createElementVNode:ji,createHydrationRenderer:bo,createPropsRestProxy:ja,createRenderer:yo,createSSRApp:$o,createSlots:xa,createStaticVNode:Sf,createTextVNode:Ki,createVNode:fe,customRef:Qr,defineAsyncComponent:Sa,defineComponent:$i,defineCustomElement:ko,defineEmits:Pa,defineExpose:Ma,defineModel:Da,defineOptions:ka,defineProps:Ra,defineSSRCustomElement:Jf,defineSlots:La,devtools:Pf,effect:xc,effectScope:vc,getCurrentInstance:Qe,getCurrentScope:Wr,getCurrentWatcher:Yc,getTransitionRawChildren:Ss,guardReactiveProps:Ao,h:Oo,handleError:Gt,hasInjectionContext:Ga,hydrate:lu,hydrateOnIdle:ma,hydrateOnInteraction:_a,hydrateOnMediaQuery:ba,hydrateOnVisible:ya,initCustomFormatter:xf,initDirectivesForSSR:fu,inject:Cn,isMemoSame:Ro,isProxy:ys,isReactive:At,isReadonly:xt,isRef:_e,isRuntimeOnly:Af,isShallow:je,isVNode:mt,markRaw:Xr,mergeDefaults:Ha,mergeModels:Ua,mergeProps:wo,nextTick:_s,normalizeClass:Vn,normalizeProps:yc,normalizeStyle:Fn,onActivated:so,onBeforeMount:Hi,onBeforeUnmount:Ts,onBeforeUpdate:ro,onDeactivated:io,onErrorCaptured:ao,onMounted:$n,onRenderTracked:co,onRenderTriggered:lo,onScopeDispose:Ec,onServerPrefetch:oo,onUnmounted:Cs,onUpdated:Es,onWatcherCleanup:zr,openBlock:xn,popScopeId:ia,provide:go,proxyRefs:ki,pushScopeId:sa,queuePostFlushCb:ss,reactive:ms,readonly:Pi,ref:En,registerRuntimeCompiler:xo,render:Vo,renderList:wa,renderSlot:Ia,resolveComponent:Ta,resolveDirective:Na,resolveDynamicComponent:Aa,resolveFilter:Lf,resolveTransitionHooks:rn,setBlockTracking:ai,setDevtoolsHook:Mf,setTransitionHooks:gt,shallowReactive:Yr,shallowReadonly:Bc,shallowRef:Zr,ssrContextKey:So,ssrUtils:kf,stop:Ic,toDisplayString:Kr,toHandlerKey:zt,toHandlers:Oa,toRaw:te,toRef:Wc,toRefs:Kc,toValue:jc,transformVNodeArgs:bf,triggerRef:Uc,unref:bs,useAttrs:$a,useCssModule:Xf,useCssVars:Gf,useHost:Lo,useId:pa,useModel:af,useSSRContext:vo,useShadowRoot:Yf,useSlots:Va,useTemplateRef:ga,useTransitionState:Fi,vModelCheckbox:Wi,vModelDynamic:Fo,vModelRadio:qi,vModelSelect:Do,vModelText:as,vShow:Mo,version:Po,warn:Of,watch:An,watchEffect:lf,watchPostEffect:Eo,watchSyncEffect:To,withAsyncContext:Ka,withCtx:Di,withDefaults:Fa,withDirectives:oa,withKeys:su,withMemo:If,withModifiers:nu,withScopeId:ra},Symbol.toStringTag,{value:"Module"}));export{su as A,oa as B,Na as C,Tm as D,Cs as E,Se as F,Pi as G,Qe as H,$n as I,_s as J,ms as K,Oo as L,Sf as M,gi as N,At as O,aa as T,ji as a,cs as b,yf as c,$i as d,Di as e,Ia as f,vf as g,xa as h,mt as i,fe as j,Kr as k,Ki as l,wa as m,Vn as n,xn as o,wo as p,Io as q,Ta as r,Fn as s,te as t,bs as u,En as v,An as w,nu as x,Sa as y,Aa as z};
|
package/docs/iframe.html
CHANGED
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
</script>
|
|
511
511
|
<link rel="stylesheet" href="./preview.css">
|
|
512
512
|
|
|
513
|
-
<script type="module" crossorigin src="./assets/iframe-
|
|
513
|
+
<script type="module" crossorigin src="./assets/iframe-DeX83N-_.js"></script>
|
|
514
514
|
</head>
|
|
515
515
|
|
|
516
516
|
<body>
|
package/docs/project.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1749556610344,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@vitest/coverage-c8":"0.33.0","@vitest/ui":"3.1.4","vitest":"3.1.4"},"packageManager":{"type":"yarn","version":"1.22.22"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","portableStoriesFileCount":3,"storybookVersion":"8.3.4","storybookVersionSpecifier":"^8.3.4","language":"typescript","storybookPackages":{"@storybook/vue3":{"version":"8.3.4"},"@storybook/vue3-vite":{"version":"8.3.4"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.4"}},"addons":{"@storybook/addon-actions":{"version":"8.3.4"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-docs":{"version":"8.3.4"},"@storybook/addon-controls":{"version":"8.3.4"},"@storybook/addon-storysource":{"version":"8.3.4"},"@storybook/addon-viewport":{"version":"8.3.4"}}}
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
1
2
|
import { mount } from '@vue/test-utils';
|
|
2
3
|
import Avatar from './Avatar.vue';
|
|
3
4
|
import { AVATAR_ACCESS_STATUSES, AVATAR_ACTIVITY_STATUSES, AVATAR_SIZES } from './Avatar.consts';
|
|
4
5
|
import { ICONS } from '../Icons/Icon';
|
|
6
|
+
import { ComponentProps } from 'vue-component-type-helpers';
|
|
5
7
|
|
|
6
8
|
const avatarUrl = 'https://wiecejnizlek.pl/avatar.jpg';
|
|
7
9
|
|
|
10
|
+
const setup = (props: ComponentProps<typeof Avatar>) =>
|
|
11
|
+
mount(Avatar, {
|
|
12
|
+
props,
|
|
13
|
+
global: {
|
|
14
|
+
directives: {
|
|
15
|
+
pvTooltip: () => {},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
|
|
8
20
|
describe('Avatar', () => {
|
|
9
21
|
it('should render avatar without badges', () => {
|
|
10
|
-
const wrapper =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
avatarUrl,
|
|
15
|
-
},
|
|
22
|
+
const wrapper = setup({
|
|
23
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
24
|
+
username: 'Dariusz Chrapek',
|
|
25
|
+
avatarUrl,
|
|
16
26
|
});
|
|
17
27
|
expect(wrapper.find('img').exists()).toBe(true);
|
|
18
28
|
expect(wrapper.find('img').attributes('src')).toBe(avatarUrl);
|
|
@@ -52,22 +62,18 @@ describe('Avatar', () => {
|
|
|
52
62
|
initials: 'PS',
|
|
53
63
|
},
|
|
54
64
|
])('should render `$initials` initials for `$username`', ({ username, initials }) => {
|
|
55
|
-
const wrapper =
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
username,
|
|
59
|
-
},
|
|
65
|
+
const wrapper = setup({
|
|
66
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
67
|
+
username,
|
|
60
68
|
});
|
|
61
69
|
expect(wrapper.find('.ds-avatar').classes()).toContain('-ds-medium');
|
|
62
70
|
expect(wrapper.find('.ds-avatar').text()).toBe(initials);
|
|
63
71
|
});
|
|
64
72
|
|
|
65
73
|
it.each(Object.values(AVATAR_SIZES))('should render in size: %s', (size) => {
|
|
66
|
-
const wrapper =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
username: 'Dariusz Chrapek',
|
|
70
|
-
},
|
|
74
|
+
const wrapper = setup({
|
|
75
|
+
size,
|
|
76
|
+
username: 'Dariusz Chrapek',
|
|
71
77
|
});
|
|
72
78
|
expect(wrapper.find('.ds-avatar').classes()).toContain(`-ds-${size}`);
|
|
73
79
|
});
|
|
@@ -114,11 +120,9 @@ describe('Avatar', () => {
|
|
|
114
120
|
color: '#2c3e50',
|
|
115
121
|
},
|
|
116
122
|
])('should render `$username` with background color `$color`', ({ username, color }) => {
|
|
117
|
-
const wrapper =
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
username,
|
|
121
|
-
},
|
|
123
|
+
const wrapper = setup({
|
|
124
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
125
|
+
username,
|
|
122
126
|
});
|
|
123
127
|
|
|
124
128
|
const hexToRgb = (hex: string) => {
|
|
@@ -151,13 +155,11 @@ describe('Avatar', () => {
|
|
|
151
155
|
])(
|
|
152
156
|
'should render activity status: $activityStatus',
|
|
153
157
|
({ activityStatus, expectedColorClass }) => {
|
|
154
|
-
const wrapper =
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
activityStatus,
|
|
160
|
-
},
|
|
158
|
+
const wrapper = setup({
|
|
159
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
160
|
+
username: 'Dariusz Chrapek',
|
|
161
|
+
avatarUrl,
|
|
162
|
+
activityStatus,
|
|
161
163
|
});
|
|
162
164
|
|
|
163
165
|
const activityStatusElement = wrapper.find('.ds-avatar__activityStatus');
|
|
@@ -184,13 +186,11 @@ describe('Avatar', () => {
|
|
|
184
186
|
expectedIcon: ICONS.FA_LOCK_KEYHOLE,
|
|
185
187
|
},
|
|
186
188
|
])('should render access status: $accessStatus', ({ accessStatus, expectedIcon }) => {
|
|
187
|
-
const wrapper =
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
accessStatus,
|
|
193
|
-
},
|
|
189
|
+
const wrapper = setup({
|
|
190
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
191
|
+
username: 'Dariusz Chrapek',
|
|
192
|
+
avatarUrl,
|
|
193
|
+
accessStatus,
|
|
194
194
|
});
|
|
195
195
|
|
|
196
196
|
const accessStatusElement = wrapper.find('.ds-avatar__accessStatus');
|
|
@@ -200,14 +200,12 @@ describe('Avatar', () => {
|
|
|
200
200
|
|
|
201
201
|
it('should render team member image', () => {
|
|
202
202
|
const teamMemberImageUrl = 'https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg';
|
|
203
|
-
const wrapper =
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
teamMemberImageUrl,
|
|
210
|
-
},
|
|
203
|
+
const wrapper = setup({
|
|
204
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
205
|
+
username: 'Dariusz Chrapek',
|
|
206
|
+
avatarUrl,
|
|
207
|
+
accessStatus: AVATAR_ACCESS_STATUSES.TEAM_MEMBER,
|
|
208
|
+
teamMemberImageUrl,
|
|
211
209
|
});
|
|
212
210
|
|
|
213
211
|
const accessStatusElement = wrapper.find('.ds-avatar__accessStatus');
|
|
@@ -217,13 +215,11 @@ describe('Avatar', () => {
|
|
|
217
215
|
|
|
218
216
|
it('should pass activityStatusTooltip to the tooltip component', () => {
|
|
219
217
|
const tooltipText = 'Active now';
|
|
220
|
-
const wrapper =
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
activityStatusTooltip: tooltipText,
|
|
226
|
-
},
|
|
218
|
+
const wrapper = setup({
|
|
219
|
+
size: AVATAR_SIZES.MEDIUM,
|
|
220
|
+
username: 'Dariusz Chrapek',
|
|
221
|
+
activityStatus: AVATAR_ACTIVITY_STATUSES.ACTIVE,
|
|
222
|
+
activityStatusTooltip: tooltipText,
|
|
227
223
|
});
|
|
228
224
|
|
|
229
225
|
const tooltip = wrapper.findComponent({ name: 'Tooltip' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bethinkpl/design-system",
|
|
3
|
-
"version": "26.14.
|
|
3
|
+
"version": "26.14.10",
|
|
4
4
|
"description": "Bethink universe design-system",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,12 +24,13 @@
|
|
|
24
24
|
"lint:scripts:fix": "eslint 'lib/js/**/*.{js,vue,ts}' --fix --cache",
|
|
25
25
|
"lint:styles": "stylelint 'lib/**/*.{vue,scss}' --cache",
|
|
26
26
|
"lint:styles:fix": "stylelint 'lib/**/*.{vue,scss}' --fix",
|
|
27
|
-
"format:check": "prettier --check 'lib/**/*.{js,ts,vue,scss}'
|
|
28
|
-
"format:fix": "prettier --write 'lib/**/*.{js,ts,vue,scss}'
|
|
27
|
+
"format:check": "prettier --check './*.{cjs,js,ts,vue,scss}' './{lib,.storybook,tools}/**/*.{cjs,js,ts,vue,scss}'",
|
|
28
|
+
"format:fix": "prettier --write './*.{cjs,js,ts,vue,scss}' './{lib,.storybook,tools}/**/*.{cjs,js,ts,vue,scss}'",
|
|
29
29
|
"storybook": "storybook dev -p 6006",
|
|
30
30
|
"storybook:build": "storybook build -c .storybook -o public/storybook",
|
|
31
|
-
"test": "
|
|
32
|
-
"
|
|
31
|
+
"test": "vitest",
|
|
32
|
+
"test:ui": "vitest --ui",
|
|
33
|
+
"ts:check": "vue-tsc --noEmit --project ./tsconfig.base.json",
|
|
33
34
|
"synchronizeColors": "npx ts-node tools/importers/SynchronizeColorsTokens.ts",
|
|
34
35
|
"synchronizeTypography": "npx ts-node tools/importers/SynchronizeTypographyTokens.ts"
|
|
35
36
|
},
|
|
@@ -49,13 +50,13 @@
|
|
|
49
50
|
"@storybook/addon-viewport": "^8.3.4",
|
|
50
51
|
"@storybook/vue3": "^8.3.4",
|
|
51
52
|
"@storybook/vue3-vite": "^8.3.4",
|
|
52
|
-
"@types/jest": "^29.5.12",
|
|
53
53
|
"@types/node": "^17.0.9",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "5.18.0",
|
|
55
55
|
"@typescript-eslint/parser": "5.18.0",
|
|
56
56
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
57
|
+
"@vitest/coverage-c8": "0.33.0",
|
|
58
|
+
"@vitest/ui": "3.1.4",
|
|
57
59
|
"@vue/test-utils": "2.2.7",
|
|
58
|
-
"@vue/vue3-jest": "29.2.2",
|
|
59
60
|
"axios": "^0.26.0",
|
|
60
61
|
"dotenv": "16.0.3",
|
|
61
62
|
"eslint": "8.25.0",
|
|
@@ -64,9 +65,7 @@
|
|
|
64
65
|
"eslint-plugin-storybook": "0.8.0",
|
|
65
66
|
"eslint-plugin-vue": "10.0.0",
|
|
66
67
|
"flatpickr": "^4.6.13",
|
|
67
|
-
"
|
|
68
|
-
"jest-environment-jsdom": "^29.4.0",
|
|
69
|
-
"jsdom": "^19.0.0",
|
|
68
|
+
"jsdom": "26.1.0",
|
|
70
69
|
"jsdom-global": "^3.0.2",
|
|
71
70
|
"postcss": "^8.4.47",
|
|
72
71
|
"postcss-html": "^1.7.0",
|
|
@@ -78,14 +77,13 @@
|
|
|
78
77
|
"stylelint-config-standard-scss": "6.1.0",
|
|
79
78
|
"stylelint-config-standard-vue": "1.0.0",
|
|
80
79
|
"stylelint-order": "6.0.3",
|
|
81
|
-
"ts-jest": "29.0.5",
|
|
82
80
|
"ts-node": "^10.9.1",
|
|
83
81
|
"typescript": "5.7.3",
|
|
84
|
-
"vite": "
|
|
85
|
-
"vite-plugin-checker": "^0.7.0",
|
|
82
|
+
"vite": "6.3.5",
|
|
86
83
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
87
84
|
"vite-plugin-dts": "^3.9.1",
|
|
88
85
|
"vite-svg-loader": "^5.1.0",
|
|
86
|
+
"vitest": "3.1.4",
|
|
89
87
|
"vue": "3.5.12",
|
|
90
88
|
"vue-eslint-parser": "^10.1.1",
|
|
91
89
|
"vue-popperjs": "github:bethinkpl/vue-popper#03c7912c4729386743b0cca8f39b35448cc3db7f",
|
package/stylelint.config.cjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
'stylelint-config-standard-scss',
|
|
4
|
-
'stylelint-config-standard-vue/scss'
|
|
5
|
-
],
|
|
2
|
+
extends: ['stylelint-config-standard-scss', 'stylelint-config-standard-vue/scss'],
|
|
6
3
|
plugins: ['stylelint-order'],
|
|
7
4
|
rules: {
|
|
8
5
|
// Support SCSS imports
|
|
@@ -51,7 +48,6 @@ module.exports = {
|
|
|
51
48
|
'order/properties-alphabetical-order': true,
|
|
52
49
|
'selector-class-pattern': '-?ds-[a-z][a-zA-Z_]*',
|
|
53
50
|
|
|
54
|
-
|
|
55
51
|
// Disable recommended rules, consider enabling them when you have time
|
|
56
52
|
'alpha-value-notation': null,
|
|
57
53
|
'color-function-notation': null,
|