@myparcel-dev/pdk-admin-js 2.4.1 → 2.4.2-beta-oidc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OrderModeOrderListItem-Bl0j88VV.js → OrderModeOrderListItem-OOsP2w8C.js} +2 -4
- package/dist/{PrintOptionsModalForm-DzSWU0eT.js → PrintOptionsModalForm-BowCXGT1.js} +2 -4
- package/dist/{ShipmentModeOrderListItem-CFy6K0Mg.js → ShipmentModeOrderListItem-BD1HRZUb.js} +2 -4
- package/dist/{ShipmentOptionsModalForm-Dqslsx-9.js → ShipmentOptionsModalForm-BvlxepIT.js} +2 -4
- package/dist/{ShipmentTableBox-dPC_Cb6U.js → ShipmentTableBox-E6HocN3g.js} +8 -15
- package/dist/index.js +170 -332
- package/dist/{rolldown-runtime-D7D4PA-g.js → rolldown-runtime-D8jQpDG7.js} +1 -2
- package/dist/{shared-dyJ_FTPr.js → shared-DIRu4sin.js} +340 -651
- package/package.json +23 -16
- package/tsconfig.base.json +0 -7
- package/vite.config.ts +0 -42
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { $ as useFetchProductsQuery, $r as unref, $t as FORM_KEY_PRODUCT_SETTINGS, A as resolveOrderParameters, An as createPinia, Ar as defineAsyncComponent, At as downloadFileFromUrl, B as createMutationHandler, Bn as OrderMode, Br as renderSlot, Bt as ShipmentOptionsForm_default, C as shipmentsPrintAction, Ci as timeUntilStale, Cn as baseGetTag, Cr as computed, Ct as useLoading, D as openOrPrintPdf, Dn as createLogger, Dr as createElementBlock, Dt as useStoreContextQuery, E as waitForLabelPrompt, En as LogLevel, Er as createCommentVNode, F as executeHandler, Fn as c, Fr as onMounted, Ft as INJECT_GLOBAL_PDK_ADMIN, G as useDeleteWebhooksMutation, Gn as NotificationCategory, Gr as withDirectives, Gt as FORM_KEYS, H as doMutate, Hn as AdminIcon, Hr as resolveDynamicComponent, Ht as generateFormFields, I as StopActionHandler, In as je, Ir as onUnmounted, It as resetLanguageCache, J as usePrintShipmentsMutation, Jn as optionalAdminActionContainerComponentNames, Jr as reactive, Jt as FORM_KEY_MODAL, K as useCreateWebhooksMutation, Kn as AdminComponent, Kt as FORM_KEY_ACCOUNT_SETTINGS, L as createShipmentsMutationHandler, Ln as ne, Lr as openBlock, Lt as useLanguage, M as executeAction, Mn as M, Mr as h, Mt as formToBody, N as executeAfterHandle, Nn as Ne, Nr as inject, Nt as createFormElement, O as modalCloseAction, On as globalLogger, Or as createTextVNode, Ot as useStoreQuery, P as executeBeforeHandle, Pn as Xe, Pr as mergeProps, Pt as INJECT_ADMIN_INSTANCE, Q as useFetchShipmentsQuery, Qn as useVModel, Qr as toValue, Qt as FORM_KEY_PLUGIN_SETTINGS, R as createQueryHandler, Rn as xe, Rr as provide, Rt as fillShipmentsQueryData, S as shipmentsExportReturnAction, Si as replaceData, Sn as isObjectLike, Sr as KeepAlive, St as useOrderMode, T as resolvePrintParameters, Tn as freeGlobal, Tr as createBlock, Tt as useGlobalContext, U as resolveQuerySuffix, Un as AdminInstanceContextKey, Ur as watch, Ut as resolveFormComponent, V as createHandlerWithParameters, Vn as AdminAction, Vr as resolveComponent, Vt as ShipmentBarcode_default, W as defineAction, Wn as AdminModalKey, Wr as withCtx, Wt as defineFormField, X as useDeleteShipmentsMutation, Xn as optionalAdminPlainWrapperComponentNames, Xr as toRaw, Xt as FORM_KEY_MODAL_RETURN_OPTIONS, Y as useExportReturnMutation, Yn as optionalAdminComponentNames, Yr as ref, Yt as FORM_KEY_MODAL_PRINT_OPTIONS, Z as useFetchWebhooksQuery, Zn as requiredAdminComponentNames, Zr as toRefs, Zt as FORM_KEY_MODAL_SHIPMENT_OPTIONS, _ as ordersFetchAction, _i as matchQuery, _n as isIndex, _r as Transition, _t as useFormatter, a as LIST_ITEM_MODE_ACTIONS, ai as defaultLogger, an as ActionButton_default, ar as FrontendEndpoint, at as useUpdateOrdersMutation, b as shipmentActions, bi as parseQueryArgs, bn as isObject, br as vShow, bt as Format, c as webhooksCreateAction, ci as isCancelledError, cn as useNotificationStore, cr as TriState, ct as usePdkMutation, d as ORDER_VIEW_IN_BACKOFFICE_ID, di as functionalUpdate, dn as MapCache, dr as Variant, dt as createActionContext, ei as normalizeClass, en as NotificationContainer_default, er as PackageTypeName, et as useFetchOrdersQuery, f as orderExportAction, fi as getAbortController, fn as Map, fr as setupDevtoolsPlugin, g as ordersExportPrintShipmentsAction, gi as matchMutation, gn as baseAssignValue, gr as isQueryKey, gt as useLocalizedFormatter, h as ordersEditAction, hi as isServer, hn as eq, hr as getClientKey, ht as useOrderData, i as BOX_MODE_ACTIONS, ii as notifyManager, in as BulkSelectCheckbox_default, ir as BackendEndpoint, it as useUpdateProductSettingsMutation, j as executeNextAction, jn as Je, jr as defineComponent, jt as prefixComponent, k as modalSubmitFormAction, kn as getActionIdentifier, kr as createVNode, kt as useQueryStore, l as webhooksDeleteAction, li as onlineManager, ln as useActionStore, lr as Size, lt as instantiateActions, m as orderViewInBackofficeAction, mi as hashQueryKeyByOptions, mn as assignValue, mr as cloneDeepUnref, mt as useOrdersData, n as ProductSettings_default, ni as Mutation, nn as usePdkAdminApi, nr as partitionArray, nt as QUERY_KEY_SHIPMENT, o as MODAL_MODE_ACTIONS, oi as canFetch, on as setRequestHeadersProvider, or as AdminContextKey, ot as usePrintOrdersMutation, p as orderExportToShipmentsAction, pi as hashQueryKey, pn as ListCache, pr as useQueryClient, pt as useProductData, q as useUpdateShipmentsMutation, qn as allAdminComponentNames, qr as markRaw, qt as FORM_KEY_CHILD_PRODUCT_SETTINGS, ri as Removable, rn as PackageType_default, rr as toArray, rt as useFetchContextQuery, s as STORE_MODE_ACTIONS, si as createRetryer, sn as useModalStore, sr as SortType, st as useExportOrdersMutation, ti as toDisplayString, tr as isOfType, tt as QUERY_KEY_ORDER, u as webhooksFetchAction, ui as focusManager, un as get, ur as Status, ut as instantiateAction, v as ordersPrintAction, vi as noop, vn as defineProperty, vt as useAdminConfig, w as shipmentsUpdateAction, wi as Subscribable, wn as root, wr as createBaseVNode, wt as useInstanceContext, x as shipmentsDeleteAction, xi as partialMatchKey, xn as isArray, xr as Fragment, xt as usePluginSettings, y as ordersUpdateAction, yi as parseFilterArgs, yn as isFunction, yr as createApp, yt as useAdminInstance, z as createOrdersMutationHandler, zn as AdminView, zr as renderList, zt as ShipmentStatus_default } from "./shared-
|
|
3
|
-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
|
|
2
|
+
import { $ as useFetchProductsQuery, $r as unref, $t as FORM_KEY_PRODUCT_SETTINGS, A as resolveOrderParameters, An as createPinia, Ar as defineAsyncComponent, At as downloadFileFromUrl, B as createMutationHandler, Bn as OrderMode, Br as renderSlot, Bt as ShipmentOptionsForm_default, C as shipmentsPrintAction, Ci as timeUntilStale, Cn as baseGetTag, Cr as computed, Ct as useLoading, D as openOrPrintPdf, Dn as createLogger, Dr as createElementBlock, Dt as useStoreContextQuery, E as waitForLabelPrompt, En as LogLevel, Er as createCommentVNode, F as executeHandler, Fn as c, Fr as onMounted, Ft as INJECT_GLOBAL_PDK_ADMIN, G as useDeleteWebhooksMutation, Gn as NotificationCategory, Gr as withDirectives, Gt as FORM_KEYS, H as doMutate, Hn as AdminIcon, Hr as resolveDynamicComponent, Ht as generateFormFields, I as StopActionHandler, In as je, Ir as onUnmounted, It as resetLanguageCache, J as usePrintShipmentsMutation, Jn as optionalAdminActionContainerComponentNames, Jr as reactive, Jt as FORM_KEY_MODAL, K as useCreateWebhooksMutation, Kn as AdminComponent, Kt as FORM_KEY_ACCOUNT_SETTINGS, L as createShipmentsMutationHandler, Ln as ne, Lr as openBlock, Lt as useLanguage, M as executeAction, Mn as M, Mr as h, Mt as formToBody, N as executeAfterHandle, Nn as Ne, Nr as inject, Nt as createFormElement, O as modalCloseAction, On as globalLogger, Or as createTextVNode, Ot as useStoreQuery, P as executeBeforeHandle, Pn as Xe, Pr as mergeProps, Pt as INJECT_ADMIN_INSTANCE, Q as useFetchShipmentsQuery, Qn as useVModel, Qr as toValue, Qt as FORM_KEY_PLUGIN_SETTINGS, R as createQueryHandler, Rn as xe, Rr as provide, Rt as fillShipmentsQueryData, S as shipmentsExportReturnAction, Si as replaceData, Sn as isObjectLike, Sr as KeepAlive, St as useOrderMode, T as resolvePrintParameters, Tn as freeGlobal, Tr as createBlock, Tt as useGlobalContext, U as resolveQuerySuffix, Un as AdminInstanceContextKey, Ur as watch, Ut as resolveFormComponent, V as createHandlerWithParameters, Vn as AdminAction, Vr as resolveComponent, Vt as ShipmentBarcode_default, W as defineAction, Wn as AdminModalKey, Wr as withCtx, Wt as defineFormField, X as useDeleteShipmentsMutation, Xn as optionalAdminPlainWrapperComponentNames, Xr as toRaw, Xt as FORM_KEY_MODAL_RETURN_OPTIONS, Y as useExportReturnMutation, Yn as optionalAdminComponentNames, Yr as ref, Yt as FORM_KEY_MODAL_PRINT_OPTIONS, Z as useFetchWebhooksQuery, Zn as requiredAdminComponentNames, Zr as toRefs, Zt as FORM_KEY_MODAL_SHIPMENT_OPTIONS, _ as ordersFetchAction, _i as matchQuery, _n as isIndex, _r as Transition, _t as useFormatter, a as LIST_ITEM_MODE_ACTIONS, ai as defaultLogger, an as ActionButton_default, ar as FrontendEndpoint, at as useUpdateOrdersMutation, b as shipmentActions, bi as parseQueryArgs, bn as isObject, br as vShow, bt as Format, c as webhooksCreateAction, ci as isCancelledError, cn as useNotificationStore, cr as TriState, ct as usePdkMutation, d as ORDER_VIEW_IN_BACKOFFICE_ID, di as functionalUpdate, dn as MapCache, dr as Variant, dt as createActionContext, ei as normalizeClass, en as NotificationContainer_default, er as PackageTypeName, et as useFetchOrdersQuery, f as orderExportAction, fi as getAbortController, fn as Map, fr as setupDevtoolsPlugin, g as ordersExportPrintShipmentsAction, gi as matchMutation, gn as baseAssignValue, gr as isQueryKey, gt as useLocalizedFormatter, h as ordersEditAction, hi as isServer, hn as eq, hr as getClientKey, ht as useOrderData, i as BOX_MODE_ACTIONS, ii as notifyManager, in as BulkSelectCheckbox_default, ir as BackendEndpoint, it as useUpdateProductSettingsMutation, j as executeNextAction, jn as Je, jr as defineComponent, jt as prefixComponent, k as modalSubmitFormAction, kn as getActionIdentifier, kr as createVNode, kt as useQueryStore, l as webhooksDeleteAction, li as onlineManager, ln as useActionStore, lr as Size, lt as instantiateActions, m as orderViewInBackofficeAction, mi as hashQueryKeyByOptions, mn as assignValue, mr as cloneDeepUnref, mt as useOrdersData, n as ProductSettings_default, ni as Mutation, nn as usePdkAdminApi, nr as partitionArray, nt as QUERY_KEY_SHIPMENT, o as MODAL_MODE_ACTIONS, oi as canFetch, on as setRequestHeadersProvider, or as AdminContextKey, ot as usePrintOrdersMutation, p as orderExportToShipmentsAction, pi as hashQueryKey, pn as ListCache, pr as useQueryClient, pt as useProductData, q as useUpdateShipmentsMutation, qn as allAdminComponentNames, qr as markRaw, qt as FORM_KEY_CHILD_PRODUCT_SETTINGS, ri as Removable, rn as PackageType_default, rr as toArray, rt as useFetchContextQuery, s as STORE_MODE_ACTIONS, si as createRetryer, sn as useModalStore, sr as SortType, st as useExportOrdersMutation, ti as toDisplayString, tr as isOfType, tt as QUERY_KEY_ORDER, u as webhooksFetchAction, ui as focusManager, un as get, ur as Status, ut as instantiateAction, v as ordersPrintAction, vi as noop, vn as defineProperty, vt as useAdminConfig, w as shipmentsUpdateAction, wi as Subscribable, wn as root, wr as createBaseVNode, wt as useInstanceContext, x as shipmentsDeleteAction, xi as partialMatchKey, xn as isArray, xr as Fragment, xt as usePluginSettings, y as ordersUpdateAction, yi as parseFilterArgs, yn as isFunction, yr as createApp, yt as useAdminInstance, z as createOrdersMutationHandler, zn as AdminView, zr as renderList, zt as ShipmentStatus_default } from "./shared-DIRu4sin.js";
|
|
3
|
+
// ../../node_modules/.pnpm/@tanstack+query-core@4.43.0/node_modules/@tanstack/query-core/build/lib/query.mjs
|
|
4
4
|
var Query = class extends Removable {
|
|
5
5
|
constructor(config) {
|
|
6
6
|
super();
|
|
@@ -327,8 +327,7 @@ function getDefaultState(options) {
|
|
|
327
327
|
fetchStatus: "idle"
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
|
-
|
|
331
|
-
//#region ../../node_modules/@tanstack/query-core/build/lib/queryCache.mjs
|
|
330
|
+
// ../../node_modules/.pnpm/@tanstack+query-core@4.43.0/node_modules/@tanstack/query-core/build/lib/queryCache.mjs
|
|
332
331
|
var QueryCache$1 = class extends Subscribable {
|
|
333
332
|
constructor(config) {
|
|
334
333
|
super();
|
|
@@ -421,8 +420,7 @@ var QueryCache$1 = class extends Subscribable {
|
|
|
421
420
|
});
|
|
422
421
|
}
|
|
423
422
|
};
|
|
424
|
-
|
|
425
|
-
//#region ../../node_modules/@tanstack/query-core/build/lib/mutationCache.mjs
|
|
423
|
+
// ../../node_modules/.pnpm/@tanstack+query-core@4.43.0/node_modules/@tanstack/query-core/build/lib/mutationCache.mjs
|
|
426
424
|
var MutationCache$1 = class extends Subscribable {
|
|
427
425
|
constructor(config) {
|
|
428
426
|
super();
|
|
@@ -491,8 +489,7 @@ var MutationCache$1 = class extends Subscribable {
|
|
|
491
489
|
return this.resuming;
|
|
492
490
|
}
|
|
493
491
|
};
|
|
494
|
-
|
|
495
|
-
//#region ../../node_modules/@tanstack/query-core/build/lib/infiniteQueryBehavior.mjs
|
|
492
|
+
// ../../node_modules/.pnpm/@tanstack+query-core@4.43.0/node_modules/@tanstack/query-core/build/lib/infiniteQueryBehavior.mjs
|
|
496
493
|
function infiniteQueryBehavior() {
|
|
497
494
|
return { onFetch: (context) => {
|
|
498
495
|
context.fetchFn = () => {
|
|
@@ -572,8 +569,7 @@ function getNextPageParam(options, pages) {
|
|
|
572
569
|
function getPreviousPageParam(options, pages) {
|
|
573
570
|
return options.getPreviousPageParam == null ? void 0 : options.getPreviousPageParam(pages[0], pages);
|
|
574
571
|
}
|
|
575
|
-
|
|
576
|
-
//#region ../../node_modules/@tanstack/query-core/build/lib/queryClient.mjs
|
|
572
|
+
// ../../node_modules/.pnpm/@tanstack+query-core@4.43.0/node_modules/@tanstack/query-core/build/lib/queryClient.mjs
|
|
577
573
|
var QueryClient$1 = class {
|
|
578
574
|
constructor(config = {}) {
|
|
579
575
|
this.queryCache = config.queryCache || new QueryCache$1();
|
|
@@ -807,8 +803,7 @@ var QueryClient$1 = class {
|
|
|
807
803
|
this.mutationCache.clear();
|
|
808
804
|
}
|
|
809
805
|
};
|
|
810
|
-
|
|
811
|
-
//#region ../../node_modules/@tanstack/vue-query/build/lib/queryCache.mjs
|
|
806
|
+
// ../../node_modules/.pnpm/@tanstack+vue-query@4.43.0_vue@3.4.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/lib/queryCache.mjs
|
|
812
807
|
var QueryCache = class extends QueryCache$1 {
|
|
813
808
|
find(arg1, arg2) {
|
|
814
809
|
const arg1Unreffed = cloneDeepUnref(arg1);
|
|
@@ -823,8 +818,7 @@ var QueryCache = class extends QueryCache$1 {
|
|
|
823
818
|
return super.findAll(arg1Unreffed);
|
|
824
819
|
}
|
|
825
820
|
};
|
|
826
|
-
|
|
827
|
-
//#region ../../node_modules/@tanstack/vue-query/build/lib/mutationCache.mjs
|
|
821
|
+
// ../../node_modules/.pnpm/@tanstack+vue-query@4.43.0_vue@3.4.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/lib/mutationCache.mjs
|
|
828
822
|
var MutationCache = class extends MutationCache$1 {
|
|
829
823
|
find(filters) {
|
|
830
824
|
return super.find(cloneDeepUnref(filters));
|
|
@@ -833,8 +827,7 @@ var MutationCache = class extends MutationCache$1 {
|
|
|
833
827
|
return super.findAll(cloneDeepUnref(filters));
|
|
834
828
|
}
|
|
835
829
|
};
|
|
836
|
-
|
|
837
|
-
//#region ../../node_modules/@tanstack/vue-query/build/lib/queryClient.mjs
|
|
830
|
+
// ../../node_modules/.pnpm/@tanstack+vue-query@4.43.0_vue@3.4.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/lib/queryClient.mjs
|
|
838
831
|
var QueryClient = class extends QueryClient$1 {
|
|
839
832
|
constructor(config = {}) {
|
|
840
833
|
const unreffedConfig = cloneDeepUnref(config);
|
|
@@ -939,8 +932,7 @@ var QueryClient = class extends QueryClient$1 {
|
|
|
939
932
|
return super.getMutationDefaults(cloneDeepUnref(mutationKey));
|
|
940
933
|
}
|
|
941
934
|
};
|
|
942
|
-
|
|
943
|
-
//#region ../../node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
935
|
+
// ../../node_modules/.pnpm/@tanstack+match-sorter-utils@8.15.1/node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
944
936
|
/**
|
|
945
937
|
* match-sorter-utils
|
|
946
938
|
*
|
|
@@ -1501,8 +1493,7 @@ function getAccessorAttributes(accessor) {
|
|
|
1501
1493
|
...accessor
|
|
1502
1494
|
};
|
|
1503
1495
|
}
|
|
1504
|
-
|
|
1505
|
-
//#region ../../node_modules/@tanstack/vue-query/build/lib/devtools/utils.mjs
|
|
1496
|
+
// ../../node_modules/.pnpm/@tanstack+vue-query@4.43.0_vue@3.4.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/lib/devtools/utils.mjs
|
|
1506
1497
|
/* istanbul ignore file */
|
|
1507
1498
|
var QueryState;
|
|
1508
1499
|
(function(QueryState) {
|
|
@@ -1550,8 +1541,7 @@ var sortFns = {
|
|
|
1550
1541
|
"Query Hash": queryHashSort,
|
|
1551
1542
|
"Last Updated": dateSort
|
|
1552
1543
|
};
|
|
1553
|
-
|
|
1554
|
-
//#region ../../node_modules/@tanstack/vue-query/build/lib/devtools/devtools.mjs
|
|
1544
|
+
// ../../node_modules/.pnpm/@tanstack+vue-query@4.43.0_vue@3.4.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/lib/devtools/devtools.mjs
|
|
1555
1545
|
/* istanbul ignore file */
|
|
1556
1546
|
var pluginId = "vue-query";
|
|
1557
1547
|
var pluginName = "Vue Query";
|
|
@@ -1707,8 +1697,7 @@ function setupDevtools(app, queryClient) {
|
|
|
1707
1697
|
});
|
|
1708
1698
|
});
|
|
1709
1699
|
}
|
|
1710
|
-
|
|
1711
|
-
//#region ../../node_modules/@tanstack/vue-query/build/lib/vueQueryPlugin.mjs
|
|
1700
|
+
// ../../node_modules/.pnpm/@tanstack+vue-query@4.43.0_vue@3.4.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/lib/vueQueryPlugin.mjs
|
|
1712
1701
|
var VueQueryPlugin = { install: (app, options = {}) => {
|
|
1713
1702
|
const clientKey = getClientKey(options.queryClientKey);
|
|
1714
1703
|
let client;
|
|
@@ -1746,13 +1735,11 @@ var VueQueryPlugin = { install: (app, options = {}) => {
|
|
|
1746
1735
|
app.provide(clientKey, client);
|
|
1747
1736
|
if (process.env.NODE_ENV === "development") setupDevtools(app, client);
|
|
1748
1737
|
} };
|
|
1749
|
-
|
|
1750
|
-
//#region ../../node_modules/lodash-es/identity.js
|
|
1738
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
|
|
1751
1739
|
function identity(value) {
|
|
1752
1740
|
return value;
|
|
1753
1741
|
}
|
|
1754
|
-
|
|
1755
|
-
//#region ../../node_modules/lodash-es/_baseCreate.js
|
|
1742
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
|
|
1756
1743
|
var objectCreate = Object.create;
|
|
1757
1744
|
var baseCreate = function() {
|
|
1758
1745
|
function object() {}
|
|
@@ -1765,8 +1752,7 @@ var baseCreate = function() {
|
|
|
1765
1752
|
return result;
|
|
1766
1753
|
};
|
|
1767
1754
|
}();
|
|
1768
|
-
|
|
1769
|
-
//#region ../../node_modules/lodash-es/_apply.js
|
|
1755
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
|
|
1770
1756
|
function apply(func, thisArg, args) {
|
|
1771
1757
|
switch (args.length) {
|
|
1772
1758
|
case 0: return func.call(thisArg);
|
|
@@ -1776,16 +1762,14 @@ function apply(func, thisArg, args) {
|
|
|
1776
1762
|
}
|
|
1777
1763
|
return func.apply(thisArg, args);
|
|
1778
1764
|
}
|
|
1779
|
-
|
|
1780
|
-
//#region ../../node_modules/lodash-es/_copyArray.js
|
|
1765
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
1781
1766
|
function copyArray(source, array) {
|
|
1782
1767
|
var index = -1, length = source.length;
|
|
1783
1768
|
array || (array = Array(length));
|
|
1784
1769
|
while (++index < length) array[index] = source[index];
|
|
1785
1770
|
return array;
|
|
1786
1771
|
}
|
|
1787
|
-
|
|
1788
|
-
//#region ../../node_modules/lodash-es/_shortOut.js
|
|
1772
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
1789
1773
|
var HOT_COUNT = 800;
|
|
1790
1774
|
var HOT_SPAN = 16;
|
|
1791
1775
|
var nativeNow = Date.now;
|
|
@@ -1800,15 +1784,13 @@ function shortOut(func) {
|
|
|
1800
1784
|
return func.apply(void 0, arguments);
|
|
1801
1785
|
};
|
|
1802
1786
|
}
|
|
1803
|
-
|
|
1804
|
-
//#region ../../node_modules/lodash-es/constant.js
|
|
1787
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
|
|
1805
1788
|
function constant(value) {
|
|
1806
1789
|
return function() {
|
|
1807
1790
|
return value;
|
|
1808
1791
|
};
|
|
1809
1792
|
}
|
|
1810
|
-
|
|
1811
|
-
//#region ../../node_modules/lodash-es/_setToString.js
|
|
1793
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
|
|
1812
1794
|
var setToString = shortOut(!defineProperty ? identity : function(func, string) {
|
|
1813
1795
|
return defineProperty(func, "toString", {
|
|
1814
1796
|
"configurable": true,
|
|
@@ -1817,8 +1799,7 @@ var setToString = shortOut(!defineProperty ? identity : function(func, string) {
|
|
|
1817
1799
|
"writable": true
|
|
1818
1800
|
});
|
|
1819
1801
|
});
|
|
1820
|
-
|
|
1821
|
-
//#region ../../node_modules/lodash-es/_copyObject.js
|
|
1802
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
1822
1803
|
function copyObject(source, props, object, customizer) {
|
|
1823
1804
|
var isNew = !object;
|
|
1824
1805
|
object || (object = {});
|
|
@@ -1832,8 +1813,7 @@ function copyObject(source, props, object, customizer) {
|
|
|
1832
1813
|
}
|
|
1833
1814
|
return object;
|
|
1834
1815
|
}
|
|
1835
|
-
|
|
1836
|
-
//#region ../../node_modules/lodash-es/_overRest.js
|
|
1816
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
|
|
1837
1817
|
var nativeMax = Math.max;
|
|
1838
1818
|
function overRest(func, start, transform) {
|
|
1839
1819
|
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
@@ -1847,32 +1827,27 @@ function overRest(func, start, transform) {
|
|
|
1847
1827
|
return apply(func, this, otherArgs);
|
|
1848
1828
|
};
|
|
1849
1829
|
}
|
|
1850
|
-
|
|
1851
|
-
//#region ../../node_modules/lodash-es/_baseRest.js
|
|
1830
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
|
|
1852
1831
|
function baseRest(func, start) {
|
|
1853
1832
|
return setToString(overRest(func, start, identity), func + "");
|
|
1854
1833
|
}
|
|
1855
|
-
|
|
1856
|
-
//#region ../../node_modules/lodash-es/isLength.js
|
|
1834
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
1857
1835
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1858
1836
|
function isLength(value) {
|
|
1859
1837
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
1860
1838
|
}
|
|
1861
|
-
|
|
1862
|
-
//#region ../../node_modules/lodash-es/isArrayLike.js
|
|
1839
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
1863
1840
|
function isArrayLike(value) {
|
|
1864
1841
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
1865
1842
|
}
|
|
1866
|
-
|
|
1867
|
-
//#region ../../node_modules/lodash-es/_isIterateeCall.js
|
|
1843
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
|
|
1868
1844
|
function isIterateeCall(value, index, object) {
|
|
1869
1845
|
if (!isObject(object)) return false;
|
|
1870
1846
|
var type = typeof index;
|
|
1871
1847
|
if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
|
|
1872
1848
|
return false;
|
|
1873
1849
|
}
|
|
1874
|
-
|
|
1875
|
-
//#region ../../node_modules/lodash-es/_createAssigner.js
|
|
1850
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
|
|
1876
1851
|
function createAssigner(assigner) {
|
|
1877
1852
|
return baseRest(function(object, sources) {
|
|
1878
1853
|
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
|
|
@@ -1889,28 +1864,24 @@ function createAssigner(assigner) {
|
|
|
1889
1864
|
return object;
|
|
1890
1865
|
});
|
|
1891
1866
|
}
|
|
1892
|
-
|
|
1893
|
-
//#region ../../node_modules/lodash-es/_isPrototype.js
|
|
1867
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
1894
1868
|
var objectProto$2 = Object.prototype;
|
|
1895
1869
|
function isPrototype(value) {
|
|
1896
1870
|
var Ctor = value && value.constructor;
|
|
1897
1871
|
return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$2);
|
|
1898
1872
|
}
|
|
1899
|
-
|
|
1900
|
-
//#region ../../node_modules/lodash-es/_baseTimes.js
|
|
1873
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
1901
1874
|
function baseTimes(n, iteratee) {
|
|
1902
1875
|
var index = -1, result = Array(n);
|
|
1903
1876
|
while (++index < n) result[index] = iteratee(index);
|
|
1904
1877
|
return result;
|
|
1905
1878
|
}
|
|
1906
|
-
|
|
1907
|
-
//#region ../../node_modules/lodash-es/_baseIsArguments.js
|
|
1879
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
1908
1880
|
var argsTag$1 = "[object Arguments]";
|
|
1909
1881
|
function baseIsArguments(value) {
|
|
1910
1882
|
return isObjectLike(value) && baseGetTag(value) == argsTag$1;
|
|
1911
1883
|
}
|
|
1912
|
-
|
|
1913
|
-
//#region ../../node_modules/lodash-es/isArguments.js
|
|
1884
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
1914
1885
|
var objectProto$1 = Object.prototype;
|
|
1915
1886
|
var hasOwnProperty$3 = objectProto$1.hasOwnProperty;
|
|
1916
1887
|
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
@@ -1919,19 +1890,16 @@ var isArguments = baseIsArguments(function() {
|
|
|
1919
1890
|
}()) ? baseIsArguments : function(value) {
|
|
1920
1891
|
return isObjectLike(value) && hasOwnProperty$3.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
1921
1892
|
};
|
|
1922
|
-
|
|
1923
|
-
//#region ../../node_modules/lodash-es/stubFalse.js
|
|
1893
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
1924
1894
|
function stubFalse() {
|
|
1925
1895
|
return false;
|
|
1926
1896
|
}
|
|
1927
|
-
|
|
1928
|
-
//#region ../../node_modules/lodash-es/isBuffer.js
|
|
1897
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
1929
1898
|
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1930
1899
|
var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
|
|
1931
1900
|
var Buffer$1 = freeModule$2 && freeModule$2.exports === freeExports$2 ? root.Buffer : void 0;
|
|
1932
1901
|
var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
1933
|
-
|
|
1934
|
-
//#region ../../node_modules/lodash-es/_baseIsTypedArray.js
|
|
1902
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
1935
1903
|
var argsTag = "[object Arguments]";
|
|
1936
1904
|
var arrayTag = "[object Array]";
|
|
1937
1905
|
var boolTag = "[object Boolean]";
|
|
@@ -1962,15 +1930,13 @@ typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferT
|
|
|
1962
1930
|
function baseIsTypedArray(value) {
|
|
1963
1931
|
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
1964
1932
|
}
|
|
1965
|
-
|
|
1966
|
-
//#region ../../node_modules/lodash-es/_baseUnary.js
|
|
1933
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
1967
1934
|
function baseUnary(func) {
|
|
1968
1935
|
return function(value) {
|
|
1969
1936
|
return func(value);
|
|
1970
1937
|
};
|
|
1971
1938
|
}
|
|
1972
|
-
|
|
1973
|
-
//#region ../../node_modules/lodash-es/_nodeUtil.js
|
|
1939
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
1974
1940
|
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1975
1941
|
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
1976
1942
|
var freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && freeGlobal.process;
|
|
@@ -1981,34 +1947,29 @@ var nodeUtil = function() {
|
|
|
1981
1947
|
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
1982
1948
|
} catch (e) {}
|
|
1983
1949
|
}();
|
|
1984
|
-
|
|
1985
|
-
//#region ../../node_modules/lodash-es/isTypedArray.js
|
|
1950
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
1986
1951
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
1987
1952
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
1988
|
-
|
|
1989
|
-
//#region ../../node_modules/lodash-es/_arrayLikeKeys.js
|
|
1953
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
|
|
1990
1954
|
var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
1991
1955
|
function arrayLikeKeys(value, inherited) {
|
|
1992
1956
|
var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
1993
1957
|
for (var key in value) if ((inherited || hasOwnProperty$2.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
|
|
1994
1958
|
return result;
|
|
1995
1959
|
}
|
|
1996
|
-
|
|
1997
|
-
//#region ../../node_modules/lodash-es/_overArg.js
|
|
1960
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
1998
1961
|
function overArg(func, transform) {
|
|
1999
1962
|
return function(arg) {
|
|
2000
1963
|
return func(transform(arg));
|
|
2001
1964
|
};
|
|
2002
1965
|
}
|
|
2003
|
-
|
|
2004
|
-
//#region ../../node_modules/lodash-es/_nativeKeysIn.js
|
|
1966
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
2005
1967
|
function nativeKeysIn(object) {
|
|
2006
1968
|
var result = [];
|
|
2007
1969
|
if (object != null) for (var key in Object(object)) result.push(key);
|
|
2008
1970
|
return result;
|
|
2009
1971
|
}
|
|
2010
|
-
|
|
2011
|
-
//#region ../../node_modules/lodash-es/_baseKeysIn.js
|
|
1972
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
2012
1973
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
2013
1974
|
function baseKeysIn(object) {
|
|
2014
1975
|
if (!isObject(object)) return nativeKeysIn(object);
|
|
@@ -2016,16 +1977,13 @@ function baseKeysIn(object) {
|
|
|
2016
1977
|
for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$1.call(object, key)))) result.push(key);
|
|
2017
1978
|
return result;
|
|
2018
1979
|
}
|
|
2019
|
-
|
|
2020
|
-
//#region ../../node_modules/lodash-es/keysIn.js
|
|
1980
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
2021
1981
|
function keysIn(object) {
|
|
2022
1982
|
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
2023
1983
|
}
|
|
2024
|
-
|
|
2025
|
-
//#region ../../node_modules/lodash-es/_getPrototype.js
|
|
1984
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
2026
1985
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
2027
|
-
|
|
2028
|
-
//#region ../../node_modules/lodash-es/isPlainObject.js
|
|
1986
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
|
|
2029
1987
|
var objectTag = "[object Object]";
|
|
2030
1988
|
var funcProto = Function.prototype;
|
|
2031
1989
|
var objectProto = Object.prototype;
|
|
@@ -2039,31 +1997,26 @@ function isPlainObject(value) {
|
|
|
2039
1997
|
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
2040
1998
|
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
2041
1999
|
}
|
|
2042
|
-
|
|
2043
|
-
//#region ../../node_modules/lodash-es/_stackClear.js
|
|
2000
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
2044
2001
|
function stackClear() {
|
|
2045
2002
|
this.__data__ = new ListCache();
|
|
2046
2003
|
this.size = 0;
|
|
2047
2004
|
}
|
|
2048
|
-
|
|
2049
|
-
//#region ../../node_modules/lodash-es/_stackDelete.js
|
|
2005
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
2050
2006
|
function stackDelete(key) {
|
|
2051
2007
|
var data = this.__data__, result = data["delete"](key);
|
|
2052
2008
|
this.size = data.size;
|
|
2053
2009
|
return result;
|
|
2054
2010
|
}
|
|
2055
|
-
|
|
2056
|
-
//#region ../../node_modules/lodash-es/_stackGet.js
|
|
2011
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
2057
2012
|
function stackGet(key) {
|
|
2058
2013
|
return this.__data__.get(key);
|
|
2059
2014
|
}
|
|
2060
|
-
|
|
2061
|
-
//#region ../../node_modules/lodash-es/_stackHas.js
|
|
2015
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
2062
2016
|
function stackHas(key) {
|
|
2063
2017
|
return this.__data__.has(key);
|
|
2064
2018
|
}
|
|
2065
|
-
|
|
2066
|
-
//#region ../../node_modules/lodash-es/_stackSet.js
|
|
2019
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
2067
2020
|
var LARGE_ARRAY_SIZE = 200;
|
|
2068
2021
|
function stackSet(key, value) {
|
|
2069
2022
|
var data = this.__data__;
|
|
@@ -2080,8 +2033,7 @@ function stackSet(key, value) {
|
|
|
2080
2033
|
this.size = data.size;
|
|
2081
2034
|
return this;
|
|
2082
2035
|
}
|
|
2083
|
-
|
|
2084
|
-
//#region ../../node_modules/lodash-es/_Stack.js
|
|
2036
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
2085
2037
|
function Stack(entries) {
|
|
2086
2038
|
var data = this.__data__ = new ListCache(entries);
|
|
2087
2039
|
this.size = data.size;
|
|
@@ -2091,8 +2043,7 @@ Stack.prototype["delete"] = stackDelete;
|
|
|
2091
2043
|
Stack.prototype.get = stackGet;
|
|
2092
2044
|
Stack.prototype.has = stackHas;
|
|
2093
2045
|
Stack.prototype.set = stackSet;
|
|
2094
|
-
|
|
2095
|
-
//#region ../../node_modules/lodash-es/_cloneBuffer.js
|
|
2046
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
2096
2047
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
2097
2048
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
2098
2049
|
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
|
|
@@ -2103,29 +2054,24 @@ function cloneBuffer(buffer, isDeep) {
|
|
|
2103
2054
|
buffer.copy(result);
|
|
2104
2055
|
return result;
|
|
2105
2056
|
}
|
|
2106
|
-
|
|
2107
|
-
//#region ../../node_modules/lodash-es/_Uint8Array.js
|
|
2057
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
2108
2058
|
var Uint8Array = root.Uint8Array;
|
|
2109
|
-
|
|
2110
|
-
//#region ../../node_modules/lodash-es/_cloneArrayBuffer.js
|
|
2059
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
2111
2060
|
function cloneArrayBuffer(arrayBuffer) {
|
|
2112
2061
|
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
2113
2062
|
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
|
2114
2063
|
return result;
|
|
2115
2064
|
}
|
|
2116
|
-
|
|
2117
|
-
//#region ../../node_modules/lodash-es/_cloneTypedArray.js
|
|
2065
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
2118
2066
|
function cloneTypedArray(typedArray, isDeep) {
|
|
2119
2067
|
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
2120
2068
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
2121
2069
|
}
|
|
2122
|
-
|
|
2123
|
-
//#region ../../node_modules/lodash-es/_initCloneObject.js
|
|
2070
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
2124
2071
|
function initCloneObject(object) {
|
|
2125
2072
|
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
2126
2073
|
}
|
|
2127
|
-
|
|
2128
|
-
//#region ../../node_modules/lodash-es/_createBaseFor.js
|
|
2074
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
|
|
2129
2075
|
function createBaseFor(fromRight) {
|
|
2130
2076
|
return function(object, iteratee, keysFunc) {
|
|
2131
2077
|
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
@@ -2136,33 +2082,27 @@ function createBaseFor(fromRight) {
|
|
|
2136
2082
|
return object;
|
|
2137
2083
|
};
|
|
2138
2084
|
}
|
|
2139
|
-
|
|
2140
|
-
//#region ../../node_modules/lodash-es/_baseFor.js
|
|
2085
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
|
|
2141
2086
|
var baseFor = createBaseFor();
|
|
2142
|
-
|
|
2143
|
-
//#region ../../node_modules/lodash-es/_assignMergeValue.js
|
|
2087
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
|
|
2144
2088
|
function assignMergeValue(object, key, value) {
|
|
2145
2089
|
if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
2146
2090
|
}
|
|
2147
|
-
|
|
2148
|
-
//#region ../../node_modules/lodash-es/isArrayLikeObject.js
|
|
2091
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
|
|
2149
2092
|
function isArrayLikeObject(value) {
|
|
2150
2093
|
return isObjectLike(value) && isArrayLike(value);
|
|
2151
2094
|
}
|
|
2152
|
-
|
|
2153
|
-
//#region ../../node_modules/lodash-es/_safeGet.js
|
|
2095
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
|
|
2154
2096
|
function safeGet(object, key) {
|
|
2155
2097
|
if (key === "constructor" && typeof object[key] === "function") return;
|
|
2156
2098
|
if (key == "__proto__") return;
|
|
2157
2099
|
return object[key];
|
|
2158
2100
|
}
|
|
2159
|
-
|
|
2160
|
-
//#region ../../node_modules/lodash-es/toPlainObject.js
|
|
2101
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
|
|
2161
2102
|
function toPlainObject(value) {
|
|
2162
2103
|
return copyObject(value, keysIn(value));
|
|
2163
2104
|
}
|
|
2164
|
-
|
|
2165
|
-
//#region ../../node_modules/lodash-es/_baseMergeDeep.js
|
|
2105
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
|
|
2166
2106
|
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
2167
2107
|
var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
|
|
2168
2108
|
if (stacked) {
|
|
@@ -2197,8 +2137,7 @@ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, sta
|
|
|
2197
2137
|
}
|
|
2198
2138
|
assignMergeValue(object, key, newValue);
|
|
2199
2139
|
}
|
|
2200
|
-
|
|
2201
|
-
//#region ../../node_modules/lodash-es/_baseMerge.js
|
|
2140
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
|
|
2202
2141
|
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
2203
2142
|
if (object === source) return;
|
|
2204
2143
|
baseFor(source, function(srcValue, key) {
|
|
@@ -2211,34 +2150,28 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
|
2211
2150
|
}
|
|
2212
2151
|
}, keysIn);
|
|
2213
2152
|
}
|
|
2214
|
-
|
|
2215
|
-
//#region ../../node_modules/lodash-es/mergeWith.js
|
|
2153
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js
|
|
2216
2154
|
var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
|
|
2217
2155
|
baseMerge(object, source, srcIndex, customizer);
|
|
2218
2156
|
});
|
|
2219
|
-
|
|
2220
|
-
//#region ../../node_modules/lodash-es/merge.js
|
|
2157
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js
|
|
2221
2158
|
var merge = createAssigner(function(object, source, srcIndex) {
|
|
2222
2159
|
baseMerge(object, source, srcIndex);
|
|
2223
2160
|
});
|
|
2224
|
-
|
|
2225
|
-
//#region ../admin/src/utils/booleanToTriState.ts
|
|
2161
|
+
// ../admin/src/utils/booleanToTriState.ts
|
|
2226
2162
|
var booleanToTriState = (value) => {
|
|
2227
2163
|
return value ? TriState.On : TriState.Off;
|
|
2228
2164
|
};
|
|
2229
|
-
|
|
2230
|
-
//#region ../admin/src/utils/createObjectWithKeys.ts
|
|
2165
|
+
// ../admin/src/utils/createObjectWithKeys.ts
|
|
2231
2166
|
var createObjectWithKeys = (keys, callback = (key) => key) => {
|
|
2232
2167
|
return keys.reduce((acc, key) => ({
|
|
2233
2168
|
...acc,
|
|
2234
2169
|
[key]: callback(key)
|
|
2235
2170
|
}), {});
|
|
2236
2171
|
};
|
|
2237
|
-
|
|
2238
|
-
//#region ../admin/src/pdk/testIdDirective.ts
|
|
2172
|
+
// ../admin/src/pdk/testIdDirective.ts
|
|
2239
2173
|
var testIdDirective = (el, binding) => {};
|
|
2240
|
-
|
|
2241
|
-
//#region ../admin/src/pdk/instance/createInstanceContext.ts
|
|
2174
|
+
// ../admin/src/pdk/instance/createInstanceContext.ts
|
|
2242
2175
|
var createInstanceContext = (context) => {
|
|
2243
2176
|
const instanceContext = {};
|
|
2244
2177
|
if (context.orderData?.length === 1) {
|
|
@@ -2251,8 +2184,7 @@ var createInstanceContext = (context) => {
|
|
|
2251
2184
|
}
|
|
2252
2185
|
return instanceContext;
|
|
2253
2186
|
};
|
|
2254
|
-
|
|
2255
|
-
//#region ../admin/src/pdk/instance/createQueryClient.ts
|
|
2187
|
+
// ../admin/src/pdk/instance/createQueryClient.ts
|
|
2256
2188
|
var clearApiNotifications = () => {
|
|
2257
2189
|
useNotificationStore().remove(NotificationCategory.Api);
|
|
2258
2190
|
};
|
|
@@ -2272,8 +2204,7 @@ var createQueryClient = () => new QueryClient({ defaultOptions: {
|
|
|
2272
2204
|
staleTime: Infinity
|
|
2273
2205
|
}
|
|
2274
2206
|
} });
|
|
2275
|
-
|
|
2276
|
-
//#region ../admin/src/pdk/instance/plugins/createContextPlugin.ts
|
|
2207
|
+
// ../admin/src/pdk/instance/plugins/createContextPlugin.ts
|
|
2277
2208
|
var createContextPlugin = ({ appName, config, context, logger, view }) => ({ install(app) {
|
|
2278
2209
|
logger.debug("Installing context plugin");
|
|
2279
2210
|
app.provide(INJECT_ADMIN_INSTANCE, {
|
|
@@ -2284,8 +2215,7 @@ var createContextPlugin = ({ appName, config, context, logger, view }) => ({ ins
|
|
|
2284
2215
|
view
|
|
2285
2216
|
});
|
|
2286
2217
|
} });
|
|
2287
|
-
|
|
2288
|
-
//#region ../admin/src/pdk/instance/plugins/createLoggerPlugin.ts
|
|
2218
|
+
// ../admin/src/pdk/instance/plugins/createLoggerPlugin.ts
|
|
2289
2219
|
var createLoggerPlugin = (appConfig) => ({ install(app) {
|
|
2290
2220
|
app.config.errorHandler = (err) => {
|
|
2291
2221
|
appConfig.logger.error(err);
|
|
@@ -2294,16 +2224,14 @@ var createLoggerPlugin = (appConfig) => ({ install(app) {
|
|
|
2294
2224
|
appConfig.logger.warn(msg);
|
|
2295
2225
|
};
|
|
2296
2226
|
} });
|
|
2297
|
-
|
|
2298
|
-
//#region ../admin/src/components/common/PlainElement.ts
|
|
2227
|
+
// ../admin/src/components/common/PlainElement.ts
|
|
2299
2228
|
var PlainElement_default = defineComponent({
|
|
2300
2229
|
name: "PlainElement",
|
|
2301
2230
|
render() {
|
|
2302
2231
|
return h("div", this.$attrs, this.$slots);
|
|
2303
2232
|
}
|
|
2304
2233
|
});
|
|
2305
|
-
|
|
2306
|
-
//#region ../admin/src/components/common/ResetButton.vue
|
|
2234
|
+
// ../admin/src/components/common/ResetButton.vue
|
|
2307
2235
|
var ResetButton_default = /* @__PURE__ */ defineComponent({
|
|
2308
2236
|
__name: "ResetButton",
|
|
2309
2237
|
props: { disabled: { type: Boolean } },
|
|
@@ -2328,13 +2256,11 @@ var ResetButton_default = /* @__PURE__ */ defineComponent({
|
|
|
2328
2256
|
};
|
|
2329
2257
|
}
|
|
2330
2258
|
});
|
|
2331
|
-
|
|
2332
|
-
//#region ../admin/src/forms/createReturnsForm.ts
|
|
2259
|
+
// ../admin/src/forms/createReturnsForm.ts
|
|
2333
2260
|
var createReturnsForm = (id) => {
|
|
2334
2261
|
return Ne(`returns${id}`, { fields: [] });
|
|
2335
2262
|
};
|
|
2336
|
-
|
|
2337
|
-
//#region ../admin/src/forms/pluginSettings/createFormTab.ts
|
|
2263
|
+
// ../admin/src/forms/pluginSettings/createFormTab.ts
|
|
2338
2264
|
var createFormTab = (tab) => {
|
|
2339
2265
|
const language = useLanguage();
|
|
2340
2266
|
const children = [h("div", {}, h(xe, { form: tab.form }))];
|
|
@@ -2344,13 +2270,11 @@ var createFormTab = (tab) => {
|
|
|
2344
2270
|
component: () => h("div", {}, children)
|
|
2345
2271
|
};
|
|
2346
2272
|
};
|
|
2347
|
-
|
|
2348
|
-
//#region ../admin/src/forms/pluginSettings/resolveSettingsValues.ts
|
|
2273
|
+
// ../admin/src/forms/pluginSettings/resolveSettingsValues.ts
|
|
2349
2274
|
var resolveSettingsValues = (pluginSettings, id) => {
|
|
2350
2275
|
return get(pluginSettings, id) ?? get(pluginSettings, id.replace(/\.[^.]+$/, ".*"), {});
|
|
2351
2276
|
};
|
|
2352
|
-
|
|
2353
|
-
//#region ../admin/src/forms/pluginSettings/createPluginSettingsForm.ts
|
|
2277
|
+
// ../admin/src/forms/pluginSettings/createPluginSettingsForm.ts
|
|
2354
2278
|
var createPluginSettingsForm = (id, view, context) => {
|
|
2355
2279
|
const { pluginSettings, actionContext } = context;
|
|
2356
2280
|
const mutation = useStoreQuery(BackendEndpoint.UpdatePluginSettings);
|
|
@@ -2373,8 +2297,7 @@ var createPluginSettingsForm = (id, view, context) => {
|
|
|
2373
2297
|
}
|
|
2374
2298
|
});
|
|
2375
2299
|
};
|
|
2376
|
-
|
|
2377
|
-
//#region ../admin/src/forms/pluginSettings/createPluginSettingsTabsComponent.ts
|
|
2300
|
+
// ../admin/src/forms/pluginSettings/createPluginSettingsTabsComponent.ts
|
|
2378
2301
|
var createPluginSettingsTabsComponent = (id, view, context) => defineComponent({
|
|
2379
2302
|
name: `${AdminView.PluginSettings}-${id}`,
|
|
2380
2303
|
setup: () => {
|
|
@@ -2397,8 +2320,7 @@ var createPluginSettingsTabsComponent = (id, view, context) => defineComponent({
|
|
|
2397
2320
|
})]);
|
|
2398
2321
|
}
|
|
2399
2322
|
});
|
|
2400
|
-
|
|
2401
|
-
//#region ../admin/src/forms/pluginSettings/createPluginSettingsTabs.ts
|
|
2323
|
+
// ../admin/src/forms/pluginSettings/createPluginSettingsTabs.ts
|
|
2402
2324
|
var createPluginSettingsTabs = (view, context) => {
|
|
2403
2325
|
return Object.entries(view).map(([id, view]) => {
|
|
2404
2326
|
const tab = {
|
|
@@ -2422,8 +2344,7 @@ var createPluginSettingsTabs = (view, context) => {
|
|
|
2422
2344
|
};
|
|
2423
2345
|
});
|
|
2424
2346
|
};
|
|
2425
|
-
|
|
2426
|
-
//#region ../admin/src/forms/pluginSettings/filterPluginSettingsView.ts
|
|
2347
|
+
// ../admin/src/forms/pluginSettings/filterPluginSettingsView.ts
|
|
2427
2348
|
var GENERAL_SECTION_HEADING = "settings_order_general_title";
|
|
2428
2349
|
var SHIPMENT_EXPORT_FIELDS = /* @__PURE__ */ new Set(["conceptShipments", "saveCustomerAddress"]);
|
|
2429
2350
|
var isSettingsDivider = (field) => {
|
|
@@ -2452,8 +2373,7 @@ var filterPluginSettingsView = (view, orderMode) => {
|
|
|
2452
2373
|
}];
|
|
2453
2374
|
}));
|
|
2454
2375
|
};
|
|
2455
|
-
|
|
2456
|
-
//#region ../admin/src/components/common/ReturnsForm.vue?vue&type=script&lang.ts
|
|
2376
|
+
// ../admin/src/components/common/ReturnsForm.vue?vue&type=script&lang.ts
|
|
2457
2377
|
var ReturnsForm_vue_vue_type_script_lang_default = defineComponent({
|
|
2458
2378
|
name: "ReturnsForm",
|
|
2459
2379
|
components: { MagicForm: xe },
|
|
@@ -2465,22 +2385,19 @@ var ReturnsForm_vue_vue_type_script_lang_default = defineComponent({
|
|
|
2465
2385
|
return { returnsForm: createReturnsForm(props.orderId) };
|
|
2466
2386
|
}
|
|
2467
2387
|
});
|
|
2468
|
-
|
|
2469
|
-
//#region \0plugin-vue:export-helper
|
|
2388
|
+
// \0plugin-vue:export-helper
|
|
2470
2389
|
var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
2471
2390
|
const target = sfc.__vccOpts || sfc;
|
|
2472
2391
|
for (const [key, val] of props) target[key] = val;
|
|
2473
2392
|
return target;
|
|
2474
2393
|
};
|
|
2475
|
-
|
|
2476
|
-
//#region ../admin/src/components/common/ReturnsForm.vue
|
|
2394
|
+
// ../admin/src/components/common/ReturnsForm.vue
|
|
2477
2395
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2478
2396
|
const _component_MagicForm = resolveComponent("MagicForm");
|
|
2479
2397
|
return openBlock(), createBlock(_component_MagicForm, { form: _ctx.returnsForm }, null, 8, ["form"]);
|
|
2480
2398
|
}
|
|
2481
2399
|
var ReturnsForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ReturnsForm_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
2482
|
-
|
|
2483
|
-
//#region ../admin/src/components/common/StatusIndicator.vue
|
|
2400
|
+
// ../admin/src/components/common/StatusIndicator.vue
|
|
2484
2401
|
var StatusIndicator_default = /* @__PURE__ */ defineComponent({
|
|
2485
2402
|
__name: "StatusIndicator",
|
|
2486
2403
|
props: { status: {
|
|
@@ -2511,8 +2428,7 @@ var StatusIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
2511
2428
|
};
|
|
2512
2429
|
}
|
|
2513
2430
|
});
|
|
2514
|
-
|
|
2515
|
-
//#region ../admin/src/components/common/SubmitButton.vue
|
|
2431
|
+
// ../admin/src/components/common/SubmitButton.vue
|
|
2516
2432
|
var SubmitButton_default = /* @__PURE__ */ defineComponent({
|
|
2517
2433
|
__name: "SubmitButton",
|
|
2518
2434
|
props: { disabled: { type: Boolean } },
|
|
@@ -2541,11 +2457,9 @@ var SubmitButton_default = /* @__PURE__ */ defineComponent({
|
|
|
2541
2457
|
};
|
|
2542
2458
|
}
|
|
2543
2459
|
});
|
|
2544
|
-
|
|
2545
|
-
//#region ../admin/src/components/common/TabNavigation.vue?vue&type=script&setup=true&lang.ts
|
|
2460
|
+
// ../admin/src/components/common/TabNavigation.vue?vue&type=script&setup=true&lang.ts
|
|
2546
2461
|
var _hoisted_1$4 = ["textContent"];
|
|
2547
|
-
|
|
2548
|
-
//#region ../admin/src/components/common/TabNavigation.vue
|
|
2462
|
+
// ../admin/src/components/common/TabNavigation.vue
|
|
2549
2463
|
var TabNavigation_default = /* @__PURE__ */ defineComponent({
|
|
2550
2464
|
__name: "TabNavigation",
|
|
2551
2465
|
props: {
|
|
@@ -2649,8 +2563,7 @@ var TabNavigation_default = /* @__PURE__ */ defineComponent({
|
|
|
2649
2563
|
};
|
|
2650
2564
|
}
|
|
2651
2565
|
});
|
|
2652
|
-
|
|
2653
|
-
//#region ../admin/src/pdk/instance/plugins/createRegisterComponentsPlugin.ts
|
|
2566
|
+
// ../admin/src/pdk/instance/plugins/createRegisterComponentsPlugin.ts
|
|
2654
2567
|
var getOptionalComponents = (app) => {
|
|
2655
2568
|
const isNotRegistered = (component) => app.component(component) === void 0;
|
|
2656
2569
|
const createComponentMap = (componentNames, fallback) => {
|
|
@@ -2699,8 +2612,7 @@ var createRegisterComponentsPlugin = ({ config, logger }) => {
|
|
|
2699
2612
|
logger.debug("Installed components plugin.");
|
|
2700
2613
|
} };
|
|
2701
2614
|
};
|
|
2702
|
-
|
|
2703
|
-
//#region ../admin/src/pdk/instance/plugins/createStorePlugin.ts
|
|
2615
|
+
// ../admin/src/pdk/instance/plugins/createStorePlugin.ts
|
|
2704
2616
|
var store;
|
|
2705
2617
|
var initializedStores = /* @__PURE__ */ new WeakSet();
|
|
2706
2618
|
var createStorePlugin = ({ config, logger, store: instanceStore }) => {
|
|
@@ -2714,8 +2626,7 @@ var createStorePlugin = ({ config, logger, store: instanceStore }) => {
|
|
|
2714
2626
|
});
|
|
2715
2627
|
return pinia;
|
|
2716
2628
|
};
|
|
2717
|
-
|
|
2718
|
-
//#region ../admin/src/pdk/instance/plugins/createVueQueryPlugin.ts
|
|
2629
|
+
// ../admin/src/pdk/instance/plugins/createVueQueryPlugin.ts
|
|
2719
2630
|
var queryClient;
|
|
2720
2631
|
var createVueQueryPlugin = ({ context, logger, queryClient: instanceQueryClient }) => {
|
|
2721
2632
|
return { install: (app) => {
|
|
@@ -2736,8 +2647,7 @@ var createVueQueryPlugin = ({ context, logger, queryClient: instanceQueryClient
|
|
|
2736
2647
|
app.use(VueQueryPlugin, { queryClient: client });
|
|
2737
2648
|
} };
|
|
2738
2649
|
};
|
|
2739
|
-
|
|
2740
|
-
//#region ../admin/src/pdk/setupAdminApp.ts
|
|
2650
|
+
// ../admin/src/pdk/setupAdminApp.ts
|
|
2741
2651
|
var setupAdminApp = (app, appConfig) => {
|
|
2742
2652
|
setRequestHeadersProvider(appConfig.config.getRequestHeaders);
|
|
2743
2653
|
app.use(createStorePlugin(appConfig));
|
|
@@ -2747,8 +2657,7 @@ var setupAdminApp = (app, appConfig) => {
|
|
|
2747
2657
|
app.use(createLoggerPlugin(appConfig));
|
|
2748
2658
|
app.directive("test", testIdDirective);
|
|
2749
2659
|
};
|
|
2750
|
-
|
|
2751
|
-
//#region ../admin/src/pdk/renderMap.ts
|
|
2660
|
+
// ../admin/src/pdk/renderMap.ts
|
|
2752
2661
|
var renderMap = Object.freeze({
|
|
2753
2662
|
[AdminView.ChildProductSettings]: async () => Promise.resolve().then(() => ChildProductSettings_exports),
|
|
2754
2663
|
[AdminView.Modals]: async () => Promise.resolve().then(() => Modals_exports),
|
|
@@ -2756,15 +2665,14 @@ var renderMap = Object.freeze({
|
|
|
2756
2665
|
[AdminView.OrderBox]: async () => Promise.resolve().then(() => OrderBox_exports),
|
|
2757
2666
|
[AdminView.OrderListItem]: async () => Promise.resolve().then(() => OrderListItem_exports),
|
|
2758
2667
|
[AdminView.PluginSettings]: async () => Promise.resolve().then(() => PluginSettings_exports),
|
|
2759
|
-
[AdminView.ProductSettings]: async () => import("./shared-
|
|
2668
|
+
[AdminView.ProductSettings]: async () => import("./shared-DIRu4sin.js").then((n) => n.r)
|
|
2760
2669
|
});
|
|
2761
2670
|
var renderViewComponent = async (componentName) => {
|
|
2762
2671
|
const renderMethod = renderMap[componentName];
|
|
2763
2672
|
if (!renderMethod) throw new Error(`No render method found for component "${componentName}"`);
|
|
2764
2673
|
return (await renderMethod()).default;
|
|
2765
2674
|
};
|
|
2766
|
-
|
|
2767
|
-
//#region ../admin/src/pdk/PdkAdmin.ts
|
|
2675
|
+
// ../admin/src/pdk/PdkAdmin.ts
|
|
2768
2676
|
var PdkAdmin = class {
|
|
2769
2677
|
config;
|
|
2770
2678
|
context;
|
|
@@ -2843,15 +2751,13 @@ var PdkAdmin = class {
|
|
|
2843
2751
|
return appName;
|
|
2844
2752
|
}
|
|
2845
2753
|
};
|
|
2846
|
-
|
|
2847
|
-
//#region ../admin/src/pdk/sendBootEvent.ts
|
|
2754
|
+
// ../admin/src/pdk/sendBootEvent.ts
|
|
2848
2755
|
var sendBootEvent = (pdkAdmin, context) => {
|
|
2849
2756
|
const globalContext = context.global;
|
|
2850
2757
|
if (!globalContext) throw new Error("Global context not found");
|
|
2851
2758
|
document.dispatchEvent(new CustomEvent(globalContext.eventPong, { detail: pdkAdmin }));
|
|
2852
2759
|
};
|
|
2853
|
-
|
|
2854
|
-
//#region ../admin/src/pdk/boot.ts
|
|
2760
|
+
// ../admin/src/pdk/boot.ts
|
|
2855
2761
|
var boot = (pdkAdmin, context) => {
|
|
2856
2762
|
const onPing = () => {
|
|
2857
2763
|
sendBootEvent(pdkAdmin, context);
|
|
@@ -2863,8 +2769,7 @@ var boot = (pdkAdmin, context) => {
|
|
|
2863
2769
|
sendBootEvent(pdkAdmin, context);
|
|
2864
2770
|
globalLogger.debug("Created PDK admin!", { context });
|
|
2865
2771
|
};
|
|
2866
|
-
|
|
2867
|
-
//#region ../admin/src/pdk/createAdminConfig.ts
|
|
2772
|
+
// ../admin/src/pdk/createAdminConfig.ts
|
|
2868
2773
|
var createDefaultConfig = () => ({
|
|
2869
2774
|
components: void 0,
|
|
2870
2775
|
formatters: {},
|
|
@@ -2882,8 +2787,7 @@ var createAdminConfig = (customConfig) => {
|
|
|
2882
2787
|
});
|
|
2883
2788
|
return Object.freeze(merged);
|
|
2884
2789
|
};
|
|
2885
|
-
|
|
2886
|
-
//#region ../admin/src/pdk/createPdkAdmin.ts
|
|
2790
|
+
// ../admin/src/pdk/createPdkAdmin.ts
|
|
2887
2791
|
var BOOTSTRAP_CONTAINER_SELECTOR = "#myparcel-pdk-boot";
|
|
2888
2792
|
var createPdkAdmin = (configuration) => {
|
|
2889
2793
|
try {
|
|
@@ -2899,8 +2803,7 @@ var createPdkAdmin = (configuration) => {
|
|
|
2899
2803
|
console.error(e);
|
|
2900
2804
|
}
|
|
2901
2805
|
};
|
|
2902
|
-
|
|
2903
|
-
//#region ../admin/src/pdk/createPdkAdminPlugin.ts
|
|
2806
|
+
// ../admin/src/pdk/createPdkAdminPlugin.ts
|
|
2904
2807
|
var createPdkAdminPlugin = (config, context) => {
|
|
2905
2808
|
return { install(app) {
|
|
2906
2809
|
setupAdminApp(app, {
|
|
@@ -2911,52 +2814,44 @@ var createPdkAdminPlugin = (config, context) => {
|
|
|
2911
2814
|
});
|
|
2912
2815
|
} };
|
|
2913
2816
|
};
|
|
2914
|
-
|
|
2915
|
-
//#region ../admin/src/utils/extendAdminInstance.ts
|
|
2817
|
+
// ../admin/src/utils/extendAdminInstance.ts
|
|
2916
2818
|
var extendAdminInstance = (data) => {
|
|
2917
2819
|
const instance = inject(INJECT_ADMIN_INSTANCE);
|
|
2918
2820
|
provide(INJECT_ADMIN_INSTANCE, merge({}, instance, data));
|
|
2919
2821
|
};
|
|
2920
|
-
|
|
2921
|
-
//#region ../admin/src/utils/forms/generateFieldId.ts
|
|
2822
|
+
// ../admin/src/utils/forms/generateFieldId.ts
|
|
2922
2823
|
var generateFieldId = (element) => {
|
|
2923
2824
|
const config = useAdminConfig();
|
|
2924
2825
|
const resolvedElement = unref(element) ?? Je();
|
|
2925
2826
|
const formBaseName = resolvedElement.form.name.split("--")[0];
|
|
2926
2827
|
return (config.formConfigOverrides?.[formBaseName]?.generateFieldId ?? config.generateFieldId)(resolvedElement);
|
|
2927
2828
|
};
|
|
2928
|
-
|
|
2929
|
-
//#region ../admin/src/utils/notificationBelongsToOrder.ts
|
|
2829
|
+
// ../admin/src/utils/notificationBelongsToOrder.ts
|
|
2930
2830
|
var notificationBelongsToOrder = (notification, externalIdentifier) => {
|
|
2931
2831
|
const { orderIds } = notification.tags ?? {};
|
|
2932
2832
|
if (!orderIds || !externalIdentifier) return false;
|
|
2933
2833
|
return orderIds.split(",").includes(externalIdentifier);
|
|
2934
2834
|
};
|
|
2935
|
-
|
|
2936
|
-
//#region ../admin/src/utils/translations/translateSelectOption.ts
|
|
2835
|
+
// ../admin/src/utils/translations/translateSelectOption.ts
|
|
2937
2836
|
var translateSelectOption = (option, translate) => {
|
|
2938
2837
|
const hasLabel = isOfType(option, "label");
|
|
2939
2838
|
const translatedOption = { ...option };
|
|
2940
2839
|
translatedOption.label = hasLabel ? translate(option.label) : option.plainLabel;
|
|
2941
2840
|
return Object.freeze(translatedOption);
|
|
2942
2841
|
};
|
|
2943
|
-
|
|
2944
|
-
//#region ../admin/src/utils/triStateToBoolean.ts
|
|
2842
|
+
// ../admin/src/utils/triStateToBoolean.ts
|
|
2945
2843
|
var triStateToBoolean = (value) => {
|
|
2946
2844
|
return TriState.Inherit === value ? false : Boolean(value);
|
|
2947
2845
|
};
|
|
2948
|
-
|
|
2949
|
-
//#region ../admin/src/utils/unprefixComponent.ts
|
|
2846
|
+
// ../admin/src/utils/unprefixComponent.ts
|
|
2950
2847
|
var unprefixComponent = (componentName) => {
|
|
2951
2848
|
return componentName.replace("Pdk", "");
|
|
2952
2849
|
};
|
|
2953
|
-
|
|
2954
|
-
//#region ../admin/src/composables/context/useAppInfo.ts
|
|
2850
|
+
// ../admin/src/composables/context/useAppInfo.ts
|
|
2955
2851
|
var useAppInfo = () => {
|
|
2956
2852
|
return useGlobalContext().appInfo;
|
|
2957
2853
|
};
|
|
2958
|
-
|
|
2959
|
-
//#region ../admin/src/composables/context/useModalContext.ts
|
|
2854
|
+
// ../admin/src/composables/context/useModalContext.ts
|
|
2960
2855
|
var useModalContext = (modalId, onSave, onCancel) => {
|
|
2961
2856
|
const store = useModalStore();
|
|
2962
2857
|
const resolvedId = ref(modalId?.value);
|
|
@@ -2984,8 +2879,7 @@ var useModalContext = (modalId, onSave, onCancel) => {
|
|
|
2984
2879
|
shown
|
|
2985
2880
|
};
|
|
2986
2881
|
};
|
|
2987
|
-
|
|
2988
|
-
//#region ../admin/src/composables/components/useElementOptions.ts
|
|
2882
|
+
// ../admin/src/composables/components/useElementOptions.ts
|
|
2989
2883
|
var useElementOptions = (props) => {
|
|
2990
2884
|
const { translate } = useLanguage();
|
|
2991
2885
|
const sort = computed(() => props.element.props.sort);
|
|
@@ -3000,16 +2894,14 @@ var useElementOptions = (props) => {
|
|
|
3000
2894
|
});
|
|
3001
2895
|
}) };
|
|
3002
2896
|
};
|
|
3003
|
-
|
|
3004
|
-
//#region ../admin/src/composables/components/useElementContext.ts
|
|
2897
|
+
// ../admin/src/composables/components/useElementContext.ts
|
|
3005
2898
|
var useElementContext = (props, emit) => {
|
|
3006
2899
|
return {
|
|
3007
2900
|
id: generateFieldId(props.element),
|
|
3008
2901
|
model: useVModel(props, void 0, emit)
|
|
3009
2902
|
};
|
|
3010
2903
|
};
|
|
3011
|
-
|
|
3012
|
-
//#region ../admin/src/composables/components/useInputWithOptionsContext.ts
|
|
2904
|
+
// ../admin/src/composables/components/useInputWithOptionsContext.ts
|
|
3013
2905
|
var useInputWithOptionsContext = (props, emit, multiple) => {
|
|
3014
2906
|
const { id, model } = useElementContext(props, emit);
|
|
3015
2907
|
const { options } = useElementOptions(props);
|
|
@@ -3026,11 +2918,9 @@ var useInputWithOptionsContext = (props, emit, multiple) => {
|
|
|
3026
2918
|
model
|
|
3027
2919
|
};
|
|
3028
2920
|
};
|
|
3029
|
-
|
|
3030
|
-
//#region ../admin/src/composables/components/useCheckboxGroupContext.ts
|
|
2921
|
+
// ../admin/src/composables/components/useCheckboxGroupContext.ts
|
|
3031
2922
|
var useCheckboxGroupContext = (props, emit) => useInputWithOptionsContext(props, emit);
|
|
3032
|
-
|
|
3033
|
-
//#region ../admin/src/composables/useWeekdays.ts
|
|
2923
|
+
// ../admin/src/composables/useWeekdays.ts
|
|
3034
2924
|
var WEEKDAYS = [
|
|
3035
2925
|
0,
|
|
3036
2926
|
1,
|
|
@@ -3047,8 +2937,7 @@ var useWeekdays = () => {
|
|
|
3047
2937
|
weekdaysObject: createObjectWithKeys(WEEKDAYS, (day) => formatter.format(Format.Weekday, day))
|
|
3048
2938
|
};
|
|
3049
2939
|
};
|
|
3050
|
-
|
|
3051
|
-
//#region ../admin/src/composables/components/useDropOffInputContext.ts
|
|
2940
|
+
// ../admin/src/composables/components/useDropOffInputContext.ts
|
|
3052
2941
|
var useDropOffInputContext = (props, emit) => {
|
|
3053
2942
|
const { weekdaysObject, weekdays } = useWeekdays();
|
|
3054
2943
|
const createReactiveObject = (property, defaultValue) => {
|
|
@@ -3086,8 +2975,7 @@ var useDropOffInputContext = (props, emit) => {
|
|
|
3086
2975
|
weekdaysObject
|
|
3087
2976
|
};
|
|
3088
2977
|
};
|
|
3089
|
-
|
|
3090
|
-
//#region ../admin/src/composables/components/useDropdownButtonContext.ts
|
|
2978
|
+
// ../admin/src/composables/components/useDropdownButtonContext.ts
|
|
3091
2979
|
var useDropdownButtonContext = (props) => {
|
|
3092
2980
|
const toggled = ref(false);
|
|
3093
2981
|
const propRefs = toRefs(props);
|
|
@@ -3106,8 +2994,7 @@ var useDropdownButtonContext = (props) => {
|
|
|
3106
2994
|
toggled
|
|
3107
2995
|
};
|
|
3108
2996
|
};
|
|
3109
|
-
|
|
3110
|
-
//#region ../admin/src/composables/components/useModalElementContext.ts
|
|
2997
|
+
// ../admin/src/composables/components/useModalElementContext.ts
|
|
3111
2998
|
var useModalElementContext = (modalKey) => {
|
|
3112
2999
|
const modalStore = useModalStore();
|
|
3113
3000
|
const context = computed(() => isOpen.value ? modalStore.context : null);
|
|
@@ -3118,13 +3005,11 @@ var useModalElementContext = (modalKey) => {
|
|
|
3118
3005
|
isOpen
|
|
3119
3006
|
};
|
|
3120
3007
|
};
|
|
3121
|
-
|
|
3122
|
-
//#region ../admin/src/composables/components/useMultiSelectInputContext.ts
|
|
3008
|
+
// ../admin/src/composables/components/useMultiSelectInputContext.ts
|
|
3123
3009
|
var useMultiSelectInputContext = (props, emit) => {
|
|
3124
3010
|
return useInputWithOptionsContext(props, emit, true);
|
|
3125
3011
|
};
|
|
3126
|
-
|
|
3127
|
-
//#region ../admin/src/composables/components/useRadioGroupContext.ts
|
|
3012
|
+
// ../admin/src/composables/components/useRadioGroupContext.ts
|
|
3128
3013
|
var useRadioGroupContext = (props, emit) => {
|
|
3129
3014
|
const context = useInputWithOptionsContext(props, emit);
|
|
3130
3015
|
const elements = computed(() => {
|
|
@@ -3147,13 +3032,11 @@ var useRadioGroupContext = (props, emit) => {
|
|
|
3147
3032
|
elements
|
|
3148
3033
|
};
|
|
3149
3034
|
};
|
|
3150
|
-
|
|
3151
|
-
//#region ../admin/src/composables/components/useSelectInputContext.ts
|
|
3035
|
+
// ../admin/src/composables/components/useSelectInputContext.ts
|
|
3152
3036
|
var useSelectInputContext = (props, emit) => {
|
|
3153
3037
|
return useInputWithOptionsContext(props, emit);
|
|
3154
3038
|
};
|
|
3155
|
-
|
|
3156
|
-
//#region ../admin/src/composables/components/useShippingMethodsInputContext.ts
|
|
3039
|
+
// ../admin/src/composables/components/useShippingMethodsInputContext.ts
|
|
3157
3040
|
var SHIPPING_METHOD_TYPES = Object.freeze([
|
|
3158
3041
|
{
|
|
3159
3042
|
label: "option_none",
|
|
@@ -3240,16 +3123,14 @@ var useShippingMethodsInputContext = (props, emit) => {
|
|
|
3240
3123
|
shippingMethods
|
|
3241
3124
|
};
|
|
3242
3125
|
};
|
|
3243
|
-
|
|
3244
|
-
//#region ../admin/src/composables/components/useTableContext.ts
|
|
3126
|
+
// ../admin/src/composables/components/useTableContext.ts
|
|
3245
3127
|
var useTableContext = (props) => {
|
|
3246
3128
|
const config = useAdminConfig();
|
|
3247
3129
|
return { transition: computed(() => {
|
|
3248
3130
|
return props.transition === false ? void 0 : props.transition ?? config.transitions?.tableRow;
|
|
3249
3131
|
}) };
|
|
3250
3132
|
};
|
|
3251
|
-
|
|
3252
|
-
//#region ../admin/src/composables/components/useToggleInputContext.ts
|
|
3133
|
+
// ../admin/src/composables/components/useToggleInputContext.ts
|
|
3253
3134
|
var useToggleInputContext = (props, emit) => {
|
|
3254
3135
|
const toggleModel = ref(triStateToBoolean(toValue(props.modelValue)));
|
|
3255
3136
|
const { id, model } = useElementContext(props, emit);
|
|
@@ -3266,8 +3147,7 @@ var useToggleInputContext = (props, emit) => {
|
|
|
3266
3147
|
toggleModel
|
|
3267
3148
|
};
|
|
3268
3149
|
};
|
|
3269
|
-
|
|
3270
|
-
//#region ../admin/src/composables/components/useTriStateInputContext.ts
|
|
3150
|
+
// ../admin/src/composables/components/useTriStateInputContext.ts
|
|
3271
3151
|
var useTriStateInputContext = (props, emit) => {
|
|
3272
3152
|
const { translate } = useLanguage();
|
|
3273
3153
|
const form = M();
|
|
@@ -3321,15 +3201,13 @@ var useTriStateInputContext = (props, emit) => {
|
|
|
3321
3201
|
toggleModel
|
|
3322
3202
|
};
|
|
3323
3203
|
};
|
|
3324
|
-
|
|
3325
|
-
//#region ../admin/src/composables/useGlobalPdkAdmin.ts
|
|
3204
|
+
// ../admin/src/composables/useGlobalPdkAdmin.ts
|
|
3326
3205
|
var useGlobalPdkAdmin = () => {
|
|
3327
3206
|
const pdkAdmin = inject(INJECT_GLOBAL_PDK_ADMIN);
|
|
3328
3207
|
if (!pdkAdmin) throw new Error("PDK frontend not found. First use createPdkAdmin() to create the global instance.");
|
|
3329
3208
|
return pdkAdmin;
|
|
3330
3209
|
};
|
|
3331
|
-
|
|
3332
|
-
//#region ../admin/src/composables/useLoadMore.ts
|
|
3210
|
+
// ../admin/src/composables/useLoadMore.ts
|
|
3333
3211
|
var useLoadMore = (options) => {
|
|
3334
3212
|
const loaded = ref(options.start ?? options.step ?? toValue(options.items).length - 1);
|
|
3335
3213
|
const hasMore = computed(() => loaded.value < toValue(options.items).length - 1);
|
|
@@ -3347,13 +3225,11 @@ var useLoadMore = (options) => {
|
|
|
3347
3225
|
loadMore
|
|
3348
3226
|
};
|
|
3349
3227
|
};
|
|
3350
|
-
|
|
3351
|
-
//#region ../admin/src/composables/useLogger.ts
|
|
3228
|
+
// ../admin/src/composables/useLogger.ts
|
|
3352
3229
|
var useLogger = () => {
|
|
3353
3230
|
return useAdminInstance().logger;
|
|
3354
3231
|
};
|
|
3355
|
-
|
|
3356
|
-
//#region ../admin/src/services/context/getElementContext.ts
|
|
3232
|
+
// ../admin/src/services/context/getElementContext.ts
|
|
3357
3233
|
var getElementContext = (selector) => {
|
|
3358
3234
|
const element = document.querySelector(selector);
|
|
3359
3235
|
const context = element?.getAttribute("data-pdk-context");
|
|
@@ -3366,8 +3242,7 @@ var getElementContext = (selector) => {
|
|
|
3366
3242
|
globalLogger.info(`No context found in ${selector}`);
|
|
3367
3243
|
return {};
|
|
3368
3244
|
};
|
|
3369
|
-
|
|
3370
|
-
//#region ../admin/src/actions/composables/mutations/account/useDeleteAccountMutation.ts
|
|
3245
|
+
// ../admin/src/actions/composables/mutations/account/useDeleteAccountMutation.ts
|
|
3371
3246
|
var useDeleteAccountMutation = () => {
|
|
3372
3247
|
const queryClient = useQueryClient();
|
|
3373
3248
|
return usePdkMutation(BackendEndpoint.DeleteAccount, async () => {
|
|
@@ -3379,8 +3254,7 @@ var useDeleteAccountMutation = () => {
|
|
|
3379
3254
|
}
|
|
3380
3255
|
});
|
|
3381
3256
|
};
|
|
3382
|
-
|
|
3383
|
-
//#region ../admin/src/actions/composables/mutations/account/useUpdateAccountMutation.ts
|
|
3257
|
+
// ../admin/src/actions/composables/mutations/account/useUpdateAccountMutation.ts
|
|
3384
3258
|
var useUpdateAccountMutation = () => {
|
|
3385
3259
|
const queryClient = useQueryClient();
|
|
3386
3260
|
const defaultMutationOptions = queryClient.defaultMutationOptions();
|
|
@@ -3407,30 +3281,25 @@ var useUpdateAccountMutation = () => {
|
|
|
3407
3281
|
}
|
|
3408
3282
|
});
|
|
3409
3283
|
};
|
|
3410
|
-
|
|
3411
|
-
//#region ../admin/src/actions/composables/mutations/debug/useDownloadLogsMutation.ts
|
|
3284
|
+
// ../admin/src/actions/composables/mutations/debug/useDownloadLogsMutation.ts
|
|
3412
3285
|
var useDownloadLogsMutation = () => {
|
|
3413
3286
|
return usePdkMutation(BackendEndpoint.DownloadLogs, () => usePdkAdminApi().downloadLogs());
|
|
3414
3287
|
};
|
|
3415
|
-
|
|
3416
|
-
//#region ../admin/src/actions/composables/mutations/debug/useSwitchToAcceptanceApiMutation.ts
|
|
3288
|
+
// ../admin/src/actions/composables/mutations/debug/useSwitchToAcceptanceApiMutation.ts
|
|
3417
3289
|
var useSwitchToAcceptanceApiMutation = () => {
|
|
3418
3290
|
return usePdkMutation(BackendEndpoint.SwitchToAcceptanceApi, () => usePdkAdminApi().switchToAcceptanceApi());
|
|
3419
3291
|
};
|
|
3420
|
-
|
|
3421
|
-
//#region ../admin/src/actions/composables/mutations/debug/useSwitchToProductionApiMutation.ts
|
|
3292
|
+
// ../admin/src/actions/composables/mutations/debug/useSwitchToProductionApiMutation.ts
|
|
3422
3293
|
var useSwitchToProductionApiMutation = () => {
|
|
3423
3294
|
return usePdkMutation(BackendEndpoint.SwitchToProductionApi, () => usePdkAdminApi().switchToProductionApi());
|
|
3424
3295
|
};
|
|
3425
|
-
|
|
3426
|
-
//#region ../admin/src/actions/composables/mutations/settings/useUpdatePluginSettingsMutation.ts
|
|
3296
|
+
// ../admin/src/actions/composables/mutations/settings/useUpdatePluginSettingsMutation.ts
|
|
3427
3297
|
var useUpdatePluginSettingsMutation = () => {
|
|
3428
3298
|
return usePdkMutation(BackendEndpoint.UpdatePluginSettings, ({ form }) => {
|
|
3429
3299
|
return usePdkAdminApi().updatePluginSettings({ body: formToBody(form) });
|
|
3430
3300
|
});
|
|
3431
3301
|
};
|
|
3432
|
-
|
|
3433
|
-
//#region ../admin/src/actions/definitions/account.ts
|
|
3302
|
+
// ../admin/src/actions/definitions/account.ts
|
|
3434
3303
|
var updateAccountAction = defineAction({
|
|
3435
3304
|
name: AdminAction.AccountUpdate,
|
|
3436
3305
|
icon: AdminIcon.Save,
|
|
@@ -3451,8 +3320,7 @@ var deleteAccountAction = defineAction({
|
|
|
3451
3320
|
label: "action_delete",
|
|
3452
3321
|
handler: createMutationHandler(BackendEndpoint.DeleteAccount)
|
|
3453
3322
|
});
|
|
3454
|
-
|
|
3455
|
-
//#region ../admin/src/actions/definitions/context.ts
|
|
3323
|
+
// ../admin/src/actions/definitions/context.ts
|
|
3456
3324
|
var fetchDynamicContextAction = defineAction({
|
|
3457
3325
|
name: AdminAction.ContextFetch,
|
|
3458
3326
|
handler: createQueryHandler(BackendEndpoint.FetchContext, AdminContextKey.Dynamic)
|
|
@@ -3461,15 +3329,13 @@ var fetchPluginSettingsViewContextAction = defineAction({
|
|
|
3461
3329
|
name: AdminAction.ContextFetch,
|
|
3462
3330
|
handler: createQueryHandler(BackendEndpoint.FetchContext, AdminContextKey.PluginSettingsView)
|
|
3463
3331
|
});
|
|
3464
|
-
|
|
3465
|
-
//#region ../admin/src/utils/downloadBlob.ts
|
|
3332
|
+
// ../admin/src/utils/downloadBlob.ts
|
|
3466
3333
|
var downloadBlob = (blob, filename) => {
|
|
3467
3334
|
const url = URL.createObjectURL(blob);
|
|
3468
3335
|
downloadFileFromUrl(url, filename);
|
|
3469
3336
|
URL.revokeObjectURL(url);
|
|
3470
3337
|
};
|
|
3471
|
-
|
|
3472
|
-
//#region ../admin/src/actions/definitions/debug.ts
|
|
3338
|
+
// ../admin/src/actions/definitions/debug.ts
|
|
3473
3339
|
var downloadLogsAction = defineAction({
|
|
3474
3340
|
name: AdminAction.DownloadLogs,
|
|
3475
3341
|
icon: AdminIcon.Download,
|
|
@@ -3491,16 +3357,14 @@ var switchToProductionApiAction = defineAction({
|
|
|
3491
3357
|
label: "action_switch_to_production_api",
|
|
3492
3358
|
handler: createMutationHandler(BackendEndpoint.SwitchToProductionApi)
|
|
3493
3359
|
});
|
|
3494
|
-
|
|
3495
|
-
//#region ../admin/src/actions/definitions/settings.ts
|
|
3360
|
+
// ../admin/src/actions/definitions/settings.ts
|
|
3496
3361
|
var pluginSettingsUpdateAction = defineAction({
|
|
3497
3362
|
name: AdminAction.PluginSettingsUpdate,
|
|
3498
3363
|
icon: AdminIcon.Save,
|
|
3499
3364
|
label: "action_save",
|
|
3500
3365
|
handler: createMutationHandler(BackendEndpoint.UpdatePluginSettings)
|
|
3501
3366
|
});
|
|
3502
|
-
|
|
3503
|
-
//#region ../admin/src/views/ChildProductSettings.vue?vue&type=script&setup=true&lang.ts
|
|
3367
|
+
// ../admin/src/views/ChildProductSettings.vue?vue&type=script&setup=true&lang.ts
|
|
3504
3368
|
var ChildProductSettings_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3505
3369
|
__name: "ChildProductSettings",
|
|
3506
3370
|
setup(__props) {
|
|
@@ -3513,16 +3377,14 @@ var ChildProductSettings_vue_vue_type_script_setup_true_lang_default = /*#__PURE
|
|
|
3513
3377
|
};
|
|
3514
3378
|
}
|
|
3515
3379
|
});
|
|
3516
|
-
|
|
3517
|
-
//#region ../admin/src/views/ChildProductSettings.vue
|
|
3380
|
+
// ../admin/src/views/ChildProductSettings.vue
|
|
3518
3381
|
var ChildProductSettings_exports = /* @__PURE__ */ __exportAll({ default: () => ChildProductSettings_default });
|
|
3519
3382
|
var ChildProductSettings_default = ChildProductSettings_vue_vue_type_script_setup_true_lang_default;
|
|
3520
|
-
|
|
3521
|
-
//#region ../admin/src/components/modals/ShipmentOptionsModal.vue
|
|
3383
|
+
// ../admin/src/components/modals/ShipmentOptionsModal.vue
|
|
3522
3384
|
var ShipmentOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
3523
3385
|
__name: "ShipmentOptionsModal",
|
|
3524
3386
|
setup(__props) {
|
|
3525
|
-
const ShipmentOptionsModalForm = defineAsyncComponent(() => import("./ShipmentOptionsModalForm-
|
|
3387
|
+
const ShipmentOptionsModalForm = defineAsyncComponent(() => import("./ShipmentOptionsModalForm-BvlxepIT.js"));
|
|
3526
3388
|
const orderMode = useOrderMode();
|
|
3527
3389
|
const ordersData = computed(() => useOrdersData());
|
|
3528
3390
|
const orderIds = computed(() => toValue(ordersData).map((data) => toValue(data.order)?.externalIdentifier));
|
|
@@ -3547,13 +3409,12 @@ var ShipmentOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
|
3547
3409
|
};
|
|
3548
3410
|
}
|
|
3549
3411
|
});
|
|
3550
|
-
|
|
3551
|
-
//#region ../admin/src/components/modals/PrintOptionsModal.vue
|
|
3412
|
+
// ../admin/src/components/modals/PrintOptionsModal.vue
|
|
3552
3413
|
var PrintOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
3553
3414
|
__name: "PrintOptionsModal",
|
|
3554
3415
|
setup(__props) {
|
|
3555
3416
|
const modalKey = AdminModalKey.PrintOptions;
|
|
3556
|
-
const PrintOptionsModalForm = defineAsyncComponent(() => import("./PrintOptionsModalForm-
|
|
3417
|
+
const PrintOptionsModalForm = defineAsyncComponent(() => import("./PrintOptionsModalForm-BowCXGT1.js"));
|
|
3557
3418
|
useActionStore().register(modalSubmitFormAction);
|
|
3558
3419
|
const actions = instantiateActions([modalCloseAction, modalSubmitFormAction]);
|
|
3559
3420
|
return (_ctx, _cache) => {
|
|
@@ -3569,8 +3430,7 @@ var PrintOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
|
3569
3430
|
};
|
|
3570
3431
|
}
|
|
3571
3432
|
});
|
|
3572
|
-
|
|
3573
|
-
//#region ../admin/src/views/Modals.vue?vue&type=script&setup=true&lang.ts
|
|
3433
|
+
// ../admin/src/views/Modals.vue?vue&type=script&setup=true&lang.ts
|
|
3574
3434
|
var Modals_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3575
3435
|
__name: "Modals",
|
|
3576
3436
|
setup(__props) {
|
|
@@ -3582,12 +3442,10 @@ var Modals_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineCom
|
|
|
3582
3442
|
};
|
|
3583
3443
|
}
|
|
3584
3444
|
});
|
|
3585
|
-
|
|
3586
|
-
//#region ../admin/src/views/Modals.vue
|
|
3445
|
+
// ../admin/src/views/Modals.vue
|
|
3587
3446
|
var Modals_exports = /* @__PURE__ */ __exportAll({ default: () => Modals_default });
|
|
3588
3447
|
var Modals_default = Modals_vue_vue_type_script_setup_true_lang_default;
|
|
3589
|
-
|
|
3590
|
-
//#region ../admin/src/views/Notifications.vue?vue&type=script&setup=true&lang.ts
|
|
3448
|
+
// ../admin/src/views/Notifications.vue?vue&type=script&setup=true&lang.ts
|
|
3591
3449
|
var Notifications_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3592
3450
|
__name: "Notifications",
|
|
3593
3451
|
setup(__props) {
|
|
@@ -3596,12 +3454,10 @@ var Notifications_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ de
|
|
|
3596
3454
|
};
|
|
3597
3455
|
}
|
|
3598
3456
|
});
|
|
3599
|
-
|
|
3600
|
-
//#region ../admin/src/views/Notifications.vue
|
|
3457
|
+
// ../admin/src/views/Notifications.vue
|
|
3601
3458
|
var Notifications_exports = /* @__PURE__ */ __exportAll({ default: () => Notifications_default });
|
|
3602
3459
|
var Notifications_default = Notifications_vue_vue_type_script_setup_true_lang_default;
|
|
3603
|
-
|
|
3604
|
-
//#region ../admin/src/components/OrderBox/ShipmentOptionsBox.vue
|
|
3460
|
+
// ../admin/src/components/OrderBox/ShipmentOptionsBox.vue
|
|
3605
3461
|
var ShipmentOptionsBox_default = /* @__PURE__ */ defineComponent({
|
|
3606
3462
|
__name: "ShipmentOptionsBox",
|
|
3607
3463
|
setup(__props) {
|
|
@@ -3644,12 +3500,11 @@ var ShipmentOptionsBox_default = /* @__PURE__ */ defineComponent({
|
|
|
3644
3500
|
};
|
|
3645
3501
|
}
|
|
3646
3502
|
});
|
|
3647
|
-
|
|
3648
|
-
//#region ../admin/src/views/OrderBox.vue?vue&type=script&setup=true&lang.ts
|
|
3503
|
+
// ../admin/src/views/OrderBox.vue?vue&type=script&setup=true&lang.ts
|
|
3649
3504
|
var OrderBox_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3650
3505
|
__name: "OrderBox",
|
|
3651
3506
|
setup(__props) {
|
|
3652
|
-
const ShipmentTableBox = defineAsyncComponent(() => import("./ShipmentTableBox-
|
|
3507
|
+
const ShipmentTableBox = defineAsyncComponent(() => import("./ShipmentTableBox-E6HocN3g.js"));
|
|
3653
3508
|
const queryStore = useQueryStore();
|
|
3654
3509
|
queryStore.registerContextQueries();
|
|
3655
3510
|
queryStore.registerOrderQueries();
|
|
@@ -3662,12 +3517,10 @@ var OrderBox_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineC
|
|
|
3662
3517
|
};
|
|
3663
3518
|
}
|
|
3664
3519
|
});
|
|
3665
|
-
|
|
3666
|
-
//#region ../admin/src/views/OrderBox.vue
|
|
3520
|
+
// ../admin/src/views/OrderBox.vue
|
|
3667
3521
|
var OrderBox_exports = /* @__PURE__ */ __exportAll({ default: () => OrderBox_default });
|
|
3668
3522
|
var OrderBox_default = OrderBox_vue_vue_type_script_setup_true_lang_default;
|
|
3669
|
-
|
|
3670
|
-
//#region ../admin/src/views/integrated/OrderBoxView.vue
|
|
3523
|
+
// ../admin/src/views/integrated/OrderBoxView.vue
|
|
3671
3524
|
var OrderBoxView_default = /* @__PURE__ */ defineComponent({
|
|
3672
3525
|
__name: "OrderBoxView",
|
|
3673
3526
|
props: { orderIdentifier: {
|
|
@@ -3681,17 +3534,16 @@ var OrderBoxView_default = /* @__PURE__ */ defineComponent({
|
|
|
3681
3534
|
};
|
|
3682
3535
|
}
|
|
3683
3536
|
});
|
|
3684
|
-
|
|
3685
|
-
//#region ../admin/src/views/OrderListItem.vue?vue&type=script&setup=true&lang.ts
|
|
3537
|
+
// ../admin/src/views/OrderListItem.vue?vue&type=script&setup=true&lang.ts
|
|
3686
3538
|
var _hoisted_1$3 = { key: 0 };
|
|
3687
3539
|
var OrderListItem_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3688
3540
|
__name: "OrderListItem",
|
|
3689
3541
|
setup(__props) {
|
|
3690
3542
|
const OrderModeOrderListItem = defineAsyncComponent(() => {
|
|
3691
|
-
return import("./OrderModeOrderListItem-
|
|
3543
|
+
return import("./OrderModeOrderListItem-OOsP2w8C.js");
|
|
3692
3544
|
});
|
|
3693
3545
|
const ShipmentModeOrderListItem = defineAsyncComponent(() => {
|
|
3694
|
-
return import("./ShipmentModeOrderListItem-
|
|
3546
|
+
return import("./ShipmentModeOrderListItem-BD1HRZUb.js");
|
|
3695
3547
|
});
|
|
3696
3548
|
const queryStore = useQueryStore();
|
|
3697
3549
|
queryStore.registerContextQueries();
|
|
@@ -3710,12 +3562,10 @@ var OrderListItem_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ de
|
|
|
3710
3562
|
};
|
|
3711
3563
|
}
|
|
3712
3564
|
});
|
|
3713
|
-
|
|
3714
|
-
//#region ../admin/src/views/OrderListItem.vue
|
|
3565
|
+
// ../admin/src/views/OrderListItem.vue
|
|
3715
3566
|
var OrderListItem_exports = /* @__PURE__ */ __exportAll({ default: () => OrderListItem_default });
|
|
3716
3567
|
var OrderListItem_default = OrderListItem_vue_vue_type_script_setup_true_lang_default;
|
|
3717
|
-
|
|
3718
|
-
//#region ../admin/src/views/integrated/OrderListItemView.vue
|
|
3568
|
+
// ../admin/src/views/integrated/OrderListItemView.vue
|
|
3719
3569
|
var OrderListItemView_default = /* @__PURE__ */ defineComponent({
|
|
3720
3570
|
__name: "OrderListItemView",
|
|
3721
3571
|
props: { orderIdentifier: {
|
|
@@ -3729,8 +3579,7 @@ var OrderListItemView_default = /* @__PURE__ */ defineComponent({
|
|
|
3729
3579
|
};
|
|
3730
3580
|
}
|
|
3731
3581
|
});
|
|
3732
|
-
|
|
3733
|
-
//#region ../admin/src/components/PluginSettings/PluginSettingsForms.vue
|
|
3582
|
+
// ../admin/src/components/PluginSettings/PluginSettingsForms.vue
|
|
3734
3583
|
var PluginSettingsForms_default = /* @__PURE__ */ defineComponent({
|
|
3735
3584
|
__name: "PluginSettingsForms",
|
|
3736
3585
|
setup(__props) {
|
|
@@ -3762,12 +3611,10 @@ var PluginSettingsForms_default = /* @__PURE__ */ defineComponent({
|
|
|
3762
3611
|
};
|
|
3763
3612
|
}
|
|
3764
3613
|
});
|
|
3765
|
-
|
|
3766
|
-
//#region ../admin/src/components/PluginSettings/WebhooksStatus.vue?vue&type=script&setup=true&lang.ts
|
|
3614
|
+
// ../admin/src/components/PluginSettings/WebhooksStatus.vue?vue&type=script&setup=true&lang.ts
|
|
3767
3615
|
var _hoisted_1$2 = { key: 0 };
|
|
3768
3616
|
var _hoisted_2$1 = ["textContent"];
|
|
3769
|
-
|
|
3770
|
-
//#region ../admin/src/components/PluginSettings/WebhooksStatus.vue
|
|
3617
|
+
// ../admin/src/components/PluginSettings/WebhooksStatus.vue
|
|
3771
3618
|
var WebhooksStatus_default = /* @__PURE__ */ defineComponent({
|
|
3772
3619
|
__name: "WebhooksStatus",
|
|
3773
3620
|
setup(__props) {
|
|
@@ -3820,12 +3667,10 @@ var WebhooksStatus_default = /* @__PURE__ */ defineComponent({
|
|
|
3820
3667
|
};
|
|
3821
3668
|
}
|
|
3822
3669
|
});
|
|
3823
|
-
|
|
3824
|
-
//#region ../admin/src/components/PluginSettings/EditApiKeyForm.vue?vue&type=script&setup=true&lang.ts
|
|
3670
|
+
// ../admin/src/components/PluginSettings/EditApiKeyForm.vue?vue&type=script&setup=true&lang.ts
|
|
3825
3671
|
var FIELD_API_KEY = "apiKey";
|
|
3826
3672
|
var API_KEY_LABEL = "settings_account_api_key";
|
|
3827
|
-
|
|
3828
|
-
//#region ../admin/src/components/PluginSettings/EditApiKeyForm.vue
|
|
3673
|
+
// ../admin/src/components/PluginSettings/EditApiKeyForm.vue
|
|
3829
3674
|
var EditApiKeyForm_default = /* @__PURE__ */ defineComponent({
|
|
3830
3675
|
__name: "EditApiKeyForm",
|
|
3831
3676
|
emits: ["afterSubmit"],
|
|
@@ -3886,14 +3731,12 @@ var EditApiKeyForm_default = /* @__PURE__ */ defineComponent({
|
|
|
3886
3731
|
};
|
|
3887
3732
|
}
|
|
3888
3733
|
});
|
|
3889
|
-
|
|
3890
|
-
//#region ../admin/src/components/PluginSettings/DebugOptions.vue?vue&type=script&setup=true&lang.ts
|
|
3734
|
+
// ../admin/src/components/PluginSettings/DebugOptions.vue?vue&type=script&setup=true&lang.ts
|
|
3891
3735
|
var _hoisted_1$1 = ["textContent"];
|
|
3892
3736
|
var _hoisted_2 = ["textContent"];
|
|
3893
3737
|
var _hoisted_3 = { class: "debug-hidden" };
|
|
3894
3738
|
var _hoisted_4 = ["textContent"];
|
|
3895
|
-
|
|
3896
|
-
//#region ../admin/src/components/PluginSettings/DebugOptions.vue
|
|
3739
|
+
// ../admin/src/components/PluginSettings/DebugOptions.vue
|
|
3897
3740
|
var DebugOptions_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
3898
3741
|
__name: "DebugOptions",
|
|
3899
3742
|
setup(__props) {
|
|
@@ -3941,11 +3784,9 @@ var DebugOptions_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
3941
3784
|
};
|
|
3942
3785
|
}
|
|
3943
3786
|
}), [["__scopeId", "data-v-9a3c93d5"]]);
|
|
3944
|
-
|
|
3945
|
-
//#region ../admin/src/components/PluginSettings/AccountSettings.vue?vue&type=script&setup=true&lang.ts
|
|
3787
|
+
// ../admin/src/components/PluginSettings/AccountSettings.vue?vue&type=script&setup=true&lang.ts
|
|
3946
3788
|
var _hoisted_1 = { key: 0 };
|
|
3947
|
-
|
|
3948
|
-
//#region ../admin/src/components/PluginSettings/AccountSettings.vue
|
|
3789
|
+
// ../admin/src/components/PluginSettings/AccountSettings.vue
|
|
3949
3790
|
var AccountSettings_default = /* @__PURE__ */ defineComponent({
|
|
3950
3791
|
__name: "AccountSettings",
|
|
3951
3792
|
setup(__props) {
|
|
@@ -3996,8 +3837,7 @@ var AccountSettings_default = /* @__PURE__ */ defineComponent({
|
|
|
3996
3837
|
};
|
|
3997
3838
|
}
|
|
3998
3839
|
});
|
|
3999
|
-
|
|
4000
|
-
//#region ../admin/src/views/PluginSettings.vue?vue&type=script&setup=true&lang.ts
|
|
3840
|
+
// ../admin/src/views/PluginSettings.vue?vue&type=script&setup=true&lang.ts
|
|
4001
3841
|
var PluginSettings_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
4002
3842
|
__name: "PluginSettings",
|
|
4003
3843
|
setup(__props) {
|
|
@@ -4022,9 +3862,7 @@ var PluginSettings_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ d
|
|
|
4022
3862
|
};
|
|
4023
3863
|
}
|
|
4024
3864
|
});
|
|
4025
|
-
|
|
4026
|
-
//#region ../admin/src/views/PluginSettings.vue
|
|
3865
|
+
// ../admin/src/views/PluginSettings.vue
|
|
4027
3866
|
var PluginSettings_exports = /* @__PURE__ */ __exportAll({ default: () => PluginSettings_default });
|
|
4028
3867
|
var PluginSettings_default = PluginSettings_vue_vue_type_script_setup_true_lang_default;
|
|
4029
|
-
//#endregion
|
|
4030
3868
|
export { ActionButton_default as ActionButton, AdminAction, AdminComponent, AdminContextKey, AdminIcon, AdminInstanceContextKey, AdminModalKey, AdminView, BOX_MODE_ACTIONS, BackendEndpoint, BulkSelectCheckbox_default as BulkSelectCheckbox, ChildProductSettings_default as ChildProductSettingsView, FORM_KEYS, FORM_KEY_ACCOUNT_SETTINGS, FORM_KEY_CHILD_PRODUCT_SETTINGS, FORM_KEY_MODAL, FORM_KEY_MODAL_PRINT_OPTIONS, FORM_KEY_MODAL_RETURN_OPTIONS, FORM_KEY_MODAL_SHIPMENT_OPTIONS, FORM_KEY_PLUGIN_SETTINGS, FORM_KEY_PRODUCT_SETTINGS, c as FormHook, FrontendEndpoint, INJECT_ADMIN_INSTANCE, INJECT_GLOBAL_PDK_ADMIN, LIST_ITEM_MODE_ACTIONS, LogLevel, MODAL_MODE_ACTIONS, Modals_default as ModalsView, NotificationCategory, NotificationContainer_default as NotificationContainer, Notifications_default as NotificationsView, ORDER_VIEW_IN_BACKOFFICE_ID, OrderBoxView_default as OrderBoxView, OrderListItemView_default as OrderListItemView, OrderMode, PackageType_default as PackageType, PdkAdmin, PlainElement_default as PlainElement, PluginSettings_default as PluginSettingsView, ProductSettings_default as ProductSettingsView, QUERY_KEY_ORDER, QUERY_KEY_SHIPMENT, ResetButton_default as ResetButton, ReturnsForm_default as ReturnsForm, STORE_MODE_ACTIONS, ShipmentBarcode_default as ShipmentBarcode, ShipmentOptionsForm_default as ShipmentOptionsForm, ShipmentStatus_default as ShipmentStatus, Size, SortType, Status, StatusIndicator_default as StatusIndicator, StopActionHandler, SubmitButton_default as SubmitButton, TabNavigation_default as TabNavigation, TriState, Variant, allAdminComponentNames, createAdminConfig, createFormElement, createHandlerWithParameters, createLogger, createMutationHandler, createOrdersMutationHandler, createPdkAdmin, createPdkAdminPlugin, createQueryHandler, createShipmentsMutationHandler, defineAction, deleteAccountAction, doMutate, downloadLogsAction, executeAction, executeAfterHandle, executeBeforeHandle, executeHandler, executeNextAction, fetchDynamicContextAction, fetchPluginSettingsViewContextAction, generateFieldId, getActionIdentifier, modalCloseAction, modalSubmitFormAction, openOrPrintPdf, optionalAdminActionContainerComponentNames, optionalAdminComponentNames, optionalAdminPlainWrapperComponentNames, orderExportAction, orderExportToShipmentsAction, orderViewInBackofficeAction, ordersEditAction, ordersExportPrintShipmentsAction, ordersFetchAction, ordersPrintAction, ordersUpdateAction, pluginSettingsUpdateAction, prefixComponent, refreshAccountAction, requiredAdminComponentNames, resolveFormComponent, resolveOrderParameters, resolvePrintParameters, resolveQuerySuffix, shipmentActions, shipmentsDeleteAction, shipmentsExportReturnAction, shipmentsPrintAction, shipmentsUpdateAction, switchToAcceptanceApiAction, switchToProductionApiAction, updateAccountAction, useActionStore, useAdminConfig, useAppInfo, useCheckboxGroupContext, useCreateWebhooksMutation, useDeleteAccountMutation, useDeleteShipmentsMutation, useDeleteWebhooksMutation, useDownloadLogsMutation, useDropOffInputContext, useDropdownButtonContext, useDropdownButtonContext as useDropdownData, Je as useElement, useElementContext, useElementOptions, useExportOrdersMutation, useExportReturnMutation, useFetchContextQuery, useFetchOrdersQuery, useFetchProductsQuery, useFetchShipmentsQuery, useFetchWebhooksQuery, M as useForm, ne as useFormBuilder, useFormatter, useGlobalContext, useGlobalPdkAdmin, useInputWithOptionsContext, useLanguage, useLoadMore, useLogger, useModalContext, useModalElementContext, useModalStore, useMultiSelectInputContext, useNotificationStore, useOrderData, useOrderMode, useOrdersData, usePdkMutation, usePrintOrdersMutation, usePrintShipmentsMutation, useProductData, useQueryStore, useRadioGroupContext, useSelectInputContext, useShippingMethodsInputContext, useStoreQuery, useSwitchToAcceptanceApiMutation, useSwitchToProductionApiMutation, useTableContext, useToggleInputContext, useTriStateInputContext, useUpdateAccountMutation, useUpdateOrdersMutation, useUpdatePluginSettingsMutation, useUpdateProductSettingsMutation, useUpdateShipmentsMutation, useWeekdays, waitForLabelPrompt, webhooksCreateAction, webhooksDeleteAction, webhooksFetchAction };
|