@factoringplus/pl-components-pack-v3 0.3.31 → 0.3.32
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.
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
import { ref, watch, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, unref, getCurrentInstance, computed, openBlock, createElementBlock, createElementVNode, warn as warn$1, provide, inject, onMounted, onBeforeUnmount, toRef, onUnmounted, isRef, onBeforeMount, defineComponent, mergeProps, renderSlot, useAttrs as useAttrs$1, useSlots, nextTick, onUpdated, withDirectives, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow, Transition, reactive, cloneVNode, Text, Comment, toRefs, resolveComponent, Teleport, onDeactivated, renderList, createTextVNode, vModelCheckbox, withKeys, h as h$1, createSlots, toRaw, triggerRef, resolveDirective, vModelText, TransitionGroup, createApp, shallowReactive, isVNode, render, createStaticVNode } from "vue";
|
|
2
|
-
function _mergeNamespaces(n, m2) {
|
|
3
|
-
m2.forEach(function(e2) {
|
|
4
|
-
e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k) {
|
|
5
|
-
if (k !== "default" && !(k in n)) {
|
|
6
|
-
var d2 = Object.getOwnPropertyDescriptor(e2, k);
|
|
7
|
-
Object.defineProperty(n, k, d2.get ? d2 : {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function() {
|
|
10
|
-
return e2[k];
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
});
|
|
16
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
2
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
19
3
|
var freeGlobal$1 = freeGlobal;
|
|
20
4
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
@@ -7574,10 +7558,6 @@ var dayjs_min = { exports: {} };
|
|
|
7574
7558
|
});
|
|
7575
7559
|
})(dayjs_min);
|
|
7576
7560
|
var dayjs = dayjs_min.exports;
|
|
7577
|
-
var dayjs$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
7578
|
-
__proto__: null,
|
|
7579
|
-
"default": dayjs
|
|
7580
|
-
}, [dayjs_min.exports]);
|
|
7581
7561
|
var localeData$2 = { exports: {} };
|
|
7582
7562
|
(function(module2, exports2) {
|
|
7583
7563
|
!function(n, e2) {
|
|
@@ -41976,8 +41956,8 @@ const _sfc_main$1 = {
|
|
|
41976
41956
|
},
|
|
41977
41957
|
emits: ["update:modelValue"],
|
|
41978
41958
|
setup(__props, { emit: emit2 }) {
|
|
41979
|
-
|
|
41980
|
-
const displayDate = ref(dayjs
|
|
41959
|
+
dayjs.locale("ru");
|
|
41960
|
+
const displayDate = ref(dayjs());
|
|
41981
41961
|
const switchPrevMonth = () => {
|
|
41982
41962
|
displayDate.value = displayDate.value.subtract(1, "month");
|
|
41983
41963
|
emit2("update:modelValue", displayDate.value);
|
|
@@ -42047,9 +42027,9 @@ const _sfc_main = {
|
|
|
42047
42027
|
},
|
|
42048
42028
|
emits: ["update:modelValue"],
|
|
42049
42029
|
setup(__props, { emit: emit2 }) {
|
|
42050
|
-
|
|
42051
|
-
const currentDate = ref(dayjs
|
|
42052
|
-
const selectedDate = ref(dayjs
|
|
42030
|
+
dayjs.locale("ru");
|
|
42031
|
+
const currentDate = ref(dayjs());
|
|
42032
|
+
const selectedDate = ref(dayjs());
|
|
42053
42033
|
const isOpen = ref(false);
|
|
42054
42034
|
const checkCurrentMonthDays = (dayItem) => {
|
|
42055
42035
|
return selectedDate.value.date() === dayItem.day && selectedDate.value.month() === dayItem.month && selectedDate.value.year() === dayItem.year && dayItem.type === "current";
|
|
@@ -42058,7 +42038,7 @@ const _sfc_main = {
|
|
|
42058
42038
|
const closeDatePicker = () => isOpen.value = false;
|
|
42059
42039
|
const selectDate = (item) => {
|
|
42060
42040
|
if (item.type === "current") {
|
|
42061
|
-
selectedDate.value = dayjs
|
|
42041
|
+
selectedDate.value = dayjs().set("date", item.day).set("month", item.month).set("year", item.year);
|
|
42062
42042
|
}
|
|
42063
42043
|
};
|
|
42064
42044
|
const confirmDate = () => {
|