@mercurjs/admin 2.2.0-canary.50 → 2.2.0-canary.53
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-QQUFYFRH.js → add-campaign-promotions-RH5L6VMH.js} +6 -6
- package/dist/{api-key-management-detail-O6KKT7V2.js → api-key-management-detail-2RZ6NOYH.js} +3 -3
- package/dist/{api-key-management-list-QVYDHEZQ.js → api-key-management-list-CGHUURWX.js} +5 -5
- package/dist/{api-key-management-sales-channels-W5NFP6EW.js → api-key-management-sales-channels-VJMUPYV3.js} +2 -2
- package/dist/{attribute-detail-LWKL6UMS.js → attribute-detail-6FMX7IDW.js} +8 -8
- package/dist/{attribute-list-QUSXFHRZ.js → attribute-list-PJXWYS4C.js} +5 -5
- package/dist/{campaign-detail-PF3LUUZU.js → campaign-detail-3PNOOUGP.js} +8 -8
- package/dist/{campaign-list-YXZ5GE7I.js → campaign-list-TNJDWTM5.js} +5 -5
- package/dist/{category-detail-NQIXS2WH.js → category-detail-KVGWGOXO.js} +7 -7
- package/dist/{category-list-5XGK4PEB.js → category-list-D4J4G6HW.js} +5 -5
- package/dist/{category-products-SX6CH3ZZ.js → category-products-3Z7IEXQX.js} +5 -5
- package/dist/{chunk-OPE24DZA.js → chunk-3FKB6UTO.js} +1 -1
- package/dist/{chunk-PEUWV5YK.js → chunk-3GOUKEPE.js} +22 -8
- package/dist/{chunk-3RRHQY24.js → chunk-3KS7PC2Z.js} +4 -4
- package/dist/{chunk-Y6C2YIKD.js → chunk-3LDOWS4A.js} +1 -1
- package/dist/{chunk-KL4DBMVO.js → chunk-3VMIKSCF.js} +5 -5
- package/dist/{chunk-EQGJGBA5.js → chunk-3WCK2FT4.js} +2 -2
- package/dist/{chunk-XJQ4MWBR.js → chunk-4CF6MCTB.js} +2 -2
- package/dist/{chunk-ZCQMFJ4X.js → chunk-4DJL3XN7.js} +5 -5
- package/dist/{chunk-M5BZBKA3.js → chunk-4QQ6BFWQ.js} +1 -1
- package/dist/{chunk-K2JORJRZ.js → chunk-4TW5RTWO.js} +2 -2
- package/dist/{chunk-BFUHW56P.js → chunk-5NC3VFXY.js} +1 -1
- package/dist/{chunk-N2CMOV3N.js → chunk-67KYEPSA.js} +1 -1
- package/dist/{chunk-2SMBVF6F.js → chunk-6DDS7IRR.js} +4 -4
- package/dist/{chunk-4XGFT4RZ.js → chunk-6FZYSGM6.js} +6 -6
- package/dist/{chunk-AO3P27WX.js → chunk-6R767EBC.js} +1 -1
- package/dist/{chunk-FIWEITDG.js → chunk-6TMGHMZ2.js} +4 -4
- package/dist/{chunk-YPM6XXSO.js → chunk-7KLIV4DG.js} +5 -5
- package/dist/{chunk-PAYQJPGK.js → chunk-7PPT3477.js} +2 -2
- package/dist/{chunk-MBHP7XGQ.js → chunk-AW5OKJQZ.js} +1 -1
- package/dist/{chunk-WNBV2NBG.js → chunk-BBD4WOUK.js} +2 -2
- package/dist/{chunk-2GHNKPYY.js → chunk-BHSY6RCN.js} +4 -4
- package/dist/{chunk-6PGIRZA6.js → chunk-CKWG7MDV.js} +3 -3
- package/dist/{chunk-O6KUSG6F.js → chunk-CLDUJCYN.js} +5 -5
- package/dist/{chunk-VHOCBKSA.js → chunk-D74PZCTO.js} +1 -1
- package/dist/{chunk-PFD4SHVF.js → chunk-DPBZDNIP.js} +9 -7
- package/dist/{chunk-2CHED2KM.js → chunk-EFUP5XI6.js} +3 -3
- package/dist/{chunk-Z7XMG6DA.js → chunk-EQV3YDNF.js} +7 -8
- package/dist/{chunk-CQKCZECQ.js → chunk-F6DGTW4E.js} +1 -1
- package/dist/{chunk-WV4SPFOD.js → chunk-G67PGZDM.js} +2 -2
- package/dist/{chunk-6ZVV2XHU.js → chunk-GRFWCCUW.js} +1 -1
- package/dist/{chunk-ESC6LVVC.js → chunk-H3D6V3KM.js} +1 -1
- package/dist/{chunk-I3RIVWBQ.js → chunk-HC7FWIMY.js} +4 -4
- package/dist/{chunk-GLWJ5J3F.js → chunk-HSSKMCXJ.js} +2 -2
- package/dist/{chunk-YL7CBNVF.js → chunk-I5FOWDOM.js} +4 -4
- package/dist/{chunk-IJ2CSCLP.js → chunk-JSI7IOMU.js} +3 -3
- package/dist/{chunk-J772X4Q3.js → chunk-KT7CXVLT.js} +4 -4
- package/dist/{chunk-B3IK3FNO.js → chunk-MEDZM6N7.js} +4 -4
- package/dist/{chunk-KQVRWXAL.js → chunk-MPRW23TB.js} +2 -2
- package/dist/{chunk-VVJPSCBO.js → chunk-MUKW4VRI.js} +4 -4
- package/dist/{chunk-JPFPQWNT.js → chunk-NM7UMMTI.js} +5 -5
- package/dist/{chunk-26PTCTT3.js → chunk-OSDDXAP2.js} +5 -5
- package/dist/{chunk-L6D7AGRF.js → chunk-OX6HZPVY.js} +4 -4
- package/dist/{chunk-ZVPTNPLI.js → chunk-P3GGL5JL.js} +1 -1
- package/dist/{chunk-VU6KTPOZ.js → chunk-PDID73QY.js} +539 -537
- package/dist/{chunk-MVRIYUOU.js → chunk-PPRIEP4H.js} +4 -4
- package/dist/{chunk-3WOU2BB5.js → chunk-Q5DRFJPI.js} +4 -4
- package/dist/{chunk-5WTNXDRM.js → chunk-QXJFQDMJ.js} +5 -5
- package/dist/{chunk-Q2CJGCIA.js → chunk-R2LW5LGL.js} +1 -1
- package/dist/{chunk-TVTI7RG5.js → chunk-RX4VERJZ.js} +5 -5
- package/dist/{chunk-SHFF3Y5U.js → chunk-RYISNVIR.js} +4 -4
- package/dist/{chunk-5NSOIZFB.js → chunk-S4IDR46L.js} +3 -3
- package/dist/{chunk-IOAB3VND.js → chunk-SLAWONP2.js} +4 -4
- package/dist/{chunk-OAGTPKC5.js → chunk-TIG77LHS.js} +1 -1
- package/dist/{chunk-YBVXGODN.js → chunk-UVH7PC5B.js} +4 -4
- package/dist/{chunk-KA3BALYJ.js → chunk-VB7LMHAF.js} +5 -5
- package/dist/{chunk-GT5A4XN2.js → chunk-VX6OCQLN.js} +4 -4
- package/dist/{chunk-THMINQBZ.js → chunk-WF2PHYTE.js} +4 -4
- package/dist/{chunk-NASXWD7N.js → chunk-WTVSHPKP.js} +2 -2
- package/dist/{chunk-MJTFEVGB.js → chunk-X4SSIHH7.js} +4 -4
- package/dist/{chunk-NI4FAFNL.js → chunk-XDMCPTDG.js} +90 -65
- package/dist/{chunk-OTGABFC4.js → chunk-XNUH2AOW.js} +4 -4
- package/dist/{chunk-NPUD4G37.js → chunk-XXV6ZSWY.js} +1 -1
- package/dist/{chunk-GWW6MPYK.js → chunk-YLQ63F5E.js} +4 -4
- package/dist/{chunk-7MYE6VFQ.js → chunk-YNR25MNM.js} +4 -4
- package/dist/{collection-add-products-TRY52HYQ.js → collection-add-products-LULJ6HVD.js} +5 -5
- package/dist/{collection-detail-MQ7ZH6OT.js → collection-detail-WEZP4V3E.js} +7 -7
- package/dist/{collection-list-YMCTIJ52.js → collection-list-KBONBULB.js} +8 -8
- package/dist/{commissions-list-56S53CQ4.js → commissions-list-SGVCP2O4.js} +5 -5
- package/dist/{customer-detail-VIWHZUOZ.js → customer-detail-3KIDRBLW.js} +5 -5
- package/dist/{customer-group-add-customers-VKUSW6AS.js → customer-group-add-customers-LKFLDXVO.js} +3 -3
- package/dist/{customer-group-detail-JVULZZTT.js → customer-group-detail-KWHS7V6F.js} +5 -5
- package/dist/{customer-group-list-SKODEZKB.js → customer-group-list-3FCJBXFY.js} +5 -5
- package/dist/{customer-list-LYDL4IEG.js → customer-list-JT6YE2IW.js} +5 -5
- package/dist/{customers-add-customer-group-FXRUE5SD.js → customers-add-customer-group-IAGH6MJJ.js} +3 -3
- package/dist/extension-targets.d.ts +7 -1
- package/dist/index.css +3 -3
- package/dist/index.js +121 -121
- package/dist/{inventory-detail-J7NMO7EZ.js → inventory-detail-LHWQTJ7S.js} +5 -5
- package/dist/{inventory-list-XBDJ7BHE.js → inventory-list-Q2CCGYI5.js} +5 -5
- package/dist/{location-detail-DTBVSZBJ.js → location-detail-ZRLP4XVJ.js} +2 -2
- package/dist/{location-fulfillment-providers-P5U5K4NO.js → location-fulfillment-providers-CL7PKPTT.js} +6 -6
- package/dist/{location-list-LH27WJBT.js → location-list-HW5F37YZ.js} +2 -2
- package/dist/{location-sales-channels-PRQUBZIV.js → location-sales-channels-Z4E5VA7M.js} +2 -2
- package/dist/{location-service-zone-create-O6GYRZEE.js → location-service-zone-create-WZXZFMA2.js} +4 -4
- package/dist/{location-service-zone-manage-areas-DBP3P27I.js → location-service-zone-manage-areas-5SYZKBQK.js} +4 -4
- package/dist/{marketplace-add-currencies-IPE5RJF6.js → marketplace-add-currencies-ZBLGQQCX.js} +3 -3
- package/dist/{marketplace-detail-VNCNRAE4.js → marketplace-detail-RZWOCVGF.js} +5 -5
- package/dist/{offer-detail-page-KQMSZLQN.js → offer-detail-page-XS52BE5U.js} +7 -7
- package/dist/{offer-variant-detail-page-GESVAA2S.js → offer-variant-detail-page-QQGOMRUY.js} +4 -4
- package/dist/{offers-NW24IATZ.js → offers-UUFYROYV.js} +7 -7
- package/dist/{order-create-claim-Y7ESDXLI.js → order-create-claim-AG3GMAE2.js} +5 -5
- package/dist/{order-create-edit-CAKL6MJQ.js → order-create-edit-N3TDQQIT.js} +5 -5
- package/dist/{order-create-exchange-QGSECB7D.js → order-create-exchange-ZCQBC54O.js} +5 -5
- package/dist/{order-create-return-R5WJBQ5W.js → order-create-return-VUHKWVQM.js} +5 -5
- package/dist/{order-detail-DGZXN7IQ.js → order-detail-CTZELMAQ.js} +4 -4
- package/dist/{order-edit-billing-address-ZAQ3FPRT.js → order-edit-billing-address-S4YOG2EE.js} +1 -1
- package/dist/{order-list-6LIYSO2R.js → order-list-D6RWIRDG.js} +8 -8
- package/dist/pages/index.js +67 -67
- package/dist/{payout-list-VUJKOAOJ.js → payout-list-WE3H7FKO.js} +5 -5
- package/dist/{price-list-configuration-DYFBYDQE.js → price-list-configuration-4UNGTKCM.js} +4 -4
- package/dist/{price-list-create-U2DMHUQE.js → price-list-create-6XVYEUCA.js} +7 -7
- package/dist/{price-list-detail-CAK3AFSU.js → price-list-detail-PBMKVUIE.js} +7 -7
- package/dist/{price-list-list-PJIIPQOF.js → price-list-list-EM3TNZQG.js} +5 -5
- package/dist/{price-list-prices-add-6TO5RTTD.js → price-list-prices-add-MZXRSG77.js} +6 -6
- package/dist/{product-create-KCMW6PCB.js → product-create-3PZNLIDT.js} +10 -4
- package/dist/{product-detail-A6DZWYEL.js → product-detail-IVRD2OHL.js} +6 -6
- package/dist/{product-edit-KMK7CMLI.js → product-edit-HCJYIONN.js} +3 -5
- package/dist/{product-list-CIHKL6N7.js → product-list-E3GWVLRE.js} +9 -10
- package/dist/{product-media-P57SRDNX.js → product-media-B5D2HUQF.js} +2 -2
- package/dist/{product-organization-QNCCL277.js → product-organization-5FUCDOGD.js} +1 -1
- package/dist/{product-sales-channels-GD7NYUP3.js → product-sales-channels-GUK6FTDA.js} +2 -2
- package/dist/{product-tag-detail-D54OKWUZ.js → product-tag-detail-RTRJYLTX.js} +8 -8
- package/dist/{product-tag-list-QNWZAU5G.js → product-tag-list-OTYBGV3W.js} +8 -8
- package/dist/{product-type-detail-TXZ6HTOV.js → product-type-detail-DTFOBWJ6.js} +7 -7
- package/dist/{product-type-list-OZILJZLG.js → product-type-list-AQ3GEAZX.js} +5 -5
- package/dist/{profile-detail-PFJX3LPX.js → profile-detail-H5QMV4F4.js} +1 -1
- package/dist/{profile-edit-O6Z3XJ4U.js → profile-edit-FQYTJKYW.js} +3 -1
- package/dist/{promotion-detail-H6S4JYYD.js → promotion-detail-N7JHJGSW.js} +4 -4
- package/dist/{promotion-list-A3V4W5DY.js → promotion-list-MIL2B752.js} +8 -8
- package/dist/{refund-reason-list-YYCNRERE.js → refund-reason-list-LLDTOBXO.js} +6 -6
- package/dist/{region-add-countries-UO5A42HM.js → region-add-countries-WIJCJPOX.js} +3 -3
- package/dist/{region-create-7NA6RKWS.js → region-create-B3I3W7QJ.js} +3 -3
- package/dist/{region-detail-VA4FGEKA.js → region-detail-3OFMBGML.js} +5 -5
- package/dist/{region-list-WU4LTP5Y.js → region-list-DD5S5BD2.js} +5 -5
- package/dist/{reservation-list-SGGW2MSN.js → reservation-list-EJPMH7UX.js} +5 -5
- package/dist/{reset-password-7KNQD6OM.js → reset-password-AZ2RPOG5.js} +1 -1
- package/dist/{return-reason-list-HMSZJDKI.js → return-reason-list-3YXRYEFA.js} +8 -8
- package/dist/{sales-channel-add-products-6TXYF3HM.js → sales-channel-add-products-4MJ7BSJQ.js} +5 -5
- package/dist/{sales-channel-detail-SYE4FUXD.js → sales-channel-detail-2NDESJPC.js} +7 -7
- package/dist/{sales-channel-list-4CNHLSBR.js → sales-channel-list-WBG6DUZJ.js} +3 -3
- package/dist/{shipping-option-type-list-7NSGG7ZI.js → shipping-option-type-list-7F5R6ACH.js} +5 -5
- package/dist/{shipping-profiles-list-AKSZ4O35.js → shipping-profiles-list-KXXYHJIY.js} +5 -5
- package/dist/{store-address-edit-M6A37RFY.js → store-address-edit-4SDHKPM7.js} +3 -1
- package/dist/{store-closure-edit-VE7D5F7I.js → store-closure-edit-DCLHOBDW.js} +3 -1
- package/dist/{store-details-45RPSTMU.js → store-details-Y3IF7R24.js} +8 -8
- package/dist/{store-edit-HABD7SAL.js → store-edit-33N7EQE2.js} +2 -2
- package/dist/{store-list-XZU26QTH.js → store-list-P6RDAS5M.js} +8 -8
- package/dist/{store-payment-details-edit-JUM745OG.js → store-payment-details-edit-KSD2S64U.js} +3 -1
- package/dist/{store-professional-details-edit-NKBYKBCA.js → store-professional-details-edit-BYQQX7FL.js} +3 -1
- package/dist/{tax-region-create-SKBBBZXJ.js → tax-region-create-7FXHJKVB.js} +1 -1
- package/dist/{tax-region-detail-UGD2KK2H.js → tax-region-detail-6AFMQQP7.js} +6 -6
- package/dist/{tax-region-list-GRZIXRD4.js → tax-region-list-IBT5YP3U.js} +4 -4
- package/dist/{tax-region-province-detail-LITAO6EZ.js → tax-region-province-detail-CBCYMSGF.js} +5 -5
- package/dist/{tax-region-tax-override-create-NCAWHUOU.js → tax-region-tax-override-create-UIF2BQFK.js} +7 -7
- package/dist/{tax-region-tax-override-edit-OOP7RQZR.js → tax-region-tax-override-edit-USEIJ2VG.js} +7 -7
- package/dist/{user-invite-FCWARLW5.js → user-invite-LSWNFFLT.js} +3 -3
- package/dist/{user-list-62A6ZMIX.js → user-list-B66HEMCD.js} +5 -5
- package/package.json +9 -9
- package/dist/{chunk-PEVS3GLB.js → chunk-5NAX6LXB.js} +3 -3
- package/dist/{chunk-7OKYEA6I.js → chunk-HC2TEEKQ.js} +3 -3
- package/dist/{product-add-existing-attributes-XIJB2NXI.js → product-add-existing-attributes-UVVJDOEN.js} +3 -3
|
@@ -10,7 +10,7 @@ var NoResults = ({ title, message, className }) => {
|
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
className: clx(
|
|
13
|
-
"flex h-[400px]
|
|
13
|
+
"flex min-h-[400px] size-full items-center justify-center",
|
|
14
14
|
className
|
|
15
15
|
),
|
|
16
16
|
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-y-2", children: [
|
|
@@ -40,7 +40,7 @@ var NoRecords = ({
|
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
className: clx(
|
|
43
|
-
"flex h-[400px]
|
|
43
|
+
"flex min-h-[400px] size-full flex-col items-center justify-center gap-y-4",
|
|
44
44
|
className
|
|
45
45
|
),
|
|
46
46
|
children: [
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
TaxOverrideTable,
|
|
3
3
|
TaxRateLine,
|
|
4
4
|
useTaxOverrideTable
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4QQ6BFWQ.js";
|
|
6
6
|
import {
|
|
7
7
|
TaxRegionTable,
|
|
8
8
|
useTaxRegionTable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P3GGL5JL.js";
|
|
10
10
|
import {
|
|
11
11
|
TaxRegionCard
|
|
12
12
|
} from "./chunk-KXWN75T2.js";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableQuery
|
|
6
6
|
} from "./chunk-3XOE4NV5.js";
|
|
7
|
-
import {
|
|
8
|
-
_DataTable,
|
|
9
|
-
useDataTable
|
|
10
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
11
7
|
import {
|
|
12
8
|
SingleColumnPage
|
|
13
9
|
} from "./chunk-H6MYB7GB.js";
|
|
10
|
+
import {
|
|
11
|
+
_DataTable,
|
|
12
|
+
useDataTable
|
|
13
|
+
} from "./chunk-GRFWCCUW.js";
|
|
14
14
|
import {
|
|
15
15
|
useDate
|
|
16
16
|
} from "./chunk-UZWFZMOX.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PriceListCustomerGroupRuleForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6DGTW4E.js";
|
|
4
4
|
import {
|
|
5
5
|
PriceListCreateProductsSchema,
|
|
6
6
|
PriceListRulesSchema,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-APMBU7ZV.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTableQuery
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-S4IDR46L.js";
|
|
23
23
|
import {
|
|
24
24
|
TabbedForm,
|
|
25
25
|
defineTabMeta,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
_DataTable,
|
|
42
42
|
useDataTable
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-GRFWCCUW.js";
|
|
44
44
|
import {
|
|
45
45
|
useCreatePriceList
|
|
46
46
|
} from "./chunk-G2LHEJLS.js";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-KOURHC2N.js";
|
|
7
7
|
import {
|
|
8
8
|
useCollectionTableQuery
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
_DataTable,
|
|
12
|
-
useDataTable
|
|
13
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
9
|
+
} from "./chunk-JSI7IOMU.js";
|
|
14
10
|
import {
|
|
15
11
|
SingleColumnPage
|
|
16
12
|
} from "./chunk-H6MYB7GB.js";
|
|
13
|
+
import {
|
|
14
|
+
_DataTable,
|
|
15
|
+
useDataTable
|
|
16
|
+
} from "./chunk-GRFWCCUW.js";
|
|
17
17
|
import {
|
|
18
18
|
useCollections,
|
|
19
19
|
useDeleteCollection
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
} from "./chunk-KOURHC2N.js";
|
|
4
4
|
import {
|
|
5
5
|
useSellersTableQuery
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JSI7IOMU.js";
|
|
7
7
|
import {
|
|
8
8
|
DateCell
|
|
9
9
|
} from "./chunk-25LYVP3C.js";
|
|
10
10
|
import {
|
|
11
11
|
StatusCell
|
|
12
12
|
} from "./chunk-DB6ANJBO.js";
|
|
13
|
-
import {
|
|
14
|
-
_DataTable,
|
|
15
|
-
useDataTable
|
|
16
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
17
13
|
import {
|
|
18
14
|
SingleColumnPage
|
|
19
15
|
} from "./chunk-H6MYB7GB.js";
|
|
20
16
|
import {
|
|
21
17
|
require_dist
|
|
22
18
|
} from "./chunk-VYSB4CTB.js";
|
|
19
|
+
import {
|
|
20
|
+
_DataTable,
|
|
21
|
+
useDataTable
|
|
22
|
+
} from "./chunk-GRFWCCUW.js";
|
|
23
23
|
import {
|
|
24
24
|
useSellers
|
|
25
25
|
} from "./chunk-SAU35JEB.js";
|
|
@@ -73,7 +73,7 @@ import { keepPreviousData } from "@tanstack/react-query";
|
|
|
73
73
|
import {
|
|
74
74
|
createColumnHelper as createColumnHelper2
|
|
75
75
|
} from "@tanstack/react-table";
|
|
76
|
-
import { useExtendableTable } from "@mercurjs/dashboard-shared";
|
|
76
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
77
77
|
|
|
78
78
|
// src/hooks/table/columns/use-seller-table-columns.tsx
|
|
79
79
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
@@ -151,9 +151,11 @@ var StoreListDataTable = () => {
|
|
|
151
151
|
const { searchParams, raw } = useSellersTableQuery({
|
|
152
152
|
pageSize: PAGE_SIZE
|
|
153
153
|
});
|
|
154
|
+
const linkQuery = useLinkQuery("seller");
|
|
154
155
|
const { sellers, count, isLoading } = useSellers(
|
|
155
156
|
{
|
|
156
|
-
...searchParams
|
|
157
|
+
...searchParams,
|
|
158
|
+
...linkQuery
|
|
157
159
|
},
|
|
158
160
|
{
|
|
159
161
|
placeholderData: keepPreviousData
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-HC25LNX7.js";
|
|
16
16
|
import {
|
|
17
17
|
useShippingOptionTableQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JSI7IOMU.js";
|
|
19
19
|
import {
|
|
20
20
|
useProductTypeTableQuery
|
|
21
21
|
} from "./chunk-VOHEQ7B5.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-APMBU7ZV.js";
|
|
34
34
|
import {
|
|
35
35
|
useProductTableQuery
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S4IDR46L.js";
|
|
37
37
|
import {
|
|
38
38
|
StackedDrawer,
|
|
39
39
|
StackedFocusModal
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
_DataTable,
|
|
43
43
|
useDataTable
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GRFWCCUW.js";
|
|
45
45
|
import {
|
|
46
46
|
useProductTypes
|
|
47
47
|
} from "./chunk-EWFOFSF7.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
TextCell,
|
|
22
22
|
TextHeader
|
|
23
23
|
} from "./chunk-JHIMVLB2.js";
|
|
24
|
-
import {
|
|
25
|
-
_DataTable,
|
|
26
|
-
useDataTable
|
|
27
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
28
24
|
import {
|
|
29
25
|
SingleColumnPage
|
|
30
26
|
} from "./chunk-H6MYB7GB.js";
|
|
27
|
+
import {
|
|
28
|
+
_DataTable,
|
|
29
|
+
useDataTable
|
|
30
|
+
} from "./chunk-GRFWCCUW.js";
|
|
31
31
|
import {
|
|
32
32
|
useOrderGroups
|
|
33
33
|
} from "./chunk-PYF5EER5.js";
|
|
@@ -74,8 +74,7 @@ import { keepPreviousData } from "@tanstack/react-query";
|
|
|
74
74
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
75
75
|
import {
|
|
76
76
|
useExtendableTable,
|
|
77
|
-
|
|
78
|
-
withLinkFields
|
|
77
|
+
useLinkQuery
|
|
79
78
|
} from "@mercurjs/dashboard-shared";
|
|
80
79
|
import { useMemo } from "react";
|
|
81
80
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
@@ -189,11 +188,11 @@ var OrderListDataTable = () => {
|
|
|
189
188
|
const { searchParams, raw } = useOrderTableQuery({
|
|
190
189
|
pageSize: PAGE_SIZE
|
|
191
190
|
});
|
|
192
|
-
const
|
|
191
|
+
const linkQuery = useLinkQuery("order", DEFAULT_FIELDS);
|
|
193
192
|
const { order_groups, count, isError, error, isLoading } = useOrderGroups(
|
|
194
193
|
{
|
|
195
194
|
...searchParams,
|
|
196
|
-
fields:
|
|
195
|
+
fields: linkQuery.fields
|
|
197
196
|
},
|
|
198
197
|
{
|
|
199
198
|
placeholderData: keepPreviousData
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RK5N3XIX.js";
|
|
4
4
|
import {
|
|
5
5
|
getPromotionStatus
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-67KYEPSA.js";
|
|
7
7
|
import {
|
|
8
8
|
formatPercentage
|
|
9
9
|
} from "./chunk-QDPLZDMX.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-E74OUNA3.js";
|
|
16
16
|
import {
|
|
17
17
|
NoRecords
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7PPT3477.js";
|
|
19
19
|
import {
|
|
20
20
|
useDeletePromotion,
|
|
21
21
|
usePromotion,
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
StatusCell
|
|
15
15
|
} from "./chunk-DB6ANJBO.js";
|
|
16
|
-
import {
|
|
17
|
-
_DataTable,
|
|
18
|
-
useDataTable
|
|
19
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
20
16
|
import {
|
|
21
17
|
SingleColumnPage
|
|
22
18
|
} from "./chunk-H6MYB7GB.js";
|
|
23
19
|
import {
|
|
24
20
|
useQueryParams
|
|
25
21
|
} from "./chunk-THHRRYRS.js";
|
|
22
|
+
import {
|
|
23
|
+
_DataTable,
|
|
24
|
+
useDataTable
|
|
25
|
+
} from "./chunk-GRFWCCUW.js";
|
|
26
26
|
import {
|
|
27
27
|
useApiKeys,
|
|
28
28
|
useDeleteApiKey,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
} from "./chunk-APMBU7ZV.js";
|
|
19
19
|
import {
|
|
20
20
|
useProductTableQuery
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S4IDR46L.js";
|
|
22
22
|
import {
|
|
23
23
|
TwoColumnPage
|
|
24
24
|
} from "./chunk-E74OUNA3.js";
|
|
25
25
|
import {
|
|
26
26
|
_DataTable,
|
|
27
27
|
useDataTable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GRFWCCUW.js";
|
|
29
29
|
import {
|
|
30
30
|
usePriceList,
|
|
31
31
|
usePriceListLinkProducts
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
SectionRow
|
|
17
17
|
} from "./chunk-3XPXUIK3.js";
|
|
18
|
-
import {
|
|
19
|
-
_DataTable,
|
|
20
|
-
useDataTable
|
|
21
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
22
18
|
import {
|
|
23
19
|
SingleColumnPage
|
|
24
20
|
} from "./chunk-H6MYB7GB.js";
|
|
21
|
+
import {
|
|
22
|
+
_DataTable,
|
|
23
|
+
useDataTable
|
|
24
|
+
} from "./chunk-GRFWCCUW.js";
|
|
25
25
|
import {
|
|
26
26
|
useDeleteRegion,
|
|
27
27
|
useRegion,
|
|
@@ -105,7 +105,7 @@ var useReturnReasonTableQuery = ({
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
// src/hooks/table/query/use-sellers-table-query.tsx
|
|
108
|
-
import {
|
|
108
|
+
import { useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
109
109
|
var import_types = __toESM(require_dist(), 1);
|
|
110
110
|
var ACTIVE_STATUSES = [
|
|
111
111
|
import_types.SellerStatus.OPEN,
|
|
@@ -116,7 +116,7 @@ var useSellersTableQuery = ({
|
|
|
116
116
|
prefix,
|
|
117
117
|
pageSize = 20
|
|
118
118
|
}) => {
|
|
119
|
-
const
|
|
119
|
+
const linkQuery = useLinkQuery("seller");
|
|
120
120
|
const queryObject = useQueryParams(
|
|
121
121
|
["offset", "q", "created_at", "updated_at", "status", "is_premium", "order"],
|
|
122
122
|
prefix
|
|
@@ -131,7 +131,7 @@ var useSellersTableQuery = ({
|
|
|
131
131
|
is_premium: is_premium ? is_premium === "true" : void 0,
|
|
132
132
|
q,
|
|
133
133
|
order: order ? order : "-created_at",
|
|
134
|
-
...
|
|
134
|
+
...linkQuery
|
|
135
135
|
};
|
|
136
136
|
return {
|
|
137
137
|
searchParams,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
usePayoutTableQuery
|
|
6
6
|
} from "./chunk-GR6JUIRU.js";
|
|
7
|
-
import {
|
|
8
|
-
_DataTable,
|
|
9
|
-
useDataTable
|
|
10
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
11
7
|
import {
|
|
12
8
|
SingleColumnPage
|
|
13
9
|
} from "./chunk-H6MYB7GB.js";
|
|
10
|
+
import {
|
|
11
|
+
_DataTable,
|
|
12
|
+
useDataTable
|
|
13
|
+
} from "./chunk-GRFWCCUW.js";
|
|
14
14
|
import {
|
|
15
15
|
usePayouts
|
|
16
16
|
} from "./chunk-L7DIEO5B.js";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
PlaceholderCell
|
|
6
6
|
} from "./chunk-PHOCVOZ5.js";
|
|
7
|
-
import {
|
|
8
|
-
_DataTable,
|
|
9
|
-
useDataTable
|
|
10
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
11
7
|
import {
|
|
12
8
|
SingleColumnPage
|
|
13
9
|
} from "./chunk-H6MYB7GB.js";
|
|
14
10
|
import {
|
|
15
11
|
useQueryParams
|
|
16
12
|
} from "./chunk-THHRRYRS.js";
|
|
13
|
+
import {
|
|
14
|
+
_DataTable,
|
|
15
|
+
useDataTable
|
|
16
|
+
} from "./chunk-GRFWCCUW.js";
|
|
17
17
|
import {
|
|
18
18
|
useStockLocations
|
|
19
19
|
} from "./chunk-VXW3BCN2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TIG77LHS.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
7
|
} from "./chunk-S2WEYEQR.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
_DataTable,
|
|
19
19
|
useDataTable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GRFWCCUW.js";
|
|
21
21
|
import {
|
|
22
22
|
useAddOrRemoveCampaignPromotions,
|
|
23
23
|
useCampaign,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
StatusCell
|
|
7
7
|
} from "./chunk-DB6ANJBO.js";
|
|
8
|
-
import {
|
|
9
|
-
_DataTable,
|
|
10
|
-
useDataTable
|
|
11
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
12
8
|
import {
|
|
13
9
|
SingleColumnPage
|
|
14
10
|
} from "./chunk-H6MYB7GB.js";
|
|
11
|
+
import {
|
|
12
|
+
_DataTable,
|
|
13
|
+
useDataTable
|
|
14
|
+
} from "./chunk-GRFWCCUW.js";
|
|
15
15
|
import {
|
|
16
16
|
useCurrencies
|
|
17
17
|
} from "./chunk-MO7TNIVQ.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./chunk-RQQ53CQJ.js";
|
|
8
8
|
import {
|
|
9
9
|
useReturnReasonTableQuery
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
_DataTable,
|
|
13
|
-
useDataTable
|
|
14
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
10
|
+
} from "./chunk-JSI7IOMU.js";
|
|
15
11
|
import {
|
|
16
12
|
SingleColumnPage
|
|
17
13
|
} from "./chunk-H6MYB7GB.js";
|
|
14
|
+
import {
|
|
15
|
+
_DataTable,
|
|
16
|
+
useDataTable
|
|
17
|
+
} from "./chunk-GRFWCCUW.js";
|
|
18
18
|
import {
|
|
19
19
|
ActionMenu
|
|
20
20
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-APMBU7ZV.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableQuery
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
_DataTable,
|
|
12
|
-
useDataTable
|
|
13
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
9
|
+
} from "./chunk-S4IDR46L.js";
|
|
14
10
|
import {
|
|
15
11
|
SingleColumnPage
|
|
16
12
|
} from "./chunk-H6MYB7GB.js";
|
|
13
|
+
import {
|
|
14
|
+
_DataTable,
|
|
15
|
+
useDataTable
|
|
16
|
+
} from "./chunk-GRFWCCUW.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
useCampaignTableQuery
|
|
6
6
|
} from "./chunk-DY3XQPHC.js";
|
|
7
|
-
import {
|
|
8
|
-
_DataTable,
|
|
9
|
-
useDataTable
|
|
10
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
11
7
|
import {
|
|
12
8
|
SingleColumnPage
|
|
13
9
|
} from "./chunk-H6MYB7GB.js";
|
|
10
|
+
import {
|
|
11
|
+
_DataTable,
|
|
12
|
+
useDataTable
|
|
13
|
+
} from "./chunk-GRFWCCUW.js";
|
|
14
14
|
import {
|
|
15
15
|
useCampaigns,
|
|
16
16
|
useDeleteCampaign
|