@mercurjs/admin 2.3.6-canary.1 → 2.3.6-canary.3
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-PBGDZSCD.js → add-campaign-promotions-6OB7BUPK.js} +3 -3
- package/dist/{adjust-inventory-BBAU3NMM.js → adjust-inventory-32UZ4BZC.js} +2 -2
- package/dist/{api-key-management-detail-ZGGQBQAM.js → api-key-management-detail-P5C3F2D7.js} +4 -4
- package/dist/{api-key-management-list-T2WHT6MT.js → api-key-management-list-XV66E2LA.js} +1 -1
- package/dist/{attribute-create-C435ZHB2.js → attribute-create-KZL64Q2I.js} +4 -4
- package/dist/{attribute-detail-SPYDB3I5.js → attribute-detail-TZHGDTPU.js} +3 -3
- package/dist/{attribute-edit-AAEAOP5B.js → attribute-edit-FAUQ4PBC.js} +2 -2
- package/dist/{attribute-edit-possible-value-BJSQCTNO.js → attribute-edit-possible-value-5LAIVV3F.js} +2 -2
- package/dist/{attribute-list-SCFBKH4L.js → attribute-list-FLTRNSFI.js} +3 -3
- package/dist/{campaign-detail-BHRCOKL3.js → campaign-detail-4IEM5BGI.js} +6 -6
- package/dist/{campaign-list-GIMU2QVW.js → campaign-list-ZRUBHJEA.js} +1 -1
- package/dist/{categories-metadata-MJAYSCTW.js → categories-metadata-6F6EFZRQ.js} +2 -2
- package/dist/{category-detail-GVEDFNM7.js → category-detail-3BENYEEV.js} +7 -7
- package/dist/{category-list-J7XYQDJU.js → category-list-LESUC6ZK.js} +1 -1
- package/dist/{category-products-VVF5NXCE.js → category-products-WBUZKCGK.js} +6 -6
- package/dist/{chunk-A2UTT4YX.js → chunk-3VXLG534.js} +15 -3
- package/dist/{chunk-VVIJHBKM.js → chunk-3ZP5MS7X.js} +1 -1
- package/dist/{chunk-RW3NEG36.js → chunk-5CKBM4RI.js} +3 -3
- package/dist/{chunk-F5EZQMOA.js → chunk-5VHQX7Q3.js} +1 -1
- package/dist/{chunk-D7E6HL5O.js → chunk-5VUD6GLH.js} +3 -3
- package/dist/{chunk-2NOIR4BR.js → chunk-62YRQVR7.js} +4 -1
- package/dist/{chunk-7YBZ2PEZ.js → chunk-6B7JRM4O.js} +16 -4
- package/dist/{chunk-KWFSBUD6.js → chunk-6NE74AWG.js} +31 -0
- package/dist/{chunk-HFM6N7R3.js → chunk-6VALJTY5.js} +2 -2
- package/dist/{chunk-XMIDY45X.js → chunk-6XWEHX6S.js} +1 -1
- package/dist/{chunk-6ASLWQB3.js → chunk-7C7YLUYT.js} +1 -1
- package/dist/{chunk-5TIADRZ7.js → chunk-7QGENT7M.js} +2 -2
- package/dist/{chunk-EJGGX3ON.js → chunk-AMIZLBQB.js} +4 -4
- package/dist/{chunk-VE5FQQTG.js → chunk-BO2YPNLL.js} +2 -2
- package/dist/{chunk-NCDKLTDP.js → chunk-BVQWRKWQ.js} +3 -3
- package/dist/{chunk-7I7G5ZJE.js → chunk-C7Q6NVML.js} +2 -2
- package/dist/{chunk-BQZ5P3IA.js → chunk-CMQIUU7E.js} +3 -3
- package/dist/{chunk-6P7HBAUM.js → chunk-CRUBTRDS.js} +2 -2
- package/dist/{chunk-6AQYZWOC.js → chunk-CVGAZ5BV.js} +2 -2
- package/dist/{chunk-VWPX7GLC.js → chunk-DBGBLXBS.js} +1 -1
- package/dist/{chunk-P2KYQNXQ.js → chunk-DDZPK7BW.js} +2 -2
- package/dist/{chunk-BLU2WLIJ.js → chunk-DJ73BQSS.js} +1 -1
- package/dist/{chunk-D6WRJZPH.js → chunk-DOEBGZMA.js} +1 -1
- package/dist/{chunk-J34YB5R4.js → chunk-FCOYAYQE.js} +1 -1
- package/dist/{chunk-Q732RWRD.js → chunk-FS4E6GS6.js} +2 -2
- package/dist/{chunk-F644YFJZ.js → chunk-G7444ISU.js} +2 -2
- package/dist/{chunk-KTO2WJ75.js → chunk-GDFMWKL6.js} +1 -1
- package/dist/{chunk-R2ODJ3D3.js → chunk-HNGLIK4L.js} +3 -3
- package/dist/{chunk-ENKVW7JW.js → chunk-HXN62V4D.js} +1 -1
- package/dist/{chunk-4FAYO6UJ.js → chunk-IFG5ONPV.js} +1 -1
- package/dist/{chunk-M336ZIRO.js → chunk-IHTYHAOC.js} +2 -2
- package/dist/{chunk-AOLP2YDZ.js → chunk-IKDIEJZC.js} +1 -1
- package/dist/{chunk-NQEXDESI.js → chunk-IM76ZTV3.js} +3 -3
- package/dist/{chunk-3XS5ADKJ.js → chunk-JCRDVMIA.js} +2 -2
- package/dist/{chunk-W62DN2I2.js → chunk-KJRMIQIM.js} +1 -1
- package/dist/{chunk-3KRUGI6C.js → chunk-KTIPUH4U.js} +1 -1
- package/dist/{chunk-IHCKU5FR.js → chunk-KYVPZH3D.js} +1 -1
- package/dist/{chunk-B6KT5U7W.js → chunk-LKGHOFVI.js} +2 -2
- package/dist/{chunk-6UYV7B42.js → chunk-LRCOT3ZW.js} +4 -4
- package/dist/{chunk-MM5RRCPX.js → chunk-O5JSNJS4.js} +1 -1
- package/dist/{chunk-B7QLJF77.js → chunk-OZKHBVDV.js} +1 -1
- package/dist/{chunk-ESNSDIEC.js → chunk-PDPCFFFH.js} +1 -1
- package/dist/{chunk-QEBISX7V.js → chunk-PZ3S3WMH.js} +1 -1
- package/dist/{chunk-G2KWNZV6.js → chunk-S5TXU543.js} +2 -2
- package/dist/{chunk-5SNW2DCY.js → chunk-TJ6J4P3D.js} +1 -1
- package/dist/{chunk-YUL4ES52.js → chunk-TOBCVHYC.js} +2 -2
- package/dist/{chunk-OWWE5Y6T.js → chunk-UQFMNQEQ.js} +2 -2
- package/dist/chunk-USY2322P.js +17 -0
- package/dist/{chunk-RSDTHO3I.js → chunk-V6UH5UQT.js} +1 -1
- package/dist/{chunk-437KXVGO.js → chunk-VC2GAWL4.js} +1 -1
- package/dist/{chunk-MXM5ZD4Y.js → chunk-W5U6NPSN.js} +10 -25
- package/dist/{chunk-PAG3PYAQ.js → chunk-WA3UZTKD.js} +1 -1
- package/dist/{chunk-JBT2FR4K.js → chunk-XABVCD7R.js} +1 -1
- package/dist/{chunk-GFHUI2QK.js → chunk-XAF7FKWZ.js} +1 -1
- package/dist/{chunk-5ENOJFDI.js → chunk-XAQLGDAI.js} +1 -1
- package/dist/{chunk-475XGX3J.js → chunk-XGB456O5.js} +1 -1
- package/dist/{chunk-M6X7KIBW.js → chunk-YHWDMARX.js} +1 -1
- package/dist/{chunk-VBHKRUON.js → chunk-ZGNLAPV6.js} +1 -1
- package/dist/{chunk-Q6M2TNLO.js → chunk-ZPHVFD4N.js} +21 -290
- package/dist/{collection-add-products-HCY2YT3W.js → collection-add-products-XYGBMTIK.js} +6 -6
- package/dist/{collection-detail-QAEPOJZX.js → collection-detail-3TH3X47O.js} +7 -7
- package/dist/{collection-list-AWLZYMWL.js → collection-list-LL62Z4IJ.js} +6 -6
- package/dist/{collection-metadata-XM2EBCWF.js → collection-metadata-QUMWZABV.js} +2 -2
- package/dist/{commissions-list-MUKIEJWZ.js → commissions-list-PQUFPRZK.js} +1 -1
- package/dist/{customer-detail-XO7RBVUC.js → customer-detail-ZYETGMFF.js} +2 -2
- package/dist/{customer-group-detail-4G53UKOS.js → customer-group-detail-RPDRZGPZ.js} +2 -2
- package/dist/{customer-group-list-5VA7HGD5.js → customer-group-list-MZ7H4XLD.js} +3 -3
- package/dist/{customer-group-metadata-FUJFFWCO.js → customer-group-metadata-UQ2SCLOK.js} +2 -2
- package/dist/{customer-list-NEPELR3R.js → customer-list-46W5PJR3.js} +1 -1
- package/dist/{customer-metadata-GWZC456X.js → customer-metadata-UEQSIGLT.js} +2 -2
- package/dist/{customers-add-customer-group-MYC76YGW.js → customers-add-customer-group-AZYAIQ7E.js} +2 -2
- package/dist/{edit-inventory-item-ZSV4WF6G.js → edit-inventory-item-ENA2OFSQ.js} +2 -2
- package/dist/{edit-inventory-item-attributes-NWSAQMKX.js → edit-inventory-item-attributes-Z26UDTSH.js} +2 -2
- package/dist/{edit-rules-RJC3AYJN.js → edit-rules-3DCWA5UF.js} +2 -2
- package/dist/extension-targets.d.ts +2 -0
- package/dist/index.css +223 -9
- package/dist/index.d.ts +3 -5
- package/dist/index.js +708 -1100
- package/dist/{inventory-detail-7HB5QEL4.js → inventory-detail-MMONC625.js} +2 -2
- package/dist/{inventory-metadata-FGHOW3YG.js → inventory-metadata-OGS7JMZ5.js} +2 -2
- package/dist/{inventory-stock-PZ2ENOGF.js → inventory-stock-LDBJQCJF.js} +2 -2
- package/dist/{location-detail-B2BWLVAD.js → location-detail-74247BA4.js} +2 -2
- package/dist/{location-fulfillment-providers-XIYMIEFN.js → location-fulfillment-providers-VHQNRTJA.js} +4 -4
- package/dist/{location-list-VIAP63HV.js → location-list-JJN42JSH.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-6O2JXV6I.js → location-service-zone-shipping-option-create-RYAIECRU.js} +2 -2
- package/dist/{login-TZHRVYA5.js → login-2NBVRH4U.js} +2 -2
- package/dist/{manage-locations-ZFIRHMNH.js → manage-locations-TCMY6A4J.js} +145 -34
- package/dist/{marketplace-detail-4IP5HIEW.js → marketplace-detail-JSUMZVZS.js} +2 -2
- package/dist/{marketplace-metadata-EGDXYKCE.js → marketplace-metadata-2TZTRDRJ.js} +2 -2
- package/dist/{offer-detail-page-WWEUCEFC.js → offer-detail-page-JGS52M66.js} +14 -2
- package/dist/{offers-VG334CFD.js → offers-W4HF7NX7.js} +5 -5
- package/dist/{order-create-exchange-CC7CQECO.js → order-create-exchange-CBQ5PA6M.js} +2 -2
- package/dist/{order-create-refund-FJLL4CUD.js → order-create-refund-ZWMXQGUA.js} +2 -2
- package/dist/{order-detail-3ODC5NOT.js → order-detail-U3HDRBBG.js} +4 -4
- package/dist/{order-edit-billing-address-SBVWRA25.js → order-edit-billing-address-V6QS5DYF.js} +3 -3
- package/dist/{order-edit-email-BREEW246.js → order-edit-email-AGJU7YHU.js} +2 -2
- package/dist/{order-edit-shipping-address-XUG74AFY.js → order-edit-shipping-address-TKLEEHOE.js} +2 -2
- package/dist/{order-list-I6JZT6JK.js → order-list-FAP6DRYP.js} +2 -2
- package/dist/{order-metadata-VIG5MGYV.js → order-metadata-NVC3A3A5.js} +2 -2
- package/dist/{order-request-transfer-RYVK4WYW.js → order-request-transfer-7EZX5UOQ.js} +2 -2
- package/dist/pages/index.js +57 -56
- package/dist/{price-list-create-JFXLTNOJ.js → price-list-create-MQOWTNPB.js} +6 -6
- package/dist/{price-list-detail-5YTX66KF.js → price-list-detail-WOHIMYK5.js} +6 -6
- package/dist/{price-list-list-5CNSLAUF.js → price-list-list-AM2GMQ7P.js} +1 -1
- package/dist/{price-list-prices-add-HVTEQOWQ.js → price-list-prices-add-U6WRO6YD.js} +6 -6
- package/dist/{price-list-prices-edit-OVHIDATP.js → price-list-prices-edit-S4V5ACN3.js} +2 -2
- package/dist/{product-add-existing-attributes-2UFTXE2N.js → product-add-existing-attributes-VH5YF27I.js} +4 -4
- package/dist/{product-create-SHIGHLQN.js → product-create-HIPOU56R.js} +7 -6
- package/dist/{product-create-attribute-QYRCPUFC.js → product-create-attribute-CJF6JROA.js} +1 -1
- package/dist/{product-create-variant-MZLHG5JF.js → product-create-variant-TZSSAMR5.js} +3 -3
- package/dist/{product-detail-UGSTCK7J.js → product-detail-A6QXISZB.js} +4 -4
- package/dist/{product-edit-2CMVTDWT.js → product-edit-TAVV5CWR.js} +8 -3
- package/dist/{product-list-XDJB3HX7.js → product-list-P36GYG5T.js} +7 -7
- package/dist/{product-media-CO3F57JT.js → product-media-C2IYU2KA.js} +3 -3
- package/dist/{product-metadata-5CRGB7TR.js → product-metadata-GKQUURAL.js} +2 -2
- package/dist/{product-organization-TNS7GBKN.js → product-organization-3PIQ4IY2.js} +1 -1
- package/dist/{product-tag-create-QORH6X2D.js → product-tag-create-SYOFR5EK.js} +2 -2
- package/dist/{product-tag-detail-CDSYBTAM.js → product-tag-detail-ANSA7KYK.js} +9 -9
- package/dist/{product-tag-edit-JWYVCPCC.js → product-tag-edit-FJPBCFBH.js} +2 -2
- package/dist/{product-tag-list-RKLCU3UE.js → product-tag-list-XT7YY6DQ.js} +9 -9
- package/dist/{product-tag-metadata-BCUPIIJ5.js → product-tag-metadata-WQEGISQ5.js} +2 -2
- package/dist/{product-type-detail-IY7TWXUQ.js → product-type-detail-37NEO7FI.js} +7 -7
- package/dist/{product-type-list-N3E5HQFW.js → product-type-list-LCLWJPIT.js} +1 -1
- package/dist/{product-type-metadata-DKBBQB6R.js → product-type-metadata-WCGB3U4N.js} +2 -2
- package/dist/{product-variant-detail-XHMS2UT5.js → product-variant-detail-7B26FRNG.js} +2 -2
- package/dist/{product-variant-edit-4DPXTYPT.js → product-variant-edit-UMI2ADCC.js} +4 -4
- package/dist/{product-variant-metadata-ETVJBXSW.js → product-variant-metadata-CTKNNNLM.js} +2 -2
- package/dist/{profile-detail-KFLXUGQ5.js → profile-detail-TQWGKYRK.js} +2 -2
- package/dist/{profile-edit-4FDALFG5.js → profile-edit-ZBD6N5SC.js} +1 -1
- package/dist/{promotion-create-7ZUJ4W2J.js → promotion-create-FKRGXGI4.js} +2 -2
- package/dist/{promotion-detail-SWO4PZDC.js → promotion-detail-IC5LHRSY.js} +5 -5
- package/dist/{promotion-list-S4B6SVD6.js → promotion-list-TVTDBBJ3.js} +4 -4
- package/dist/{refund-reason-create-P5FUFEGK.js → refund-reason-create-TOH2D225.js} +2 -2
- package/dist/{refund-reason-edit-AKOTWXCE.js → refund-reason-edit-B32E4WHH.js} +2 -2
- package/dist/{refund-reason-list-ABRFC3OQ.js → refund-reason-list-URWPPRS5.js} +7 -7
- package/dist/{region-metadata-Q6HEMCHD.js → region-metadata-NAHNXAHQ.js} +2 -2
- package/dist/{reservation-detail-5GYGVM3M.js → reservation-detail-OCIIVYIN.js} +2 -2
- package/dist/{reservation-list-VRRSKQ4W.js → reservation-list-JQFVSRW5.js} +1 -1
- package/dist/{reservation-metadata-P4G3JEDW.js → reservation-metadata-AKR6FRG5.js} +2 -2
- package/dist/{reset-password-VJY5CXJU.js → reset-password-RJ5VSBQV.js} +1 -1
- package/dist/{return-reason-list-6MQKG72S.js → return-reason-list-LMY7QYX7.js} +5 -5
- package/dist/{sales-channel-add-products-MPJ7UCEJ.js → sales-channel-add-products-RYOG5QGJ.js} +6 -6
- package/dist/{sales-channel-detail-F37LBP6R.js → sales-channel-detail-KYK5IWRD.js} +7 -7
- package/dist/{sales-channel-list-XAWN5OKC.js → sales-channel-list-BCL62DTX.js} +2 -2
- package/dist/{sales-channel-metadata-NBWFH4QX.js → sales-channel-metadata-BKNILVQ2.js} +2 -2
- package/dist/{shipping-option-type-create-M23CI42D.js → shipping-option-type-create-ZVOMA222.js} +2 -2
- package/dist/{shipping-option-type-detail-QIJZQ5WW.js → shipping-option-type-detail-BKMYJMQY.js} +4 -4
- package/dist/{shipping-option-type-edit-WXTEQM32.js → shipping-option-type-edit-CZFRAZPJ.js} +2 -2
- package/dist/{shipping-option-type-list-PRXZQSPR.js → shipping-option-type-list-R76AQI26.js} +4 -4
- package/dist/{shipping-profile-metadata-S7Z3IC6I.js → shipping-profile-metadata-UEZYRBZQ.js} +2 -2
- package/dist/{shipping-profiles-list-LK5ZXRJG.js → shipping-profiles-list-W25ZUWGV.js} +1 -1
- package/dist/{store-bulk-edit-NBWZMDP7.js → store-bulk-edit-ONZESJGW.js} +1 -1
- package/dist/{store-create-J4SL6SY3.js → store-create-JBY2MAIT.js} +2 -2
- package/dist/{store-details-ITYKAZSI.js → store-details-VZJPLUQB.js} +7 -7
- package/dist/{store-edit-NZMI7PNS.js → store-edit-AONSKCCA.js} +3 -3
- package/dist/{store-list-RXPN3VVO.js → store-list-I434OQIM.js} +6 -6
- package/dist/{store-member-invite-IEUG54XA.js → store-member-invite-5YBC425W.js} +1 -1
- package/dist/{tax-region-create-PIDKQEWT.js → tax-region-create-OGVIIVMO.js} +3 -3
- package/dist/{tax-region-detail-7RNNZ4UE.js → tax-region-detail-O4DZFMT5.js} +2 -2
- package/dist/{tax-region-edit-I27QZZPB.js → tax-region-edit-DUBTSOQ4.js} +2 -2
- package/dist/{tax-region-list-BXLYIYQT.js → tax-region-list-ETNXAC2A.js} +1 -1
- package/dist/{tax-region-metadata-6YIZSRLO.js → tax-region-metadata-KHODQCDW.js} +2 -2
- package/dist/{tax-region-province-detail-AHS5SRP5.js → tax-region-province-detail-LOOLLFNO.js} +2 -2
- package/dist/{tax-region-tax-override-create-Z6S43XQ6.js → tax-region-tax-override-create-LLCR42OB.js} +8 -8
- package/dist/{tax-region-tax-override-edit-4EOURL2M.js → tax-region-tax-override-edit-V2B5PDIA.js} +8 -8
- package/dist/{user-detail-5LOE6QGK.js → user-detail-MJ3ITMNK.js} +2 -2
- package/dist/{user-edit-O2M5II52.js → user-edit-Y5VP6CKB.js} +1 -1
- package/dist/{user-invite-SZIUG2WK.js → user-invite-YVLFH6HU.js} +26 -126
- package/dist/{user-list-6YRC6HYX.js → user-list-6IYBI6HY.js} +2 -2
- package/dist/{user-metadata-2PEU2IJE.js → user-metadata-XNM2JNNO.js} +2 -2
- package/package.json +9 -9
- package/dist/chunk-4F6SHS7A.js +0 -83
- package/dist/chunk-WMA3WTCM.js +0 -117
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DBGBLXBS.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableColumns
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KTIPUH4U.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7QGENT7M.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTableQuery
|
|
12
12
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-ZOU25JF6.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTag
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-W5U6NPSN.js";
|
|
23
23
|
import {
|
|
24
24
|
ActionMenu
|
|
25
25
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KPNSESNF.js";
|
|
4
4
|
import {
|
|
5
5
|
useRefundReasonTableQuery
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PZ3S3WMH.js";
|
|
7
7
|
import {
|
|
8
8
|
DataTable
|
|
9
9
|
} from "./chunk-C4XKPQ6T.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
useDeleteRefundReasonLazy,
|
|
15
15
|
useRefundReasons
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W5U6NPSN.js";
|
|
17
17
|
|
|
18
18
|
// src/pages/refund-reasons/refund-reason-list/refund-reason-list.tsx
|
|
19
19
|
import { Children as Children3 } from "react";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-HC25LNX7.js";
|
|
16
16
|
import {
|
|
17
17
|
useShippingOptionTableQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PZ3S3WMH.js";
|
|
19
19
|
import {
|
|
20
20
|
useProductTypeTableQuery
|
|
21
21
|
} from "./chunk-VOHEQ7B5.js";
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-JHIMVLB2.js";
|
|
28
28
|
import {
|
|
29
29
|
useProductTableColumns
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KTIPUH4U.js";
|
|
31
31
|
import {
|
|
32
32
|
useProductTableFilters
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-7QGENT7M.js";
|
|
34
34
|
import {
|
|
35
35
|
useProductTableQuery
|
|
36
36
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KTIPUH4U.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7QGENT7M.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableQuery
|
|
9
9
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
useOfferTableColumns,
|
|
9
9
|
useOfferTableFilters,
|
|
10
10
|
useOfferTableQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IM76ZTV3.js";
|
|
12
12
|
import {
|
|
13
13
|
IconAvatar
|
|
14
14
|
} from "./chunk-U2EI2ZLM.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-GNNOFJAK.js";
|
|
21
21
|
import {
|
|
22
22
|
useMemberTableQuery
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PZ3S3WMH.js";
|
|
24
24
|
import {
|
|
25
25
|
useOrderTableQuery
|
|
26
26
|
} from "./chunk-QUHSHIAC.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-E74OUNA3.js";
|
|
39
39
|
import {
|
|
40
40
|
require_dist
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6NE74AWG.js";
|
|
42
42
|
import {
|
|
43
43
|
_DataTable,
|
|
44
44
|
useDataTable
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-YWMY2I7B.js";
|
|
5
5
|
import {
|
|
6
6
|
useProductTableColumns
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KTIPUH4U.js";
|
|
8
8
|
import {
|
|
9
9
|
useProductTableFilters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7QGENT7M.js";
|
|
11
11
|
import {
|
|
12
12
|
useProductTableQuery
|
|
13
13
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AttributeValueInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O5JSNJS4.js";
|
|
4
4
|
import {
|
|
5
5
|
TabbedForm,
|
|
6
6
|
defineTabMeta,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-6BAPAIQM.js";
|
|
19
19
|
import {
|
|
20
20
|
require_dist
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6NE74AWG.js";
|
|
22
22
|
import {
|
|
23
23
|
useCreateProductVariant,
|
|
24
24
|
useProduct
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
By
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7C7YLUYT.js";
|
|
4
4
|
import {
|
|
5
5
|
getFormattedAddress,
|
|
6
6
|
isSameAddress
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
import {
|
|
86
86
|
useCapturePayment,
|
|
87
87
|
useMarkPaymentCollectionAsPaid
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-W5U6NPSN.js";
|
|
89
89
|
import {
|
|
90
90
|
useStockLocation
|
|
91
91
|
} from "./chunk-H5E3CGD7.js";
|
|
@@ -93,7 +93,7 @@ var CampaignListTitle = () => {
|
|
|
93
93
|
};
|
|
94
94
|
var CampaignListCreateButton = () => {
|
|
95
95
|
const { t } = useTranslation2();
|
|
96
|
-
return /* @__PURE__ */ jsx(PermissionGuard, {
|
|
96
|
+
return /* @__PURE__ */ jsx(PermissionGuard, { permission: "campaigns:edit", children: /* @__PURE__ */ jsx(Link, { to: "/campaigns/create", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "campaign-list-table-create-button", children: t("actions.create") }) }) });
|
|
97
97
|
};
|
|
98
98
|
var CampaignListActions = ({ children }) => {
|
|
99
99
|
return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(CampaignListCreateButton, {}) });
|
|
@@ -169,7 +169,7 @@ var ProductTypeListActions = ({
|
|
|
169
169
|
children
|
|
170
170
|
}) => {
|
|
171
171
|
const { t } = useTranslation3();
|
|
172
|
-
return /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx3(PermissionGuard, {
|
|
172
|
+
return /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx3(PermissionGuard, { permission: "product_types:edit", children: /* @__PURE__ */ jsx3(
|
|
173
173
|
Button,
|
|
174
174
|
{
|
|
175
175
|
size: "small",
|
|
@@ -64,7 +64,7 @@ var CategoryListActions = ({
|
|
|
64
64
|
const { t } = useTranslation();
|
|
65
65
|
return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66
66
|
/* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "organize", children: t("categories.organize.action") }) }),
|
|
67
|
-
/* @__PURE__ */ jsx(PermissionGuard, {
|
|
67
|
+
/* @__PURE__ */ jsx(PermissionGuard, { permission: "product_categories:edit", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) })
|
|
68
68
|
] }) });
|
|
69
69
|
};
|
|
70
70
|
var CategoryListHeader = ({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteShippingOptionTypeAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PDPCFFFH.js";
|
|
4
4
|
import {
|
|
5
5
|
SingleColumnPage
|
|
6
6
|
} from "./chunk-H6MYB7GB.js";
|
|
7
7
|
import {
|
|
8
8
|
useShippingOptionType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W5U6NPSN.js";
|
|
10
10
|
import {
|
|
11
11
|
ActionMenu
|
|
12
12
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZOU25JF6.js";
|
|
14
14
|
import {
|
|
15
15
|
useUsers
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-62YRQVR7.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -41,7 +41,7 @@ var UserListActions = ({
|
|
|
41
41
|
children
|
|
42
42
|
}) => {
|
|
43
43
|
const { t } = useTranslation();
|
|
44
|
-
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PermissionGuard, {
|
|
44
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PermissionGuard, { permission: "users:edit", children: /* @__PURE__ */ jsx(Link, { to: "invite", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: t("users.invite") }) }) }) });
|
|
45
45
|
};
|
|
46
46
|
var UserListHeader = ({
|
|
47
47
|
children
|
|
@@ -75,7 +75,7 @@ var TaxRegionListActions = ({
|
|
|
75
75
|
children
|
|
76
76
|
}) => {
|
|
77
77
|
const { t } = useTranslation();
|
|
78
|
-
return /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PermissionGuard, {
|
|
78
|
+
return /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PermissionGuard, { permission: "tax_regions:edit", children: /* @__PURE__ */ jsx2(Link, { to: "create", children: /* @__PURE__ */ jsx2(Button, { size: "small", variant: "secondary", children: t("actions.create") }) }) }) });
|
|
79
79
|
};
|
|
80
80
|
var TaxRegionListHeader = ({
|
|
81
81
|
children
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KTIPUH4U.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7QGENT7M.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableQuery
|
|
9
9
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -57,7 +57,7 @@ var ProductListTitle = () => {
|
|
|
57
57
|
};
|
|
58
58
|
var ProductListCreateButton = () => {
|
|
59
59
|
const { t } = useTranslation();
|
|
60
|
-
return /* @__PURE__ */ jsx(PermissionGuard, {
|
|
60
|
+
return /* @__PURE__ */ jsx(PermissionGuard, { permission: "products:edit", children: /* @__PURE__ */ jsx(
|
|
61
61
|
Button,
|
|
62
62
|
{
|
|
63
63
|
size: "small",
|
|
@@ -349,7 +349,7 @@ var AttributeListActions = ({
|
|
|
349
349
|
children
|
|
350
350
|
}) => {
|
|
351
351
|
const { t } = useTranslation3();
|
|
352
|
-
return /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx3(PermissionGuard, {
|
|
352
|
+
return /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx3(PermissionGuard, { permission: "product_attributes:edit", children: /* @__PURE__ */ jsx3(
|
|
353
353
|
Button,
|
|
354
354
|
{
|
|
355
355
|
variant: "secondary",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XAQLGDAI.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
7
|
} from "./chunk-J4SYK3RT.js";
|
|
@@ -42,7 +42,7 @@ var PromotionListTitle = () => {
|
|
|
42
42
|
};
|
|
43
43
|
var PromotionListCreateButton = () => {
|
|
44
44
|
const { t } = useTranslation();
|
|
45
|
-
return /* @__PURE__ */ jsx(PermissionGuard, {
|
|
45
|
+
return /* @__PURE__ */ jsx(PermissionGuard, { permission: "promotions:edit", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, "data-testid": "promotion-list-table-create-button", children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) });
|
|
46
46
|
};
|
|
47
47
|
var PromotionListActions = ({ children }) => {
|
|
48
48
|
return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PromotionListCreateButton, {}) });
|
|
@@ -51,7 +51,7 @@ var PriceListListActions = ({
|
|
|
51
51
|
children
|
|
52
52
|
}) => {
|
|
53
53
|
const { t } = useTranslation();
|
|
54
|
-
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PermissionGuard, {
|
|
54
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PermissionGuard, { permission: "price_lists:edit", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) }) });
|
|
55
55
|
};
|
|
56
56
|
var PriceListListHeader = ({
|
|
57
57
|
children
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
CategoryHeader,
|
|
7
7
|
ProductStatusCell,
|
|
8
8
|
ProductStatusHeader
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3ZP5MS7X.js";
|
|
10
10
|
import {
|
|
11
11
|
ProductCell,
|
|
12
12
|
ProductHeader
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
} from "./chunk-THHRRYRS.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6NE74AWG.js";
|
|
23
23
|
import {
|
|
24
24
|
useProductTags
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-W5U6NPSN.js";
|
|
26
26
|
import {
|
|
27
27
|
useProductTypes
|
|
28
28
|
} from "./chunk-AEBQQ2EG.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-XFR5JLNF.js";
|
|
6
6
|
import {
|
|
7
7
|
UserLink
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7C7YLUYT.js";
|
|
9
9
|
import {
|
|
10
10
|
useSalesChannelTableColumns,
|
|
11
11
|
useSalesChannelTableEmptyState,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-ALJIXUKL.js";
|
|
30
30
|
import {
|
|
31
31
|
useUser
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-62YRQVR7.js";
|
|
33
33
|
import {
|
|
34
34
|
ActionMenu
|
|
35
35
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -43,7 +43,7 @@ var CustomerListTitle = () => {
|
|
|
43
43
|
};
|
|
44
44
|
var CustomerListCreateButton = () => {
|
|
45
45
|
const { t } = useTranslation();
|
|
46
|
-
return /* @__PURE__ */ jsx(PermissionGuard, {
|
|
46
|
+
return /* @__PURE__ */ jsx(PermissionGuard, { permission: "customers:edit", children: /* @__PURE__ */ jsx(Link, { to: "/customers/create", "data-testid": "customer-list-create-link", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "customer-list-create-button", children: t("actions.create") }) }) });
|
|
47
47
|
};
|
|
48
48
|
var CustomerListActions = ({ children }) => {
|
|
49
49
|
return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(CustomerListCreateButton, {}) });
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-2HTCCPOG.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableColumns
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KTIPUH4U.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7QGENT7M.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTableQuery
|
|
12
12
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DBGBLXBS.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTagTableColumns
|
|
6
6
|
} from "./chunk-KPNSESNF.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-KOURHC2N.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTagTableQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PZ3S3WMH.js";
|
|
13
13
|
import {
|
|
14
14
|
SingleColumnPage
|
|
15
15
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-ZOU25JF6.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTags
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-W5U6NPSN.js";
|
|
23
23
|
import {
|
|
24
24
|
ActionMenu
|
|
25
25
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -150,7 +150,7 @@ var ProductTagListActions = ({
|
|
|
150
150
|
children
|
|
151
151
|
}) => {
|
|
152
152
|
const { t } = useTranslation2();
|
|
153
|
-
return /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PermissionGuard, {
|
|
153
|
+
return /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PermissionGuard, { permission: "product_tags:edit", children: /* @__PURE__ */ jsx2(
|
|
154
154
|
Button,
|
|
155
155
|
{
|
|
156
156
|
variant: "secondary",
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-AJLGY3LQ.js";
|
|
4
4
|
import {
|
|
5
5
|
i18n
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZPHVFD4N.js";
|
|
7
7
|
import {
|
|
8
8
|
require_dist
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6NE74AWG.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM
|
|
12
12
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-WPX74IOA.js";
|
|
8
8
|
import {
|
|
9
9
|
useReturnReasonTableQuery
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PZ3S3WMH.js";
|
|
11
11
|
import {
|
|
12
12
|
SingleColumnPage
|
|
13
13
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -98,7 +98,7 @@ var ReturnReasonListTable = () => {
|
|
|
98
98
|
/* @__PURE__ */ jsx(Heading, { "data-testid": "return-reason-list-table-heading", children: t("returnReasons.domain") }),
|
|
99
99
|
/* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle", size: "small", "data-testid": "return-reason-list-table-subtitle", children: t("returnReasons.subtitle") })
|
|
100
100
|
] }),
|
|
101
|
-
/* @__PURE__ */ jsx(PermissionGuard, {
|
|
101
|
+
/* @__PURE__ */ jsx(PermissionGuard, { permission: "return_reasons:edit", children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "small", asChild: true, "data-testid": "return-reason-list-table-create-button", children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) })
|
|
102
102
|
] }),
|
|
103
103
|
/* @__PURE__ */ jsx(
|
|
104
104
|
_DataTable,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-KOURHC2N.js";
|
|
7
7
|
import {
|
|
8
8
|
useCollectionTableQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PZ3S3WMH.js";
|
|
10
10
|
import {
|
|
11
11
|
SingleColumnPage
|
|
12
12
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -48,7 +48,7 @@ var CollectionListActions = ({
|
|
|
48
48
|
children
|
|
49
49
|
}) => {
|
|
50
50
|
const { t } = useTranslation();
|
|
51
|
-
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PermissionGuard, {
|
|
51
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PermissionGuard, { permission: "product_collections:edit", children: /* @__PURE__ */ jsx(Link, { to: "/collections/create", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: t("actions.create") }) }) }) });
|
|
52
52
|
};
|
|
53
53
|
var CollectionListHeader = ({
|
|
54
54
|
children
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sdk
|
|
3
|
+
} from "./chunk-DTGEFKK4.js";
|
|
4
|
+
|
|
5
|
+
// src/lib/upload-rich-text-image.ts
|
|
6
|
+
var uploadRichTextImage = async (file) => {
|
|
7
|
+
const { files } = await sdk.admin.uploads.mutate({ files: [file] });
|
|
8
|
+
const url = files?.[0]?.url;
|
|
9
|
+
if (!url) {
|
|
10
|
+
throw new Error("Upload did not return a file url");
|
|
11
|
+
}
|
|
12
|
+
return url;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
uploadRichTextImage
|
|
17
|
+
};
|
|
@@ -342,7 +342,7 @@ var ApiKeyManagementListActions = ({
|
|
|
342
342
|
const { t } = useTranslation5();
|
|
343
343
|
const { pathname } = useLocation2();
|
|
344
344
|
const keyType = getApiKeyTypeFromPathname(pathname);
|
|
345
|
-
return /* @__PURE__ */ jsx4("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx4(PermissionGuard, {
|
|
345
|
+
return /* @__PURE__ */ jsx4("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx4(PermissionGuard, { permission: "api_keys:edit", children: /* @__PURE__ */ jsx4(Link, { to: "create", "data-testid": `${keyType}-api-keys-create-button`, children: /* @__PURE__ */ jsx4(Button, { variant: "secondary", size: "small", children: t("actions.create") }) }) }) });
|
|
346
346
|
};
|
|
347
347
|
var ApiKeyManagementListHeader = ({
|
|
348
348
|
children
|