@myparcel-dev/pdk-admin-js 2.2.6 → 2.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OrderModeOrderListItem-1aoX4NQq.js → OrderModeOrderListItem-lkgBZYlb.js} +1 -1
- package/dist/{PrintOptionsModalForm-0jr34WqX.js → PrintOptionsModalForm-BIGhMvHF.js} +1 -1
- package/dist/{ShipmentModeOrderListItem-yiwrWuD9.js → ShipmentModeOrderListItem-C0gSveq1.js} +1 -1
- package/dist/{ShipmentOptionsModalForm-Bz5XIh6B.js → ShipmentOptionsModalForm-Eq6TGCE1.js} +1 -1
- package/dist/{ShipmentTableBox-pZpaz3Lo.js → ShipmentTableBox-BLkFhAGr.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{shared-DHuYOc8-.js → shared-IXbJs3EW.js} +4 -4
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cr as createBlock, Ct as useOrderMode, Dr as createVNode, Fr as openBlock, Hr as withCtx, Lr as renderList, Rn as OrderMode, Tr as createElementBlock, Xr as toValue, Zr as unref, a as LIST_ITEM_MODE_ACTIONS, en as DeliveryOptionsExcerpt_default, ht as useOrderData, in as ActionButton_default, kr as defineComponent, lt as instantiateActions, m as orderViewInBackofficeAction, sr as Size, t as ShipmentLabel_default, ut as instantiateAction, wr as createCommentVNode, xr as computed, yr as Fragment, zr as resolveComponent } from "./shared-
|
|
1
|
+
import { Cr as createBlock, Ct as useOrderMode, Dr as createVNode, Fr as openBlock, Hr as withCtx, Lr as renderList, Rn as OrderMode, Tr as createElementBlock, Xr as toValue, Zr as unref, a as LIST_ITEM_MODE_ACTIONS, en as DeliveryOptionsExcerpt_default, ht as useOrderData, in as ActionButton_default, kr as defineComponent, lt as instantiateActions, m as orderViewInBackofficeAction, sr as Size, t as ShipmentLabel_default, ut as instantiateAction, wr as createCommentVNode, xr as computed, yr as Fragment, zr as resolveComponent } from "./shared-IXbJs3EW.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 { Cr as createBlock, Dt as useContext, Fr as openBlock, Gr as markRaw, Hn as AdminModalKey, In as xe, Nr as onMounted, St as usePluginSettings, Vt as generateFormFields, Zr as unref, jn as Ne, kr as defineComponent, qr as ref, vt as useAdminConfig, wr as createCommentVNode } from "./shared-
|
|
1
|
+
import { Cr as createBlock, Dt as useContext, Fr as openBlock, Gr as markRaw, Hn as AdminModalKey, In as xe, Nr as onMounted, St as usePluginSettings, Vt as generateFormFields, Zr as unref, jn as Ne, kr as defineComponent, qr as ref, vt as useAdminConfig, wr as createCommentVNode } from "./shared-IXbJs3EW.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region ../admin/src/components/modals/PrintOptionsModalForm.vue
|
|
4
4
|
var PrintOptionsModalForm_default = /* @__PURE__ */ defineComponent({
|
package/dist/{ShipmentModeOrderListItem-yiwrWuD9.js → ShipmentModeOrderListItem-C0gSveq1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cr as createBlock, Dr as createVNode, Fr as openBlock, Hr as withCtx, Lr as renderList, Tr as createElementBlock, Xr as toValue, Zr as unref, _ as ordersFetchAction, en as DeliveryOptionsExcerpt_default, f as orderExportAction, g as ordersExportPrintShipmentsAction, gr as TransitionGroup, h as ordersEditAction, ht as useOrderData, kr as defineComponent, lt as instantiateActions, sr as Size, t as ShipmentLabel_default, v as ordersPrintAction, vt as useAdminConfig, wr as createCommentVNode, xr as computed, yr as Fragment, zr as resolveComponent } from "./shared-
|
|
1
|
+
import { Cr as createBlock, Dr as createVNode, Fr as openBlock, Hr as withCtx, Lr as renderList, Tr as createElementBlock, Xr as toValue, Zr as unref, _ as ordersFetchAction, en as DeliveryOptionsExcerpt_default, f as orderExportAction, g as ordersExportPrintShipmentsAction, gr as TransitionGroup, h as ordersEditAction, ht as useOrderData, kr as defineComponent, lt as instantiateActions, sr as Size, t as ShipmentLabel_default, v as ordersPrintAction, vt as useAdminConfig, wr as createCommentVNode, xr as computed, yr as Fragment, zr as resolveComponent } from "./shared-IXbJs3EW.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 { Cr as createBlock, Fr as openBlock, Xr as toValue, Zr as unref, kr as defineComponent, mt as useOrdersData, wr as createCommentVNode, xr as computed, zt as ShipmentOptionsForm_default } from "./shared-
|
|
1
|
+
import { Cr as createBlock, Fr as openBlock, Xr as toValue, Zr as unref, kr as defineComponent, mt as useOrdersData, wr as createCommentVNode, xr as computed, zt as ShipmentOptionsForm_default } from "./shared-IXbJs3EW.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 { $r as toDisplayString, At as useQueryStore, Bn as AdminIcon, Bt as ShipmentBarcode_default, Cr as createBlock, Dr as createVNode, Er as createTextVNode, Fr as openBlock, Hr as withCtx, Jr as toRaw, Lr as renderList, Qr as normalizeClass, Rt as ShipmentStatus_default, Sr as createBaseVNode, Tr as createElementBlock, Vr as watch, Wr as isRef, Xn as useVModel, Xr as toValue, Yr as toRefs, Zn as isDef, Zr as unref, b as shipmentActions, bt as Format, ft as useShipmentData, gt as useLocalizedFormatter, ht as useOrderData, kr as defineComponent, lt as instantiateActions, qr as ref, rn as BulkSelectCheckbox_default, vt as useAdminConfig, wr as createCommentVNode, xr as computed, xt as useLanguage, yr as Fragment, zr as resolveComponent } from "./shared-
|
|
1
|
+
import { $r as toDisplayString, At as useQueryStore, Bn as AdminIcon, Bt as ShipmentBarcode_default, Cr as createBlock, Dr as createVNode, Er as createTextVNode, Fr as openBlock, Hr as withCtx, Jr as toRaw, Lr as renderList, Qr as normalizeClass, Rt as ShipmentStatus_default, Sr as createBaseVNode, Tr as createElementBlock, Vr as watch, Wr as isRef, Xn as useVModel, Xr as toValue, Yr as toRefs, Zn as isDef, Zr as unref, b as shipmentActions, bt as Format, ft as useShipmentData, gt as useLocalizedFormatter, ht as useOrderData, kr as defineComponent, lt as instantiateActions, qr as ref, rn as BulkSelectCheckbox_default, vt as useAdminConfig, wr as createCommentVNode, xr as computed, xt as useLanguage, yr as Fragment, zr as resolveComponent } from "./shared-IXbJs3EW.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, $n as isOfType, $r as toDisplayString, $t as NotificationContainer_default, A as resolveOrderParameters, An as M, Ar as h, At as useQueryStore, B as createMutationHandler, Bn as AdminIcon, Br as resolveDynamicComponent, Bt as ShipmentBarcode_default, C as shipmentsPrintAction, Cn as root, Cr as createBlock, Ct as useOrderMode, D as openOrPrintPdf, Dn as globalLogger, Dr as createVNode, E as waitForLabelPrompt, En as createLogger, Er as createTextVNode, Et as useGlobalContext, F as executeHandler, Fn as ne, Fr as openBlock, Ft as INJECT_ADMIN_INSTANCE, G as useDeleteWebhooksMutation, Gn as allAdminComponentNames, Gr as markRaw, Gt as FORM_KEY_ACCOUNT_SETTINGS, H as doMutate, Hn as AdminModalKey, Hr as withCtx, Ht as resolveFormComponent, I as StopActionHandler, In as xe, Ir as provide, It as INJECT_GLOBAL_PDK_ADMIN, J as usePrintShipmentsMutation, Jn as optionalAdminPlainWrapperComponentNames, Jr as toRaw, Jt as FORM_KEY_MODAL_PRINT_OPTIONS, K as useCreateWebhooksMutation, Kn as optionalAdminActionContainerComponentNames, Kr as reactive, Kt as FORM_KEY_CHILD_PRODUCT_SETTINGS, L as createShipmentsMutationHandler, Ln as AdminView, Lr as renderList, Lt as fillShipmentsQueryData, M as executeAction, Mn as Xe, Mr as mergeProps, Mt as prefixComponent, N as executeAfterHandle, Nn as c, Nr as onMounted, Nt as formToBody, O as modalCloseAction, On as getActionIdentifier, Or as defineAsyncComponent, Ot as useStoreContextQuery, P as executeBeforeHandle, Pn as je, Pr as onUnmounted, Pt as createFormElement, Q as useFetchShipmentsQuery, Qn as PackageTypeName, Qr as normalizeClass, Qt as FORM_KEY_PRODUCT_SETTINGS, R as createQueryHandler, Rn as OrderMode, Rr as renderSlot, Rt as ShipmentStatus_default, S as shipmentsExportReturnAction, Si as Subscribable, Sn as baseGetTag, Sr as createBaseVNode, St as usePluginSettings, T as resolvePrintParameters, Tn as LogLevel, Tr as createElementBlock, Tt as useInstanceContext, U as resolveQuerySuffix, Un as NotificationCategory, Ur as withDirectives, Ut as defineFormField, V as createHandlerWithParameters, Vn as AdminInstanceContextKey, Vr as watch, Vt as generateFormFields, W as defineAction, Wn as AdminComponent, Wt as FORM_KEYS, X as useDeleteShipmentsMutation, Xn as useVModel, Xr as toValue, Xt as FORM_KEY_MODAL_SHIPMENT_OPTIONS, Y as useExportReturnMutation, Yn as requiredAdminComponentNames, Yr as toRefs, Yt as FORM_KEY_MODAL_RETURN_OPTIONS, Z as useFetchWebhooksQuery, Zr as unref, Zt as FORM_KEY_PLUGIN_SETTINGS, _ as ordersFetchAction, _i as parseFilterArgs, _n as defineProperty, _r as createApp, _t as useFormatter, a as LIST_ITEM_MODE_ACTIONS, ai as createRetryer, an as useModalStore, ar as SortType, at as useUpdateOrdersMutation, b as shipmentActions, bi as replaceData, bn as isArray, br as KeepAlive, bt as Format, c as webhooksCreateAction, ci as focusManager, cn as createPinia, cr as Status, ct as usePdkMutation, d as ORDER_VIEW_IN_BACKOFFICE_ID, di as hashQueryKey, dn as Map, dr as useQueryClient, dt as createActionContext, ei as Mutation, er as partitionArray, et as useFetchOrdersQuery, f as orderExportAction, fi as hashQueryKeyByOptions, fn as ListCache, fr as cloneDeepUnref, g as ordersExportPrintShipmentsAction, gi as noop, gn as isIndex, gt as useLocalizedFormatter, h as ordersEditAction, hi as matchQuery, hn as baseAssignValue, hr as Transition, ht as useOrderData, i as BOX_MODE_ACTIONS, ii as canFetch, in as ActionButton_default, ir as AdminContextKey, it as useUpdateProductSettingsMutation, j as executeNextAction, jn as Ne, jr as inject, jt as downloadFileFromUrl, k as modalSubmitFormAction, kn as Je, kr as defineComponent, kt as useStoreQuery, l as webhooksDeleteAction, li as functionalUpdate, ln as get, lr as Variant, lt as instantiateActions, m as orderViewInBackofficeAction, mi as matchMutation, mn as eq, mr as isQueryKey, mt as useOrdersData, n as ProductSettings_default, ni as notifyManager, nn as PackageType_default, nr as BackendEndpoint, nt as QUERY_KEY_SHIPMENT, o as MODAL_MODE_ACTIONS, oi as isCancelledError, on as useNotificationStore, or as TriState, ot as usePrintOrdersMutation, p as orderExportToShipmentsAction, pi as isServer, pn as assignValue, pr as getClientKey, pt as useProductData, q as useUpdateShipmentsMutation, qn as optionalAdminComponentNames, qr as ref, qt as FORM_KEY_MODAL, ri as defaultLogger, rn as BulkSelectCheckbox_default, rr as FrontendEndpoint, rt as useFetchContextQuery, s as STORE_MODE_ACTIONS, si as onlineManager, sn as useActionStore, sr as Size, st as useExportOrdersMutation, ti as Removable, tn as usePdkAdminApi, tr as toArray, tt as QUERY_KEY_ORDER, u as webhooksFetchAction, ui as getAbortController, un as MapCache, ur as setupDevtoolsPlugin, ut as instantiateAction, v as ordersPrintAction, vi as parseQueryArgs, vn as isFunction, vr as vShow, vt as useAdminConfig, w as shipmentsUpdateAction, wn as freeGlobal, wr as createCommentVNode, wt as useLoading, x as shipmentsDeleteAction, xi as timeUntilStale, xn as isObjectLike, xr as computed, xt as useLanguage, y as ordersUpdateAction, yi as partialMatchKey, yn as isObject, yr as Fragment, yt as useAdminInstance, z as createOrdersMutationHandler, zn as AdminAction, zr as resolveComponent, zt as ShipmentOptionsForm_default } from "./shared-
|
|
2
|
+
import { $ as useFetchProductsQuery, $n as isOfType, $r as toDisplayString, $t as NotificationContainer_default, A as resolveOrderParameters, An as M, Ar as h, At as useQueryStore, B as createMutationHandler, Bn as AdminIcon, Br as resolveDynamicComponent, Bt as ShipmentBarcode_default, C as shipmentsPrintAction, Cn as root, Cr as createBlock, Ct as useOrderMode, D as openOrPrintPdf, Dn as globalLogger, Dr as createVNode, E as waitForLabelPrompt, En as createLogger, Er as createTextVNode, Et as useGlobalContext, F as executeHandler, Fn as ne, Fr as openBlock, Ft as INJECT_ADMIN_INSTANCE, G as useDeleteWebhooksMutation, Gn as allAdminComponentNames, Gr as markRaw, Gt as FORM_KEY_ACCOUNT_SETTINGS, H as doMutate, Hn as AdminModalKey, Hr as withCtx, Ht as resolveFormComponent, I as StopActionHandler, In as xe, Ir as provide, It as INJECT_GLOBAL_PDK_ADMIN, J as usePrintShipmentsMutation, Jn as optionalAdminPlainWrapperComponentNames, Jr as toRaw, Jt as FORM_KEY_MODAL_PRINT_OPTIONS, K as useCreateWebhooksMutation, Kn as optionalAdminActionContainerComponentNames, Kr as reactive, Kt as FORM_KEY_CHILD_PRODUCT_SETTINGS, L as createShipmentsMutationHandler, Ln as AdminView, Lr as renderList, Lt as fillShipmentsQueryData, M as executeAction, Mn as Xe, Mr as mergeProps, Mt as prefixComponent, N as executeAfterHandle, Nn as c, Nr as onMounted, Nt as formToBody, O as modalCloseAction, On as getActionIdentifier, Or as defineAsyncComponent, Ot as useStoreContextQuery, P as executeBeforeHandle, Pn as je, Pr as onUnmounted, Pt as createFormElement, Q as useFetchShipmentsQuery, Qn as PackageTypeName, Qr as normalizeClass, Qt as FORM_KEY_PRODUCT_SETTINGS, R as createQueryHandler, Rn as OrderMode, Rr as renderSlot, Rt as ShipmentStatus_default, S as shipmentsExportReturnAction, Si as Subscribable, Sn as baseGetTag, Sr as createBaseVNode, St as usePluginSettings, T as resolvePrintParameters, Tn as LogLevel, Tr as createElementBlock, Tt as useInstanceContext, U as resolveQuerySuffix, Un as NotificationCategory, Ur as withDirectives, Ut as defineFormField, V as createHandlerWithParameters, Vn as AdminInstanceContextKey, Vr as watch, Vt as generateFormFields, W as defineAction, Wn as AdminComponent, Wt as FORM_KEYS, X as useDeleteShipmentsMutation, Xn as useVModel, Xr as toValue, Xt as FORM_KEY_MODAL_SHIPMENT_OPTIONS, Y as useExportReturnMutation, Yn as requiredAdminComponentNames, Yr as toRefs, Yt as FORM_KEY_MODAL_RETURN_OPTIONS, Z as useFetchWebhooksQuery, Zr as unref, Zt as FORM_KEY_PLUGIN_SETTINGS, _ as ordersFetchAction, _i as parseFilterArgs, _n as defineProperty, _r as createApp, _t as useFormatter, a as LIST_ITEM_MODE_ACTIONS, ai as createRetryer, an as useModalStore, ar as SortType, at as useUpdateOrdersMutation, b as shipmentActions, bi as replaceData, bn as isArray, br as KeepAlive, bt as Format, c as webhooksCreateAction, ci as focusManager, cn as createPinia, cr as Status, ct as usePdkMutation, d as ORDER_VIEW_IN_BACKOFFICE_ID, di as hashQueryKey, dn as Map, dr as useQueryClient, dt as createActionContext, ei as Mutation, er as partitionArray, et as useFetchOrdersQuery, f as orderExportAction, fi as hashQueryKeyByOptions, fn as ListCache, fr as cloneDeepUnref, g as ordersExportPrintShipmentsAction, gi as noop, gn as isIndex, gt as useLocalizedFormatter, h as ordersEditAction, hi as matchQuery, hn as baseAssignValue, hr as Transition, ht as useOrderData, i as BOX_MODE_ACTIONS, ii as canFetch, in as ActionButton_default, ir as AdminContextKey, it as useUpdateProductSettingsMutation, j as executeNextAction, jn as Ne, jr as inject, jt as downloadFileFromUrl, k as modalSubmitFormAction, kn as Je, kr as defineComponent, kt as useStoreQuery, l as webhooksDeleteAction, li as functionalUpdate, ln as get, lr as Variant, lt as instantiateActions, m as orderViewInBackofficeAction, mi as matchMutation, mn as eq, mr as isQueryKey, mt as useOrdersData, n as ProductSettings_default, ni as notifyManager, nn as PackageType_default, nr as BackendEndpoint, nt as QUERY_KEY_SHIPMENT, o as MODAL_MODE_ACTIONS, oi as isCancelledError, on as useNotificationStore, or as TriState, ot as usePrintOrdersMutation, p as orderExportToShipmentsAction, pi as isServer, pn as assignValue, pr as getClientKey, pt as useProductData, q as useUpdateShipmentsMutation, qn as optionalAdminComponentNames, qr as ref, qt as FORM_KEY_MODAL, ri as defaultLogger, rn as BulkSelectCheckbox_default, rr as FrontendEndpoint, rt as useFetchContextQuery, s as STORE_MODE_ACTIONS, si as onlineManager, sn as useActionStore, sr as Size, st as useExportOrdersMutation, ti as Removable, tn as usePdkAdminApi, tr as toArray, tt as QUERY_KEY_ORDER, u as webhooksFetchAction, ui as getAbortController, un as MapCache, ur as setupDevtoolsPlugin, ut as instantiateAction, v as ordersPrintAction, vi as parseQueryArgs, vn as isFunction, vr as vShow, vt as useAdminConfig, w as shipmentsUpdateAction, wn as freeGlobal, wr as createCommentVNode, wt as useLoading, x as shipmentsDeleteAction, xi as timeUntilStale, xn as isObjectLike, xr as computed, xt as useLanguage, y as ordersUpdateAction, yi as partialMatchKey, yn as isObject, yr as Fragment, yt as useAdminInstance, z as createOrdersMutationHandler, zn as AdminAction, zr as resolveComponent, zt as ShipmentOptionsForm_default } from "./shared-IXbJs3EW.js";
|
|
3
3
|
//#region ../../node_modules/@tanstack/query-core/build/lib/query.mjs
|
|
4
4
|
var Query = class extends Removable {
|
|
5
5
|
constructor(config) {
|
|
@@ -2754,7 +2754,7 @@ var renderMap = Object.freeze({
|
|
|
2754
2754
|
[AdminView.OrderBox]: async () => Promise.resolve().then(() => OrderBox_exports),
|
|
2755
2755
|
[AdminView.OrderListItem]: async () => Promise.resolve().then(() => OrderListItem_exports),
|
|
2756
2756
|
[AdminView.PluginSettings]: async () => Promise.resolve().then(() => PluginSettings_exports),
|
|
2757
|
-
[AdminView.ProductSettings]: async () => import("./shared-
|
|
2757
|
+
[AdminView.ProductSettings]: async () => import("./shared-IXbJs3EW.js").then((n) => n.r)
|
|
2758
2758
|
});
|
|
2759
2759
|
var renderViewComponent = async (componentName) => {
|
|
2760
2760
|
const renderMethod = renderMap[componentName];
|
|
@@ -3494,7 +3494,7 @@ var ChildProductSettings_default = ChildProductSettings_vue_vue_type_script_setu
|
|
|
3494
3494
|
var ShipmentOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
3495
3495
|
__name: "ShipmentOptionsModal",
|
|
3496
3496
|
setup(__props) {
|
|
3497
|
-
const ShipmentOptionsModalForm = defineAsyncComponent(() => import("./ShipmentOptionsModalForm-
|
|
3497
|
+
const ShipmentOptionsModalForm = defineAsyncComponent(() => import("./ShipmentOptionsModalForm-Eq6TGCE1.js"));
|
|
3498
3498
|
const orderMode = useOrderMode();
|
|
3499
3499
|
const ordersData = computed(() => useOrdersData());
|
|
3500
3500
|
const orderIds = computed(() => toValue(ordersData).map((data) => toValue(data.order)?.externalIdentifier));
|
|
@@ -3525,7 +3525,7 @@ var PrintOptionsModal_default = /* @__PURE__ */ defineComponent({
|
|
|
3525
3525
|
__name: "PrintOptionsModal",
|
|
3526
3526
|
setup(__props) {
|
|
3527
3527
|
const modalKey = AdminModalKey.PrintOptions;
|
|
3528
|
-
const PrintOptionsModalForm = defineAsyncComponent(() => import("./PrintOptionsModalForm-
|
|
3528
|
+
const PrintOptionsModalForm = defineAsyncComponent(() => import("./PrintOptionsModalForm-BIGhMvHF.js"));
|
|
3529
3529
|
useActionStore().register(modalSubmitFormAction);
|
|
3530
3530
|
const actions = instantiateActions([modalCloseAction, modalSubmitFormAction]);
|
|
3531
3531
|
return (_ctx, _cache) => {
|
|
@@ -3621,7 +3621,7 @@ var ShipmentOptionsBox_default = /* @__PURE__ */ defineComponent({
|
|
|
3621
3621
|
var OrderBox_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ defineComponent({
|
|
3622
3622
|
__name: "OrderBox",
|
|
3623
3623
|
setup(__props) {
|
|
3624
|
-
const ShipmentTableBox = defineAsyncComponent(() => import("./ShipmentTableBox-
|
|
3624
|
+
const ShipmentTableBox = defineAsyncComponent(() => import("./ShipmentTableBox-BLkFhAGr.js"));
|
|
3625
3625
|
const queryStore = useQueryStore();
|
|
3626
3626
|
queryStore.registerContextQueries();
|
|
3627
3627
|
queryStore.registerOrderQueries();
|
|
@@ -3660,10 +3660,10 @@ var OrderListItem_vue_vue_type_script_setup_true_lang_default = /*#__PURE__*/ de
|
|
|
3660
3660
|
__name: "OrderListItem",
|
|
3661
3661
|
setup(__props) {
|
|
3662
3662
|
const OrderModeOrderListItem = defineAsyncComponent(() => {
|
|
3663
|
-
return import("./OrderModeOrderListItem-
|
|
3663
|
+
return import("./OrderModeOrderListItem-lkgBZYlb.js");
|
|
3664
3664
|
});
|
|
3665
3665
|
const ShipmentModeOrderListItem = defineAsyncComponent(() => {
|
|
3666
|
-
return import("./ShipmentModeOrderListItem-
|
|
3666
|
+
return import("./ShipmentModeOrderListItem-C0gSveq1.js");
|
|
3667
3667
|
});
|
|
3668
3668
|
const queryStore = useQueryStore();
|
|
3669
3669
|
queryStore.registerContextQueries();
|
|
@@ -15177,10 +15177,10 @@ var ordersEditAction = defineAction({
|
|
|
15177
15177
|
name: AdminAction.OrdersEdit,
|
|
15178
15178
|
icon: AdminIcon.Edit,
|
|
15179
15179
|
label: "action_edit",
|
|
15180
|
-
handler(context) {
|
|
15181
|
-
const
|
|
15182
|
-
|
|
15183
|
-
|
|
15180
|
+
async handler(context) {
|
|
15181
|
+
const { orderIds } = context.parameters;
|
|
15182
|
+
if (toArray(orderIds ?? []).length === 1) await useActionStore().dispatch(AdminAction.OrdersFetch, { orderIds });
|
|
15183
|
+
useModalStore().open(AdminModalKey.ShipmentOptions, { orderIds });
|
|
15184
15184
|
}
|
|
15185
15185
|
});
|
|
15186
15186
|
var orderExportAction = defineAction({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myparcel-dev/pdk-admin-js",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/myparcelnl/js-pdk.git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test:update": "run ws:test:update \"$(pwd)\""
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@myparcel-dev/pdk-admin": "^2.2.
|
|
32
|
+
"@myparcel-dev/pdk-admin": "^2.2.7"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@myparcel-dev/pdk-build-vite": "1.0.0-alpha.0",
|