@mudakit/ui 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/MudaButton-DJffOm2u.js +42 -0
- package/dist/{MudaCalendar-f1lHTxVw.js → MudaCalendar-DzOlAhVw.js} +34 -64
- package/dist/{MudaCard-C9geam4O.js → MudaCard-D9GQzC7B.js} +1 -1
- package/dist/{MudaColorPicker-Ny8v-KZR.js → MudaColorPicker-DJ7dbzzb.js} +5 -5
- package/dist/MudaDialog-voCW-SpB.js +61 -0
- package/dist/{MudaDropdown-DJOG_m6C.js → MudaDropdown-BCue994w.js} +9 -9
- package/dist/{MudaErrorBox-C0DvbAfU.js → MudaErrorBox-BvlBaVk_.js} +2 -3
- package/dist/MudaFocusTrap-CGlvV_MC.js +50 -0
- package/dist/{MudaFormCheckbox-CDY-INi6.js → MudaFormCheckbox-90HcY4_2.js} +6 -6
- package/dist/{MudaFormCombobox-CBaRBOKQ.js → MudaFormCombobox-Tm_AejmV.js} +7 -7
- package/dist/{MudaFormField-Bt5W7NC1.js → MudaFormField-CFLLQiTa.js} +5 -5
- package/dist/{MudaFormInput-CI_xfpTj.js → MudaFormInput-BYoht_A0.js} +7 -7
- package/dist/{MudaFormRadio-DOXXv3mT.js → MudaFormRadio-B-1viZTW.js} +1 -1
- package/dist/{MudaFormRadioGroup-45qiNrzt.js → MudaFormRadioGroup-D_sW4A2-.js} +9 -9
- package/dist/{MudaFormSelect-Bt6EW1N-.js → MudaFormSelect-ScHiVKOB.js} +5 -5
- package/dist/{MudaFormSwitch-CtdB9qIP.js → MudaFormSwitch-CUN0-oyY.js} +7 -7
- package/dist/{MudaFormText-s-Y3QoDX.js → MudaFormText-D3jIuX5V.js} +3 -3
- package/dist/MudaIcon-D_siyzw0.js +254 -0
- package/dist/{MudaIconPicker-CZWLPHbE.js → MudaIconPicker-BUsNMKFC.js} +11 -12
- package/dist/{MudaPagination-BYyElnCp.js → MudaPagination-BdNHAYCm.js} +20 -22
- package/dist/{MudaPopover-BgwkVjjX.js → MudaPopover-BU9CWFeP.js} +1 -1
- package/dist/MudaSpinner-yYYZ5c8j.js +16 -0
- package/dist/{MudaTable-DWwTyMmj.js → MudaTable-BEmSrWWE.js} +3 -3
- package/dist/MudaTag-LTFVT3ty.js +27 -0
- package/dist/account_balance-DraASv2L.js +13 -0
- package/dist/account_balance-tTKo1rRM.js +13 -0
- package/dist/add-C-WLk8_D.js +13 -0
- package/dist/add-rHsXWUB3.js +13 -0
- package/dist/add_circle_outline-Cp4-UWD3.js +13 -0
- package/dist/add_circle_outline-gWceP5CT.js +13 -0
- package/dist/analytics-07sOnbP4.js +13 -0
- package/dist/analytics-DKajyXsZ.js +13 -0
- package/dist/apartment-D-yxo46U.js +13 -0
- package/dist/apartment-DC-_uC-r.js +13 -0
- package/dist/arrow_circle_down-Cfl01hSk.js +13 -0
- package/dist/arrow_circle_down-CzHL7kiP.js +13 -0
- package/dist/arrow_circle_up-B1p0bl_c.js +13 -0
- package/dist/arrow_circle_up-gvy-3vjx.js +13 -0
- package/dist/arrow_downward-DCoB2C0p.js +13 -0
- package/dist/arrow_downward-DPhLvtE2.js +13 -0
- package/dist/arrow_upward-D3WW55Xt.js +13 -0
- package/dist/arrow_upward-bMZZ2Ppz.js +13 -0
- package/dist/attractions-CscI2mGy.js +13 -0
- package/dist/attractions-Dr0QIo8M.js +13 -0
- package/dist/bathtub-D_DONAkK.js +17 -0
- package/dist/bathtub-Dr8Grsn1.js +17 -0
- package/dist/beach_access-DPhKGsWT.js +13 -0
- package/dist/beach_access-uF616UOm.js +13 -0
- package/dist/bed-CpbGES3I.js +13 -0
- package/dist/bed-GShLIbSi.js +13 -0
- package/dist/bento-CEpUIDgP.js +13 -0
- package/dist/bento-DQ5zrFt1.js +13 -0
- package/dist/build-CKEFwS5y.js +13 -0
- package/dist/build-DvoCjI8G.js +13 -0
- package/dist/calendar_month-CZFPgoyg.js +13 -0
- package/dist/calendar_month-D-vOb3Dt.js +13 -0
- package/dist/checkroom-BWB8BV4b.js +13 -0
- package/dist/checkroom-D2CT1-MS.js +13 -0
- package/dist/chevron_left-CgQ1kOTp.js +13 -0
- package/dist/chevron_left-DdkxhXWV.js +13 -0
- package/dist/chevron_right-Bg1krtnZ.js +13 -0
- package/dist/chevron_right-CnisH7RV.js +13 -0
- package/dist/close-BMlDU_S8.js +13 -0
- package/dist/close-ConOGoUj.js +13 -0
- package/dist/coffee-8ewXOEoT.js +13 -0
- package/dist/coffee-CjGoj0n3.js +13 -0
- package/dist/common/components.d.ts +1 -1
- package/dist/components/MudaButton/index.js +1 -1
- package/dist/components/MudaCalendar/MudaCalendar.vue.d.ts +0 -6
- package/dist/components/MudaCalendar/MudaCalendarDays.vue.d.ts +0 -3
- package/dist/components/MudaCalendar/MudaCalendarInput.vue.d.ts +0 -6
- package/dist/components/MudaCalendar/MudaCalendarMonths.vue.d.ts +0 -3
- package/dist/components/MudaCalendar/MudaCalendarWeekDays.vue.d.ts +0 -3
- package/dist/components/MudaCalendar/MudaCalendarYears.vue.d.ts +0 -3
- package/dist/components/MudaCalendar/index.js +1 -1
- package/dist/components/MudaCalendar/useMudaCalendar.d.ts +0 -3
- package/dist/components/MudaCard/index.js +1 -1
- package/dist/components/MudaColorPicker/MudaColorPickerControl.vue.d.ts +0 -4
- package/dist/components/MudaColorPicker/index.js +1 -1
- package/dist/components/MudaDialog/index.js +1 -1
- package/dist/components/MudaDropdown/index.js +1 -1
- package/dist/components/MudaErrorBox/index.js +1 -1
- package/dist/components/MudaFocusTrap/index.d.ts +1 -0
- package/dist/components/MudaFocusTrap/index.js +2 -0
- package/dist/{composables/useFocusTrap.d.ts → components/MudaFocusTrap/useMudaFocusTrap.d.ts} +1 -1
- package/dist/components/MudaFormCheckbox/index.js +1 -1
- package/dist/components/MudaFormCombobox/index.js +1 -1
- package/dist/components/MudaFormField/index.js +1 -1
- package/dist/components/MudaFormInput/index.js +1 -1
- package/dist/components/MudaFormRadio/index.js +1 -1
- package/dist/components/MudaFormRadioGroup/index.js +1 -1
- package/dist/components/MudaFormSelect/index.js +1 -1
- package/dist/components/MudaFormSwitch/index.js +1 -1
- package/dist/components/MudaFormText/index.js +1 -1
- package/dist/components/MudaIcon/icons/lazyMudaIcon.d.ts +7 -0
- package/dist/components/MudaIcon/index.js +1 -1
- package/dist/components/MudaIconPicker/MudaIconPickerList.vue.d.ts +2 -2
- package/dist/components/MudaIconPicker/index.js +1 -1
- package/dist/components/MudaIconPicker/useMudaIconPickerList.d.ts +1 -1
- package/dist/components/MudaPagination/index.js +1 -1
- package/dist/components/MudaPopover/index.js +1 -1
- package/dist/components/MudaSpinner/MudaSpinner.vue.d.ts +0 -2
- package/dist/components/MudaSpinner/index.js +1 -1
- package/dist/components/MudaTable/index.js +1 -1
- package/dist/components/MudaTag/index.js +1 -1
- package/dist/computer-CUVOc14q.js +13 -0
- package/dist/computer-D1kpZK30.js +13 -0
- package/dist/credit_card-CoVeAT2C.js +13 -0
- package/dist/credit_card-a49G2yA_.js +13 -0
- package/dist/dark_mode-Bn7TB25M.js +13 -0
- package/dist/dark_mode-CBcSeBc2.js +13 -0
- package/dist/dashboard-YWDZpqtm.js +13 -0
- package/dist/dashboard-v4Xin7--.js +13 -0
- package/dist/delete-BS5UF5dU.js +13 -0
- package/dist/delete-CyQzdFi0.js +13 -0
- package/dist/directions_bike-C5YNoNUl.js +13 -0
- package/dist/directions_bike-DvHfbVZP.js +13 -0
- package/dist/directions_boat-CBVP0cpN.js +13 -0
- package/dist/directions_boat-x6QRg_AU.js +13 -0
- package/dist/drafts-CuEaA7r6.js +13 -0
- package/dist/drafts-CzlXWdkd.js +13 -0
- package/dist/drag_handle-BufBe6Uw.js +13 -0
- package/dist/drag_handle-Cc938wbp.js +13 -0
- package/dist/drag_indicator-DT9p9q4p.js +13 -0
- package/dist/drag_indicator-ekZyuG1q.js +13 -0
- package/dist/edit-CuzOq4rd.js +13 -0
- package/dist/edit-SVv9Q4nL.js +13 -0
- package/dist/emergency-CmnweaLn.js +13 -0
- package/dist/emergency-DpFjNLHg.js +13 -0
- package/dist/family_restroom-B3KN27wZ.js +13 -0
- package/dist/family_restroom-KLlcfltB.js +13 -0
- package/dist/favorite-DEOkC0Bx.js +13 -0
- package/dist/favorite-qxA7_cca.js +13 -0
- package/dist/filter_list-CyMTL5fW.js +13 -0
- package/dist/filter_list-dm3IiIw0.js +13 -0
- package/dist/fitness_center-CC-d7NL8.js +13 -0
- package/dist/fitness_center-RN0MaLNZ.js +13 -0
- package/dist/flight-C_4De5Y8.js +13 -0
- package/dist/flight-DJiL1ZL5.js +13 -0
- package/dist/hiking-BfKY2ukX.js +13 -0
- package/dist/hiking-Dyp8Df_G.js +13 -0
- package/dist/home-Ba8s8g_D.js +13 -0
- package/dist/home-CoY1iTiJ.js +13 -0
- package/dist/hotel-B8C8Qlu7.js +13 -0
- package/dist/hotel-BPXCZZOB.js +13 -0
- package/dist/image-BJSLAs64.js +13 -0
- package/dist/image-BToO0yUV.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +26 -25
- package/dist/key-Bt7Vv5DO.js +13 -0
- package/dist/key-fmW_n9aQ.js +13 -0
- package/dist/keyboard_arrow_down-BnyWK-fU.js +13 -0
- package/dist/keyboard_arrow_down-D4dgMPwN.js +13 -0
- package/dist/keyboard_arrow_left-CrT8-der.js +13 -0
- package/dist/keyboard_arrow_left-DhQ64Nuq.js +13 -0
- package/dist/keyboard_arrow_right-9PYjOByS.js +13 -0
- package/dist/keyboard_arrow_right-CpMlKice.js +13 -0
- package/dist/keyboard_arrow_up-BnizXqA4.js +13 -0
- package/dist/keyboard_arrow_up-CCgawFRO.js +13 -0
- package/dist/keyboard_double_arrow_left-BF6zU6bw.js +13 -0
- package/dist/keyboard_double_arrow_left-B_2y3Ht4.js +13 -0
- package/dist/keyboard_double_arrow_right-BLjb8tDz.js +13 -0
- package/dist/keyboard_double_arrow_right-DKKfeQkD.js +13 -0
- package/dist/language-52-v5YWD.js +13 -0
- package/dist/language-CpboIcGR.js +13 -0
- package/dist/light_mode-BfjR3ehC.js +13 -0
- package/dist/light_mode-D7tesPdi.js +13 -0
- package/dist/liquor-DEFZlXiY.js +13 -0
- package/dist/liquor-DFBN6V2L.js +13 -0
- package/dist/local_convenience_store-BVPhUWyN.js +13 -0
- package/dist/local_convenience_store-VooSxFR7.js +13 -0
- package/dist/local_dining-BaVq9N5C.js +13 -0
- package/dist/local_dining-CC_8qUYw.js +13 -0
- package/dist/local_florist-B-T7_ZUe.js +13 -0
- package/dist/local_florist-_5WIAVnr.js +13 -0
- package/dist/local_mall-B4kHK9Gy.js +13 -0
- package/dist/local_mall-D9SrQssA.js +13 -0
- package/dist/local_shipping-6inEJZd-.js +13 -0
- package/dist/local_shipping-ywoIF-ai.js +13 -0
- package/dist/local_taxi-4eg_19Dr.js +13 -0
- package/dist/local_taxi-D5c1hPAs.js +25 -0
- package/dist/logout-BPgfB1RA.js +13 -0
- package/dist/logout-Cen6gk64.js +13 -0
- package/dist/luggage-CIDfCXcO.js +13 -0
- package/dist/luggage-gDYixT05.js +13 -0
- package/dist/medical_services-BMnL9Hf0.js +13 -0
- package/dist/medical_services-DRLomvfV.js +13 -0
- package/dist/more_horiz-BowsYrHH.js +13 -0
- package/dist/more_horiz-HZRFuje3.js +13 -0
- package/dist/more_vert-D6N5BYNw.js +13 -0
- package/dist/more_vert-LubuX24o.js +13 -0
- package/dist/museum-BMO7HIgV.js +13 -0
- package/dist/museum-jv6Fapno.js +13 -0
- package/dist/nightlife-CH3YoSri.js +13 -0
- package/dist/nightlife-DvAmD_6n.js +13 -0
- package/dist/notifications-BNg2pGu6.js +13 -0
- package/dist/notifications-DwrssYIB.js +13 -0
- package/dist/paid-Cmx5Gm0T.js +13 -0
- package/dist/paid-DzQXZ21o.js +13 -0
- package/dist/palette-BaM5P-uu.js +13 -0
- package/dist/palette-Cx_gowSh.js +13 -0
- package/dist/payments-BS5LaM6l.js +13 -0
- package/dist/payments-SJiRf-3B.js +13 -0
- package/dist/pedal_bike-DS9OXy6T.js +13 -0
- package/dist/pedal_bike-dXPfkUSG.js +13 -0
- package/dist/phone_iphone-Drjw9kyk.js +13 -0
- package/dist/phone_iphone-Jn5mUcAU.js +13 -0
- package/dist/photo_camera-CkjGaV59.js +13 -0
- package/dist/photo_camera-DyUgsTIR.js +17 -0
- package/dist/priority_high-56QhMKOC.js +17 -0
- package/dist/priority_high-BC6iSZTu.js +17 -0
- package/dist/ramen_dining-BERpQdUU.js +13 -0
- package/dist/ramen_dining-BnjNsY8l.js +13 -0
- package/dist/remove-BoMXjU8j.js +13 -0
- package/dist/remove-BwkynUz8.js +13 -0
- package/dist/restaurant-BRki4Z_b.js +13 -0
- package/dist/restaurant-C3kYT1pX.js +13 -0
- package/dist/sailing-BVzd3Yw6.js +13 -0
- package/dist/sailing-CUuK_mdJ.js +13 -0
- package/dist/school-Bai17sP2.js +13 -0
- package/dist/school-DqyARVmh.js +13 -0
- package/dist/search-CcXvCUkm.js +13 -0
- package/dist/search-l1kG41Sc.js +13 -0
- package/dist/settings-CcUpNkTH.js +13 -0
- package/dist/settings-nrE4YRgL.js +13 -0
- package/dist/shopping_cart-B-NlNPiR.js +13 -0
- package/dist/shopping_cart-KMMms5VN.js +13 -0
- package/dist/spa-Be7VgpaE.js +13 -0
- package/dist/spa-DN1Mn8bz.js +13 -0
- package/dist/sports_bar-MQX8F5Zf.js +13 -0
- package/dist/sports_bar-vuyxzqar.js +13 -0
- package/dist/sports_basketball-BUVZEN3_.js +13 -0
- package/dist/sports_basketball-CtVt_X_l.js +13 -0
- package/dist/sports_esports-BJt8B991.js +26 -0
- package/dist/sports_esports-DUDO5lDe.js +13 -0
- package/dist/sports_mma-BAF7lZI7.js +13 -0
- package/dist/sports_mma-CdM8knJL.js +13 -0
- package/dist/star-RAIJVmbp.js +13 -0
- package/dist/star-i_70w1pe.js +13 -0
- package/dist/store-5DAAEf5M.js +13 -0
- package/dist/store-BeWM3jUf.js +13 -0
- package/dist/storefront-BlTCwZ3v.js +13 -0
- package/dist/storefront-DTtlr_xi.js +13 -0
- package/dist/style.css +1 -1
- package/dist/table_rows-CvDwC4iW.js +13 -0
- package/dist/table_rows-D5128dCH.js +13 -0
- package/dist/train-CQNTe9Qp.js +13 -0
- package/dist/train-YCiGuvbT.js +25 -0
- package/dist/travel_explore-CgOHWIio.js +13 -0
- package/dist/travel_explore-OMMCq3pa.js +13 -0
- package/dist/tv-DCFPE0jx.js +13 -0
- package/dist/tv-Ddejutmx.js +13 -0
- package/dist/vaccines-BQ_WEIlq.js +13 -0
- package/dist/vaccines-CfBRCxNm.js +13 -0
- package/dist/videogame_asset-CedIMUis.js +13 -0
- package/dist/videogame_asset-D27Cz601.js +25 -0
- package/dist/visibility-D2aBaum9.js +13 -0
- package/dist/visibility-DU-oBxte.js +13 -0
- package/dist/visibility_off-C2i2mzoe.js +13 -0
- package/dist/visibility_off-CWKymtPv.js +13 -0
- package/dist/watch-BeazuqvT.js +13 -0
- package/dist/watch-pa19WTfu.js +13 -0
- package/package.json +3 -3
- package/dist/MudaButton-Bw6Fw2-Y.js +0 -42
- package/dist/MudaDialog-C6dOmY_K.js +0 -105
- package/dist/MudaIcon-BhSsLCZx.js +0 -1886
- package/dist/MudaSpinner-C5_q8Vtn.js +0 -26
- package/dist/MudaTag-DLqit790.js +0 -27
- /package/dist/components/{MudaDialog/MudaDialogFocusTrap.vue.d.ts → MudaFocusTrap/MudaFocusTrap.vue.d.ts} +0 -0
|
@@ -18,15 +18,15 @@ var h = {
|
|
|
18
18
|
let a = i, _ = f(), v = d(i, "modelValue");
|
|
19
19
|
return (i, d) => (s(), t("div", h, [(s(!0), t(e, null, c(a.items, (c) => (s(), t("label", {
|
|
20
20
|
key: c.value,
|
|
21
|
-
class: o(["relative w-full flex-1 border-t border-b border-secondary-light text-center text-sm whitespace-nowrap after:absolute after:top-0 after:right-0 after:bottom-0 after:w-px after:bg-secondary-light after:content-[\\'\\'] first:rounded-l-lg first:border-l last:rounded-r-lg last:border-r last:after:hidden", {
|
|
22
|
-
"bg-primary text-white": v.value === c.value && (c.variant === "primary" || c.variant == null),
|
|
23
|
-
"bg-secondary text-white": v.value === c.value && c.variant === "secondary",
|
|
24
|
-
"bg-success text-white": v.value === c.value && c.variant === "success",
|
|
25
|
-
"bg-danger text-white": v.value === c.value && c.variant === "danger",
|
|
26
|
-
"bg-warning text-white": v.value === c.value && c.variant === "warning",
|
|
27
|
-
"bg-info text-white": v.value === c.value && c.variant === "info",
|
|
28
|
-
"bg-form-background text-secondary-dark": v.value !== c.value,
|
|
29
|
-
"cursor-not-allowed border-secondary-dark/20 bg-secondary-light/70 text-secondary-light after:bg-secondary-light/20": a.disabled,
|
|
21
|
+
class: o(["relative w-full flex-1 border-t border-b border-muda-secondary-light text-center text-sm whitespace-nowrap after:absolute after:top-0 after:right-0 after:bottom-0 after:w-px after:bg-muda-secondary-light after:content-[\\'\\'] first:rounded-l-lg first:border-l last:rounded-r-lg last:border-r last:after:hidden", {
|
|
22
|
+
"bg-muda-primary text-white": v.value === c.value && (c.variant === "primary" || c.variant == null),
|
|
23
|
+
"bg-muda-secondary text-white": v.value === c.value && c.variant === "secondary",
|
|
24
|
+
"bg-muda-success text-white": v.value === c.value && c.variant === "success",
|
|
25
|
+
"bg-muda-danger text-white": v.value === c.value && c.variant === "danger",
|
|
26
|
+
"bg-muda-warning text-white": v.value === c.value && c.variant === "warning",
|
|
27
|
+
"bg-muda-info text-white": v.value === c.value && c.variant === "info",
|
|
28
|
+
"bg-muda-form-background text-muda-secondary-dark": v.value !== c.value,
|
|
29
|
+
"cursor-not-allowed border-muda-secondary-dark/20 bg-muda-secondary-light/70 text-muda-secondary-light after:bg-muda-secondary-light/20": a.disabled,
|
|
30
30
|
"cursor-pointer": !a.disabled,
|
|
31
31
|
"px-2.5 py-1.5": a.size === "small",
|
|
32
32
|
"px-3 py-2": a.size === "medium",
|
|
@@ -6,7 +6,7 @@ var f = { class: /*@__PURE__*/ o([
|
|
|
6
6
|
"relative inline-block w-full",
|
|
7
7
|
"after:content-[' '] after:pointer-events-none after:absolute after:block",
|
|
8
8
|
"after:h-2 after:w-3",
|
|
9
|
-
"after:bg-primary",
|
|
9
|
+
"after:bg-muda-primary",
|
|
10
10
|
"after:top-4 after:right-4"
|
|
11
11
|
]) }, p = /*#__PURE__*/ e(/* @__PURE__ */ r({
|
|
12
12
|
inheritAttrs: !1,
|
|
@@ -18,11 +18,11 @@ var f = { class: /*@__PURE__*/ o([
|
|
|
18
18
|
emits: ["update:modelValue"],
|
|
19
19
|
setup(e) {
|
|
20
20
|
let r = e, i = l(e, "modelValue");
|
|
21
|
-
return (e, o) => (s(), t("span", f, [d(n("select", a({ "onUpdate:modelValue": o[0] ||= (e) => i.value = e }, e.$attrs, { class: ["muda-control-reset h-10 w-full appearance-none rounded-md border bg-form-background px-2 text-secondary-dark focus:ring-2 focus:outline-hidden disabled:border-secondary-dark/20 disabled:text-secondary-light", {
|
|
22
|
-
"border-secondary-light focus:ring-primary-light": !r.isInvalid,
|
|
23
|
-
"border-danger focus:ring-danger-light": r.isInvalid
|
|
21
|
+
return (e, o) => (s(), t("span", f, [d(n("select", a({ "onUpdate:modelValue": o[0] ||= (e) => i.value = e }, e.$attrs, { class: ["muda-control-reset h-10 w-full appearance-none rounded-md border bg-muda-form-background px-2 text-muda-secondary-dark focus:ring-2 focus:outline-hidden disabled:border-muda-secondary-dark/20 disabled:text-muda-secondary-light", {
|
|
22
|
+
"border-muda-secondary-light focus:ring-muda-primary-light": !r.isInvalid,
|
|
23
|
+
"border-muda-danger focus:ring-muda-danger-light": r.isInvalid
|
|
24
24
|
}] }), [c(e.$slots, "default", {}, void 0, !0)], 16), [[u, i.value]])]));
|
|
25
25
|
}
|
|
26
|
-
}), [["__scopeId", "data-v-
|
|
26
|
+
}), [["__scopeId", "data-v-18e2b254"]]);
|
|
27
27
|
//#endregion
|
|
28
28
|
export { p as t };
|
|
@@ -18,14 +18,14 @@ var u = ["disabled"], d = /* @__PURE__ */ n({
|
|
|
18
18
|
}), null, 16, u), [[c, d.value]]), s[1] ||= t("span", { class: a([
|
|
19
19
|
"peer",
|
|
20
20
|
"relative h-6 w-11",
|
|
21
|
-
"bg-form-background",
|
|
22
|
-
"ring-1 ring-secondary-light",
|
|
21
|
+
"bg-muda-form-background",
|
|
22
|
+
"ring-1 ring-muda-secondary-light",
|
|
23
23
|
"rounded-full",
|
|
24
|
-
"after:absolute after:start-0.5 after:top-0.5 after:h-5 after:w-5 after:rounded-full after:bg-secondary-light after:transition-all after:content-['']",
|
|
25
|
-
"peer-focus:ring-2 peer-focus:ring-primary-light peer-focus:outline-hidden",
|
|
26
|
-
"peer-checked:bg-primary",
|
|
27
|
-
"peer-checked:after:translate-x-full peer-checked:after:bg-form-background peer-checked:rtl:after:-translate-x-full",
|
|
28
|
-
"peer-disabled:bg-secondary-light/70 peer-disabled:ring-secondary-dark/20 peer-disabled:after:bg-secondary-light"
|
|
24
|
+
"after:absolute after:start-0.5 after:top-0.5 after:h-5 after:w-5 after:rounded-full after:bg-muda-secondary-light after:transition-all after:content-['']",
|
|
25
|
+
"peer-focus:ring-2 peer-focus:ring-muda-primary-light peer-focus:outline-hidden",
|
|
26
|
+
"peer-checked:bg-muda-primary",
|
|
27
|
+
"peer-checked:after:translate-x-full peer-checked:after:bg-muda-form-background peer-checked:rtl:after:-translate-x-full",
|
|
28
|
+
"peer-disabled:bg-muda-secondary-light/70 peer-disabled:ring-muda-secondary-dark/20 peer-disabled:after:bg-muda-secondary-light"
|
|
29
29
|
]) }, null, -1)], 2));
|
|
30
30
|
}
|
|
31
31
|
});
|
|
@@ -12,9 +12,9 @@ var c = /* @__PURE__ */ t({
|
|
|
12
12
|
let n = t, c = a(t, "modelValue");
|
|
13
13
|
return (t, a) => s((i(), e("textarea", r(t.$attrs, {
|
|
14
14
|
"onUpdate:modelValue": a[0] ||= (e) => c.value = e,
|
|
15
|
-
class: ["muda-control-reset block w-full rounded-md border bg-form-background p-2 focus:ring-2 focus:outline-hidden disabled:border-secondary-dark/20 disabled:text-secondary-light", {
|
|
16
|
-
"border-secondary-light text-secondary-dark placeholder:text-secondary-light focus:ring-primary-light": !n.isInvalid,
|
|
17
|
-
"border-danger text-danger-dark placeholder:text-danger-light focus:ring-danger-light": n.isInvalid
|
|
15
|
+
class: ["muda-control-reset block w-full rounded-md border bg-muda-form-background p-2 focus:ring-2 focus:outline-hidden disabled:border-muda-secondary-dark/20 disabled:text-muda-secondary-light", {
|
|
16
|
+
"border-muda-secondary-light text-muda-secondary-dark placeholder:text-muda-secondary-light focus:ring-muda-primary-light": !n.isInvalid,
|
|
17
|
+
"border-muda-danger text-muda-danger-dark placeholder:text-muda-danger-light focus:ring-muda-danger-light": n.isInvalid
|
|
18
18
|
}]
|
|
19
19
|
}), null, 16)), [[o, c.value]]);
|
|
20
20
|
}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { computed as e, createBlock as t, createElementBlock as n, defineAsyncComponent as r, defineComponent as i, normalizeClass as a, normalizeStyle as o, openBlock as s, resolveDynamicComponent as c, toRef as l, unref as u } from "vue";
|
|
2
|
+
//#region src/components/MudaIcon/MudaIcon.types.ts
|
|
3
|
+
var d = ":", f = (e) => r({
|
|
4
|
+
loader: async () => (await e()).default,
|
|
5
|
+
onError(e, t, n, r) {
|
|
6
|
+
if (r === 1) {
|
|
7
|
+
t();
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
n();
|
|
11
|
+
}
|
|
12
|
+
}), p = {
|
|
13
|
+
account_balance: f(() => import("./account_balance-tTKo1rRM.js")),
|
|
14
|
+
add_circle: f(() => import("./add_circle_outline-Cp4-UWD3.js")),
|
|
15
|
+
add: f(() => import("./add-C-WLk8_D.js")),
|
|
16
|
+
analytics: f(() => import("./analytics-07sOnbP4.js")),
|
|
17
|
+
apartment: f(() => import("./apartment-DC-_uC-r.js")),
|
|
18
|
+
arrow_circle_down: f(() => import("./arrow_circle_down-CzHL7kiP.js")),
|
|
19
|
+
arrow_circle_up: f(() => import("./arrow_circle_up-gvy-3vjx.js")),
|
|
20
|
+
arrow_downward: f(() => import("./arrow_downward-DPhLvtE2.js")),
|
|
21
|
+
arrow_upward: f(() => import("./arrow_upward-bMZZ2Ppz.js")),
|
|
22
|
+
attractions: f(() => import("./attractions-CscI2mGy.js")),
|
|
23
|
+
bathtub: f(() => import("./bathtub-Dr8Grsn1.js")),
|
|
24
|
+
beach_access: f(() => import("./beach_access-DPhKGsWT.js")),
|
|
25
|
+
bed: f(() => import("./bed-CpbGES3I.js")),
|
|
26
|
+
bento: f(() => import("./bento-DQ5zrFt1.js")),
|
|
27
|
+
build: f(() => import("./build-CKEFwS5y.js")),
|
|
28
|
+
calendar: f(() => import("./calendar_month-D-vOb3Dt.js")),
|
|
29
|
+
checkroom: f(() => import("./checkroom-BWB8BV4b.js")),
|
|
30
|
+
chevron_left: f(() => import("./chevron_left-DdkxhXWV.js")),
|
|
31
|
+
chevron_right: f(() => import("./chevron_right-CnisH7RV.js")),
|
|
32
|
+
close: f(() => import("./close-ConOGoUj.js")),
|
|
33
|
+
coffee: f(() => import("./coffee-CjGoj0n3.js")),
|
|
34
|
+
computer: f(() => import("./computer-CUVOc14q.js")),
|
|
35
|
+
credit_card: f(() => import("./credit_card-a49G2yA_.js")),
|
|
36
|
+
dark_mode: f(() => import("./dark_mode-CBcSeBc2.js")),
|
|
37
|
+
dashboard: f(() => import("./dashboard-YWDZpqtm.js")),
|
|
38
|
+
delete: f(() => import("./delete-CyQzdFi0.js")),
|
|
39
|
+
directions_bike: f(() => import("./directions_bike-DvHfbVZP.js")),
|
|
40
|
+
directions_boat: f(() => import("./directions_boat-x6QRg_AU.js")),
|
|
41
|
+
drafts: f(() => import("./drafts-CuEaA7r6.js")),
|
|
42
|
+
drag_handle: f(() => import("./drag_handle-Cc938wbp.js")),
|
|
43
|
+
drag_indicator: f(() => import("./drag_indicator-DT9p9q4p.js")),
|
|
44
|
+
edit: f(() => import("./edit-SVv9Q4nL.js")),
|
|
45
|
+
emergency: f(() => import("./emergency-DpFjNLHg.js")),
|
|
46
|
+
family_restroom: f(() => import("./family_restroom-KLlcfltB.js")),
|
|
47
|
+
favorite: f(() => import("./favorite-qxA7_cca.js")),
|
|
48
|
+
filter_list: f(() => import("./filter_list-CyMTL5fW.js")),
|
|
49
|
+
fitness_center: f(() => import("./fitness_center-CC-d7NL8.js")),
|
|
50
|
+
flight: f(() => import("./flight-C_4De5Y8.js")),
|
|
51
|
+
hiking: f(() => import("./hiking-Dyp8Df_G.js")),
|
|
52
|
+
home: f(() => import("./home-Ba8s8g_D.js")),
|
|
53
|
+
hotel: f(() => import("./hotel-B8C8Qlu7.js")),
|
|
54
|
+
image: f(() => import("./image-BJSLAs64.js")),
|
|
55
|
+
key: f(() => import("./key-Bt7Vv5DO.js")),
|
|
56
|
+
keyboard_arrow_down: f(() => import("./keyboard_arrow_down-BnyWK-fU.js")),
|
|
57
|
+
keyboard_arrow_left: f(() => import("./keyboard_arrow_left-CrT8-der.js")),
|
|
58
|
+
keyboard_arrow_right: f(() => import("./keyboard_arrow_right-CpMlKice.js")),
|
|
59
|
+
keyboard_arrow_up: f(() => import("./keyboard_arrow_up-BnizXqA4.js")),
|
|
60
|
+
keyboard_double_arrow_left: f(() => import("./keyboard_double_arrow_left-B_2y3Ht4.js")),
|
|
61
|
+
keyboard_double_arrow_right: f(() => import("./keyboard_double_arrow_right-BLjb8tDz.js")),
|
|
62
|
+
language: f(() => import("./language-CpboIcGR.js")),
|
|
63
|
+
light_mode: f(() => import("./light_mode-D7tesPdi.js")),
|
|
64
|
+
liquor: f(() => import("./liquor-DEFZlXiY.js")),
|
|
65
|
+
local_convenience_store: f(() => import("./local_convenience_store-BVPhUWyN.js")),
|
|
66
|
+
local_dining: f(() => import("./local_dining-CC_8qUYw.js")),
|
|
67
|
+
local_florist: f(() => import("./local_florist-B-T7_ZUe.js")),
|
|
68
|
+
local_mall: f(() => import("./local_mall-B4kHK9Gy.js")),
|
|
69
|
+
local_shipping: f(() => import("./local_shipping-6inEJZd-.js")),
|
|
70
|
+
local_taxi: f(() => import("./local_taxi-4eg_19Dr.js")),
|
|
71
|
+
logout: f(() => import("./logout-Cen6gk64.js")),
|
|
72
|
+
luggage: f(() => import("./luggage-gDYixT05.js")),
|
|
73
|
+
medical_services: f(() => import("./medical_services-DRLomvfV.js")),
|
|
74
|
+
more_horiz: f(() => import("./more_horiz-HZRFuje3.js")),
|
|
75
|
+
more_vert: f(() => import("./more_vert-LubuX24o.js")),
|
|
76
|
+
museum: f(() => import("./museum-BMO7HIgV.js")),
|
|
77
|
+
nightlife: f(() => import("./nightlife-DvAmD_6n.js")),
|
|
78
|
+
notifications: f(() => import("./notifications-BNg2pGu6.js")),
|
|
79
|
+
paid: f(() => import("./paid-DzQXZ21o.js")),
|
|
80
|
+
palette: f(() => import("./palette-BaM5P-uu.js")),
|
|
81
|
+
payments: f(() => import("./payments-SJiRf-3B.js")),
|
|
82
|
+
pedal_bike: f(() => import("./pedal_bike-dXPfkUSG.js")),
|
|
83
|
+
phone_iphone: f(() => import("./phone_iphone-Drjw9kyk.js")),
|
|
84
|
+
photo_camera: f(() => import("./photo_camera-DyUgsTIR.js")),
|
|
85
|
+
priority_high: f(() => import("./priority_high-BC6iSZTu.js")),
|
|
86
|
+
ramen_dining: f(() => import("./ramen_dining-BnjNsY8l.js")),
|
|
87
|
+
remove: f(() => import("./remove-BoMXjU8j.js")),
|
|
88
|
+
restaurant: f(() => import("./restaurant-BRki4Z_b.js")),
|
|
89
|
+
sailing: f(() => import("./sailing-BVzd3Yw6.js")),
|
|
90
|
+
school: f(() => import("./school-DqyARVmh.js")),
|
|
91
|
+
search: f(() => import("./search-CcXvCUkm.js")),
|
|
92
|
+
settings: f(() => import("./settings-nrE4YRgL.js")),
|
|
93
|
+
shopping_cart: f(() => import("./shopping_cart-B-NlNPiR.js")),
|
|
94
|
+
spa: f(() => import("./spa-Be7VgpaE.js")),
|
|
95
|
+
sports_bar: f(() => import("./sports_bar-MQX8F5Zf.js")),
|
|
96
|
+
sports_basketball: f(() => import("./sports_basketball-CtVt_X_l.js")),
|
|
97
|
+
sports_esports: f(() => import("./sports_esports-DUDO5lDe.js")),
|
|
98
|
+
sports_mma: f(() => import("./sports_mma-CdM8knJL.js")),
|
|
99
|
+
star: f(() => import("./star-RAIJVmbp.js")),
|
|
100
|
+
store: f(() => import("./store-5DAAEf5M.js")),
|
|
101
|
+
storefront: f(() => import("./storefront-DTtlr_xi.js")),
|
|
102
|
+
table_rows: f(() => import("./table_rows-CvDwC4iW.js")),
|
|
103
|
+
train: f(() => import("./train-CQNTe9Qp.js")),
|
|
104
|
+
travel_explore: f(() => import("./travel_explore-OMMCq3pa.js")),
|
|
105
|
+
tv: f(() => import("./tv-Ddejutmx.js")),
|
|
106
|
+
vaccines: f(() => import("./vaccines-CfBRCxNm.js")),
|
|
107
|
+
videogame_asset: f(() => import("./videogame_asset-CedIMUis.js")),
|
|
108
|
+
visibility_off: f(() => import("./visibility_off-C2i2mzoe.js")),
|
|
109
|
+
visibility: f(() => import("./visibility-DU-oBxte.js")),
|
|
110
|
+
watch: f(() => import("./watch-BeazuqvT.js"))
|
|
111
|
+
}, m = {
|
|
112
|
+
account_balance: f(() => import("./account_balance-DraASv2L.js")),
|
|
113
|
+
add_circle: f(() => import("./add_circle_outline-gWceP5CT.js")),
|
|
114
|
+
add: f(() => import("./add-rHsXWUB3.js")),
|
|
115
|
+
analytics: f(() => import("./analytics-DKajyXsZ.js")),
|
|
116
|
+
apartment: f(() => import("./apartment-D-yxo46U.js")),
|
|
117
|
+
arrow_circle_down: f(() => import("./arrow_circle_down-Cfl01hSk.js")),
|
|
118
|
+
arrow_circle_up: f(() => import("./arrow_circle_up-B1p0bl_c.js")),
|
|
119
|
+
arrow_downward: f(() => import("./arrow_downward-DCoB2C0p.js")),
|
|
120
|
+
arrow_upward: f(() => import("./arrow_upward-D3WW55Xt.js")),
|
|
121
|
+
attractions: f(() => import("./attractions-Dr0QIo8M.js")),
|
|
122
|
+
bathtub: f(() => import("./bathtub-D_DONAkK.js")),
|
|
123
|
+
beach_access: f(() => import("./beach_access-uF616UOm.js")),
|
|
124
|
+
bed: f(() => import("./bed-GShLIbSi.js")),
|
|
125
|
+
bento: f(() => import("./bento-CEpUIDgP.js")),
|
|
126
|
+
build: f(() => import("./build-DvoCjI8G.js")),
|
|
127
|
+
calendar: f(() => import("./calendar_month-CZFPgoyg.js")),
|
|
128
|
+
checkroom: f(() => import("./checkroom-D2CT1-MS.js")),
|
|
129
|
+
chevron_left: f(() => import("./chevron_left-CgQ1kOTp.js")),
|
|
130
|
+
chevron_right: f(() => import("./chevron_right-Bg1krtnZ.js")),
|
|
131
|
+
close: f(() => import("./close-BMlDU_S8.js")),
|
|
132
|
+
coffee: f(() => import("./coffee-8ewXOEoT.js")),
|
|
133
|
+
computer: f(() => import("./computer-D1kpZK30.js")),
|
|
134
|
+
credit_card: f(() => import("./credit_card-CoVeAT2C.js")),
|
|
135
|
+
dark_mode: f(() => import("./dark_mode-Bn7TB25M.js")),
|
|
136
|
+
dashboard: f(() => import("./dashboard-v4Xin7--.js")),
|
|
137
|
+
delete: f(() => import("./delete-BS5UF5dU.js")),
|
|
138
|
+
directions_bike: f(() => import("./directions_bike-C5YNoNUl.js")),
|
|
139
|
+
directions_boat: f(() => import("./directions_boat-CBVP0cpN.js")),
|
|
140
|
+
drafts: f(() => import("./drafts-CzlXWdkd.js")),
|
|
141
|
+
drag_handle: f(() => import("./drag_handle-BufBe6Uw.js")),
|
|
142
|
+
drag_indicator: f(() => import("./drag_indicator-ekZyuG1q.js")),
|
|
143
|
+
edit: f(() => import("./edit-CuzOq4rd.js")),
|
|
144
|
+
emergency: f(() => import("./emergency-CmnweaLn.js")),
|
|
145
|
+
family_restroom: f(() => import("./family_restroom-B3KN27wZ.js")),
|
|
146
|
+
favorite: f(() => import("./favorite-DEOkC0Bx.js")),
|
|
147
|
+
filter_list: f(() => import("./filter_list-dm3IiIw0.js")),
|
|
148
|
+
fitness_center: f(() => import("./fitness_center-RN0MaLNZ.js")),
|
|
149
|
+
flight: f(() => import("./flight-DJiL1ZL5.js")),
|
|
150
|
+
hiking: f(() => import("./hiking-BfKY2ukX.js")),
|
|
151
|
+
home: f(() => import("./home-CoY1iTiJ.js")),
|
|
152
|
+
hotel: f(() => import("./hotel-BPXCZZOB.js")),
|
|
153
|
+
image: f(() => import("./image-BToO0yUV.js")),
|
|
154
|
+
key: f(() => import("./key-fmW_n9aQ.js")),
|
|
155
|
+
keyboard_arrow_down: f(() => import("./keyboard_arrow_down-D4dgMPwN.js")),
|
|
156
|
+
keyboard_arrow_left: f(() => import("./keyboard_arrow_left-DhQ64Nuq.js")),
|
|
157
|
+
keyboard_arrow_right: f(() => import("./keyboard_arrow_right-9PYjOByS.js")),
|
|
158
|
+
keyboard_arrow_up: f(() => import("./keyboard_arrow_up-CCgawFRO.js")),
|
|
159
|
+
keyboard_double_arrow_left: f(() => import("./keyboard_double_arrow_left-BF6zU6bw.js")),
|
|
160
|
+
keyboard_double_arrow_right: f(() => import("./keyboard_double_arrow_right-DKKfeQkD.js")),
|
|
161
|
+
language: f(() => import("./language-52-v5YWD.js")),
|
|
162
|
+
light_mode: f(() => import("./light_mode-BfjR3ehC.js")),
|
|
163
|
+
liquor: f(() => import("./liquor-DFBN6V2L.js")),
|
|
164
|
+
local_convenience_store: f(() => import("./local_convenience_store-VooSxFR7.js")),
|
|
165
|
+
local_dining: f(() => import("./local_dining-BaVq9N5C.js")),
|
|
166
|
+
local_florist: f(() => import("./local_florist-_5WIAVnr.js")),
|
|
167
|
+
local_mall: f(() => import("./local_mall-D9SrQssA.js")),
|
|
168
|
+
local_shipping: f(() => import("./local_shipping-ywoIF-ai.js")),
|
|
169
|
+
local_taxi: f(() => import("./local_taxi-D5c1hPAs.js")),
|
|
170
|
+
logout: f(() => import("./logout-BPgfB1RA.js")),
|
|
171
|
+
luggage: f(() => import("./luggage-CIDfCXcO.js")),
|
|
172
|
+
medical_services: f(() => import("./medical_services-BMnL9Hf0.js")),
|
|
173
|
+
more_horiz: f(() => import("./more_horiz-BowsYrHH.js")),
|
|
174
|
+
more_vert: f(() => import("./more_vert-D6N5BYNw.js")),
|
|
175
|
+
museum: f(() => import("./museum-jv6Fapno.js")),
|
|
176
|
+
nightlife: f(() => import("./nightlife-CH3YoSri.js")),
|
|
177
|
+
notifications: f(() => import("./notifications-DwrssYIB.js")),
|
|
178
|
+
paid: f(() => import("./paid-Cmx5Gm0T.js")),
|
|
179
|
+
palette: f(() => import("./palette-Cx_gowSh.js")),
|
|
180
|
+
payments: f(() => import("./payments-BS5LaM6l.js")),
|
|
181
|
+
pedal_bike: f(() => import("./pedal_bike-DS9OXy6T.js")),
|
|
182
|
+
phone_iphone: f(() => import("./phone_iphone-Jn5mUcAU.js")),
|
|
183
|
+
photo_camera: f(() => import("./photo_camera-CkjGaV59.js")),
|
|
184
|
+
priority_high: f(() => import("./priority_high-56QhMKOC.js")),
|
|
185
|
+
ramen_dining: f(() => import("./ramen_dining-BERpQdUU.js")),
|
|
186
|
+
remove: f(() => import("./remove-BwkynUz8.js")),
|
|
187
|
+
restaurant: f(() => import("./restaurant-C3kYT1pX.js")),
|
|
188
|
+
sailing: f(() => import("./sailing-CUuK_mdJ.js")),
|
|
189
|
+
school: f(() => import("./school-Bai17sP2.js")),
|
|
190
|
+
search: f(() => import("./search-l1kG41Sc.js")),
|
|
191
|
+
settings: f(() => import("./settings-CcUpNkTH.js")),
|
|
192
|
+
shopping_cart: f(() => import("./shopping_cart-KMMms5VN.js")),
|
|
193
|
+
spa: f(() => import("./spa-DN1Mn8bz.js")),
|
|
194
|
+
sports_bar: f(() => import("./sports_bar-vuyxzqar.js")),
|
|
195
|
+
sports_basketball: f(() => import("./sports_basketball-BUVZEN3_.js")),
|
|
196
|
+
sports_esports: f(() => import("./sports_esports-BJt8B991.js")),
|
|
197
|
+
sports_mma: f(() => import("./sports_mma-BAF7lZI7.js")),
|
|
198
|
+
star: f(() => import("./star-i_70w1pe.js")),
|
|
199
|
+
store: f(() => import("./store-BeWM3jUf.js")),
|
|
200
|
+
storefront: f(() => import("./storefront-BlTCwZ3v.js")),
|
|
201
|
+
table_rows: f(() => import("./table_rows-D5128dCH.js")),
|
|
202
|
+
train: f(() => import("./train-YCiGuvbT.js")),
|
|
203
|
+
travel_explore: f(() => import("./travel_explore-CgOHWIio.js")),
|
|
204
|
+
tv: f(() => import("./tv-DCFPE0jx.js")),
|
|
205
|
+
vaccines: f(() => import("./vaccines-BQ_WEIlq.js")),
|
|
206
|
+
videogame_asset: f(() => import("./videogame_asset-D27Cz601.js")),
|
|
207
|
+
visibility_off: f(() => import("./visibility_off-CWKymtPv.js")),
|
|
208
|
+
visibility: f(() => import("./visibility-D2aBaum9.js")),
|
|
209
|
+
watch: f(() => import("./watch-pa19WTfu.js"))
|
|
210
|
+
}, h = (e) => m[e] != null || p[e] != null, g = (e) => e === "outlined" || e === "filled", _ = (e, t) => `${e}:${t}`, v = (e) => {
|
|
211
|
+
if (e == null) return;
|
|
212
|
+
let t = e.split(":")[0];
|
|
213
|
+
if (h(t)) return t;
|
|
214
|
+
}, y = (e) => {
|
|
215
|
+
if (e == null) return "outlined";
|
|
216
|
+
let t = e.split(":")[1];
|
|
217
|
+
return g(t) ? t : "outlined";
|
|
218
|
+
}, b = (t) => e(() => {
|
|
219
|
+
switch (t.value) {
|
|
220
|
+
case "outlined": return m;
|
|
221
|
+
case "filled": return p;
|
|
222
|
+
default: return m;
|
|
223
|
+
}
|
|
224
|
+
}), x = () => e(() => Object.keys(m).sort()), S = (t) => {
|
|
225
|
+
let n = e(() => v(t.value)), r = b(e(() => y(t.value)));
|
|
226
|
+
return e(() => {
|
|
227
|
+
if (n.value != null) return r.value[n.value];
|
|
228
|
+
});
|
|
229
|
+
}, C = /* @__PURE__ */ i({
|
|
230
|
+
__name: "MudaIcon",
|
|
231
|
+
props: {
|
|
232
|
+
icon: {},
|
|
233
|
+
name: {},
|
|
234
|
+
size: { default: "medium" },
|
|
235
|
+
color: {}
|
|
236
|
+
},
|
|
237
|
+
setup(e) {
|
|
238
|
+
let r = e, i = S(l(() => r.icon || r.name));
|
|
239
|
+
return (e, l) => (s(), n("span", { class: a(["relative shrink-0", {
|
|
240
|
+
"size-4": r.size === "small",
|
|
241
|
+
"size-5": r.size === "medium",
|
|
242
|
+
"size-6": r.size === "large"
|
|
243
|
+
}]) }, [(s(), t(c(u(i)), {
|
|
244
|
+
style: o({ fill: r.color }),
|
|
245
|
+
class: a(["-mt-0.5 -ml-0.5", {
|
|
246
|
+
"size-5": r.size === "small",
|
|
247
|
+
"size-6": r.size === "medium",
|
|
248
|
+
"size-7": r.size === "large"
|
|
249
|
+
}])
|
|
250
|
+
}, null, 8, ["style", "class"]))], 2));
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
//#endregion
|
|
254
|
+
export { h as a, x as c, y as i, b as l, _ as n, g as o, v as r, S as s, C as t, d as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, l as t, n, r } from "./MudaIcon-
|
|
2
|
-
import { t as i } from "./MudaPopover-
|
|
3
|
-
import { t as a } from "./MudaFormRadioGroup-
|
|
1
|
+
import { i as e, l as t, n, r } from "./MudaIcon-D_siyzw0.js";
|
|
2
|
+
import { t as i } from "./MudaPopover-BU9CWFeP.js";
|
|
3
|
+
import { t as a } from "./MudaFormRadioGroup-D_sW4A2-.js";
|
|
4
4
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeModels as m, mergeProps as h, normalizeClass as g, openBlock as _, ref as v, renderList as y, resolveDynamicComponent as b, toRef as x, unref as S, useModel as C, watch as w, withCtx as T, withModifiers as E } from "vue";
|
|
5
5
|
//#region src/components/MudaIconPicker/useMudaIconPickerList.ts
|
|
6
6
|
var D = /* @__PURE__ */ new Set(/* @__PURE__ */ "account_balance.analytics.apartment.bathtub.bed.bento.checkroom.coffee.credit_card.directions_bike.directions_boat.emergency.family_restroom.fitness_center.flight.hiking.home.hotel.image.key.language.local_convenience_store.local_florist.local_mall.local_shipping.local_taxi.medical_services.museum.nightlife.paid.palette.payments.pedal_bike.phone_iphone.restaurant.sailing.school.shopping_cart.sports_bar.sports_basketball.sports_esports.sports_mma.store.storefront.table_rows.train.travel_explore.tv.vaccines.videogame_asset".split(".")), O = (e) => {
|
|
@@ -23,23 +23,23 @@ var D = /* @__PURE__ */ new Set(/* @__PURE__ */ "account_balance.analytics.apart
|
|
|
23
23
|
type: "button",
|
|
24
24
|
disabled: t.disabled,
|
|
25
25
|
class: g(["muda-button-reset flex size-min min-h-10 w-full items-center justify-center rounded-md", {
|
|
26
|
-
"fill-secondary-light/30": t.disabled,
|
|
27
|
-
"fill-secondary-dark hover:bg-primary-light hover:fill-white": !t.disabled,
|
|
28
|
-
"bg-primary fill-white!": e === n.value
|
|
26
|
+
"fill-muda-secondary-light/30": t.disabled,
|
|
27
|
+
"fill-muda-secondary-dark hover:bg-muda-primary-light hover:fill-white": !t.disabled,
|
|
28
|
+
"bg-muda-primary fill-white!": e === n.value
|
|
29
29
|
}]),
|
|
30
30
|
onClick: (t) => n.value = e
|
|
31
31
|
}, [(_(), c(b(r), { class: "size-6" }))], 10, A))), 128)), d("button", {
|
|
32
32
|
type: "button",
|
|
33
33
|
disabled: t.disabled,
|
|
34
34
|
class: g(["muda-button-reset flex size-min min-h-10 w-full items-center justify-center rounded-md", {
|
|
35
|
-
"fill-secondary-light/30": t.disabled,
|
|
36
|
-
"fill-secondary-dark hover:bg-primary-light hover:fill-white": !t.disabled,
|
|
37
|
-
"bg-primary fill-white": n.value == null
|
|
35
|
+
"fill-muda-secondary-light/30": t.disabled,
|
|
36
|
+
"fill-muda-secondary-dark hover:bg-muda-primary-light hover:fill-white": !t.disabled,
|
|
37
|
+
"bg-muda-primary fill-white": n.value == null
|
|
38
38
|
}]),
|
|
39
39
|
onClick: i[0] ||= E((e) => n.value = void 0, ["prevent"])
|
|
40
40
|
}, [...i[1] ||= [d("span", { class: "block size-6" }, null, -1)]], 10, j)]));
|
|
41
41
|
}
|
|
42
|
-
}), N = ["disabled"
|
|
42
|
+
}), N = ["disabled"], P = { class: "flex w-76 flex-col gap-2" }, F = { class: "relative max-h-60 muda-scroll-container-v-form-background" }, I = /* @__PURE__ */ p({
|
|
43
43
|
inheritAttrs: !1,
|
|
44
44
|
__name: "MudaIconPicker",
|
|
45
45
|
props: /*@__PURE__*/ m({
|
|
@@ -98,8 +98,7 @@ var D = /* @__PURE__ */ new Set(/* @__PURE__ */ "account_balance.analytics.apart
|
|
|
98
98
|
default: T(() => [d("button", h(e.$attrs, {
|
|
99
99
|
type: "button",
|
|
100
100
|
disabled: u.disabled,
|
|
101
|
-
"
|
|
102
|
-
class: ["muda-button-reset relative flex size-10 items-center justify-center rounded-md border border-primary fill-secondary-dark focus:ring-2 focus:ring-primary-light focus:outline-hidden disabled:border-secondary-dark/20 disabled:text-secondary-light", { "border-danger focus:ring-danger-light": u.isInvalid }],
|
|
101
|
+
class: ["muda-button-reset relative flex size-10 items-center justify-center rounded-md border border-muda-primary fill-muda-secondary-dark focus:ring-2 focus:ring-muda-primary-light focus:outline-hidden disabled:border-muda-secondary-dark/20 disabled:text-muda-secondary-light", { "border-muda-danger focus:ring-muda-danger-light": u.isInvalid }],
|
|
103
102
|
onClick: t[0] ||= (e) => y.value = !y.value
|
|
104
103
|
}), [D.value == null ? l("", !0) : (_(), c(b(D.value), { key: 0 }))], 16, N)]),
|
|
105
104
|
_: 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./MudaIcon-
|
|
1
|
+
import { t as e } from "./MudaIcon-D_siyzw0.js";
|
|
2
2
|
import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, useModel as g, useSlots as _, withCtx as v } from "vue";
|
|
3
3
|
//#region src/common/range.ts
|
|
4
|
-
var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b =
|
|
4
|
+
var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b = /* @__PURE__ */ c({
|
|
5
5
|
__name: "MudaPaginationItem",
|
|
6
6
|
props: {
|
|
7
7
|
isSelected: { type: Boolean },
|
|
@@ -11,25 +11,23 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
11
11
|
let t = e;
|
|
12
12
|
return (e, n) => (d(), a("button", u(e.$attrs, {
|
|
13
13
|
type: "button",
|
|
14
|
-
"aria-current": t.isSelected ? "page" : void 0,
|
|
15
14
|
class: [
|
|
16
15
|
"muda-button-reset relative inline-flex items-center rounded-md py-2 focus:z-20",
|
|
17
16
|
"text-sm font-semibold",
|
|
18
|
-
"hover:bg-primary-light hover:fill-white hover:text-white",
|
|
19
|
-
"disabled:fill-secondary-light disabled:hover:bg-inherit disabled:hover:fill-secondary-light",
|
|
20
|
-
!t.isSelected && "text-secondary-dark disabled:text-secondary-light disabled:hover:text-secondary-light",
|
|
21
|
-
t.isSelected && "z-10 bg-primary text-white disabled:bg-secondary-light disabled:hover:bg-secondary-light",
|
|
17
|
+
"hover:bg-muda-primary-light hover:fill-white hover:text-white",
|
|
18
|
+
"disabled:fill-muda-secondary-light disabled:hover:bg-inherit disabled:hover:fill-muda-secondary-light",
|
|
19
|
+
!t.isSelected && "text-muda-secondary-dark disabled:text-muda-secondary-light disabled:hover:text-muda-secondary-light",
|
|
20
|
+
t.isSelected && "z-10 bg-muda-primary text-white disabled:bg-muda-secondary-light disabled:hover:bg-muda-secondary-light",
|
|
22
21
|
t.type === "page" && "px-4",
|
|
23
22
|
t.type === "more" && "px-3",
|
|
24
23
|
t.type === "arrow" && "px-2"
|
|
25
24
|
]
|
|
26
|
-
}), [p(e.$slots, "default")], 16
|
|
25
|
+
}), [p(e.$slots, "default")], 16));
|
|
27
26
|
}
|
|
28
|
-
}),
|
|
27
|
+
}), x = {
|
|
29
28
|
key: 0,
|
|
30
|
-
"aria-label": "Pagination",
|
|
31
29
|
class: "isolate inline-flex gap-0.5"
|
|
32
|
-
},
|
|
30
|
+
}, S = 2, C = /* @__PURE__ */ c({
|
|
33
31
|
__name: "MudaPagination",
|
|
34
32
|
props: /*@__PURE__*/ l({
|
|
35
33
|
pages: {},
|
|
@@ -44,9 +42,9 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
44
42
|
}),
|
|
45
43
|
emits: ["update:modelValue"],
|
|
46
44
|
setup(c) {
|
|
47
|
-
let l = c, u = g(c, "modelValue"),
|
|
48
|
-
return (n, c) => l.pages > 1 ? (d(), a("nav",
|
|
49
|
-
s(
|
|
45
|
+
let l = c, u = g(c, "modelValue"), C = _(), w = n(() => Math.max(3, Math.floor(l.siblingCount))), T = n(() => w.value >= l.pages ? l.pages : Math.floor((w.value - 1) / 2)), E = n(() => l.pages <= w.value ? y(S, l.pages) : u.value < w.value - T.value ? y(S, w.value) : u.value + T.value >= l.pages ? y(l.pages - w.value + S, l.pages) : y(u.value - T.value + 1, u.value + T.value)), D = n(() => w.value - 1 < l.pages), O = n(() => u.value >= l.pages), k = n(() => u.value <= 1), A = n(() => D.value ? u.value > T.value + 1 : !1), j = n(() => D.value ? u.value < l.pages - T.value : !1);
|
|
46
|
+
return (n, c) => l.pages > 1 ? (d(), a("nav", x, [
|
|
47
|
+
s(b, {
|
|
50
48
|
type: "arrow",
|
|
51
49
|
disabled: l.disabled || k.value,
|
|
52
50
|
onClick: c[0] ||= (e) => --u.value
|
|
@@ -54,7 +52,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
54
52
|
default: v(() => [s(h(e), { icon: "chevron_left:outlined" })]),
|
|
55
53
|
_: 1
|
|
56
54
|
}, 8, ["disabled"]),
|
|
57
|
-
s(
|
|
55
|
+
s(b, {
|
|
58
56
|
type: "page",
|
|
59
57
|
disabled: l.disabled,
|
|
60
58
|
"is-selected": u.value === 1,
|
|
@@ -63,7 +61,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
63
61
|
default: v(() => [...c[6] ||= [o(" 1 ", -1)]]),
|
|
64
62
|
_: 1
|
|
65
63
|
}, 8, ["disabled", "is-selected"]),
|
|
66
|
-
A.value ? (d(), r(
|
|
64
|
+
A.value ? (d(), r(b, {
|
|
67
65
|
key: 0,
|
|
68
66
|
type: "more",
|
|
69
67
|
disabled: l.disabled,
|
|
@@ -72,7 +70,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
72
70
|
default: v(() => [s(h(e), { icon: "more_horiz:outlined" })]),
|
|
73
71
|
_: 1
|
|
74
72
|
}, 8, ["disabled"])) : i("", !0),
|
|
75
|
-
(d(!0), a(t, null, f(E.value, (e) => (d(), r(
|
|
73
|
+
(d(!0), a(t, null, f(E.value, (e) => (d(), r(b, {
|
|
76
74
|
key: e,
|
|
77
75
|
type: "page",
|
|
78
76
|
disabled: l.disabled,
|
|
@@ -86,7 +84,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
86
84
|
"is-selected",
|
|
87
85
|
"onClick"
|
|
88
86
|
]))), 128)),
|
|
89
|
-
j.value ? (d(), r(
|
|
87
|
+
j.value ? (d(), r(b, {
|
|
90
88
|
key: 1,
|
|
91
89
|
type: "more",
|
|
92
90
|
disabled: l.disabled,
|
|
@@ -95,7 +93,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
95
93
|
default: v(() => [s(h(e), { icon: "more_horiz:outlined" })]),
|
|
96
94
|
_: 1
|
|
97
95
|
}, 8, ["disabled"])) : i("", !0),
|
|
98
|
-
s(
|
|
96
|
+
s(b, {
|
|
99
97
|
type: "page",
|
|
100
98
|
disabled: l.disabled,
|
|
101
99
|
"is-selected": u.value === l.pages,
|
|
@@ -104,7 +102,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
104
102
|
default: v(() => [o(m(l.pages), 1)]),
|
|
105
103
|
_: 1
|
|
106
104
|
}, 8, ["disabled", "is-selected"]),
|
|
107
|
-
s(
|
|
105
|
+
s(b, {
|
|
108
106
|
type: "arrow",
|
|
109
107
|
disabled: l.disabled || O.value,
|
|
110
108
|
onClick: c[5] ||= (e) => u.value += 1
|
|
@@ -112,8 +110,8 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
112
110
|
default: v(() => [s(h(e), { icon: "chevron_right:outlined" })]),
|
|
113
111
|
_: 1
|
|
114
112
|
}, 8, ["disabled"])
|
|
115
|
-
])) :
|
|
113
|
+
])) : C.empty == null ? i("", !0) : p(n.$slots, "empty", {}, void 0, void 0, 1);
|
|
116
114
|
}
|
|
117
115
|
});
|
|
118
116
|
//#endregion
|
|
119
|
-
export {
|
|
117
|
+
export { C as t };
|
|
@@ -53,7 +53,7 @@ var C = /* @__PURE__ */ c({
|
|
|
53
53
|
}, {
|
|
54
54
|
default: _(() => [w.value ? (d(), o("div", u({ key: 0 }, e.$attrs, {
|
|
55
55
|
ref: "popover",
|
|
56
|
-
class: "inline-flex h-max w-max rounded-md border border-secondary-light bg-foreground p-2 shadow-lg",
|
|
56
|
+
class: "inline-flex h-max w-max rounded-md border border-muda-secondary-light bg-muda-foreground p-2 shadow-lg",
|
|
57
57
|
style: {
|
|
58
58
|
...m(k),
|
|
59
59
|
zIndex: m(O)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, normalizeClass as r, openBlock as i } from "vue";
|
|
2
|
+
//#region src/components/MudaSpinner/MudaSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var a = { class: "flex items-center justify-center" }, o = /* @__PURE__ */ n({
|
|
4
|
+
__name: "MudaSpinner",
|
|
5
|
+
props: { size: { default: "medium" } },
|
|
6
|
+
setup(n) {
|
|
7
|
+
let o = n;
|
|
8
|
+
return (n, s) => (i(), e("div", a, [t("div", { class: r(["animate-spin rounded-full border-b-2 border-muda-primary", {
|
|
9
|
+
"size-6": o.size === "small",
|
|
10
|
+
"size-14": o.size === "medium",
|
|
11
|
+
"size-24": o.size === "large"
|
|
12
|
+
}]) }, null, 2)]));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { o as t };
|
|
@@ -9,7 +9,7 @@ var c = { class: "relative w-full border-collapse" }, l = { key: 1 }, u = { key:
|
|
|
9
9
|
return (e, s) => (a(), n("table", c, [
|
|
10
10
|
d.head == null ? t("", !0) : (a(), n("thead", {
|
|
11
11
|
key: 0,
|
|
12
|
-
class: i(["bg-foreground", { "sticky top-0 z-10": r.stickyHeader }])
|
|
12
|
+
class: i(["bg-muda-foreground", { "sticky top-0 z-10": r.stickyHeader }])
|
|
13
13
|
}, [o(e.$slots, "head")], 2)),
|
|
14
14
|
d.body == null ? t("", !0) : (a(), n("tbody", l, [o(e.$slots, "body")])),
|
|
15
15
|
d.foot == null ? t("", !0) : (a(), n("tfoot", u, [o(e.$slots, "foot")])),
|
|
@@ -20,11 +20,11 @@ var c = { class: "relative w-full border-collapse" }, l = { key: 1 }, u = { key:
|
|
|
20
20
|
function m(e, t) {
|
|
21
21
|
return a(), n("td", p, [o(e.$slots, "default")]);
|
|
22
22
|
}
|
|
23
|
-
var h = /*#__PURE__*/ e(f, [["render", m]]), g = {}, _ = { class: "border-b-2 border-b-secondary-light p-2 text-sm text-secondary first:pl-0 last:pr-0" };
|
|
23
|
+
var h = /*#__PURE__*/ e(f, [["render", m]]), g = {}, _ = { class: "border-b-2 border-b-muda-secondary-light p-2 text-sm text-muda-secondary first:pl-0 last:pr-0" };
|
|
24
24
|
function v(e, t) {
|
|
25
25
|
return a(), n("th", _, [o(e.$slots, "default")]);
|
|
26
26
|
}
|
|
27
|
-
var y = /*#__PURE__*/ e(g, [["render", v]]), b = {}, x = { class: "border-b border-b-secondary-light last:border-0" };
|
|
27
|
+
var y = /*#__PURE__*/ e(g, [["render", v]]), b = {}, x = { class: "border-b border-b-muda-secondary-light last:border-0" };
|
|
28
28
|
function S(e, t) {
|
|
29
29
|
return a(), n("tr", x, [o(e.$slots, "default")]);
|
|
30
30
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, openBlock as r, renderSlot as i } from "vue";
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/components/MudaTag/MudaTag.vue
|
|
4
|
+
var a = /* @__PURE__ */ t({
|
|
5
|
+
__name: "MudaTag",
|
|
6
|
+
props: {
|
|
7
|
+
variant: { default: "default" },
|
|
8
|
+
size: { default: "medium" }
|
|
9
|
+
},
|
|
10
|
+
setup(t) {
|
|
11
|
+
let a = t;
|
|
12
|
+
return (t, o) => (r(), e("div", n(t.$attrs, { class: ["inline-flex rounded-md font-medium ring-1 ring-inset", {
|
|
13
|
+
"px-2 text-[0.7rem]": a.size === "small",
|
|
14
|
+
"px-2 py-1 text-xs": a.size === "medium",
|
|
15
|
+
"px-3 py-2 text-sm": a.size === "large",
|
|
16
|
+
"bg-muda-form-background": a.variant === "default",
|
|
17
|
+
"bg-muda-primary-light text-muda-primary-dark ring-muda-primary-dark/20": a.variant === "primary",
|
|
18
|
+
"bg-muda-secondary-light text-muda-secondary-dark ring-muda-secondary-dark/20": a.variant === "secondary",
|
|
19
|
+
"bg-muda-success-light text-muda-success-dark ring-muda-success-dark/20": a.variant === "success",
|
|
20
|
+
"bg-muda-danger-light text-muda-danger-dark ring-muda-danger-dark/20": a.variant === "danger",
|
|
21
|
+
"bg-muda-warning-light text-muda-warning-dark ring-muda-warning-dark/20": a.variant === "warning",
|
|
22
|
+
"bg-muda-info-light text-muda-info-dark ring-muda-info-dark/20": a.variant === "info"
|
|
23
|
+
}] }), [i(t.$slots, "default")], 16));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { a as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, openBlock as n } from "vue";
|
|
2
|
+
//#region ../../node_modules/@material-design-icons/svg/outlined/account_balance.svg?component
|
|
3
|
+
var r = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24"
|
|
7
|
+
};
|
|
8
|
+
function i(i, a) {
|
|
9
|
+
return n(), e("svg", r, [...a[0] ||= [t("path", { d: "M6.5 10h-2v7h2zm6 0h-2v7h2zm8.5 9H2v2h19zm-2.5-9h-2v7h2zm-7-6.74L16.71 6H6.29zm0-2.26L2 6v2h19V6z" }, null, -1)]]);
|
|
10
|
+
}
|
|
11
|
+
var a = { render: i };
|
|
12
|
+
//#endregion
|
|
13
|
+
export { a as default, i as render };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, openBlock as n } from "vue";
|
|
2
|
+
//#region ../../node_modules/@material-design-icons/svg/filled/account_balance.svg?component
|
|
3
|
+
var r = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24"
|
|
7
|
+
};
|
|
8
|
+
function i(i, a) {
|
|
9
|
+
return n(), e("svg", r, [...a[0] ||= [t("path", { d: "M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z" }, null, -1)]]);
|
|
10
|
+
}
|
|
11
|
+
var a = { render: i };
|
|
12
|
+
//#endregion
|
|
13
|
+
export { a as default, i as render };
|