@factoringplus/pl-components-pack-v3 0.5.13-pre-2 → 0.5.13-pre-4
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/pl-components-pack-v3.es.js +110 -111
- package/dist/pl-components-pack-v3.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope, onScopeDispose, unref, ref, watch, getCurrentInstance, onMounted, nextTick, shallowRef, watchEffect, readonly, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, provide, inject, onBeforeUnmount, toRef, onUnmounted, isRef, onBeforeMount, defineComponent, mergeProps, renderSlot, useAttrs as useAttrs$1, useSlots, withDirectives, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow, Transition, reactive, onUpdated, cloneVNode, Text, Comment, Teleport, onDeactivated, renderList, createTextVNode, toRaw as toRaw$1, vModelCheckbox, toRefs, withKeys, h as h$2, createSlots, triggerRef, resolveComponent, resolveDirective, vModelText, TransitionGroup, createApp, shallowReactive, render, normalizeProps, guardReactiveProps, createStaticVNode } from "vue";
|
|
1
|
+
import { getCurrentScope, onScopeDispose, unref, ref, watch, getCurrentInstance, onMounted, nextTick, shallowRef, watchEffect, readonly, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, provide, inject, onBeforeUnmount, toRef, onUnmounted, isRef, onBeforeMount, defineComponent, mergeProps, renderSlot, useAttrs as useAttrs$1, useSlots, withDirectives, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow, Transition, reactive, onUpdated, cloneVNode, Text, Comment, Teleport, onDeactivated, renderList, createTextVNode, toRaw as toRaw$1, vModelCheckbox, toRefs, withKeys, h as h$2, createSlots, triggerRef, resolveComponent, resolveDirective, vModelText, TransitionGroup, createApp, shallowReactive, render, normalizeProps, guardReactiveProps, pushScopeId, popScopeId, createStaticVNode } from "vue";
|
|
2
2
|
import moment from "moment";
|
|
3
3
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
4
4
|
var freeGlobal$1 = freeGlobal;
|
|
@@ -25932,19 +25932,20 @@ var objectSupport$1 = { exports: {} };
|
|
|
25932
25932
|
});
|
|
25933
25933
|
})(objectSupport$1);
|
|
25934
25934
|
var objectSupport = objectSupport$1.exports;
|
|
25935
|
-
var
|
|
25935
|
+
var plDatePickerRange_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25936
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-2fa7c8e3"), n2 = n2(), popScopeId(), n2);
|
|
25936
25937
|
const _hoisted_1$v = ["id"];
|
|
25937
|
-
const _hoisted_2$r = /* @__PURE__ */ createElementVNode("img", {
|
|
25938
|
+
const _hoisted_2$r = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
|
|
25938
25939
|
class: "date-picker__img",
|
|
25939
25940
|
src: _imports_0$8,
|
|
25940
25941
|
alt: "date-picker icon"
|
|
25941
|
-
}, null, -1);
|
|
25942
|
+
}, null, -1));
|
|
25942
25943
|
const _hoisted_3$n = { class: "date-switcher__container flex-column" };
|
|
25943
25944
|
const _hoisted_4$h = { class: "d-flex pb-4 justify-content-between" };
|
|
25944
25945
|
const _hoisted_5$b = { class: "date-switcher justify-content-center flex-column" };
|
|
25945
|
-
const _hoisted_6$7 = /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "\u041D\u0430\u0447\u0430\u043B\u043E \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1);
|
|
25946
|
+
const _hoisted_6$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "\u041D\u0430\u0447\u0430\u043B\u043E \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1));
|
|
25946
25947
|
const _hoisted_7$5 = { class: "date-switcher justify-content-center flex-column" };
|
|
25947
|
-
const _hoisted_8$4 = /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "\u041A\u043E\u043D\u0435\u0446 \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1);
|
|
25948
|
+
const _hoisted_8$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "\u041A\u043E\u043D\u0435\u0446 \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1));
|
|
25948
25949
|
const _hoisted_9$4 = { class: "d-flex pt-2 justify-content-between" };
|
|
25949
25950
|
const _hoisted_10$3 = { class: "date-switcher date-switcher__month" };
|
|
25950
25951
|
const _hoisted_11$3 = { class: "date-switcher__month-name" };
|
|
@@ -26349,119 +26350,117 @@ const _sfc_main$w = {
|
|
|
26349
26350
|
}, null, 8, ["mask", "modelValue", "label", "placeholder"]),
|
|
26350
26351
|
_hoisted_2$r
|
|
26351
26352
|
], 4)) : createCommentVNode("", true),
|
|
26352
|
-
(openBlock(),
|
|
26353
|
-
|
|
26354
|
-
|
|
26355
|
-
|
|
26356
|
-
|
|
26357
|
-
|
|
26358
|
-
|
|
26359
|
-
|
|
26360
|
-
|
|
26361
|
-
|
|
26362
|
-
|
|
26363
|
-
createElementVNode("
|
|
26364
|
-
|
|
26365
|
-
|
|
26366
|
-
|
|
26367
|
-
|
|
26368
|
-
|
|
26369
|
-
|
|
26370
|
-
|
|
26371
|
-
|
|
26372
|
-
|
|
26373
|
-
[_directive_maska, "##.##.####"],
|
|
26374
|
-
[vModelText, rangeStartDateValue.value]
|
|
26375
|
-
])
|
|
26376
|
-
]),
|
|
26377
|
-
createElementVNode("div", _hoisted_7$5, [
|
|
26378
|
-
_hoisted_8$4,
|
|
26379
|
-
withDirectives(createElementVNode("input", {
|
|
26380
|
-
id: "date-mask",
|
|
26381
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rangeEndDateValue.value = $event),
|
|
26382
|
-
onInput: _cache[3] || (_cache[3] = ($event) => updateDate($event, true)),
|
|
26383
|
-
type: "text",
|
|
26384
|
-
placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
|
|
26385
|
-
class: "pl-date-picker__input"
|
|
26386
|
-
}, null, 544), [
|
|
26387
|
-
[_directive_maska, "##.##.####"],
|
|
26388
|
-
[vModelText, rangeEndDateValue.value]
|
|
26389
|
-
])
|
|
26353
|
+
!unref(isClose) ? (openBlock(), createElementBlock("div", {
|
|
26354
|
+
key: 1,
|
|
26355
|
+
id: "date-picker-popup",
|
|
26356
|
+
class: "pl-date-picker__popup",
|
|
26357
|
+
ref_key: "datePickerRef",
|
|
26358
|
+
ref: datePickerRef
|
|
26359
|
+
}, [
|
|
26360
|
+
createElementVNode("div", _hoisted_3$n, [
|
|
26361
|
+
createElementVNode("div", _hoisted_4$h, [
|
|
26362
|
+
createElementVNode("div", _hoisted_5$b, [
|
|
26363
|
+
_hoisted_6$7,
|
|
26364
|
+
withDirectives(createElementVNode("input", {
|
|
26365
|
+
id: "date-mask",
|
|
26366
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => rangeStartDateValue.value = $event),
|
|
26367
|
+
onInput: updateDate,
|
|
26368
|
+
type: "text",
|
|
26369
|
+
placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
|
|
26370
|
+
class: "pl-date-picker__input"
|
|
26371
|
+
}, null, 544), [
|
|
26372
|
+
[_directive_maska, "##.##.####"],
|
|
26373
|
+
[vModelText, rangeStartDateValue.value]
|
|
26390
26374
|
])
|
|
26391
26375
|
]),
|
|
26392
|
-
createElementVNode("div",
|
|
26393
|
-
|
|
26394
|
-
|
|
26395
|
-
|
|
26396
|
-
|
|
26397
|
-
|
|
26398
|
-
|
|
26399
|
-
|
|
26400
|
-
|
|
26401
|
-
|
|
26402
|
-
|
|
26403
|
-
|
|
26404
|
-
createElementVNode("div", _hoisted_12$3, [
|
|
26405
|
-
createElementVNode("div", {
|
|
26406
|
-
class: "date-switcher__arrow date-switcher__arrow-left",
|
|
26407
|
-
onClick: switchPrevYear
|
|
26408
|
-
}),
|
|
26409
|
-
createElementVNode("span", _hoisted_13$3, toDisplayString(capitalize2(currentDate.value.format("YYYY"))), 1),
|
|
26410
|
-
createElementVNode("div", {
|
|
26411
|
-
class: "date-switcher__arrow date-switcher__arrow-right",
|
|
26412
|
-
onClick: switchNextYear
|
|
26413
|
-
})
|
|
26376
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
26377
|
+
_hoisted_8$4,
|
|
26378
|
+
withDirectives(createElementVNode("input", {
|
|
26379
|
+
id: "date-mask",
|
|
26380
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rangeEndDateValue.value = $event),
|
|
26381
|
+
onInput: _cache[3] || (_cache[3] = ($event) => updateDate($event, true)),
|
|
26382
|
+
type: "text",
|
|
26383
|
+
placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
|
|
26384
|
+
class: "pl-date-picker__input"
|
|
26385
|
+
}, null, 544), [
|
|
26386
|
+
[_directive_maska, "##.##.####"],
|
|
26387
|
+
[vModelText, rangeEndDateValue.value]
|
|
26414
26388
|
])
|
|
26415
26389
|
])
|
|
26416
26390
|
]),
|
|
26417
|
-
createElementVNode("div",
|
|
26418
|
-
(
|
|
26419
|
-
|
|
26420
|
-
class: "
|
|
26421
|
-
|
|
26422
|
-
},
|
|
26423
|
-
|
|
26424
|
-
|
|
26425
|
-
|
|
26426
|
-
|
|
26427
|
-
|
|
26428
|
-
|
|
26429
|
-
|
|
26430
|
-
|
|
26431
|
-
|
|
26432
|
-
|
|
26433
|
-
|
|
26434
|
-
|
|
26435
|
-
|
|
26436
|
-
|
|
26437
|
-
|
|
26438
|
-
|
|
26439
|
-
|
|
26440
|
-
]),
|
|
26441
|
-
key: `dd${index}`,
|
|
26442
|
-
onClick: ($event) => item.type !== "previous" && item.type !== "next" ? toggleSelection(item) : "",
|
|
26443
|
-
onMousemove: ($event) => item.type !== "previous" && item.type !== "next" ? updateSelection(item, false) : ""
|
|
26444
|
-
}, [
|
|
26445
|
-
createElementVNode("div", _hoisted_16$2, toDisplayString(item.type !== "previous" && item.type !== "next" ? item.day : ""), 1)
|
|
26446
|
-
], 42, _hoisted_15$2);
|
|
26447
|
-
}), 128))
|
|
26448
|
-
]),
|
|
26449
|
-
createElementVNode("div", { class: "pl-date-picker__buttons" }, [
|
|
26450
|
-
createElementVNode("button", {
|
|
26451
|
-
class: "pl-date-picker__btn pl-date-picker__btn-cancel",
|
|
26452
|
-
onClick: cancelButton
|
|
26453
|
-
}, " \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "),
|
|
26454
|
-
createElementVNode("button", {
|
|
26455
|
-
class: "pl-date-picker__btn pl-date-picker__btn-confirm",
|
|
26456
|
-
onClick: confirmDate
|
|
26457
|
-
}, " \u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C ")
|
|
26391
|
+
createElementVNode("div", _hoisted_9$4, [
|
|
26392
|
+
createElementVNode("div", _hoisted_10$3, [
|
|
26393
|
+
createElementVNode("div", {
|
|
26394
|
+
class: "date-switcher__arrow date-switcher__arrow-left",
|
|
26395
|
+
onClick: switchPrevMonth
|
|
26396
|
+
}),
|
|
26397
|
+
createElementVNode("span", _hoisted_11$3, toDisplayString(capitalize2(currentDate.value.format("MMMM"))), 1),
|
|
26398
|
+
createElementVNode("div", {
|
|
26399
|
+
class: "date-switcher__arrow date-switcher__arrow-right",
|
|
26400
|
+
onClick: switchNextMonth
|
|
26401
|
+
})
|
|
26402
|
+
]),
|
|
26403
|
+
createElementVNode("div", _hoisted_12$3, [
|
|
26404
|
+
createElementVNode("div", {
|
|
26405
|
+
class: "date-switcher__arrow date-switcher__arrow-left",
|
|
26406
|
+
onClick: switchPrevYear
|
|
26407
|
+
}),
|
|
26408
|
+
createElementVNode("span", _hoisted_13$3, toDisplayString(capitalize2(currentDate.value.format("YYYY"))), 1),
|
|
26409
|
+
createElementVNode("div", {
|
|
26410
|
+
class: "date-switcher__arrow date-switcher__arrow-right",
|
|
26411
|
+
onClick: switchNextYear
|
|
26412
|
+
})
|
|
26413
|
+
])
|
|
26458
26414
|
])
|
|
26459
|
-
]
|
|
26460
|
-
|
|
26415
|
+
]),
|
|
26416
|
+
createElementVNode("div", _hoisted_14$3, [
|
|
26417
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(WEEK_DAYS2, (item, index) => {
|
|
26418
|
+
return createElementVNode("div", {
|
|
26419
|
+
class: "pl-date-picker__week-day",
|
|
26420
|
+
key: index
|
|
26421
|
+
}, [
|
|
26422
|
+
createElementVNode("span", null, toDisplayString(item), 1)
|
|
26423
|
+
]);
|
|
26424
|
+
}), 64)),
|
|
26425
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(daysData.value, (item, index) => {
|
|
26426
|
+
return openBlock(), createElementBlock("div", {
|
|
26427
|
+
class: normalizeClass([
|
|
26428
|
+
"pl-date-picker__day-item",
|
|
26429
|
+
item.type !== "previous" && item.type !== "next" ? framePosition(item) : "",
|
|
26430
|
+
{
|
|
26431
|
+
"pl-date-picker__day-item_disabled": item.type !== "current"
|
|
26432
|
+
},
|
|
26433
|
+
{
|
|
26434
|
+
"pl-date-picker__day-item_svg-circle-background": activeDay(item) && item.type === "current"
|
|
26435
|
+
},
|
|
26436
|
+
{
|
|
26437
|
+
"pl-date-picker__background-range": item.type !== "previous" && item.type !== "next" ? updateSelection(item, true) : ""
|
|
26438
|
+
}
|
|
26439
|
+
]),
|
|
26440
|
+
key: `dd${index}`,
|
|
26441
|
+
onClick: ($event) => item.type !== "previous" && item.type !== "next" ? toggleSelection(item) : "",
|
|
26442
|
+
onMousemove: ($event) => item.type !== "previous" && item.type !== "next" ? updateSelection(item, false) : ""
|
|
26443
|
+
}, [
|
|
26444
|
+
createElementVNode("div", _hoisted_16$2, toDisplayString(item.type !== "previous" && item.type !== "next" ? item.day : ""), 1)
|
|
26445
|
+
], 42, _hoisted_15$2);
|
|
26446
|
+
}), 128))
|
|
26447
|
+
]),
|
|
26448
|
+
createElementVNode("div", { class: "pl-date-picker__buttons" }, [
|
|
26449
|
+
createElementVNode("button", {
|
|
26450
|
+
class: "pl-date-picker__btn pl-date-picker__btn-cancel",
|
|
26451
|
+
onClick: cancelButton
|
|
26452
|
+
}, " \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "),
|
|
26453
|
+
createElementVNode("button", {
|
|
26454
|
+
class: "pl-date-picker__btn pl-date-picker__btn-confirm",
|
|
26455
|
+
onClick: confirmDate
|
|
26456
|
+
}, " \u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C ")
|
|
26457
|
+
])
|
|
26458
|
+
], 512)) : createCommentVNode("", true)
|
|
26461
26459
|
], 8, _hoisted_1$v);
|
|
26462
26460
|
};
|
|
26463
26461
|
}
|
|
26464
26462
|
};
|
|
26463
|
+
var PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-2fa7c8e3"]]);
|
|
26465
26464
|
var datePicker = "";
|
|
26466
26465
|
var scrollbar = "";
|
|
26467
26466
|
var popper = "";
|
|
@@ -26681,7 +26680,7 @@ var common = "";
|
|
|
26681
26680
|
var inter = "";
|
|
26682
26681
|
const PlDatePickerPlugin = {
|
|
26683
26682
|
install(app) {
|
|
26684
|
-
app.component("PlDatePickerRange",
|
|
26683
|
+
app.component("PlDatePickerRange", PlDatePickerRange);
|
|
26685
26684
|
app.component("PlDatePicker", _sfc_main$v);
|
|
26686
26685
|
}
|
|
26687
26686
|
};
|
|
@@ -42185,4 +42184,4 @@ const PlPlugin = {
|
|
|
42185
42184
|
apiJs: ApiJs,
|
|
42186
42185
|
loader: loadingAndSetup
|
|
42187
42186
|
};
|
|
42188
|
-
export { PlButton, PlButtonPlugin, _sfc_main$1 as PlCard, PlCardPlugin, _sfc_main$u as PlCertDialog, PlCertDialogPlugin, _sfc_main as PlCheckbox, PlCheckboxPlugin, _sfc_main$D as PlCurrency, PlCurrencyPlugin, _sfc_main$v as PlDatePicker, PlDatePickerPlugin, _sfc_main$e as PlDatePickerPlus, PlDatePickerPlusPlugin,
|
|
42187
|
+
export { PlButton, PlButtonPlugin, _sfc_main$1 as PlCard, PlCardPlugin, _sfc_main$u as PlCertDialog, PlCertDialogPlugin, _sfc_main as PlCheckbox, PlCheckboxPlugin, _sfc_main$D as PlCurrency, PlCurrencyPlugin, _sfc_main$v as PlDatePicker, PlDatePickerPlugin, _sfc_main$e as PlDatePickerPlus, PlDatePickerPlusPlugin, PlDatePickerRange, _sfc_main$C as PlForm, PlFormItem, PlFormItemPlugin, PlFormPlugin, _sfc_main$B as PlInput, _sfc_main$A as PlInputNative, PlInputNativePlugin, PlInputPlugin, _sfc_main$5 as PlStepper, PlStepperPlugin, _sfc_main$t as PlTable, _sfc_main$s as PlTableColumn, PlTablePlugin, _sfc_main$3 as PlTooltip, PlTooltipPlugin, _sfc_main$r as PlUpload, PlUploadPlugin, _sfc_main$y as TestViteNpmComponent, TestViteNpmComponentPlugin, PlPlugin as default };
|