@myparcel-dev/pdk-admin-js 2.3.0 → 2.4.1
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-D6B0x3fl.js → OrderModeOrderListItem-Bl0j88VV.js} +1 -1
- package/dist/{PrintOptionsModalForm-DifM86VT.js → PrintOptionsModalForm-DzSWU0eT.js} +1 -1
- package/dist/{ShipmentModeOrderListItem-I2feIbpR.js → ShipmentModeOrderListItem-CFy6K0Mg.js} +1 -1
- package/dist/{ShipmentOptionsModalForm-Cy4hNbMS.js → ShipmentOptionsModalForm-Dqslsx-9.js} +1 -1
- package/dist/{ShipmentTableBox-DAH1rj8G.js → ShipmentTableBox-dPC_Cb6U.js} +1 -1
- package/dist/index.js +60 -32
- package/dist/{shared-CRw_j-iO.js → shared-dyJ_FTPr.js} +2067 -2013
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as unref, Bn as OrderMode, Cr as computed, Dr as createElementBlock, Er as createCommentVNode, Lr as openBlock, Qr as toValue, St as useOrderMode, Tr as createBlock, Vr as resolveComponent, Wr as withCtx, a as LIST_ITEM_MODE_ACTIONS, an as ActionButton_default, ht as useOrderData, jr as defineComponent, kr as createVNode, lr as Size, lt as instantiateActions, m as orderViewInBackofficeAction, t as ShipmentLabel_default, tn as DeliveryOptionsExcerpt_default, ut as instantiateAction, xr as Fragment, zr as renderList } from "./shared-dyJ_FTPr.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region ../admin/src/components/OrderListItem/OrderModeOrderListItem.vue
|
|
4
4
|
var OrderModeOrderListItem_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as unref, Er as createCommentVNode, Et as useContext, Fr as onMounted, Ht as generateFormFields, Lr as openBlock, Nn as Ne, Rn as xe, Tr as createBlock, Wn as AdminModalKey, Yr as ref, jr as defineComponent, qr as markRaw, vt as useAdminConfig, xt as usePluginSettings } from "./shared-dyJ_FTPr.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region ../admin/src/components/modals/PrintOptionsModalForm.vue
|
|
4
4
|
var PrintOptionsModalForm_default = /* @__PURE__ */ defineComponent({
|
package/dist/{ShipmentModeOrderListItem-I2feIbpR.js → ShipmentModeOrderListItem-CFy6K0Mg.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as unref, Cr as computed, Dr as createElementBlock, Er as createCommentVNode, Lr as openBlock, Qr as toValue, Tr as createBlock, Vr as resolveComponent, Wr as withCtx, _ as ordersFetchAction, f as orderExportAction, g as ordersExportPrintShipmentsAction, h as ordersEditAction, ht as useOrderData, jr as defineComponent, kr as createVNode, lr as Size, lt as instantiateActions, t as ShipmentLabel_default, tn as DeliveryOptionsExcerpt_default, v as ordersPrintAction, vr as TransitionGroup, vt as useAdminConfig, xr as Fragment, zr as renderList } from "./shared-dyJ_FTPr.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region ../admin/src/components/OrderListItem/ShipmentModeOrderListItem.vue
|
|
4
4
|
var ShipmentModeOrderListItem_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as unref, Bt as ShipmentOptionsForm_default, Cr as computed, Er as createCommentVNode, Lr as openBlock, Qr as toValue, Tr as createBlock, jr as defineComponent, mt as useOrdersData } from "./shared-dyJ_FTPr.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region ../admin/src/components/modals/ShipmentOptionsModalForm.vue
|
|
4
4
|
var ShipmentOptionsModalForm_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $n as isDef, $r as unref, Cr as computed, Dr as createElementBlock, Er as createCommentVNode, Hn as AdminIcon, Kr as isRef, Lr as openBlock, Lt as useLanguage, Or as createTextVNode, Qn as useVModel, Qr as toValue, Tr as createBlock, Ur as watch, Vr as resolveComponent, Vt as ShipmentBarcode_default, Wr as withCtx, Xr as toRaw, Yr as ref, Zr as toRefs, b as shipmentActions, bt as Format, ei as normalizeClass, ft as useShipmentData, gt as useLocalizedFormatter, ht as useOrderData, in as BulkSelectCheckbox_default, jr as defineComponent, kr as createVNode, kt as useQueryStore, lt as instantiateActions, ti as toDisplayString, vt as useAdminConfig, wr as createBaseVNode, xr as Fragment, zr as renderList, zt as ShipmentStatus_default } from "./shared-dyJ_FTPr.js";
|
|
2
2
|
//#region ../admin/src/composables/components/useBulkSelectCheckbox.ts
|
|
3
3
|
var useBulkSelectCheckbox = (options, emit) => {
|
|
4
4
|
const selected = ref({});
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { $ as useFetchProductsQuery, $
|
|
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-dyJ_FTPr.js";
|
|
3
3
|
//#region ../../node_modules/@tanstack/query-core/build/lib/query.mjs
|
|
4
4
|
var Query = class extends Removable {
|
|
5
5
|
constructor(config) {
|
|
@@ -2574,8 +2574,11 @@ var TabNavigation_default = /* @__PURE__ */ defineComponent({
|
|
|
2574
2574
|
setup(__props) {
|
|
2575
2575
|
const props = __props;
|
|
2576
2576
|
const activeTab = ref(null);
|
|
2577
|
+
const config = useAdminConfig();
|
|
2578
|
+
const { translate } = useLanguage();
|
|
2579
|
+
const useLocationHash = config.useLocationHash !== false;
|
|
2577
2580
|
const handleClick = (tab) => {
|
|
2578
|
-
if (props.initialTab !== false) window.location.hash = props.hashPrefix + tab.name;
|
|
2581
|
+
if (useLocationHash && props.initialTab !== false) window.location.hash = props.hashPrefix + tab.name;
|
|
2579
2582
|
if (props.closeable && activeTab.value === tab.name) {
|
|
2580
2583
|
activeTab.value = null;
|
|
2581
2584
|
return;
|
|
@@ -2585,8 +2588,6 @@ var TabNavigation_default = /* @__PURE__ */ defineComponent({
|
|
|
2585
2588
|
const activeTabContents = computed(() => {
|
|
2586
2589
|
return props.tabs?.find((tab) => tab.name === activeTab.value);
|
|
2587
2590
|
});
|
|
2588
|
-
const config = useAdminConfig();
|
|
2589
|
-
const { translate } = useLanguage();
|
|
2590
2591
|
watch(() => [props.tabs, props.initialTab], () => {
|
|
2591
2592
|
if (!props.tabs?.length) {
|
|
2592
2593
|
activeTab.value = null;
|
|
@@ -2594,7 +2595,7 @@ var TabNavigation_default = /* @__PURE__ */ defineComponent({
|
|
|
2594
2595
|
}
|
|
2595
2596
|
if (activeTab.value || props.initialTab === false) return;
|
|
2596
2597
|
let initialTab = props.initialTab === true ? null : props.initialTab;
|
|
2597
|
-
if (!props.initialTab) {
|
|
2598
|
+
if (!props.initialTab && useLocationHash) {
|
|
2598
2599
|
const tabName = window.location.hash.replace("#", "").replace(props.hashPrefix ?? "", "").split("--")[0];
|
|
2599
2600
|
if (props.tabs?.some((tab) => tab.name === tabName)) initialTab = tabName;
|
|
2600
2601
|
}
|
|
@@ -2701,43 +2702,44 @@ var createRegisterComponentsPlugin = ({ config, logger }) => {
|
|
|
2701
2702
|
//#endregion
|
|
2702
2703
|
//#region ../admin/src/pdk/instance/plugins/createStorePlugin.ts
|
|
2703
2704
|
var store;
|
|
2704
|
-
var
|
|
2705
|
-
var createStorePlugin = ({ config, logger }) => {
|
|
2706
|
-
store ??= createPinia();
|
|
2705
|
+
var initializedStores = /* @__PURE__ */ new WeakSet();
|
|
2706
|
+
var createStorePlugin = ({ config, logger, store: instanceStore }) => {
|
|
2707
|
+
const pinia = instanceStore ?? (store ??= createPinia());
|
|
2707
2708
|
logger.debug("Preparing store plugin");
|
|
2708
|
-
|
|
2709
|
-
if (
|
|
2710
|
-
|
|
2709
|
+
pinia.use((storeContext) => {
|
|
2710
|
+
if (initializedStores.has(pinia) || !config.onCreateStore) return;
|
|
2711
|
+
initializedStores.add(pinia);
|
|
2711
2712
|
logger.debug("Calling store renderer hook");
|
|
2712
2713
|
config.onCreateStore(storeContext);
|
|
2713
2714
|
});
|
|
2714
|
-
return
|
|
2715
|
+
return pinia;
|
|
2715
2716
|
};
|
|
2716
2717
|
//#endregion
|
|
2717
2718
|
//#region ../admin/src/pdk/instance/plugins/createVueQueryPlugin.ts
|
|
2718
2719
|
var queryClient;
|
|
2719
|
-
var createVueQueryPlugin = ({ context, logger }) => {
|
|
2720
|
+
var createVueQueryPlugin = ({ context, logger, queryClient: instanceQueryClient }) => {
|
|
2720
2721
|
return { install: (app) => {
|
|
2721
2722
|
logger.debug("Installing vue-query plugin");
|
|
2722
|
-
queryClient ??= createQueryClient();
|
|
2723
|
+
const client = instanceQueryClient ?? (queryClient ??= createQueryClient());
|
|
2723
2724
|
Object.entries(context).forEach(([contextKey, value]) => {
|
|
2724
2725
|
if (!value) return;
|
|
2725
|
-
|
|
2726
|
+
client.setQueryData([BackendEndpoint.FetchContext, contextKey], value);
|
|
2726
2727
|
});
|
|
2727
2728
|
const instanceContext = createInstanceContext(context);
|
|
2728
|
-
|
|
2729
|
+
client.setQueryData([BackendEndpoint.FetchContext, AdminContextKey.Instance], instanceContext);
|
|
2729
2730
|
if (context.orderData) context.orderData.forEach((order) => {
|
|
2730
|
-
fillShipmentsQueryData(
|
|
2731
|
+
fillShipmentsQueryData(client, order.shipments, order);
|
|
2731
2732
|
});
|
|
2732
2733
|
if (context.productData) context.productData.forEach((product) => {
|
|
2733
|
-
|
|
2734
|
+
client.setQueryData([BackendEndpoint.FetchProducts, { id: product.externalIdentifier }], product);
|
|
2734
2735
|
});
|
|
2735
|
-
app.use(VueQueryPlugin, { queryClient });
|
|
2736
|
+
app.use(VueQueryPlugin, { queryClient: client });
|
|
2736
2737
|
} };
|
|
2737
2738
|
};
|
|
2738
2739
|
//#endregion
|
|
2739
2740
|
//#region ../admin/src/pdk/setupAdminApp.ts
|
|
2740
2741
|
var setupAdminApp = (app, appConfig) => {
|
|
2742
|
+
setRequestHeadersProvider(appConfig.config.getRequestHeaders);
|
|
2741
2743
|
app.use(createStorePlugin(appConfig));
|
|
2742
2744
|
app.use(createVueQueryPlugin(appConfig));
|
|
2743
2745
|
app.use(createContextPlugin(appConfig));
|
|
@@ -2754,7 +2756,7 @@ var renderMap = Object.freeze({
|
|
|
2754
2756
|
[AdminView.OrderBox]: async () => Promise.resolve().then(() => OrderBox_exports),
|
|
2755
2757
|
[AdminView.OrderListItem]: async () => Promise.resolve().then(() => OrderListItem_exports),
|
|
2756
2758
|
[AdminView.PluginSettings]: async () => Promise.resolve().then(() => PluginSettings_exports),
|
|
2757
|
-
[AdminView.ProductSettings]: async () => import("./shared-
|
|
2759
|
+
[AdminView.ProductSettings]: async () => import("./shared-dyJ_FTPr.js").then((n) => n.r)
|
|
2758
2760
|
});
|
|
2759
2761
|
var renderViewComponent = async (componentName) => {
|
|
2760
2762
|
const renderMethod = renderMap[componentName];
|
|
@@ -2767,12 +2769,22 @@ var PdkAdmin = class {
|
|
|
2767
2769
|
config;
|
|
2768
2770
|
context;
|
|
2769
2771
|
renderedComponents = [];
|
|
2772
|
+
store = createPinia();
|
|
2773
|
+
queryClient = createQueryClient();
|
|
2774
|
+
disposers = [];
|
|
2770
2775
|
constructor(config, context) {
|
|
2771
2776
|
config.beforeInitialize?.(config, context);
|
|
2772
2777
|
this.config = config;
|
|
2773
2778
|
this.context = context;
|
|
2774
2779
|
config.onInitialized?.(config, context);
|
|
2775
2780
|
}
|
|
2781
|
+
onDispose(disposer) {
|
|
2782
|
+
this.disposers.push(disposer);
|
|
2783
|
+
}
|
|
2784
|
+
dispose() {
|
|
2785
|
+
this.disposers.splice(0).forEach((disposer) => disposer());
|
|
2786
|
+
this.queryClient.clear();
|
|
2787
|
+
}
|
|
2776
2788
|
async render(view, selector) {
|
|
2777
2789
|
const config = { ...this.config };
|
|
2778
2790
|
const context = {
|
|
@@ -2787,16 +2799,27 @@ var PdkAdmin = class {
|
|
|
2787
2799
|
config,
|
|
2788
2800
|
context,
|
|
2789
2801
|
logger,
|
|
2790
|
-
view
|
|
2802
|
+
view,
|
|
2803
|
+
store: this.store,
|
|
2804
|
+
queryClient: this.queryClient
|
|
2791
2805
|
});
|
|
2792
2806
|
try {
|
|
2793
|
-
app.mount(selector)
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2807
|
+
if (!app.mount(selector)) {
|
|
2808
|
+
logger.error(`Element "${selector}" not found`);
|
|
2809
|
+
return;
|
|
2810
|
+
}
|
|
2797
2811
|
} catch (e) {
|
|
2798
2812
|
logger.error("Error mounting app", e);
|
|
2813
|
+
return;
|
|
2814
|
+
}
|
|
2815
|
+
this.renderedComponents.push(view);
|
|
2816
|
+
logger.debug(`Rendered in ${selector}`);
|
|
2817
|
+
try {
|
|
2818
|
+
config?.onRendered?.(config);
|
|
2819
|
+
} catch (e) {
|
|
2820
|
+
logger.error("Error in the onRendered hook", e);
|
|
2799
2821
|
}
|
|
2822
|
+
return app;
|
|
2800
2823
|
}
|
|
2801
2824
|
async createApp(view, appConfig) {
|
|
2802
2825
|
appConfig.view = view;
|
|
@@ -2830,10 +2853,14 @@ var sendBootEvent = (pdkAdmin, context) => {
|
|
|
2830
2853
|
//#endregion
|
|
2831
2854
|
//#region ../admin/src/pdk/boot.ts
|
|
2832
2855
|
var boot = (pdkAdmin, context) => {
|
|
2833
|
-
|
|
2834
|
-
document.addEventListener(context.global.eventPing, () => {
|
|
2856
|
+
const onPing = () => {
|
|
2835
2857
|
sendBootEvent(pdkAdmin, context);
|
|
2858
|
+
};
|
|
2859
|
+
document.addEventListener(context.global.eventPing, onPing);
|
|
2860
|
+
pdkAdmin.onDispose(() => {
|
|
2861
|
+
document.removeEventListener(context.global.eventPing, onPing);
|
|
2836
2862
|
});
|
|
2863
|
+
sendBootEvent(pdkAdmin, context);
|
|
2837
2864
|
globalLogger.debug("Created PDK admin!", { context });
|
|
2838
2865
|
};
|
|
2839
2866
|
//#endregion
|
|
@@ -2862,6 +2889,7 @@ var createPdkAdmin = (configuration) => {
|
|
|
2862
2889
|
try {
|
|
2863
2890
|
const config = createAdminConfig(configuration);
|
|
2864
2891
|
globalLogger.level = config.logLevel;
|
|
2892
|
+
resetLanguageCache();
|
|
2865
2893
|
const context = getElementContext(BOOTSTRAP_CONTAINER_SELECTOR);
|
|
2866
2894
|
const pdkAdmin = new PdkAdmin(config, context);
|
|
2867
2895
|
boot(pdkAdmin, context);
|
|
@@ -3494,7 +3522,7 @@ var ChildProductSettings_default = ChildProductSettings_vue_vue_type_script_setu
|
|
|
3494
3522
|
var ShipmentOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
3495
3523
|
__name: "ShipmentOptionsModal",
|
|
3496
3524
|
setup(__props) {
|
|
3497
|
-
const ShipmentOptionsModalForm = defineAsyncComponent(() => import("./ShipmentOptionsModalForm-
|
|
3525
|
+
const ShipmentOptionsModalForm = defineAsyncComponent(() => import("./ShipmentOptionsModalForm-Dqslsx-9.js"));
|
|
3498
3526
|
const orderMode = useOrderMode();
|
|
3499
3527
|
const ordersData = computed(() => useOrdersData());
|
|
3500
3528
|
const orderIds = computed(() => toValue(ordersData).map((data) => toValue(data.order)?.externalIdentifier));
|
|
@@ -3525,7 +3553,7 @@ var PrintOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
|
3525
3553
|
__name: "PrintOptionsModal",
|
|
3526
3554
|
setup(__props) {
|
|
3527
3555
|
const modalKey = AdminModalKey.PrintOptions;
|
|
3528
|
-
const PrintOptionsModalForm = defineAsyncComponent(() => import("./PrintOptionsModalForm-
|
|
3556
|
+
const PrintOptionsModalForm = defineAsyncComponent(() => import("./PrintOptionsModalForm-DzSWU0eT.js"));
|
|
3529
3557
|
useActionStore().register(modalSubmitFormAction);
|
|
3530
3558
|
const actions = instantiateActions([modalCloseAction, modalSubmitFormAction]);
|
|
3531
3559
|
return (_ctx, _cache) => {
|
|
@@ -3621,7 +3649,7 @@ var ShipmentOptionsBox_default = /* @__PURE__ */ defineComponent({
|
|
|
3621
3649
|
var OrderBox_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3622
3650
|
__name: "OrderBox",
|
|
3623
3651
|
setup(__props) {
|
|
3624
|
-
const ShipmentTableBox = defineAsyncComponent(() => import("./ShipmentTableBox-
|
|
3652
|
+
const ShipmentTableBox = defineAsyncComponent(() => import("./ShipmentTableBox-dPC_Cb6U.js"));
|
|
3625
3653
|
const queryStore = useQueryStore();
|
|
3626
3654
|
queryStore.registerContextQueries();
|
|
3627
3655
|
queryStore.registerOrderQueries();
|
|
@@ -3660,10 +3688,10 @@ var OrderListItem_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ de
|
|
|
3660
3688
|
__name: "OrderListItem",
|
|
3661
3689
|
setup(__props) {
|
|
3662
3690
|
const OrderModeOrderListItem = defineAsyncComponent(() => {
|
|
3663
|
-
return import("./OrderModeOrderListItem-
|
|
3691
|
+
return import("./OrderModeOrderListItem-Bl0j88VV.js");
|
|
3664
3692
|
});
|
|
3665
3693
|
const ShipmentModeOrderListItem = defineAsyncComponent(() => {
|
|
3666
|
-
return import("./ShipmentModeOrderListItem-
|
|
3694
|
+
return import("./ShipmentModeOrderListItem-CFy6K0Mg.js");
|
|
3667
3695
|
});
|
|
3668
3696
|
const queryStore = useQueryStore();
|
|
3669
3697
|
queryStore.registerContextQueries();
|