@mercurjs/admin 2.2.0-canary.19 → 2.2.0-canary.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-KK4JMLSK.js → add-campaign-promotions-BNLH6QN5.js} +3 -3
- package/dist/{attribute-create-TJRNP5SK.js → attribute-create-JW7OXOK2.js} +8 -8
- package/dist/{attribute-detail-7I2SQCDK.js → attribute-detail-3Z6MTMJT.js} +7 -7
- package/dist/{attribute-edit-UBG6SMUF.js → attribute-edit-4YPWXZRX.js} +2 -2
- package/dist/{attribute-edit-possible-value-3BYEPC4X.js → attribute-edit-possible-value-YHEWXK6L.js} +2 -2
- package/dist/{campaign-detail-H32E6EDD.js → campaign-detail-ROTJ4SWD.js} +10 -10
- package/dist/{category-create-S3K54WKP.js → category-create-AR33DJYX.js} +4 -1
- package/dist/{category-detail-5MRHPG6T.js → category-detail-ICACLNJ3.js} +14 -12
- package/dist/category-icon-edit-4GXAK4JZ.js +117 -0
- package/dist/{category-list-4YSI36HW.js → category-list-PFOINLTU.js} +4 -1
- package/dist/category-media-7SLAXXXM.js +654 -0
- package/dist/{category-products-3KYY662O.js → category-products-V4H3B6ML.js} +12 -12
- package/dist/{chunk-UT2O7IS7.js → chunk-2HMWS5UW.js} +2 -2
- package/dist/{chunk-HYQPZADS.js → chunk-2L4W75VS.js} +1 -1
- package/dist/{chunk-ZDJWTF64.js → chunk-2MYHGOPY.js} +2 -2
- package/dist/{chunk-O63MLTQV.js → chunk-2NA54XKC.js} +51 -0
- package/dist/{chunk-GFUCELIZ.js → chunk-3JN4WUVU.js} +1 -1
- package/dist/{chunk-RV7DWZZB.js → chunk-4UWPTSZK.js} +1 -1
- package/dist/{chunk-5GXPXVVD.js → chunk-4VXYPZMT.js} +2 -2
- package/dist/{chunk-Y7FNFQCU.js → chunk-6FLSBL4Q.js} +1 -0
- package/dist/{chunk-3F6U44M6.js → chunk-7JZVZ5EX.js} +1 -1
- package/dist/{chunk-EASE3NLF.js → chunk-7VPJ4C6F.js} +1 -1
- package/dist/{chunk-UCHVBAUB.js → chunk-7XBB24GO.js} +2 -2
- package/dist/{chunk-MFIT2RX5.js → chunk-A7RM5JXC.js} +1 -1
- package/dist/{chunk-ZG6DNI7O.js → chunk-AGXO2H4E.js} +1 -1
- package/dist/{chunk-4DYSSDAA.js → chunk-EAC3J2Z4.js} +2 -2
- package/dist/{chunk-B7HIZN4V.js → chunk-FNGPOGDR.js} +2 -2
- package/dist/{chunk-CFBEBAQS.js → chunk-FWWPSH6V.js} +1 -1
- package/dist/{chunk-X4N7EMFO.js → chunk-FZHLRCBV.js} +2 -2
- package/dist/{chunk-X7E65HM2.js → chunk-HI6L7DXI.js} +1 -1
- package/dist/{chunk-3N7QXAMO.js → chunk-IER5BQNC.js} +1 -1
- package/dist/{chunk-GNWWL47L.js → chunk-JZBVDH6A.js} +1 -1
- package/dist/{chunk-YLK2WZU3.js → chunk-KNZ6ICKB.js} +2 -2
- package/dist/{chunk-LKW2KWJ4.js → chunk-LLHYICP5.js} +14 -2
- package/dist/{chunk-LVCIAKJI.js → chunk-LYCKVPWQ.js} +1 -1
- package/dist/{chunk-ESZN3ELN.js → chunk-M3YII6OB.js} +71 -18
- package/dist/{chunk-6AYGDFNE.js → chunk-MASXQMJY.js} +1 -1
- package/dist/{chunk-OA24YN34.js → chunk-N6R2WOJ7.js} +1 -1
- package/dist/{chunk-T53YX34K.js → chunk-NEZ35LWM.js} +3 -3
- package/dist/{chunk-AXVZ56UD.js → chunk-ORENI3LP.js} +2 -2
- package/dist/{chunk-UVYWKQJF.js → chunk-POSHDM4L.js} +1 -1
- package/dist/{chunk-GA4ZFAOV.js → chunk-PWFZCT6H.js} +1 -1
- package/dist/chunk-PZ27H46M.js +358 -0
- package/dist/{chunk-WHIYSLYW.js → chunk-QPLEFEOZ.js} +1 -1
- package/dist/{chunk-TH6W26RC.js → chunk-RWW3TAJQ.js} +4 -4
- package/dist/{chunk-YI7I7JFX.js → chunk-S6E7XAWX.js} +2 -2
- package/dist/{chunk-XKD67CD4.js → chunk-SJKLYS3R.js} +2 -2
- package/dist/{chunk-O62SUNK2.js → chunk-V3ATA433.js} +3 -3
- package/dist/{chunk-JWE2IW4R.js → chunk-WTPWO7KS.js} +7 -7
- package/dist/chunk-Y3RABQC4.js +33 -0
- package/dist/{chunk-OXONMLRP.js → chunk-ZLETFDWJ.js} +200 -105
- package/dist/{collection-add-products-4EZ6W4N6.js → collection-add-products-PBCIG33C.js} +11 -11
- package/dist/{collection-detail-X22ZIM5S.js → collection-detail-3OLBOV24.js} +12 -12
- package/dist/{collection-list-6CUEOLUU.js → collection-list-S4ICG5T6.js} +10 -10
- package/dist/{customer-detail-6MBW3FHO.js → customer-detail-MT2R7DFI.js} +10 -10
- package/dist/index.js +161 -153
- package/dist/{inventory-detail-ZWHSLLLI.js → inventory-detail-POKYZVLA.js} +7 -7
- package/dist/{location-detail-QS7HM2KG.js → location-detail-PHT367V5.js} +10 -10
- package/dist/{location-fulfillment-providers-6RUGYQ3W.js → location-fulfillment-providers-EZOVLJWL.js} +9 -9
- package/dist/{offers-WYAJB75N.js → offers-5LSNWJ6B.js} +8 -8
- package/dist/{order-detail-FZT74HMD.js → order-detail-Y6SFV44C.js} +12 -12
- package/dist/{order-edit-billing-address-OJZICMBN.js → order-edit-billing-address-IW6UIARN.js} +8 -8
- package/dist/{order-list-C5YOR6B5.js → order-list-KWHMMX2M.js} +2 -2
- package/dist/pages/index.d.ts +92 -0
- package/dist/pages/index.js +118 -115
- package/dist/{price-list-create-XQWV352E.js → price-list-create-LPJWSOBP.js} +13 -13
- package/dist/{price-list-detail-347UU3LU.js → price-list-detail-7AUDNRSM.js} +12 -12
- package/dist/{price-list-prices-add-R656I6QF.js → price-list-prices-add-5IOYBCXV.js} +12 -12
- package/dist/{product-add-existing-attributes-MNGWZFGD.js → product-add-existing-attributes-LNZK2LHX.js} +8 -8
- package/dist/{product-create-LMYR36NA.js → product-create-QYEZHBTC.js} +11 -11
- package/dist/{product-create-variant-XETT2WJC.js → product-create-variant-FQSREC66.js} +3 -3
- package/dist/{product-detail-WSL4PXKK.js → product-detail-Q6YF7IYX.js} +8 -8
- package/dist/{product-edit-attribute-XEYHQJ6D.js → product-edit-attribute-WW4LCYD7.js} +2 -2
- package/dist/{product-list-7YPGRGHX.js → product-list-IDRT4WUK.js} +12 -12
- package/dist/{product-media-H6SYBNLI.js → product-media-6H34CVXJ.js} +2 -2
- package/dist/{product-tag-detail-AUNKJJLP.js → product-tag-detail-WF34TUQR.js} +19 -19
- package/dist/{product-tag-list-IKL46JZT.js → product-tag-list-PK43EMMH.js} +19 -19
- package/dist/{product-type-detail-DKHKFADI.js → product-type-detail-J466AJUQ.js} +12 -12
- package/dist/{product-variant-edit-THZLEOGL.js → product-variant-edit-CYEISGII.js} +8 -8
- package/dist/{promotion-create-RB3AA5GE.js → promotion-create-KNK57JWD.js} +8 -8
- package/dist/{promotion-detail-PEDTLXZ4.js → promotion-detail-EUQ5LK2V.js} +9 -9
- package/dist/{promotion-list-MCYWN5TF.js → promotion-list-M5SAE7A3.js} +4 -4
- package/dist/{refund-reason-list-GPDRI2QM.js → refund-reason-list-FBH43XVP.js} +17 -17
- package/dist/region-list-2XXKCDDX.js +1 -1
- package/dist/{reservation-detail-WTYOR6IB.js → reservation-detail-T3VHDWP6.js} +7 -7
- package/dist/{reservation-list-3OKWSHWH.js → reservation-list-RGD6O4RY.js} +2 -2
- package/dist/{reset-password-2NVKH6QA.js → reset-password-RF5J4RIU.js} +1 -1
- package/dist/{return-reason-list-E6L7VJY7.js → return-reason-list-4JWWSFOS.js} +14 -14
- package/dist/{sales-channel-add-products-BKT3CFLY.js → sales-channel-add-products-FNJQKCQQ.js} +11 -11
- package/dist/{sales-channel-detail-MUBMJGQV.js → sales-channel-detail-HXJAR6M4.js} +12 -12
- package/dist/{store-bulk-edit-WML2DUA4.js → store-bulk-edit-JAOT5GY2.js} +1 -1
- package/dist/{store-details-3HWOCRYI.js → store-details-LSGSI4QU.js} +15 -15
- package/dist/{store-edit-5WWOOSHT.js → store-edit-TP5CQHV7.js} +3 -3
- package/dist/{store-list-YEEKX2AV.js → store-list-KQGPNQQ4.js} +10 -10
- package/dist/{store-member-invite-TULPI3N5.js → store-member-invite-MNRTPHUB.js} +1 -1
- package/dist/{tax-region-create-X2LAHX27.js → tax-region-create-JR7OHOJ5.js} +7 -7
- package/dist/{tax-region-detail-3X3TNFJA.js → tax-region-detail-2E56T5C2.js} +11 -11
- package/dist/{tax-region-province-detail-DIV5AAFQ.js → tax-region-province-detail-5Q5E5OP7.js} +10 -10
- package/dist/{tax-region-tax-override-create-BV4O3QCU.js → tax-region-tax-override-create-S5S5JZEJ.js} +19 -19
- package/dist/{tax-region-tax-override-edit-QUA77YTI.js → tax-region-tax-override-edit-JBG3MRNC.js} +20 -20
- package/package.json +1 -1
- package/dist/{adjust-inventory-F3OTF6O6.js → adjust-inventory-2LHBQAWK.js} +7 -7
- package/dist/{api-key-management-detail-JMWPGN6M.js → api-key-management-detail-R5QQPNOD.js} +6 -6
- package/dist/{attribute-list-EFU4DPB5.js → attribute-list-WRTXTFED.js} +6 -6
- package/dist/{categories-metadata-V37DXTVZ.js → categories-metadata-EPKUI3R4.js} +6 -6
- package/dist/{chunk-FYCIGKVG.js → chunk-3FN3YH2F.js} +3 -3
- package/dist/{chunk-D77BYNTQ.js → chunk-47TXYMFT.js} +3 -3
- package/dist/{chunk-3EUF5GRT.js → chunk-CKQPO2SN.js} +3 -3
- package/dist/{chunk-3KCXKGHX.js → chunk-KNB55WE4.js} +3 -3
- package/dist/{chunk-4IKESXD3.js → chunk-LTAQZW2L.js} +3 -3
- package/dist/{chunk-W6J4SJ3Y.js → chunk-SEY52XON.js} +6 -6
- package/dist/{chunk-BJQ4UBK7.js → chunk-WETV577Q.js} +18 -18
- package/dist/{chunk-EM5TF7YZ.js → chunk-Z3SUMFDT.js} +6 -6
- package/dist/{collection-metadata-AWJYPZKR.js → collection-metadata-VUOECEP4.js} +6 -6
- package/dist/{customer-group-detail-G53RB6EA.js → customer-group-detail-MCAEXZYM.js} +6 -6
- package/dist/{customer-group-list-XDNCZ4K6.js → customer-group-list-V4PW33M5.js} +6 -6
- package/dist/{customer-group-metadata-FWLKUHIZ.js → customer-group-metadata-J622TR4I.js} +6 -6
- package/dist/{customer-metadata-KU4YWD3R.js → customer-metadata-SFS5VRK5.js} +6 -6
- package/dist/{customers-add-customer-group-5Y5XPN7C.js → customers-add-customer-group-G6FIKKUP.js} +6 -6
- package/dist/{edit-inventory-item-MBLHBGBH.js → edit-inventory-item-OFPVTJ4I.js} +6 -6
- package/dist/{edit-inventory-item-attributes-GTTGNBO4.js → edit-inventory-item-attributes-Z37AFIYM.js} +6 -6
- package/dist/{edit-reservation-C3NXAKSE.js → edit-reservation-TBZL2REV.js} +3 -3
- package/dist/{edit-rules-UFGKSAJV.js → edit-rules-JG62MLUS.js} +6 -6
- package/dist/{inventory-create-4O4L6NXK.js → inventory-create-3IM54ZO3.js} +6 -6
- package/dist/{inventory-metadata-GZYYWU3S.js → inventory-metadata-XXYKRUNP.js} +6 -6
- package/dist/{inventory-stock-S5B6ZZQW.js → inventory-stock-CXPPGARO.js} +7 -7
- package/dist/{location-list-7RTDLHGR.js → location-list-HVSRDHOW.js} +6 -6
- package/dist/{location-service-zone-shipping-option-create-UKULBDGM.js → location-service-zone-shipping-option-create-VZBL7MK6.js} +6 -6
- package/dist/{location-service-zone-shipping-option-edit-O3B3H5OC.js → location-service-zone-shipping-option-edit-WRSLBO23.js} +3 -3
- package/dist/{login-SFGV4QGP.js → login-LJMTSRAG.js} +6 -6
- package/dist/{marketplace-detail-7VPTFUPB.js → marketplace-detail-WINAJJDB.js} +6 -6
- package/dist/{marketplace-metadata-E25VT5TH.js → marketplace-metadata-CCUK2B4Q.js} +6 -6
- package/dist/{order-create-claim-3AQK3FH2.js → order-create-claim-2MO3LM6J.js} +5 -5
- package/dist/{order-create-exchange-QCYD3DC4.js → order-create-exchange-6IQJFYUK.js} +12 -12
- package/dist/{order-create-refund-TR4XMHRY.js → order-create-refund-DUVGD54U.js} +7 -7
- package/dist/{order-edit-email-TH26N5HK.js → order-edit-email-D5XIYASI.js} +7 -7
- package/dist/{order-edit-shipping-address-GBOUGZPD.js → order-edit-shipping-address-4VJDVGKJ.js} +7 -7
- package/dist/{order-metadata-RT3BVTYZ.js → order-metadata-QSTGFW66.js} +7 -7
- package/dist/{order-request-transfer-3HTFPYFD.js → order-request-transfer-GYBTSHU4.js} +7 -7
- package/dist/{price-list-prices-edit-BOKBTLEI.js → price-list-prices-edit-DT2DLFTO.js} +6 -6
- package/dist/{product-metadata-MGLJJ7QG.js → product-metadata-VJMZL753.js} +6 -6
- package/dist/{product-tag-create-JCYAG42N.js → product-tag-create-4FYE46PE.js} +6 -6
- package/dist/{product-tag-edit-2FREKKVN.js → product-tag-edit-HRWMMCUC.js} +6 -6
- package/dist/{product-tag-metadata-UV3TBPXS.js → product-tag-metadata-ONSEQTEW.js} +6 -6
- package/dist/{product-type-metadata-22OACFMD.js → product-type-metadata-CXYKP2OF.js} +6 -6
- package/dist/{product-variant-detail-MNMJBYIP.js → product-variant-detail-FXQZLB7Q.js} +6 -6
- package/dist/{product-variant-metadata-7N7PL7WY.js → product-variant-metadata-YQ2GKWW7.js} +6 -6
- package/dist/{refund-reason-create-YWA5XP4J.js → refund-reason-create-ANAVZO2N.js} +6 -6
- package/dist/{refund-reason-edit-MBG5WL43.js → refund-reason-edit-HKEVJ6A5.js} +6 -6
- package/dist/{region-metadata-WDZ7DRGU.js → region-metadata-XHT3A6D7.js} +6 -6
- package/dist/{reservation-create-NPR2FMPA.js → reservation-create-F6YDCLCG.js} +3 -3
- package/dist/{reservation-metadata-PJVHEJRU.js → reservation-metadata-4LVLM4UW.js} +6 -6
- package/dist/{sales-channel-list-O5SFOGMA.js → sales-channel-list-YYIH254X.js} +6 -6
- package/dist/{sales-channel-metadata-67RGBA7X.js → sales-channel-metadata-YF5AV2XX.js} +6 -6
- package/dist/{shipping-option-type-create-OBF6GG5W.js → shipping-option-type-create-TOONS7EC.js} +6 -6
- package/dist/{shipping-option-type-detail-TJC2GBUA.js → shipping-option-type-detail-VXZ4UQQI.js} +6 -6
- package/dist/{shipping-option-type-edit-INKLJRSH.js → shipping-option-type-edit-6WO2XRLE.js} +6 -6
- package/dist/{shipping-option-type-list-WKA64NYE.js → shipping-option-type-list-S7TW7Q3R.js} +6 -6
- package/dist/{shipping-profile-metadata-RI6Y2N6V.js → shipping-profile-metadata-SVD3WK7H.js} +6 -6
- package/dist/{store-create-AGF2LZWR.js → store-create-7A5OSRIV.js} +6 -6
- package/dist/{tax-region-edit-7ECYGXEA.js → tax-region-edit-7SBQFGPY.js} +6 -6
- package/dist/{tax-region-metadata-FQLEYY2R.js → tax-region-metadata-4NUEQV3N.js} +6 -6
- package/dist/{user-metadata-64LX64QI.js → user-metadata-2D552EAR.js} +6 -6
|
@@ -10,12 +10,16 @@ import {
|
|
|
10
10
|
getIsActiveProps,
|
|
11
11
|
getIsInternalProps
|
|
12
12
|
} from "./chunk-Y456KVIN.js";
|
|
13
|
+
import {
|
|
14
|
+
getCategoryGallery,
|
|
15
|
+
getCategoryIcon
|
|
16
|
+
} from "./chunk-PZ27H46M.js";
|
|
13
17
|
import {
|
|
14
18
|
useProductTableColumns
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FWWPSH6V.js";
|
|
16
20
|
import {
|
|
17
21
|
useProductTableFilters
|
|
18
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3JN4WUVU.js";
|
|
19
23
|
import {
|
|
20
24
|
useProductTableQuery
|
|
21
25
|
} from "./chunk-LYZDVZWA.js";
|
|
@@ -106,25 +110,148 @@ var CategoryGeneralSection = ({
|
|
|
106
110
|
] });
|
|
107
111
|
};
|
|
108
112
|
|
|
113
|
+
// src/pages/categories/category-detail/components/category-icon-section/category-icon-section.tsx
|
|
114
|
+
import { PencilSquare as PencilSquare2 } from "@medusajs/icons";
|
|
115
|
+
import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
|
|
116
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
117
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
118
|
+
var CategoryIconSection = ({
|
|
119
|
+
category
|
|
120
|
+
}) => {
|
|
121
|
+
const { t } = useTranslation2();
|
|
122
|
+
const icon = getCategoryIcon(category.images);
|
|
123
|
+
return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "category-icon-section", children: [
|
|
124
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
125
|
+
/* @__PURE__ */ jsx2(Heading2, { children: t("categories.icon.label") }),
|
|
126
|
+
/* @__PURE__ */ jsx2(
|
|
127
|
+
ActionMenu,
|
|
128
|
+
{
|
|
129
|
+
groups: [
|
|
130
|
+
{
|
|
131
|
+
actions: [
|
|
132
|
+
{
|
|
133
|
+
label: t("actions.edit"),
|
|
134
|
+
icon: /* @__PURE__ */ jsx2(PencilSquare2, {}),
|
|
135
|
+
to: "icon/edit"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"data-testid": "category-icon-section-menu"
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
] }),
|
|
144
|
+
/* @__PURE__ */ jsx2("div", { className: "px-6 py-4", children: icon ? /* @__PURE__ */ jsx2("div", { className: "bg-ui-bg-base shadow-elevation-card-rest relative aspect-square w-24 overflow-hidden rounded-[8px]", children: /* @__PURE__ */ jsx2(
|
|
145
|
+
"img",
|
|
146
|
+
{
|
|
147
|
+
src: icon.url,
|
|
148
|
+
alt: "",
|
|
149
|
+
className: "size-full object-contain object-center p-2",
|
|
150
|
+
"data-testid": "category-icon-section-image"
|
|
151
|
+
}
|
|
152
|
+
) }) : /* @__PURE__ */ jsxs2("div", { className: "flex flex-col items-center justify-center gap-y-1 py-8", children: [
|
|
153
|
+
/* @__PURE__ */ jsx2(
|
|
154
|
+
Text2,
|
|
155
|
+
{
|
|
156
|
+
size: "small",
|
|
157
|
+
leading: "compact",
|
|
158
|
+
weight: "plus",
|
|
159
|
+
className: "text-ui-fg-subtle",
|
|
160
|
+
children: t("categories.icon.empty.header")
|
|
161
|
+
}
|
|
162
|
+
),
|
|
163
|
+
/* @__PURE__ */ jsx2(Text2, { size: "small", className: "text-ui-fg-muted", children: t("categories.icon.empty.description") })
|
|
164
|
+
] }) })
|
|
165
|
+
] });
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
// src/pages/categories/category-detail/components/category-media-section/category-media-section.tsx
|
|
169
|
+
import { FeaturedBadge, PencilSquare as PencilSquare3, ThumbnailBadge } from "@medusajs/icons";
|
|
170
|
+
import { Container as Container3, Heading as Heading3, Text as Text3, Tooltip } from "@medusajs/ui";
|
|
171
|
+
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
172
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
173
|
+
var CategoryMediaSection = ({
|
|
174
|
+
category
|
|
175
|
+
}) => {
|
|
176
|
+
const { t } = useTranslation3();
|
|
177
|
+
const gallery = getCategoryGallery(category.images);
|
|
178
|
+
return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "category-media-section", children: [
|
|
179
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
180
|
+
/* @__PURE__ */ jsx3(Heading3, { children: t("categories.media.label") }),
|
|
181
|
+
/* @__PURE__ */ jsx3(
|
|
182
|
+
ActionMenu,
|
|
183
|
+
{
|
|
184
|
+
groups: [
|
|
185
|
+
{
|
|
186
|
+
actions: [
|
|
187
|
+
{
|
|
188
|
+
label: t("actions.edit"),
|
|
189
|
+
icon: /* @__PURE__ */ jsx3(PencilSquare3, {}),
|
|
190
|
+
to: "media?view=edit"
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"data-testid": "category-media-section-menu"
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
] }),
|
|
199
|
+
/* @__PURE__ */ jsx3("div", { className: "px-6 py-4", children: gallery.length > 0 ? /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[repeat(auto-fill,minmax(96px,1fr))] gap-4", children: gallery.map((image) => /* @__PURE__ */ jsxs3(
|
|
200
|
+
"div",
|
|
201
|
+
{
|
|
202
|
+
className: "shadow-elevation-card-rest relative aspect-square size-full overflow-hidden rounded-[8px]",
|
|
203
|
+
"data-testid": `category-media-section-item-${image.id}`,
|
|
204
|
+
children: [
|
|
205
|
+
/* @__PURE__ */ jsx3(
|
|
206
|
+
"img",
|
|
207
|
+
{
|
|
208
|
+
src: image.url,
|
|
209
|
+
alt: "",
|
|
210
|
+
className: "size-full object-cover object-center"
|
|
211
|
+
}
|
|
212
|
+
),
|
|
213
|
+
(image.is_thumbnail || image.is_banner) && /* @__PURE__ */ jsxs3("div", { className: "absolute left-2 top-2 flex items-center gap-x-1", children: [
|
|
214
|
+
image.is_thumbnail && /* @__PURE__ */ jsx3(Tooltip, { content: t("categories.media.thumbnail"), children: /* @__PURE__ */ jsx3(ThumbnailBadge, {}) }),
|
|
215
|
+
image.is_banner && /* @__PURE__ */ jsx3(Tooltip, { content: t("categories.media.banner"), children: /* @__PURE__ */ jsx3(FeaturedBadge, { className: "text-ui-fg-interactive" }) })
|
|
216
|
+
] })
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
image.id
|
|
220
|
+
)) }) : /* @__PURE__ */ jsxs3("div", { className: "flex flex-col items-center justify-center gap-y-1 py-8", children: [
|
|
221
|
+
/* @__PURE__ */ jsx3(
|
|
222
|
+
Text3,
|
|
223
|
+
{
|
|
224
|
+
size: "small",
|
|
225
|
+
leading: "compact",
|
|
226
|
+
weight: "plus",
|
|
227
|
+
className: "text-ui-fg-subtle",
|
|
228
|
+
children: t("categories.media.empty.header")
|
|
229
|
+
}
|
|
230
|
+
),
|
|
231
|
+
/* @__PURE__ */ jsx3(Text3, { size: "small", className: "text-ui-fg-muted", children: t("categories.media.empty.description") })
|
|
232
|
+
] }) })
|
|
233
|
+
] });
|
|
234
|
+
};
|
|
235
|
+
|
|
109
236
|
// src/pages/categories/category-detail/components/category-organize-section/category-organize-section.tsx
|
|
110
237
|
import {
|
|
111
238
|
FolderIllustration,
|
|
112
|
-
PencilSquare as
|
|
239
|
+
PencilSquare as PencilSquare4,
|
|
113
240
|
TriangleRightMini
|
|
114
241
|
} from "@medusajs/icons";
|
|
115
|
-
import { Badge, Container as
|
|
242
|
+
import { Badge, Container as Container4, Heading as Heading4, Text as Text4, Tooltip as Tooltip2 } from "@medusajs/ui";
|
|
116
243
|
import { useMemo, useState } from "react";
|
|
117
|
-
import { useTranslation as
|
|
244
|
+
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
118
245
|
import { Link } from "react-router-dom";
|
|
119
|
-
import { jsx as
|
|
246
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
120
247
|
var CategoryOrganizeSection = ({
|
|
121
248
|
category
|
|
122
249
|
}) => {
|
|
123
|
-
const { t } =
|
|
124
|
-
return /* @__PURE__ */
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
-
/* @__PURE__ */
|
|
127
|
-
/* @__PURE__ */
|
|
250
|
+
const { t } = useTranslation4();
|
|
251
|
+
return /* @__PURE__ */ jsxs4(Container4, { className: "divide-y p-0", children: [
|
|
252
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
253
|
+
/* @__PURE__ */ jsx4(Heading4, { level: "h2", children: t("categories.organize.header") }),
|
|
254
|
+
/* @__PURE__ */ jsx4(
|
|
128
255
|
ActionMenu,
|
|
129
256
|
{
|
|
130
257
|
groups: [
|
|
@@ -132,7 +259,7 @@ var CategoryOrganizeSection = ({
|
|
|
132
259
|
actions: [
|
|
133
260
|
{
|
|
134
261
|
label: t("categories.organize.action"),
|
|
135
|
-
icon: /* @__PURE__ */
|
|
262
|
+
icon: /* @__PURE__ */ jsx4(PencilSquare4, {}),
|
|
136
263
|
to: `organize`
|
|
137
264
|
}
|
|
138
265
|
]
|
|
@@ -141,13 +268,13 @@ var CategoryOrganizeSection = ({
|
|
|
141
268
|
}
|
|
142
269
|
)
|
|
143
270
|
] }),
|
|
144
|
-
/* @__PURE__ */
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
/* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start gap-3 px-6 py-4", children: [
|
|
272
|
+
/* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", weight: "plus", children: t("categories.fields.path.label") }),
|
|
273
|
+
/* @__PURE__ */ jsx4(PathDisplay, { category })
|
|
147
274
|
] }),
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
275
|
+
/* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start gap-3 px-6 py-4", children: [
|
|
276
|
+
/* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", weight: "plus", children: t("categories.fields.children.label") }),
|
|
277
|
+
/* @__PURE__ */ jsx4(ChildrenDisplay, { category })
|
|
151
278
|
] })
|
|
152
279
|
] });
|
|
153
280
|
};
|
|
@@ -155,7 +282,7 @@ var PathDisplay = ({
|
|
|
155
282
|
category
|
|
156
283
|
}) => {
|
|
157
284
|
const [expanded, setExpanded] = useState(false);
|
|
158
|
-
const { t } =
|
|
285
|
+
const { t } = useTranslation4();
|
|
159
286
|
const {
|
|
160
287
|
product_category: withParents,
|
|
161
288
|
isLoading,
|
|
@@ -167,30 +294,30 @@ var PathDisplay = ({
|
|
|
167
294
|
});
|
|
168
295
|
const chips = useMemo(() => getCategoryPath(withParents), [withParents]);
|
|
169
296
|
if (isLoading || !withParents) {
|
|
170
|
-
return /* @__PURE__ */
|
|
297
|
+
return /* @__PURE__ */ jsx4(Skeleton, { className: "h-5 w-16" });
|
|
171
298
|
}
|
|
172
299
|
if (isError) {
|
|
173
300
|
throw error;
|
|
174
301
|
}
|
|
175
302
|
if (!chips.length) {
|
|
176
|
-
return /* @__PURE__ */
|
|
303
|
+
return /* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", children: "-" });
|
|
177
304
|
}
|
|
178
305
|
if (chips.length > 1 && !expanded) {
|
|
179
|
-
return /* @__PURE__ */
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */
|
|
306
|
+
return /* @__PURE__ */ jsxs4("div", { className: "grid grid-cols-[20px_1fr] items-start gap-x-2", children: [
|
|
307
|
+
/* @__PURE__ */ jsx4(FolderIllustration, {}),
|
|
308
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex w-full items-center gap-x-0.5 overflow-hidden", children: [
|
|
309
|
+
/* @__PURE__ */ jsx4(Tooltip2, { content: t("categories.fields.path.tooltip"), children: /* @__PURE__ */ jsx4(
|
|
183
310
|
"button",
|
|
184
311
|
{
|
|
185
312
|
className: "outline-none",
|
|
186
313
|
type: "button",
|
|
187
314
|
onClick: () => setExpanded(true),
|
|
188
|
-
children: /* @__PURE__ */
|
|
315
|
+
children: /* @__PURE__ */ jsx4(Text4, { size: "xsmall", leading: "compact", weight: "plus", children: "..." })
|
|
189
316
|
}
|
|
190
317
|
) }),
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
|
|
318
|
+
/* @__PURE__ */ jsx4("div", { className: "flex size-[15px] shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx4(TriangleRightMini, { className: "rtl:rotate-180" }) }),
|
|
319
|
+
/* @__PURE__ */ jsx4(
|
|
320
|
+
Text4,
|
|
194
321
|
{
|
|
195
322
|
size: "xsmall",
|
|
196
323
|
leading: "compact",
|
|
@@ -203,11 +330,11 @@ var PathDisplay = ({
|
|
|
203
330
|
] });
|
|
204
331
|
}
|
|
205
332
|
if (chips.length > 1 && expanded) {
|
|
206
|
-
return /* @__PURE__ */
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
return /* @__PURE__ */
|
|
210
|
-
index === chips.length - 1 ? /* @__PURE__ */
|
|
333
|
+
return /* @__PURE__ */ jsxs4("div", { className: "grid grid-cols-[20px_1fr] items-start gap-x-2", children: [
|
|
334
|
+
/* @__PURE__ */ jsx4(FolderIllustration, {}),
|
|
335
|
+
/* @__PURE__ */ jsx4("div", { className: "gap- flex flex-wrap items-center gap-x-0.5 gap-y-1", children: chips.map((chip, index) => {
|
|
336
|
+
return /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-0.5", children: [
|
|
337
|
+
index === chips.length - 1 ? /* @__PURE__ */ jsx4(Text4, { size: "xsmall", leading: "compact", weight: "plus", children: chip.name }) : /* @__PURE__ */ jsx4(
|
|
211
338
|
LinkButton,
|
|
212
339
|
{
|
|
213
340
|
to: `/categories/${chip.id}`,
|
|
@@ -215,14 +342,14 @@ var PathDisplay = ({
|
|
|
215
342
|
children: chip.name
|
|
216
343
|
}
|
|
217
344
|
),
|
|
218
|
-
index < chips.length - 1 && /* @__PURE__ */
|
|
345
|
+
index < chips.length - 1 && /* @__PURE__ */ jsx4(TriangleRightMini, {})
|
|
219
346
|
] }, chip.id);
|
|
220
347
|
}) })
|
|
221
348
|
] });
|
|
222
349
|
}
|
|
223
|
-
return /* @__PURE__ */
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
index < chips.length - 1 && /* @__PURE__ */
|
|
350
|
+
return /* @__PURE__ */ jsx4("div", { className: "grid grid-cols-1 items-start gap-x-2", children: chips.map((chip, index) => /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-0.5", children: [
|
|
351
|
+
/* @__PURE__ */ jsx4(Text4, { size: "xsmall", leading: "compact", weight: "plus", children: chip.name }),
|
|
352
|
+
index < chips.length - 1 && /* @__PURE__ */ jsx4(TriangleRightMini, {})
|
|
226
353
|
] }, chip.id)) });
|
|
227
354
|
};
|
|
228
355
|
var ChildrenDisplay = ({
|
|
@@ -239,38 +366,36 @@ var ChildrenDisplay = ({
|
|
|
239
366
|
});
|
|
240
367
|
const chips = useMemo(() => getCategoryChildren(withChildren), [withChildren]);
|
|
241
368
|
if (isLoading || !withChildren) {
|
|
242
|
-
return /* @__PURE__ */
|
|
369
|
+
return /* @__PURE__ */ jsx4(Skeleton, { className: "h-5 w-16" });
|
|
243
370
|
}
|
|
244
371
|
if (isError) {
|
|
245
372
|
throw error;
|
|
246
373
|
}
|
|
247
374
|
if (!chips.length) {
|
|
248
|
-
return /* @__PURE__ */
|
|
375
|
+
return /* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", children: "-" });
|
|
249
376
|
}
|
|
250
|
-
return /* @__PURE__ */
|
|
377
|
+
return /* @__PURE__ */ jsx4("div", { className: "flex w-full flex-wrap gap-1", children: chips.map((chip) => /* @__PURE__ */ jsx4(Badge, { size: "2xsmall", className: "max-w-full", asChild: true, children: /* @__PURE__ */ jsx4(Link, { to: `/categories/${chip.id}`, children: /* @__PURE__ */ jsx4("span", { className: "truncate", children: chip.name }) }) }, chip.id)) });
|
|
251
378
|
};
|
|
252
379
|
|
|
253
380
|
// src/pages/categories/category-detail/components/category-product-section/category-product-section.tsx
|
|
254
381
|
import { ExclamationCircle, PlusMini } from "@medusajs/icons";
|
|
255
382
|
import {
|
|
256
|
-
Checkbox,
|
|
257
383
|
CommandBar,
|
|
258
|
-
Container as
|
|
259
|
-
Heading as
|
|
260
|
-
Text as
|
|
384
|
+
Container as Container5,
|
|
385
|
+
Heading as Heading5,
|
|
386
|
+
Text as Text5,
|
|
261
387
|
toast,
|
|
262
388
|
usePrompt
|
|
263
389
|
} from "@medusajs/ui";
|
|
264
390
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
265
|
-
import {
|
|
266
|
-
import {
|
|
267
|
-
import {
|
|
268
|
-
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
391
|
+
import { useState as useState2 } from "react";
|
|
392
|
+
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
393
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
269
394
|
var PAGE_SIZE = 10;
|
|
270
395
|
var CategoryProductSection = ({
|
|
271
396
|
category
|
|
272
397
|
}) => {
|
|
273
|
-
const { t } =
|
|
398
|
+
const { t } = useTranslation5();
|
|
274
399
|
const prompt = usePrompt();
|
|
275
400
|
const [selection, setSelection] = useState2({});
|
|
276
401
|
const { raw, searchParams } = useProductTableQuery({ pageSize: PAGE_SIZE });
|
|
@@ -283,7 +408,7 @@ var CategoryProductSection = ({
|
|
|
283
408
|
placeholderData: keepPreviousData
|
|
284
409
|
}
|
|
285
410
|
);
|
|
286
|
-
const columns =
|
|
411
|
+
const columns = useProductTableColumns();
|
|
287
412
|
const filters = useProductTableFilters(["categories"]);
|
|
288
413
|
const { table } = useDataTable({
|
|
289
414
|
data: products || [],
|
|
@@ -331,10 +456,10 @@ var CategoryProductSection = ({
|
|
|
331
456
|
}
|
|
332
457
|
);
|
|
333
458
|
};
|
|
334
|
-
return /* @__PURE__ */
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
-
/* @__PURE__ */
|
|
337
|
-
/* @__PURE__ */
|
|
459
|
+
return /* @__PURE__ */ jsxs5(Container5, { className: "divide-y p-0", children: [
|
|
460
|
+
/* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
461
|
+
/* @__PURE__ */ jsx5(Heading5, { level: "h2", children: t("products.domain") }),
|
|
462
|
+
/* @__PURE__ */ jsx5(
|
|
338
463
|
ActionMenu,
|
|
339
464
|
{
|
|
340
465
|
groups: [
|
|
@@ -342,7 +467,7 @@ var CategoryProductSection = ({
|
|
|
342
467
|
actions: [
|
|
343
468
|
{
|
|
344
469
|
label: t("actions.add"),
|
|
345
|
-
icon: /* @__PURE__ */
|
|
470
|
+
icon: /* @__PURE__ */ jsx5(PlusMini, {}),
|
|
346
471
|
to: "products"
|
|
347
472
|
}
|
|
348
473
|
]
|
|
@@ -351,10 +476,10 @@ var CategoryProductSection = ({
|
|
|
351
476
|
}
|
|
352
477
|
)
|
|
353
478
|
] }),
|
|
354
|
-
isError ? /* @__PURE__ */
|
|
355
|
-
/* @__PURE__ */
|
|
356
|
-
/* @__PURE__ */
|
|
357
|
-
] }) : /* @__PURE__ */
|
|
479
|
+
isError ? /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-x-2 px-6 py-4", children: [
|
|
480
|
+
/* @__PURE__ */ jsx5(ExclamationCircle, { className: "text-ui-fg-subtle" }),
|
|
481
|
+
/* @__PURE__ */ jsx5(Text5, { size: "small", className: "text-ui-fg-subtle", children: error?.message || t("general.error") })
|
|
482
|
+
] }) : /* @__PURE__ */ jsx5(
|
|
358
483
|
_DataTable,
|
|
359
484
|
{
|
|
360
485
|
table,
|
|
@@ -375,12 +500,12 @@ var CategoryProductSection = ({
|
|
|
375
500
|
}
|
|
376
501
|
}
|
|
377
502
|
),
|
|
378
|
-
/* @__PURE__ */
|
|
379
|
-
/* @__PURE__ */
|
|
503
|
+
/* @__PURE__ */ jsx5(CommandBar, { open: !!Object.keys(selection).length, children: /* @__PURE__ */ jsxs5(CommandBar.Bar, { children: [
|
|
504
|
+
/* @__PURE__ */ jsx5(CommandBar.Value, { children: t("general.countSelected", {
|
|
380
505
|
count: Object.keys(selection).length
|
|
381
506
|
}) }),
|
|
382
|
-
/* @__PURE__ */
|
|
383
|
-
/* @__PURE__ */
|
|
507
|
+
/* @__PURE__ */ jsx5(CommandBar.Seperator, {}),
|
|
508
|
+
/* @__PURE__ */ jsx5(
|
|
384
509
|
CommandBar.Command,
|
|
385
510
|
{
|
|
386
511
|
action: handleRemove,
|
|
@@ -391,43 +516,9 @@ var CategoryProductSection = ({
|
|
|
391
516
|
] }) })
|
|
392
517
|
] });
|
|
393
518
|
};
|
|
394
|
-
var columnHelper = createColumnHelper();
|
|
395
|
-
var useColumns = () => {
|
|
396
|
-
const base = useProductTableColumns();
|
|
397
|
-
return useMemo2(
|
|
398
|
-
() => [
|
|
399
|
-
columnHelper.display({
|
|
400
|
-
id: "select",
|
|
401
|
-
header: ({ table }) => {
|
|
402
|
-
return /* @__PURE__ */ jsx3(
|
|
403
|
-
Checkbox,
|
|
404
|
-
{
|
|
405
|
-
checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
|
|
406
|
-
onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
|
|
407
|
-
}
|
|
408
|
-
);
|
|
409
|
-
},
|
|
410
|
-
cell: ({ row }) => {
|
|
411
|
-
return /* @__PURE__ */ jsx3(
|
|
412
|
-
Checkbox,
|
|
413
|
-
{
|
|
414
|
-
checked: row.getIsSelected(),
|
|
415
|
-
onCheckedChange: (value) => row.toggleSelected(!!value),
|
|
416
|
-
onClick: (e) => {
|
|
417
|
-
e.stopPropagation();
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
);
|
|
421
|
-
}
|
|
422
|
-
}),
|
|
423
|
-
...base
|
|
424
|
-
],
|
|
425
|
-
[base]
|
|
426
|
-
);
|
|
427
|
-
};
|
|
428
519
|
|
|
429
520
|
// src/pages/categories/category-detail/category-detail.tsx
|
|
430
|
-
import { jsx as
|
|
521
|
+
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
431
522
|
var Root = ({ children }) => {
|
|
432
523
|
const { id } = useParams();
|
|
433
524
|
const initialData = useLoaderData();
|
|
@@ -439,7 +530,7 @@ var Root = ({ children }) => {
|
|
|
439
530
|
}
|
|
440
531
|
);
|
|
441
532
|
if (isLoading || !product_category) {
|
|
442
|
-
return /* @__PURE__ */
|
|
533
|
+
return /* @__PURE__ */ jsx6(
|
|
443
534
|
TwoColumnPageSkeleton,
|
|
444
535
|
{
|
|
445
536
|
mainSections: 2,
|
|
@@ -452,18 +543,22 @@ var Root = ({ children }) => {
|
|
|
452
543
|
if (isError) {
|
|
453
544
|
throw error;
|
|
454
545
|
}
|
|
455
|
-
return Children.count(children) > 0 ? /* @__PURE__ */
|
|
456
|
-
/* @__PURE__ */
|
|
457
|
-
/* @__PURE__ */
|
|
458
|
-
/* @__PURE__ */
|
|
546
|
+
return Children.count(children) > 0 ? /* @__PURE__ */ jsx6(TwoColumnPage, { showJSON: true, showMetadata: true, data: product_category, "data-testid": "category-detail-page", children }) : /* @__PURE__ */ jsxs6(TwoColumnPage, { showJSON: true, showMetadata: true, data: product_category, "data-testid": "category-detail-page", children: [
|
|
547
|
+
/* @__PURE__ */ jsxs6(TwoColumnPage.Main, { children: [
|
|
548
|
+
/* @__PURE__ */ jsx6(CategoryGeneralSection, { category: product_category }),
|
|
549
|
+
/* @__PURE__ */ jsx6(CategoryMediaSection, { category: product_category }),
|
|
550
|
+
/* @__PURE__ */ jsx6(CategoryIconSection, { category: product_category }),
|
|
551
|
+
/* @__PURE__ */ jsx6(CategoryProductSection, { category: product_category })
|
|
459
552
|
] }),
|
|
460
|
-
/* @__PURE__ */
|
|
553
|
+
/* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(CategoryOrganizeSection, { category: product_category }) })
|
|
461
554
|
] });
|
|
462
555
|
};
|
|
463
556
|
var CategoryDetailPage = Object.assign(Root, {
|
|
464
557
|
Main: TwoColumnPage.Main,
|
|
465
558
|
Sidebar: TwoColumnPage.Sidebar,
|
|
466
559
|
MainGeneralSection: CategoryGeneralSection,
|
|
560
|
+
MainMediaSection: CategoryMediaSection,
|
|
561
|
+
MainIconSection: CategoryIconSection,
|
|
467
562
|
MainProductSection: CategoryProductSection,
|
|
468
563
|
SidebarOrganizeSection: CategoryOrganizeSection
|
|
469
564
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-FWWPSH6V.js";
|
|
4
|
+
import "./chunk-N6R2WOJ7.js";
|
|
5
5
|
import {
|
|
6
6
|
useProductTableFilters
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3JN4WUVU.js";
|
|
8
|
+
import "./chunk-FWPGOIFA.js";
|
|
8
9
|
import {
|
|
9
10
|
useProductTableQuery
|
|
10
11
|
} from "./chunk-LYZDVZWA.js";
|
|
11
|
-
import "./chunk-FWPGOIFA.js";
|
|
12
12
|
import "./chunk-DB6ANJBO.js";
|
|
13
13
|
import "./chunk-PHOCVOZ5.js";
|
|
14
14
|
import {
|
|
@@ -30,7 +30,7 @@ import "./chunk-WIYFXWRI.js";
|
|
|
30
30
|
import "./chunk-UZWFZMOX.js";
|
|
31
31
|
import "./chunk-XQNVC4Q7.js";
|
|
32
32
|
import "./chunk-THHRRYRS.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-6FLSBL4Q.js";
|
|
34
34
|
import "./chunk-PJR6W35H.js";
|
|
35
35
|
import "./chunk-OH4AABUT.js";
|
|
36
36
|
import "./chunk-AEMDNTW5.js";
|
|
@@ -39,29 +39,29 @@ import "./chunk-FJHAAROU.js";
|
|
|
39
39
|
import "./chunk-533GMKEG.js";
|
|
40
40
|
import "./chunk-YFRC6GEN.js";
|
|
41
41
|
import "./chunk-N6SI4IIT.js";
|
|
42
|
-
import "./chunk-JPNPTILP.js";
|
|
43
|
-
import "./chunk-DAXXLQKB.js";
|
|
44
42
|
import "./chunk-46M463BR.js";
|
|
45
43
|
import "./chunk-ZIFHQXP3.js";
|
|
44
|
+
import "./chunk-JPNPTILP.js";
|
|
45
|
+
import "./chunk-DAXXLQKB.js";
|
|
46
46
|
import "./chunk-GKGLVDDV.js";
|
|
47
47
|
import "./chunk-ESPLVOFC.js";
|
|
48
48
|
import "./chunk-WJJXUXSO.js";
|
|
49
49
|
import "./chunk-LAPEZATU.js";
|
|
50
|
-
import "./chunk-Z2UBJXTU.js";
|
|
51
50
|
import {
|
|
52
51
|
useCollection,
|
|
53
52
|
useUpdateCollectionProducts
|
|
54
53
|
} from "./chunk-QKJGSZI2.js";
|
|
54
|
+
import "./chunk-Z2UBJXTU.js";
|
|
55
55
|
import "./chunk-FXWKGNRV.js";
|
|
56
56
|
import "./chunk-VDKOJ5WD.js";
|
|
57
57
|
import "./chunk-ZN7LWXVC.js";
|
|
58
|
+
import "./chunk-5TRY5IMZ.js";
|
|
59
|
+
import "./chunk-EPHVGD5Z.js";
|
|
58
60
|
import "./chunk-XGUUM3S6.js";
|
|
61
|
+
import "./chunk-RMAQKNBA.js";
|
|
59
62
|
import "./chunk-VYMODH6P.js";
|
|
60
63
|
import "./chunk-LEG67A2R.js";
|
|
61
64
|
import "./chunk-PRBE5CM3.js";
|
|
62
|
-
import "./chunk-5TRY5IMZ.js";
|
|
63
|
-
import "./chunk-EPHVGD5Z.js";
|
|
64
|
-
import "./chunk-RMAQKNBA.js";
|
|
65
65
|
import "./chunk-OKWGPKVK.js";
|
|
66
66
|
import "./chunk-KYFWVLWO.js";
|
|
67
67
|
import "./chunk-Y7QKP6QU.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollectionDetailPage
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-LYZDVZWA.js";
|
|
3
|
+
} from "./chunk-2HMWS5UW.js";
|
|
4
|
+
import "./chunk-FWWPSH6V.js";
|
|
5
|
+
import "./chunk-N6R2WOJ7.js";
|
|
6
|
+
import "./chunk-3JN4WUVU.js";
|
|
8
7
|
import "./chunk-FWPGOIFA.js";
|
|
8
|
+
import "./chunk-LYZDVZWA.js";
|
|
9
9
|
import "./chunk-DB6ANJBO.js";
|
|
10
10
|
import "./chunk-PHOCVOZ5.js";
|
|
11
11
|
import "./chunk-FQERBIVS.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-H6MYB7GB.js";
|
|
|
19
19
|
import "./chunk-UZWFZMOX.js";
|
|
20
20
|
import "./chunk-XQNVC4Q7.js";
|
|
21
21
|
import "./chunk-THHRRYRS.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-6FLSBL4Q.js";
|
|
23
23
|
import "./chunk-PJR6W35H.js";
|
|
24
24
|
import "./chunk-OH4AABUT.js";
|
|
25
25
|
import "./chunk-AEMDNTW5.js";
|
|
@@ -28,29 +28,29 @@ import "./chunk-FJHAAROU.js";
|
|
|
28
28
|
import "./chunk-533GMKEG.js";
|
|
29
29
|
import "./chunk-YFRC6GEN.js";
|
|
30
30
|
import "./chunk-N6SI4IIT.js";
|
|
31
|
-
import "./chunk-JPNPTILP.js";
|
|
32
|
-
import "./chunk-DAXXLQKB.js";
|
|
33
31
|
import "./chunk-46M463BR.js";
|
|
34
32
|
import "./chunk-ZIFHQXP3.js";
|
|
33
|
+
import "./chunk-JPNPTILP.js";
|
|
34
|
+
import "./chunk-DAXXLQKB.js";
|
|
35
35
|
import "./chunk-GKGLVDDV.js";
|
|
36
36
|
import "./chunk-ESPLVOFC.js";
|
|
37
37
|
import "./chunk-WJJXUXSO.js";
|
|
38
38
|
import "./chunk-LAPEZATU.js";
|
|
39
|
-
import "./chunk-Z2UBJXTU.js";
|
|
40
39
|
import {
|
|
41
40
|
collectionsQueryKeys,
|
|
42
41
|
useCollection
|
|
43
42
|
} from "./chunk-QKJGSZI2.js";
|
|
43
|
+
import "./chunk-Z2UBJXTU.js";
|
|
44
44
|
import "./chunk-FXWKGNRV.js";
|
|
45
45
|
import "./chunk-VDKOJ5WD.js";
|
|
46
46
|
import "./chunk-ZN7LWXVC.js";
|
|
47
|
+
import "./chunk-5TRY5IMZ.js";
|
|
48
|
+
import "./chunk-EPHVGD5Z.js";
|
|
47
49
|
import "./chunk-XGUUM3S6.js";
|
|
50
|
+
import "./chunk-RMAQKNBA.js";
|
|
48
51
|
import "./chunk-VYMODH6P.js";
|
|
49
52
|
import "./chunk-LEG67A2R.js";
|
|
50
53
|
import "./chunk-PRBE5CM3.js";
|
|
51
|
-
import "./chunk-5TRY5IMZ.js";
|
|
52
|
-
import "./chunk-EPHVGD5Z.js";
|
|
53
|
-
import "./chunk-RMAQKNBA.js";
|
|
54
54
|
import "./chunk-BDGZ4EQO.js";
|
|
55
55
|
import "./chunk-OKWGPKVK.js";
|
|
56
56
|
import "./chunk-KYFWVLWO.js";
|