@mercurjs/vendor 2.2.0-canary.3 → 2.2.0-canary.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{[id]-ZWWMJAKI.js → [id]-2MWQLWH5.js} +5 -5
- package/dist/{[id]-OQQ7PFP2.js → [id]-4W3PM52P.js} +191 -72
- package/dist/{[id]-R6MGTQWC.js → [id]-BMU2XR4J.js} +14 -14
- package/dist/{[id]-DIH7QXB7.js → [id]-CGVAZRUM.js} +13 -13
- package/dist/{[id]-4OBGG7OH.js → [id]-ES636FIX.js} +9 -9
- package/dist/{[id]-Y2ISCLUD.js → [id]-IEF67D6T.js} +2 -2
- package/dist/{[id]-H5OKTZGS.js → [id]-M2O6SEY6.js} +12 -12
- package/dist/{[id]-GJDD24KP.js → [id]-OIWN77OS.js} +15 -15
- package/dist/{[id]-7BAKUHUO.js → [id]-PUXQWMQA.js} +3 -3
- package/dist/{[id]-KJIQTFGE.js → [id]-RSIB6ZC7.js} +9 -9
- package/dist/{[id]-6JGGGDHU.js → [id]-YYINWAKW.js} +13 -13
- package/dist/{[id]-LTNOHLGE.js → [id]-ZUSRD52M.js} +2 -2
- package/dist/{[province_id]-H2QAPKVH.js → [province_id]-OY34DZG4.js} +8 -8
- package/dist/{add-35Q7CNQI.js → add-7E44I7M2.js} +5 -5
- package/dist/{add-6P53VSJG.js → add-DPJTHBMV.js} +15 -15
- package/dist/{add-customer-groups-RAHCP67U.js → add-customer-groups-GW45FZIG.js} +8 -8
- package/dist/{add-products-ODCQDMQO.js → add-products-VCGOJLER.js} +13 -13
- package/dist/{add-promotions-CSCAJZHV.js → add-promotions-2LJGIRAX.js} +5 -5
- package/dist/{address-7F5SN7PV.js → address-D533QSTK.js} +6 -6
- package/dist/{adjust-inventory-SZF4W7LR.js → adjust-inventory-AMBE5KGO.js} +1 -1
- package/dist/{allocate-items-SDFS5GYN.js → allocate-items-B67DKZZ6.js} +2 -2
- package/dist/{areas-7Y6BVS5A.js → areas-FB63OQAI.js} +3 -3
- package/dist/{attributes-MBZ76HVZ.js → attributes-BB4O7OOS.js} +1 -1
- package/dist/{breadcrumb-ZCG2RHIU.js → breadcrumb-BA27PBHV.js} +6 -6
- package/dist/{breadcrumb-EDPMEN2P.js → breadcrumb-DW6S4FGG.js} +2 -2
- package/dist/{breadcrumb-7PURSRTT.js → breadcrumb-IFYULMOT.js} +6 -6
- package/dist/{breadcrumb-65SAGUUL.js → breadcrumb-IZKI3GPT.js} +2 -2
- package/dist/{breadcrumb-QV2IAX7N.js → breadcrumb-JZYJV7GG.js} +2 -2
- package/dist/{breadcrumb-VWELWDB2.js → breadcrumb-LOKKID7U.js} +1 -1
- package/dist/{breadcrumb-HND5FFWC.js → breadcrumb-N2H37QV2.js} +2 -2
- package/dist/{breadcrumb-WRG4SITG.js → breadcrumb-R2C6QY4X.js} +7 -7
- package/dist/{breadcrumb-FLDHJRVY.js → breadcrumb-THJ2HPRB.js} +1 -1
- package/dist/{campaigns-L6ULR6KR.js → campaigns-JAQTSA4Z.js} +3 -3
- package/dist/{categories-FUZQKBXV.js → categories-YQHDVZQ3.js} +5 -5
- package/dist/{chunk-RXZFEFNV.js → chunk-27KRIXMQ.js} +8 -10
- package/dist/{chunk-LNM2D2I4.js → chunk-3YOJZLXM.js} +3 -3
- package/dist/{chunk-TNVYTMBL.js → chunk-457ZQ52D.js} +2 -2
- package/dist/{chunk-PPLC4IKI.js → chunk-5T6UWTRU.js} +10 -5
- package/dist/{chunk-KAZ5BYTQ.js → chunk-6OUPJNYO.js} +5 -3
- package/dist/{chunk-NJMNYS7G.js → chunk-7CMRFP5Q.js} +1 -1
- package/dist/{chunk-2DXNJURE.js → chunk-7Y3DD2GU.js} +1 -1
- package/dist/{chunk-EROX26D4.js → chunk-A5MB6VD7.js} +1 -1
- package/dist/{chunk-M7KSRYRI.js → chunk-AGVDN6AU.js} +2 -2
- package/dist/{chunk-C2Z4OOKP.js → chunk-BUVS62Z5.js} +3 -3
- package/dist/{chunk-JYF3S4EQ.js → chunk-EWUXPEW3.js} +57 -6
- package/dist/{chunk-FMRP2CNF.js → chunk-F5H5JZQZ.js} +137 -179
- package/dist/{chunk-FJUUGFXL.js → chunk-FIH3RWX2.js} +1 -1
- package/dist/{chunk-Y4CJ2PCS.js → chunk-FYA5XFSG.js} +1 -5
- package/dist/{chunk-YPQYLAKH.js → chunk-G6A75IF7.js} +171 -62
- package/dist/{chunk-AIZM66CG.js → chunk-G7BL4L3L.js} +1 -1
- package/dist/{chunk-7SLWXX6L.js → chunk-HNT3DMUK.js} +1 -1
- package/dist/{chunk-DDH7ULIQ.js → chunk-HSHSVLJU.js} +1 -1
- package/dist/{chunk-WZMXJUHA.js → chunk-IUI25GGG.js} +1 -1
- package/dist/{chunk-DVEKYLPV.js → chunk-KIFSQOM2.js} +1 -1
- package/dist/{chunk-QS6RWIBL.js → chunk-L2SUH6H5.js} +1 -1
- package/dist/{chunk-H6LZ77GX.js → chunk-MJCL3WID.js} +1 -1
- package/dist/{chunk-W2W672GW.js → chunk-NAXRP564.js} +7 -7
- package/dist/{chunk-R7TNADRU.js → chunk-NCXJFGBY.js} +27 -8
- package/dist/{chunk-RZLN2Q6G.js → chunk-NJZQGGY3.js} +1 -1
- package/dist/{chunk-44RQ5PTN.js → chunk-PGYRE3SB.js} +26 -34
- package/dist/{chunk-CNMY5HVP.js → chunk-Q6A2ETDG.js} +2 -2
- package/dist/{chunk-NSZQERLE.js → chunk-Q75AC3DZ.js} +2 -2
- package/dist/{chunk-EZ3JOAUS.js → chunk-QLBIBLOY.js} +1 -1
- package/dist/{chunk-N4MVIBFM.js → chunk-QZJIDKQR.js} +1 -1
- package/dist/{chunk-6BS2AVGJ.js → chunk-RAG5WTMB.js} +3 -3
- package/dist/{chunk-AIF2KTEE.js → chunk-SSUUT5LK.js} +12 -2
- package/dist/{chunk-36L54SQQ.js → chunk-T5MJWWDX.js} +1 -1
- package/dist/{chunk-KD7RYE6R.js → chunk-U5XDKYZG.js} +1 -1
- package/dist/{chunk-K4X324QP.js → chunk-U6PBLMXD.js} +1 -5
- package/dist/{chunk-UAF2S447.js → chunk-UFFVRF4V.js} +1 -1
- package/dist/{chunk-WUPJADSO.js → chunk-UKBUKWCA.js} +2 -2
- package/dist/{chunk-C3GLT4IN.js → chunk-VB3FKUFH.js} +1 -1
- package/dist/{chunk-XFQJU6FA.js → chunk-VDHW6H5F.js} +1 -1
- package/dist/{chunk-NHFEY3EI.js → chunk-VIJRMTAH.js} +1 -1
- package/dist/{chunk-7LBY5JLV.js → chunk-VRTUSO6M.js} +1 -1
- package/dist/{chunk-UCQKXXLD.js → chunk-VXGROAN6.js} +2 -2
- package/dist/{chunk-PZ44R4AS.js → chunk-WHSE47DM.js} +1 -1
- package/dist/{chunk-WBHFU3MG.js → chunk-Y5A2IWVA.js} +2 -2
- package/dist/{chunk-GXIAIITP.js → chunk-YIZK67RW.js} +0 -15
- package/dist/{chunk-DIW4GRTI.js → chunk-ZCHEV6YD.js} +45 -30
- package/dist/{chunk-NXNJQZCP.js → chunk-ZDQSWX6W.js} +1 -1
- package/dist/{chunk-QNNJN4H6.js → chunk-ZNG4GXMP.js} +10 -0
- package/dist/{collections-KFIMHAFH.js → collections-4MM6VO5L.js} +13 -13
- package/dist/{configuration-UOSNP45I.js → configuration-VYG3W3VY.js} +2 -2
- package/dist/{create-YXDLUQ4A.js → create-2IURYR3Z.js} +21 -16
- package/dist/{create-UQNYMVBM.js → create-6I43IPLO.js} +3 -3
- package/dist/{create-ORXYT74H.js → create-C7VELTYL.js} +6 -6
- package/dist/{create-NBJXLNBX.js → create-GL5IRW3X.js} +13 -13
- package/dist/{create-EYUDFNAD.js → create-ISFBLXZ7.js} +14 -14
- package/dist/{create-BJ4OO6LS.js → create-LMBCRUYT.js} +6 -6
- package/dist/{create-JDGM5KXE.js → create-R4FU54BA.js} +2 -2
- package/dist/{create-YB7WXDLC.js → create-UJLMFAMS.js} +15 -15
- package/dist/{create-XAD5NMSJ.js → create-W6Z57NBD.js} +6 -6
- package/dist/{create-35MYQPVM.js → create-WWBEBEX3.js} +6 -6
- package/dist/{customers-ETXVNM3G.js → customers-SOLJ2KQQ.js} +3 -3
- package/dist/{edit-WFXFPX6F.js → edit-CZZ44QUQ.js} +7 -7
- package/dist/{edit-L5ZZLMAY.js → edit-F57B5C32.js} +8 -8
- package/dist/{edit-2Q7TRUTL.js → edit-FPM66ECJ.js} +6 -6
- package/dist/{edit-5KHNBRCJ.js → edit-FQWVFMGL.js} +15 -15
- package/dist/{edit-REDDBLTA.js → edit-OXMCTPMM.js} +2 -2
- package/dist/{edit-SGUY2CCK.js → edit-QADWO547.js} +8 -8
- package/dist/{edit-FKXIQ6ZI.js → edit-ZEXRHXXH.js} +8 -8
- package/dist/{edit-ZCXUG42Q.js → edit-ZTZARH3J.js} +6 -6
- package/dist/{edit-inventory-item-6B7ITDGD.js → edit-inventory-item-ULRIERFP.js} +1 -1
- package/dist/{edit-inventory-item-attributes-Y7MQZLXI.js → edit-inventory-item-attributes-F4RMFJ7O.js} +1 -1
- package/dist/{fulfillment-75Z4H23W.js → fulfillment-SDBS7ZAE.js} +6 -6
- package/dist/{fulfillment-providers-EOT3XR6S.js → fulfillment-providers-BRHQ5T7T.js} +11 -11
- package/dist/index.css +9 -0
- package/dist/index.js +133 -133
- package/dist/{inventory-KAUVPMPZ.js → inventory-RN3JSEVK.js} +4 -4
- package/dist/{invite-CI2P4GF6.js → invite-T5E2DRJ3.js} +6 -6
- package/dist/{invite-UCHGUC4I.js → invite-XK5T2GNZ.js} +10 -10
- package/dist/{loader-FBB5OQRT.js → loader-VDYPD3RI.js} +1 -1
- package/dist/{login-KY342RMK.js → login-F2KYD3HD.js} +6 -6
- package/dist/{manage-locations-WNHEBS3A.js → manage-locations-6SJF53Q3.js} +1 -1
- package/dist/{media-37SKUCSV.js → media-K7QFAY3B.js} +10 -10
- package/dist/{metadata-2CMH4I6U.js → metadata-3EHFO2QW.js} +6 -6
- package/dist/{metadata-TLDUF5KV.js → metadata-46AMJQKQ.js} +6 -6
- package/dist/{metadata-GWI6R4ES.js → metadata-MASPEMAH.js} +6 -6
- package/dist/{metadata-WR4RFXO5.js → metadata-TYRXTG7D.js} +6 -6
- package/dist/{metadata-NUXUC2JA.js → metadata-XRI5S7UL.js} +6 -6
- package/dist/{offer-create-page-DUXOKWEF.js → offer-create-page-YKEBQKDP.js} +4 -4
- package/dist/{offer-detail-page-6MAHNNIO.js → offer-detail-page-OMZN2NTA.js} +9 -5
- package/dist/{offer-edit-page-DYQFU6JU.js → offer-edit-page-3MO566RP.js} +1 -1
- package/dist/{offer-inventory-batch-page-WKCWNDNK.js → offer-inventory-batch-page-XVL75E72.js} +2 -2
- package/dist/{offer-pricing-edit-page-4TYGGSOE.js → offer-pricing-edit-page-WZNP3TWV.js} +8 -4
- package/dist/{offers-OQ5PN7L5.js → offers-J3NLKWKB.js} +6 -6
- package/dist/{onboarding-43LQQQGQ.js → onboarding-ZDJEO2PQ.js} +6 -6
- package/dist/{orders-FI5HTA6D.js → orders-MW5IB43N.js} +12 -12
- package/dist/{organization-R2SDOJWJ.js → organization-BV5XORHR.js} +8 -51
- package/dist/{organize-K6QMAMEN.js → organize-HLUNMRQ7.js} +3 -3
- package/dist/{organize-HNJUHEEG.js → organize-J4AQZLF3.js} +3 -3
- package/dist/pages/index.d.ts +40 -16
- package/dist/pages/index.js +38 -38
- package/dist/{payment-details-64US5XWD.js → payment-details-E7TAR64A.js} +6 -6
- package/dist/{payouts-UXJDTXDL.js → payouts-2QBQSNDR.js} +3 -3
- package/dist/{price-lists-KBPUVSZI.js → price-lists-UH372BFM.js} +6 -6
- package/dist/{pricing-DF6C5XK4.js → pricing-IOWXFNPP.js} +6 -6
- package/dist/{product-tags-W3P6O5XB.js → product-tags-BFBLK4YJ.js} +15 -15
- package/dist/{product-types-UUHBV4IZ.js → product-types-PKUEL7X5.js} +3 -3
- package/dist/{product-variant-detail-RVWEYVPC.js → product-variant-detail-HXEUTD4R.js} +23 -34
- package/dist/{product-variant-edit-HS6NLGRL.js → product-variant-edit-CYVK4G4J.js} +32 -24
- package/dist/{products-QYXS7K7N.js → products-ETGLL7P7.js} +20 -20
- package/dist/{products-HKHE53B4.js → products-WQWWXN5O.js} +13 -13
- package/dist/{professional-details-5T2VS6MM.js → professional-details-QVJK7GNV.js} +6 -6
- package/dist/{profile-6XGHAT7H.js → profile-M4MK4J7N.js} +6 -6
- package/dist/{promotions-O7U4BTK6.js → promotions-FPODJ2CS.js} +6 -6
- package/dist/{register-UKFNYOWP.js → register-FLK3D4NL.js} +8 -8
- package/dist/{reset-password-EICPAY2N.js → reset-password-IVJAGUBF.js} +1 -1
- package/dist/{return-reasons-HOJC3HRP.js → return-reasons-YROUUX5C.js} +6 -6
- package/dist/{sales-channels-B6FULRWI.js → sales-channels-PGCKCSXA.js} +2 -2
- package/dist/{sales-channels-JW3QUYR7.js → sales-channels-WQVW4JRX.js} +2 -2
- package/dist/{settings-M33QP4QQ.js → settings-2TDBIPS2.js} +17 -17
- package/dist/{shipment-Q33QBMXX.js → shipment-4IGIMGZC.js} +6 -6
- package/dist/{shipping-profile-Y4SNEPZX.js → shipping-profile-WK7R2VVW.js} +1 -1
- package/dist/{shipping-profiles-2NWKCEJK.js → shipping-profiles-KKT36RTB.js} +9 -9
- package/dist/{stock-7CSVEJJU.js → stock-TAGO52GT.js} +6 -6
- package/dist/{store-AH77OIM4.js → store-GGGP6WOH.js} +65 -134
- package/dist/{store-closure-P5PD2RSV.js → store-closure-HTK6XTQT.js} +12 -7
- package/dist/{store-select-U27PPPAJ.js → store-select-N5IA6BQV.js} +7 -7
- package/dist/{tax-regions-YXZW7UVX.js → tax-regions-HDLBFZVG.js} +2 -2
- package/dist/{team-IU5XJ65K.js → team-EAMKV3XR.js} +10 -10
- package/package.json +2 -2
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
usePromotionTableColumns,
|
|
9
9
|
usePromotionTableQuery
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-A5MB6VD7.js";
|
|
11
|
+
import "./chunk-HSHSVLJU.js";
|
|
12
12
|
import "./chunk-JHIMVLB2.js";
|
|
13
13
|
import {
|
|
14
14
|
usePromotionTableFilters
|
|
@@ -20,14 +20,14 @@ import "./chunk-PHOCVOZ5.js";
|
|
|
20
20
|
import {
|
|
21
21
|
_DataTable,
|
|
22
22
|
useDataTable
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SSUUT5LK.js";
|
|
24
24
|
import "./chunk-YN3FGNJM.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-6OUPJNYO.js";
|
|
26
26
|
import "./chunk-3EF54XFY.js";
|
|
27
27
|
import {
|
|
28
28
|
currencies
|
|
29
29
|
} from "./chunk-IQPN4PZJ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-PGYRE3SB.js";
|
|
31
31
|
import {
|
|
32
32
|
TwoColumnPage
|
|
33
33
|
} from "./chunk-YV6MK4PZ.js";
|
|
@@ -17,13 +17,13 @@ import "./chunk-QHQWEERJ.js";
|
|
|
17
17
|
import "./chunk-432S4FGR.js";
|
|
18
18
|
import {
|
|
19
19
|
DataTable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5T6UWTRU.js";
|
|
21
21
|
import {
|
|
22
22
|
useQueryParams
|
|
23
23
|
} from "./chunk-THHRRYRS.js";
|
|
24
24
|
import {
|
|
25
25
|
require_dist
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-F5H5JZQZ.js";
|
|
27
27
|
import {
|
|
28
28
|
Thumbnail
|
|
29
29
|
} from "./chunk-WIYFXWRI.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-INNFZYX2.js";
|
|
33
33
|
import {
|
|
34
34
|
useProductTag
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-YIZK67RW.js";
|
|
36
36
|
import "./chunk-F4OJN2F2.js";
|
|
37
37
|
import "./chunk-LRARA622.js";
|
|
38
38
|
import "./chunk-M6N4ISXL.js";
|
|
@@ -41,7 +41,7 @@ import "./chunk-VXMOPVRH.js";
|
|
|
41
41
|
import {
|
|
42
42
|
useProductType
|
|
43
43
|
} from "./chunk-VV6IKGCN.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-VIJRMTAH.js";
|
|
45
45
|
import "./chunk-BOZJOOGW.js";
|
|
46
46
|
import "./chunk-LWJF63JW.js";
|
|
47
47
|
import "./chunk-T6LHVNWO.js";
|
|
@@ -51,13 +51,13 @@ import "./chunk-IQWK723D.js";
|
|
|
51
51
|
import "./chunk-UORPTGV2.js";
|
|
52
52
|
import {
|
|
53
53
|
useCollection
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ZDQSWX6W.js";
|
|
55
55
|
import "./chunk-VXWN37PT.js";
|
|
56
56
|
import {
|
|
57
57
|
useProductCategory
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NJZQGGY3.js";
|
|
59
59
|
import "./chunk-NBPMNUKZ.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-L2SUH6H5.js";
|
|
61
61
|
import {
|
|
62
62
|
useSalesChannels
|
|
63
63
|
} from "./chunk-3B34B2M2.js";
|
|
@@ -68,18 +68,20 @@ import "./chunk-LAVHRER2.js";
|
|
|
68
68
|
import "./chunk-Y7QKP6QU.js";
|
|
69
69
|
import {
|
|
70
70
|
PRODUCT_DETAIL_QUERY
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-U6PBLMXD.js";
|
|
72
72
|
import {
|
|
73
|
+
productAttributesQueryKeys,
|
|
73
74
|
productsQueryKeys,
|
|
74
75
|
useCancelProductEdit,
|
|
75
76
|
useDeleteProduct,
|
|
76
77
|
useDeleteVariantLazy,
|
|
77
78
|
useProduct,
|
|
79
|
+
useProductAttribute,
|
|
78
80
|
useProductChange,
|
|
79
81
|
useProductVariants,
|
|
80
82
|
useRemoveProductAttribute,
|
|
81
83
|
useUpdateProduct
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZNG4GXMP.js";
|
|
83
85
|
import "./chunk-A5DJIOHN.js";
|
|
84
86
|
import {
|
|
85
87
|
queryClient
|
|
@@ -127,7 +129,7 @@ import {
|
|
|
127
129
|
isReferenceField,
|
|
128
130
|
partitionProductChangeActions
|
|
129
131
|
} from "@mercurjs/dashboard-shared";
|
|
130
|
-
import { useQuery } from "@tanstack/react-query";
|
|
132
|
+
import { useQueries, useQuery } from "@tanstack/react-query";
|
|
131
133
|
import { Fragment, useMemo } from "react";
|
|
132
134
|
import { useTranslation } from "react-i18next";
|
|
133
135
|
import { Fragment as Fragment2, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -268,18 +270,105 @@ var FieldRow = ({ diff }) => {
|
|
|
268
270
|
)
|
|
269
271
|
] });
|
|
270
272
|
};
|
|
271
|
-
var
|
|
273
|
+
var AttributeActionLine = ({
|
|
274
|
+
attributeId,
|
|
275
|
+
valueIds
|
|
276
|
+
}) => {
|
|
277
|
+
const { product_attribute } = useProductAttribute(attributeId);
|
|
278
|
+
const name = product_attribute?.name ?? attributeId;
|
|
279
|
+
const values = product_attribute?.values ?? [];
|
|
280
|
+
const selectedNames = valueIds && valueIds.length ? valueIds.map((id) => {
|
|
281
|
+
const match = values.find((v) => v.id === id);
|
|
282
|
+
return match?.name ?? id;
|
|
283
|
+
}) : [];
|
|
284
|
+
return /* @__PURE__ */ jsxs(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: [
|
|
285
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-ui-fg-base", children: name }),
|
|
286
|
+
selectedNames.length > 0 && `: ${selectedNames.join(", ")}`
|
|
287
|
+
] });
|
|
288
|
+
};
|
|
289
|
+
var VariantActionLine = ({
|
|
290
|
+
title,
|
|
291
|
+
images
|
|
292
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
293
|
+
images && images.length > 0 && /* @__PURE__ */ jsx(ImageStrip, { images }),
|
|
294
|
+
/* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: /* @__PURE__ */ jsx("span", { className: "font-medium text-ui-fg-base", children: title }) })
|
|
295
|
+
] });
|
|
296
|
+
var ActionLine = ({
|
|
297
|
+
action,
|
|
298
|
+
variantsById
|
|
299
|
+
}) => {
|
|
272
300
|
const { t } = useTranslation();
|
|
301
|
+
const details = action.details ?? {};
|
|
302
|
+
if (action.action === import_types.ProductChangeActionType.ATTRIBUTE_ADD || action.action === import_types.ProductChangeActionType.ATTRIBUTE_REMOVE) {
|
|
303
|
+
if (!details.attribute_id) return null;
|
|
304
|
+
return /* @__PURE__ */ jsx(
|
|
305
|
+
AttributeActionLine,
|
|
306
|
+
{
|
|
307
|
+
attributeId: details.attribute_id,
|
|
308
|
+
valueIds: action.action === import_types.ProductChangeActionType.ATTRIBUTE_ADD ? details.attribute_value_ids : void 0
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
const variantFallback = t("fields.variant", { defaultValue: "Variant" });
|
|
313
|
+
if (action.action === import_types.ProductChangeActionType.VARIANT_ADD) {
|
|
314
|
+
const title = details.variant?.title || details.variant?.sku || variantFallback;
|
|
315
|
+
return /* @__PURE__ */ jsx(VariantActionLine, { title });
|
|
316
|
+
}
|
|
317
|
+
if (action.action === import_types.ProductChangeActionType.VARIANT_REMOVE) {
|
|
318
|
+
const variantId = details.variant_id ?? "";
|
|
319
|
+
const found = variantId ? variantsById.get(variantId) : void 0;
|
|
320
|
+
const title = found?.title || found?.sku || variantId || variantFallback;
|
|
321
|
+
const images = isImageList(found?.images) ? found?.images : void 0;
|
|
322
|
+
return /* @__PURE__ */ jsx(VariantActionLine, { title, images });
|
|
323
|
+
}
|
|
273
324
|
const label = describeProductChangeAction(action, {
|
|
274
|
-
variant:
|
|
325
|
+
variant: variantFallback
|
|
275
326
|
});
|
|
276
327
|
return /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: label });
|
|
277
328
|
};
|
|
329
|
+
var VariantUpdateBlock = ({
|
|
330
|
+
variantId,
|
|
331
|
+
diffs,
|
|
332
|
+
variantsById
|
|
333
|
+
}) => {
|
|
334
|
+
const { t } = useTranslation();
|
|
335
|
+
const found = variantsById.get(variantId);
|
|
336
|
+
const title = found?.title || found?.sku || variantId || t("fields.variant", { defaultValue: "Variant" });
|
|
337
|
+
const images = isImageList(found?.images) ? found?.images : void 0;
|
|
338
|
+
return /* @__PURE__ */ jsxs(
|
|
339
|
+
"div",
|
|
340
|
+
{
|
|
341
|
+
className: "flex flex-col gap-y-3",
|
|
342
|
+
"data-testid": `product-active-edit-variant-${variantId}`,
|
|
343
|
+
children: [
|
|
344
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
345
|
+
images && images.length > 0 && /* @__PURE__ */ jsx(ImageStrip, { images }),
|
|
346
|
+
/* @__PURE__ */ jsxs(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: [
|
|
347
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-ui-fg-base", children: t("products.edits.panel.variantUpdated", {
|
|
348
|
+
defaultValue: "Variant updated"
|
|
349
|
+
}) }),
|
|
350
|
+
": ",
|
|
351
|
+
title
|
|
352
|
+
] })
|
|
353
|
+
] }),
|
|
354
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-y-4 pl-1", children: diffs.map((diff, idx) => /* @__PURE__ */ jsx(FieldRow, { diff }, `${variantId}-${diff.field}-${idx}`)) })
|
|
355
|
+
]
|
|
356
|
+
}
|
|
357
|
+
);
|
|
358
|
+
};
|
|
278
359
|
var ProductActiveEditSection = ({
|
|
279
|
-
|
|
360
|
+
product
|
|
280
361
|
}) => {
|
|
281
362
|
const { t } = useTranslation();
|
|
282
363
|
const prompt = usePrompt();
|
|
364
|
+
const productId = product.id;
|
|
365
|
+
const variantsById = useMemo(() => {
|
|
366
|
+
const map = /* @__PURE__ */ new Map();
|
|
367
|
+
for (const variant of product.variants ?? []) {
|
|
368
|
+
if (variant?.id) map.set(variant.id, variant);
|
|
369
|
+
}
|
|
370
|
+
return map;
|
|
371
|
+
}, [product.variants]);
|
|
283
372
|
const { product_change, isError } = useProductChange(productId, {
|
|
284
373
|
retry: false
|
|
285
374
|
});
|
|
@@ -288,6 +377,37 @@ var ProductActiveEditSection = ({
|
|
|
288
377
|
() => partitionProductChangeActions(product_change?.actions ?? []),
|
|
289
378
|
[product_change]
|
|
290
379
|
);
|
|
380
|
+
const productUpdated = useMemo(
|
|
381
|
+
() => updated.filter((d) => !d.variant_id),
|
|
382
|
+
[updated]
|
|
383
|
+
);
|
|
384
|
+
const variantsUpdated = useMemo(() => {
|
|
385
|
+
const groups = /* @__PURE__ */ new Map();
|
|
386
|
+
for (const diff of updated) {
|
|
387
|
+
if (!diff.variant_id) continue;
|
|
388
|
+
const bucket = groups.get(diff.variant_id) ?? [];
|
|
389
|
+
bucket.push(diff);
|
|
390
|
+
groups.set(diff.variant_id, bucket);
|
|
391
|
+
}
|
|
392
|
+
return groups;
|
|
393
|
+
}, [updated]);
|
|
394
|
+
const attributeIds = useMemo(() => {
|
|
395
|
+
const ids = /* @__PURE__ */ new Set();
|
|
396
|
+
for (const action of [...added, ...removed]) {
|
|
397
|
+
if (action.action === import_types.ProductChangeActionType.ATTRIBUTE_ADD || action.action === import_types.ProductChangeActionType.ATTRIBUTE_REMOVE) {
|
|
398
|
+
const details = action.details ?? {};
|
|
399
|
+
if (details.attribute_id) ids.add(details.attribute_id);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return Array.from(ids);
|
|
403
|
+
}, [added, removed]);
|
|
404
|
+
const attributeQueries = useQueries({
|
|
405
|
+
queries: attributeIds.map((id) => ({
|
|
406
|
+
queryKey: productAttributesQueryKeys.detail(id),
|
|
407
|
+
queryFn: () => sdk.vendor.productAttributes.$id.query({ $id: id })
|
|
408
|
+
}))
|
|
409
|
+
});
|
|
410
|
+
const isLoadingAttributes = attributeQueries.some((q) => q.isPending);
|
|
291
411
|
const onCancel = async () => {
|
|
292
412
|
const confirmed = await prompt({
|
|
293
413
|
title: t("products.edits.panel.cancelTitle"),
|
|
@@ -309,7 +429,10 @@ var ProductActiveEditSection = ({
|
|
|
309
429
|
if (product_change.status !== import_types.ProductChangeStatus.PENDING) {
|
|
310
430
|
return null;
|
|
311
431
|
}
|
|
312
|
-
|
|
432
|
+
if (isLoadingAttributes) {
|
|
433
|
+
return null;
|
|
434
|
+
}
|
|
435
|
+
const hasContent = productUpdated.length > 0 || variantsUpdated.size > 0 || added.length > 0 || removed.length > 0 || deleteRequested;
|
|
313
436
|
return /* @__PURE__ */ jsxs(
|
|
314
437
|
Container,
|
|
315
438
|
{
|
|
@@ -320,9 +443,8 @@ var ProductActiveEditSection = ({
|
|
|
320
443
|
/* @__PURE__ */ jsx(ExclamationCircleSolid, { className: "text-ui-fg-interactive" }),
|
|
321
444
|
/* @__PURE__ */ jsx(Heading, { level: "h2", "data-testid": "product-active-edit-heading", children: t("products.edits.panel.title") })
|
|
322
445
|
] }),
|
|
323
|
-
/* @__PURE__ */ jsx("div", { className: "px-6 py-4", children: /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: t("products.edits.panel.description") }) }),
|
|
324
446
|
hasContent && /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
325
|
-
|
|
447
|
+
productUpdated.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 px-6 py-4", children: [
|
|
326
448
|
/* @__PURE__ */ jsx(
|
|
327
449
|
Text,
|
|
328
450
|
{
|
|
@@ -333,7 +455,30 @@ var ProductActiveEditSection = ({
|
|
|
333
455
|
children: t("labels.updated")
|
|
334
456
|
}
|
|
335
457
|
),
|
|
336
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-4", children:
|
|
458
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-4", children: productUpdated.map((diff, idx) => /* @__PURE__ */ jsx(FieldRow, { diff }, `${diff.field}-${idx}`)) })
|
|
459
|
+
] }),
|
|
460
|
+
variantsUpdated.size > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 px-6 py-4", children: [
|
|
461
|
+
/* @__PURE__ */ jsx(
|
|
462
|
+
Text,
|
|
463
|
+
{
|
|
464
|
+
size: "small",
|
|
465
|
+
weight: "plus",
|
|
466
|
+
leading: "compact",
|
|
467
|
+
className: "text-ui-fg-subtle w-[160px] shrink-0",
|
|
468
|
+
children: t("labels.updated")
|
|
469
|
+
}
|
|
470
|
+
),
|
|
471
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-6", children: Array.from(variantsUpdated.entries()).map(
|
|
472
|
+
([variantId, diffs]) => /* @__PURE__ */ jsx(
|
|
473
|
+
VariantUpdateBlock,
|
|
474
|
+
{
|
|
475
|
+
variantId,
|
|
476
|
+
diffs,
|
|
477
|
+
variantsById
|
|
478
|
+
},
|
|
479
|
+
variantId
|
|
480
|
+
)
|
|
481
|
+
) })
|
|
337
482
|
] }),
|
|
338
483
|
added.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 px-6 py-4", children: [
|
|
339
484
|
/* @__PURE__ */ jsx(
|
|
@@ -346,7 +491,14 @@ var ProductActiveEditSection = ({
|
|
|
346
491
|
children: t("labels.added")
|
|
347
492
|
}
|
|
348
493
|
),
|
|
349
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-2", children: added.map((action) => /* @__PURE__ */ jsx(
|
|
494
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-2", children: added.map((action) => /* @__PURE__ */ jsx(
|
|
495
|
+
ActionLine,
|
|
496
|
+
{
|
|
497
|
+
action,
|
|
498
|
+
variantsById
|
|
499
|
+
},
|
|
500
|
+
action.id
|
|
501
|
+
)) })
|
|
350
502
|
] }),
|
|
351
503
|
removed.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 px-6 py-4", children: [
|
|
352
504
|
/* @__PURE__ */ jsx(
|
|
@@ -359,7 +511,14 @@ var ProductActiveEditSection = ({
|
|
|
359
511
|
children: t("labels.removed")
|
|
360
512
|
}
|
|
361
513
|
),
|
|
362
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-2", children: removed.map((action) => /* @__PURE__ */ jsx(
|
|
514
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-y-2", children: removed.map((action) => /* @__PURE__ */ jsx(
|
|
515
|
+
ActionLine,
|
|
516
|
+
{
|
|
517
|
+
action,
|
|
518
|
+
variantsById
|
|
519
|
+
},
|
|
520
|
+
action.id
|
|
521
|
+
)) })
|
|
363
522
|
] }),
|
|
364
523
|
deleteRequested && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 px-6 py-4", children: [
|
|
365
524
|
/* @__PURE__ */ jsx(
|
|
@@ -423,8 +582,6 @@ var productStatusColor = (status) => {
|
|
|
423
582
|
return "green";
|
|
424
583
|
case "rejected":
|
|
425
584
|
return "red";
|
|
426
|
-
case "requires_action":
|
|
427
|
-
return "blue";
|
|
428
585
|
default:
|
|
429
586
|
return "grey";
|
|
430
587
|
}
|
|
@@ -870,7 +1027,7 @@ var ProductVariantSection = ({
|
|
|
870
1027
|
limit: PAGE_SIZE,
|
|
871
1028
|
created_at: created_at ? JSON.parse(created_at) : void 0,
|
|
872
1029
|
updated_at: updated_at ? JSON.parse(updated_at) : void 0,
|
|
873
|
-
fields: "title,created_at,updated_at,*
|
|
1030
|
+
fields: "title,created_at,updated_at,*options,*options.option"
|
|
874
1031
|
},
|
|
875
1032
|
{
|
|
876
1033
|
placeholderData: keepPreviousData
|
|
@@ -950,44 +1107,8 @@ var useColumns = (product) => {
|
|
|
950
1107
|
},
|
|
951
1108
|
[mutateAsync, prompt, t]
|
|
952
1109
|
);
|
|
953
|
-
const optionColumns = useMemo2(() => {
|
|
954
|
-
if (!product?.options) {
|
|
955
|
-
return [];
|
|
956
|
-
}
|
|
957
|
-
return product.options.map((option) => {
|
|
958
|
-
return columnHelper.display({
|
|
959
|
-
id: option.id,
|
|
960
|
-
header: option.title,
|
|
961
|
-
cell: ({ row }) => {
|
|
962
|
-
const variantOpt = row.original.options?.find(
|
|
963
|
-
(opt) => opt.option_id === option.id
|
|
964
|
-
);
|
|
965
|
-
if (!variantOpt) {
|
|
966
|
-
return /* @__PURE__ */ jsx5("span", { className: "text-ui-fg-muted", children: "-" });
|
|
967
|
-
}
|
|
968
|
-
return /* @__PURE__ */ jsx5(
|
|
969
|
-
"div",
|
|
970
|
-
{
|
|
971
|
-
className: "flex items-center",
|
|
972
|
-
"data-testid": `product-variant-option-${option.id}-${row.original.id}`,
|
|
973
|
-
children: /* @__PURE__ */ jsx5(Tooltip3, { content: variantOpt.value, children: /* @__PURE__ */ jsx5(
|
|
974
|
-
Badge2,
|
|
975
|
-
{
|
|
976
|
-
size: "2xsmall",
|
|
977
|
-
title: variantOpt.value,
|
|
978
|
-
className: "inline-flex min-w-[20px] max-w-[140px] items-center justify-center overflow-hidden truncate",
|
|
979
|
-
"data-testid": `product-variant-option-badge-${option.id}-${row.original.id}-${variantOpt.value}`,
|
|
980
|
-
children: variantOpt.value
|
|
981
|
-
}
|
|
982
|
-
) })
|
|
983
|
-
}
|
|
984
|
-
);
|
|
985
|
-
}
|
|
986
|
-
});
|
|
987
|
-
});
|
|
988
|
-
}, [product]);
|
|
989
1110
|
const attributeColumns = useMemo2(() => {
|
|
990
|
-
const variantAttributes = product?.
|
|
1111
|
+
const variantAttributes = product?.attributes?.filter((attr) => attr.is_variant_axis);
|
|
991
1112
|
if (!variantAttributes?.length) {
|
|
992
1113
|
return [];
|
|
993
1114
|
}
|
|
@@ -996,11 +1117,10 @@ var useColumns = (product) => {
|
|
|
996
1117
|
id: `attribute-${attribute.id}`,
|
|
997
1118
|
header: attribute.name,
|
|
998
1119
|
cell: ({ row }) => {
|
|
999
|
-
const
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
)
|
|
1003
|
-
if (!matches.length) {
|
|
1120
|
+
const variantOpt = row.original.options?.find(
|
|
1121
|
+
(opt) => opt.option?.title === attribute.name
|
|
1122
|
+
);
|
|
1123
|
+
if (!variantOpt?.value) {
|
|
1004
1124
|
return /* @__PURE__ */ jsx5("span", { className: "text-ui-fg-muted", children: "-" });
|
|
1005
1125
|
}
|
|
1006
1126
|
return /* @__PURE__ */ jsx5(
|
|
@@ -1008,16 +1128,16 @@ var useColumns = (product) => {
|
|
|
1008
1128
|
{
|
|
1009
1129
|
className: "flex flex-wrap items-center gap-1",
|
|
1010
1130
|
"data-testid": `product-variant-attribute-${attribute.id}-${row.original.id}`,
|
|
1011
|
-
children:
|
|
1131
|
+
children: /* @__PURE__ */ jsx5(Tooltip3, { content: variantOpt.value, children: /* @__PURE__ */ jsx5(
|
|
1012
1132
|
Badge2,
|
|
1013
1133
|
{
|
|
1014
1134
|
size: "2xsmall",
|
|
1015
|
-
title: value
|
|
1135
|
+
title: variantOpt.value,
|
|
1016
1136
|
className: "inline-flex min-w-[20px] max-w-[140px] items-center justify-center overflow-hidden truncate",
|
|
1017
|
-
"data-testid": `product-variant-attribute-badge-${attribute.id}-${row.original.id}-${value
|
|
1018
|
-
children: value
|
|
1137
|
+
"data-testid": `product-variant-attribute-badge-${attribute.id}-${row.original.id}-${variantOpt.value}`,
|
|
1138
|
+
children: variantOpt.value
|
|
1019
1139
|
}
|
|
1020
|
-
) }
|
|
1140
|
+
) })
|
|
1021
1141
|
}
|
|
1022
1142
|
);
|
|
1023
1143
|
}
|
|
@@ -1062,14 +1182,13 @@ var useColumns = (product) => {
|
|
|
1062
1182
|
sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
|
|
1063
1183
|
sortDescLabel: t("filters.sorting.alphabeticallyDesc")
|
|
1064
1184
|
}),
|
|
1065
|
-
...optionColumns,
|
|
1066
1185
|
...attributeColumns,
|
|
1067
1186
|
...dateColumns,
|
|
1068
1187
|
columnHelper.action({
|
|
1069
1188
|
actions: getActions
|
|
1070
1189
|
})
|
|
1071
1190
|
];
|
|
1072
|
-
}, [t,
|
|
1191
|
+
}, [t, attributeColumns, dateColumns, getActions]);
|
|
1073
1192
|
};
|
|
1074
1193
|
var useFilters = () => {
|
|
1075
1194
|
const dateFilters = useDataTableDateFilters();
|
|
@@ -1413,7 +1532,7 @@ var Root = ({ children }) => {
|
|
|
1413
1532
|
}
|
|
1414
1533
|
return Children.count(children) > 0 ? /* @__PURE__ */ jsx9(TwoColumnPage, { data: product, "data-testid": "product-detail-page", children }) : /* @__PURE__ */ jsxs8(TwoColumnPage, { data: product, "data-testid": "product-detail-page", children: [
|
|
1415
1534
|
/* @__PURE__ */ jsxs8(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: [
|
|
1416
|
-
/* @__PURE__ */ jsx9(ProductActiveEditSection, {
|
|
1535
|
+
/* @__PURE__ */ jsx9(ProductActiveEditSection, { product }),
|
|
1417
1536
|
/* @__PURE__ */ jsx9(ProductGeneralSection, { product }),
|
|
1418
1537
|
/* @__PURE__ */ jsx9(ProductMediaSection, { product }),
|
|
1419
1538
|
/* @__PURE__ */ jsx9(ProductVariantSection, { product })
|
|
@@ -4,30 +4,30 @@ import {
|
|
|
4
4
|
import "./chunk-4F5GP7J7.js";
|
|
5
5
|
import {
|
|
6
6
|
useDeletePriceListAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VRTUSO6M.js";
|
|
8
8
|
import {
|
|
9
9
|
getPriceListStatus
|
|
10
10
|
} from "./chunk-XRNDVICA.js";
|
|
11
11
|
import "./chunk-6IJMSVC6.js";
|
|
12
12
|
import {
|
|
13
13
|
useProductTableColumns
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VB3FKUFH.js";
|
|
15
|
+
import "./chunk-FYA5XFSG.js";
|
|
16
16
|
import {
|
|
17
17
|
useProductTableQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MJCL3WID.js";
|
|
19
19
|
import "./chunk-FQERBIVS.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTableFilters
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EWUXPEW3.js";
|
|
23
23
|
import "./chunk-DB6ANJBO.js";
|
|
24
24
|
import "./chunk-PHOCVOZ5.js";
|
|
25
25
|
import {
|
|
26
26
|
_DataTable,
|
|
27
27
|
useDataTable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SSUUT5LK.js";
|
|
29
29
|
import "./chunk-YN3FGNJM.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6OUPJNYO.js";
|
|
31
31
|
import "./chunk-3EF54XFY.js";
|
|
32
32
|
import "./chunk-SMQT3ZNO.js";
|
|
33
33
|
import {
|
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
import "./chunk-LRD242C7.js";
|
|
37
37
|
import "./chunk-QHQWEERJ.js";
|
|
38
38
|
import "./chunk-THHRRYRS.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-F5H5JZQZ.js";
|
|
40
40
|
import "./chunk-WIYFXWRI.js";
|
|
41
41
|
import {
|
|
42
42
|
TwoColumnPageSkeleton
|
|
43
43
|
} from "./chunk-INNFZYX2.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-YIZK67RW.js";
|
|
45
45
|
import "./chunk-F4OJN2F2.js";
|
|
46
46
|
import "./chunk-LRARA622.js";
|
|
47
47
|
import "./chunk-M6N4ISXL.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
priceListsQueryKeys,
|
|
53
53
|
usePriceList,
|
|
54
54
|
usePriceListLinkProducts
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-VIJRMTAH.js";
|
|
56
56
|
import "./chunk-BOZJOOGW.js";
|
|
57
57
|
import "./chunk-LWJF63JW.js";
|
|
58
58
|
import "./chunk-T6LHVNWO.js";
|
|
@@ -60,11 +60,11 @@ import "./chunk-4S6XGIC6.js";
|
|
|
60
60
|
import "./chunk-QT7YFHCA.js";
|
|
61
61
|
import "./chunk-IQWK723D.js";
|
|
62
62
|
import "./chunk-UORPTGV2.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-ZDQSWX6W.js";
|
|
64
64
|
import "./chunk-VXWN37PT.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-NJZQGGY3.js";
|
|
66
66
|
import "./chunk-NBPMNUKZ.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-L2SUH6H5.js";
|
|
68
68
|
import "./chunk-3B34B2M2.js";
|
|
69
69
|
import {
|
|
70
70
|
ActionMenu
|
|
@@ -73,7 +73,7 @@ import "./chunk-LAVHRER2.js";
|
|
|
73
73
|
import "./chunk-Y7QKP6QU.js";
|
|
74
74
|
import {
|
|
75
75
|
useProducts
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ZNG4GXMP.js";
|
|
77
77
|
import "./chunk-A5DJIOHN.js";
|
|
78
78
|
import {
|
|
79
79
|
queryClient
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VB3FKUFH.js";
|
|
4
|
+
import "./chunk-FYA5XFSG.js";
|
|
5
5
|
import {
|
|
6
6
|
useProductTableQuery
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MJCL3WID.js";
|
|
8
8
|
import "./chunk-FQERBIVS.js";
|
|
9
9
|
import {
|
|
10
10
|
useProductTableFilters
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EWUXPEW3.js";
|
|
12
12
|
import "./chunk-DB6ANJBO.js";
|
|
13
13
|
import "./chunk-PHOCVOZ5.js";
|
|
14
14
|
import {
|
|
15
15
|
_DataTable,
|
|
16
16
|
useDataTable
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SSUUT5LK.js";
|
|
18
18
|
import "./chunk-YN3FGNJM.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-6OUPJNYO.js";
|
|
20
20
|
import "./chunk-3EF54XFY.js";
|
|
21
21
|
import {
|
|
22
22
|
SingleColumnPage
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
import "./chunk-LRD242C7.js";
|
|
25
25
|
import "./chunk-QHQWEERJ.js";
|
|
26
26
|
import "./chunk-THHRRYRS.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-F5H5JZQZ.js";
|
|
28
28
|
import "./chunk-WIYFXWRI.js";
|
|
29
29
|
import {
|
|
30
30
|
SingleColumnPageSkeleton
|
|
31
31
|
} from "./chunk-INNFZYX2.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-YIZK67RW.js";
|
|
33
33
|
import "./chunk-F4OJN2F2.js";
|
|
34
34
|
import "./chunk-LRARA622.js";
|
|
35
35
|
import "./chunk-M6N4ISXL.js";
|
|
36
36
|
import "./chunk-S7EKBD2C.js";
|
|
37
37
|
import "./chunk-VXMOPVRH.js";
|
|
38
38
|
import "./chunk-VV6IKGCN.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-VIJRMTAH.js";
|
|
40
40
|
import "./chunk-BOZJOOGW.js";
|
|
41
41
|
import "./chunk-LWJF63JW.js";
|
|
42
42
|
import "./chunk-T6LHVNWO.js";
|
|
@@ -48,11 +48,11 @@ import {
|
|
|
48
48
|
collectionsQueryKeys,
|
|
49
49
|
useCollection,
|
|
50
50
|
useUpdateCollectionProducts
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZDQSWX6W.js";
|
|
52
52
|
import "./chunk-VXWN37PT.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-NJZQGGY3.js";
|
|
54
54
|
import "./chunk-NBPMNUKZ.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-L2SUH6H5.js";
|
|
56
56
|
import "./chunk-3B34B2M2.js";
|
|
57
57
|
import {
|
|
58
58
|
ActionMenu
|
|
@@ -61,7 +61,7 @@ import "./chunk-LAVHRER2.js";
|
|
|
61
61
|
import "./chunk-Y7QKP6QU.js";
|
|
62
62
|
import {
|
|
63
63
|
useProducts
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ZNG4GXMP.js";
|
|
65
65
|
import "./chunk-A5DJIOHN.js";
|
|
66
66
|
import {
|
|
67
67
|
queryClient
|