@snabcentr/vue-ui-lib 4.13.1 → 4.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.json +1 -1
- package/dist/release_notes.tmp +1 -1
- package/dist/sc-vue-ui-lib.js +14 -11
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +20 -20
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/catalog/dialogs/add-product-to-cart-dialog.vue.d.ts +2 -2
- package/dist/src/components/dialog/base-dialog.vue.d.ts +1 -1
- package/dist/src/directives/copy.d.ts +19 -2
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "index",
|
|
5
5
|
"src": "src/index.ts",
|
|
6
6
|
"isEntry": true,
|
|
7
|
-
"integrity": "sha384-
|
|
7
|
+
"integrity": "sha384-KtjSgRmORxpnAm/MDt2OzaEc293DoV+IzmxHh44s31iEyQVGOXrwxjTmkPKDdrYj"
|
|
8
8
|
},
|
|
9
9
|
"style.css": {
|
|
10
10
|
"file": "sc-vue-ui-lib.css",
|
package/dist/release_notes.tmp
CHANGED
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -6,7 +6,7 @@ var gg = (t, e, i) => e in t ? fg(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var $ = (t, e, i) => gg(t, typeof e != "symbol" ? e + "" : e, i), vc = (t, e, i) => e.has(t) || pc("Cannot " + i);
|
|
7
7
|
var ri = (t, e, i) => (vc(t, e, "read from private field"), i ? i.call(t) : e.get(t)), wa = (t, e, i) => e.has(t) ? pc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), yc = (t, e, i, n) => (vc(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
|
|
8
8
|
import { FieldValidationResultData as mg, useBaseConfigStateStore as di, OrderItemBase as gt, ClientProduct as Yi, Identity as pg, ConfiguratorsEnum as Zt, ClientCategory as vg, Reference as yg, useReferencesStore as Nt, PriceCoefficientEnum as bg, CalculationTypeEnum as Hr, PriceCoefficient as _g, UnitsHelper as Wt, DateTimeProvider as wg, HttpRequester as Ki, ProductCategoryDataProvider as xg, ProductDataProvider as kg, UserTypeEnum as Wr, OrdersDataProvider as yo, Order as Cg, DataTablePagination as Sg, Curator as bc, CuratedDirection as $g, ManagerDataFactory as _c, Manager as xa, DataSuggestionProvider as Ml, ReferenceDataProvider as Pg, ClientDataProvider as Tg } from "@snabcentr/common-lib";
|
|
9
|
-
import { isEmpty as Al,
|
|
9
|
+
import { isEmpty as Al, isNil as ut, noop as St, isString as dn, groupBy as Rg, get as bo, some as Oi, isFunction as Ft, find as wc, forOwn as Ad, forEach as ps, sortBy as No, cloneDeep as ti, reduce as Ed, every as xc, isArray as dt, keys as Fg, debounce as Zi, sum as kc, isUndefined as tr, unset as Bg, isNull as Id, isObject as Mg, merge as Vr, upperFirst as Ag, map as Eg, constant as Ho, union as Ig } from "lodash-es";
|
|
10
10
|
import { Comment as Wo, Text as Od, Fragment as be, markRaw as He, createElementBlock as M, openBlock as b, createElementVNode as k, defineComponent as oe, inject as et, computed as E, ref as K, readonly as _o, normalizeClass as We, createVNode as D, createCommentVNode as L, renderSlot as Re, unref as B, createTextVNode as te, toDisplayString as U, Transition as ks, withCtx as O, createBlock as ie, useTemplateRef as qe, onMounted as lt, onBeforeUnmount as Fi, onUnmounted as Mr, normalizeStyle as rr, renderList as Tt, h as q, watch as xe, withDirectives as bi, nextTick as kt, onBeforeMount as Ar, toRaw as pi, withModifiers as lo, provide as Ti, createSlots as Mn, getCurrentInstance as zd, Teleport as Og, toRef as st, mergeProps as El, onActivated as Ld, onDeactivated as Dd, isVNode as zg, shallowRef as Lg, watchEffect as An, vShow as Il, cloneVNode as Dg, mergeModels as tl, useModel as Nd, mergeDefaults as Ol } from "vue";
|
|
11
11
|
import { isFuture as Ng, format as Cs, endOfDay as Hg, startOfDay as Wg, isTomorrow as Vg } from "date-fns";
|
|
12
12
|
import { NTooltip as Er, NButton as Ne, NDropdown as Vo, NTag as Hd, NPopover as In, NText as Xn, NScrollbar as Wd, NCheckbox as Qi, NSpin as Jn, NForm as Fs, NFormItem as je, NSelect as zi, NInputNumber as _t, NInput as gn, NModal as zl, NDrawer as Vd, NDrawerContent as jd, NDataTable as Ll, NAlert as qd, NInputGroup as Ud, NInputGroupLabel as jg, NDatePicker as qg, NUpload as Ug, NUploadDragger as Xg, NList as Yg, NListItem as Kg, NImage as Gg, NH1 as Zg, NAutoComplete as Dl } from "naive-ui";
|
|
@@ -23238,17 +23238,17 @@ const O_ = {
|
|
|
23238
23238
|
n.sizes.default.scale
|
|
23239
23239
|
), c = E(() => n.modalWidth ?? window.innerWidth * l.value), u = () => {
|
|
23240
23240
|
s("opening"), r.value = !0, s("update:show", r.value);
|
|
23241
|
-
}, h = (g = "other") => {
|
|
23242
|
-
if (o.value) {
|
|
23243
|
-
s("processing:cancel", (
|
|
23244
|
-
o.value =
|
|
23241
|
+
}, h = (g = "other", d = !1) => {
|
|
23242
|
+
if (o.value && !d) {
|
|
23243
|
+
s("processing:cancel", (y) => {
|
|
23244
|
+
o.value = y;
|
|
23245
23245
|
});
|
|
23246
23246
|
return;
|
|
23247
23247
|
}
|
|
23248
|
-
let
|
|
23248
|
+
let m = !1;
|
|
23249
23249
|
s("closing", g, () => {
|
|
23250
|
-
|
|
23251
|
-
}),
|
|
23250
|
+
m = !0;
|
|
23251
|
+
}), m || (r.value = !1, s("update:show", r.value));
|
|
23252
23252
|
}, f = () => {
|
|
23253
23253
|
s("accept", (d) => {
|
|
23254
23254
|
o.value = d;
|
|
@@ -23257,7 +23257,7 @@ const O_ = {
|
|
|
23257
23257
|
return xe(
|
|
23258
23258
|
() => n.show,
|
|
23259
23259
|
(g) => {
|
|
23260
|
-
g ? u() : h("other");
|
|
23260
|
+
g ? u() : h("other", !0);
|
|
23261
23261
|
}
|
|
23262
23262
|
), xe(
|
|
23263
23263
|
() => n.processing,
|
|
@@ -23316,6 +23316,7 @@ const O_ = {
|
|
|
23316
23316
|
t.acceptButton.show ?? !0 ? (b(), ie(m, {
|
|
23317
23317
|
key: 0,
|
|
23318
23318
|
disabled: o.value || !t.valid,
|
|
23319
|
+
loading: o.value,
|
|
23319
23320
|
size: B(a),
|
|
23320
23321
|
type: "primary",
|
|
23321
23322
|
onClick: f
|
|
@@ -23324,9 +23325,10 @@ const O_ = {
|
|
|
23324
23325
|
te(U(t.acceptButton.text ?? "ОК"), 1)
|
|
23325
23326
|
]),
|
|
23326
23327
|
_: 1
|
|
23327
|
-
}, 8, ["disabled", "size"])) : L("", !0),
|
|
23328
|
+
}, 8, ["disabled", "loading", "size"])) : L("", !0),
|
|
23328
23329
|
t.cancelButton.show ?? !0 ? (b(), ie(m, {
|
|
23329
23330
|
key: 1,
|
|
23331
|
+
disabled: o.value,
|
|
23330
23332
|
size: B(a),
|
|
23331
23333
|
type: "default",
|
|
23332
23334
|
onClick: d[0] || (d[0] = (v) => h("footer"))
|
|
@@ -23335,7 +23337,7 @@ const O_ = {
|
|
|
23335
23337
|
te(U(t.cancelButton.text ?? "Отмена"), 1)
|
|
23336
23338
|
]),
|
|
23337
23339
|
_: 1
|
|
23338
|
-
}, 8, ["size"])) : L("", !0)
|
|
23340
|
+
}, 8, ["disabled", "size"])) : L("", !0)
|
|
23339
23341
|
])) : L("", !0)
|
|
23340
23342
|
]),
|
|
23341
23343
|
key: "1"
|
|
@@ -37459,6 +37461,7 @@ export {
|
|
|
37459
37461
|
ii as WindowResolutionProvider,
|
|
37460
37462
|
G6 as channelPrimaryInterestOptionsList,
|
|
37461
37463
|
jo as componentSizeInjectionKey,
|
|
37464
|
+
im as copyToClipboard,
|
|
37462
37465
|
L6 as deliveryTypeReferenceList,
|
|
37463
37466
|
il as handleFloatInput,
|
|
37464
37467
|
At as handleIntegerInput,
|