@factoringplus/pl-components-pack-v3 0.5.12-pre-3 → 0.5.12

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.
@@ -25281,7 +25281,9 @@ const PlFormPlugin = {
25281
25281
  };
25282
25282
  var formItem = "";
25283
25283
  var _imports_0$9 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMi41OTk5IDguMDAwMzlDMi41OTk5IDUuMDE3NzYgNS4wMTcyNyAyLjYwMDM5IDcuOTk5OSAyLjYwMDM5QzEwLjk4MjUgMi42MDAzOSAxMy4zOTk5IDUuMDE3NzYgMTMuMzk5OSA4LjAwMDM5QzEzLjM5OTkgMTAuOTgzIDEwLjk4MjUgMTMuNDAwNCA3Ljk5OTkgMTMuNDAwNEM1LjAxNzI3IDEzLjQwMDQgMi41OTk5IDEwLjk4MyAyLjU5OTkgOC4wMDAzOVpNNy45OTk5IDEuNDAwMzlDNC4zNTQ1MyAxLjQwMDM5IDEuMzk5OSA0LjM1NTAyIDEuMzk5OSA4LjAwMDM5QzEuMzk5OSAxMS42NDU4IDQuMzU0NTMgMTQuNjAwNCA3Ljk5OTkgMTQuNjAwNEMxMS42NDUzIDE0LjYwMDQgMTQuNTk5OSAxMS42NDU4IDE0LjU5OTkgOC4wMDAzOUMxNC41OTk5IDQuMzU1MDIgMTEuNjQ1MyAxLjQwMDM5IDcuOTk5OSAxLjQwMDM5Wk04LjU5OTkgNS4wMDAzOUM4LjU5OTkgNC42NjkwMiA4LjMzMTI3IDQuNDAwMzkgNy45OTk5IDQuNDAwMzlDNy42Njg1MyA0LjQwMDM5IDcuMzk5O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0OCAyMC40OTk4IDUgMjAuNDk5OEgxOUMxOS41NTIgMjAuNDk5OCAyMCAyMC4wNTE4IDIwIDE5LjQ5OThWMTguNDk5OEMyMCAxNS40NzM4IDE2LjA0OCAxMy41MDc4IDEyIDEzLjUwNzhDNy45NTIgMTMuNTA3OCA0IDE1LjQ3MzggNCAxOC40OTk4WiIgc3Ryb2tlPSIjNjU2NTY3IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+DQo8L3N2Zz4NCg==";
25286
25288
  var plInput_vue_vue_type_style_index_0_lang$1 = "";
25287
25289
  const _hoisted_1$x = {
@@ -25379,13 +25381,17 @@ const _sfc_main$B = {
25379
25381
  valueRange: {
25380
25382
  type: Object,
25381
25383
  default: () => ({ min: 0 })
25384
+ },
25385
+ password: {
25386
+ type: Boolean,
25387
+ default: false
25382
25388
  }
25383
25389
  },
25384
25390
  emits: ["update:modelValue", "validate"],
25385
25391
  setup(__props, { emit: emit2 }) {
25386
25392
  const props = __props;
25387
25393
  const refInput = ref();
25388
- const { getValid, currency, round, currencyInputOptions, valueRange } = toRefs(props);
25394
+ const { getValid, currency, round, currencyInputOptions, valueRange, password } = toRefs(props);
25389
25395
  const modelValue = computed$1({
25390
25396
  get: () => props.modelValue,
25391
25397
  set: (val) => {
@@ -25425,6 +25431,13 @@ const _sfc_main$B = {
25425
25431
  emit2("update:modelValue", value);
25426
25432
  }
25427
25433
  };
25434
+ const throwInput = (event) => {
25435
+ const parent = event.target.parentElement.parentElement;
25436
+ let input2 = parent.querySelector(".el-input__inner");
25437
+ setTimeout(() => {
25438
+ input2.focus();
25439
+ });
25440
+ };
25428
25441
  const getTypeInput = computed$1(() => {
25429
25442
  switch (props.type) {
25430
25443
  case "text":
@@ -25435,6 +25448,11 @@ const _sfc_main$B = {
25435
25448
  return "text";
25436
25449
  }
25437
25450
  });
25451
+ const currentPassType = ref("password");
25452
+ const changedPassType = (event) => {
25453
+ currentPassType.value = currentPassType.value === "password" ? "text" : "password";
25454
+ throwInput(event);
25455
+ };
25438
25456
  const clearValue = () => {
25439
25457
  emit2("update:modelValue", "");
25440
25458
  };
@@ -25450,13 +25468,6 @@ const _sfc_main$B = {
25450
25468
  emit2("isValid");
25451
25469
  }
25452
25470
  });
25453
- const throuInput = (event) => {
25454
- const parent = event.target.parentElement.parentElement;
25455
- let input2 = parent.querySelector(".el-input__inner");
25456
- setTimeout(() => {
25457
- input2.focus();
25458
- });
25459
- };
25460
25471
  const keydown = (e2) => {
25461
25472
  const { keyCode } = e2;
25462
25473
  if (keyCode >= 96 && keyCode <= 105 || keyCode >= 48 && keyCode <= 57 || keyCode === 46 || keyCode === 8) {
@@ -25501,7 +25512,7 @@ const _sfc_main$B = {
25501
25512
  ref_key: "refInput",
25502
25513
  ref: refInput,
25503
25514
  rules: __props.rules,
25504
- onSubmit: _cache[4] || (_cache[4] = withModifiers(() => {
25515
+ onSubmit: _cache[6] || (_cache[6] = withModifiers(() => {
25505
25516
  }, ["prevent"]))
25506
25517
  }, {
25507
25518
  default: withCtx(() => [
@@ -25520,7 +25531,7 @@ const _sfc_main$B = {
25520
25531
  key: 2,
25521
25532
  onClick: clearValue,
25522
25533
  class: normalizeClass(["clearBtn", [!__props.label && !__props.icon ? "clearNoLabel" : ""]]),
25523
- src: _imports_2$2,
25534
+ src: _imports_2$3,
25524
25535
  alt: "clear"
25525
25536
  }, null, 2)) : createCommentVNode("", true),
25526
25537
  props.optional && __props.label ? (openBlock(), createElementBlock("div", {
@@ -25555,14 +25566,33 @@ const _sfc_main$B = {
25555
25566
  disabled: props.disabled,
25556
25567
  placeholder: props.placeholder,
25557
25568
  modelValue: unref(modelValue),
25558
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
25559
- type: unref(getTypeInput),
25569
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
25570
+ type: unref(password) ? currentPassType.value : unref(getTypeInput),
25560
25571
  resize: "none"
25561
25572
  }, _ctx.$attrs, {
25562
25573
  autosize: { minRows: 3, maxRows: 6 },
25563
25574
  clearable: props.clearable,
25564
25575
  onInput: updateValue
25565
- }), null, 16, ["class", "minlength", "maxlength", "disabled", "placeholder", "modelValue", "type", "clearable"])) : (openBlock(), createBlock(_component_el_input, mergeProps({
25576
+ }), createSlots({ _: 2 }, [
25577
+ unref(password) ? {
25578
+ name: "append",
25579
+ fn: withCtx(() => [
25580
+ currentPassType.value === "password" ? (openBlock(), createElementBlock("img", {
25581
+ key: 0,
25582
+ onClick: _cache[1] || (_cache[1] = ($event) => changedPassType($event)),
25583
+ class: "pass-svg",
25584
+ src: _imports_2$2,
25585
+ alt: ""
25586
+ })) : (openBlock(), createElementBlock("img", {
25587
+ key: 1,
25588
+ onClick: _cache[2] || (_cache[2] = ($event) => changedPassType($event)),
25589
+ class: "pass-svg",
25590
+ src: _imports_3$1,
25591
+ alt: ""
25592
+ }))
25593
+ ])
25594
+ } : void 0
25595
+ ]), 1040, ["class", "minlength", "maxlength", "disabled", "placeholder", "modelValue", "type", "clearable"])) : (openBlock(), createBlock(_component_el_input, mergeProps({
25566
25596
  key: 2,
25567
25597
  onKeydown: keydown,
25568
25598
  class: { padding: props.prefix },
@@ -25575,14 +25605,14 @@ const _sfc_main$B = {
25575
25605
  ref_key: "inputRef",
25576
25606
  ref: inputRef,
25577
25607
  modelValue: unref(formattedValue),
25578
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(formattedValue) ? formattedValue.value = $event : null)
25608
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(formattedValue) ? formattedValue.value = $event : null)
25579
25609
  }), createSlots({ _: 2 }, [
25580
25610
  unref(currency) ? {
25581
25611
  name: "append",
25582
25612
  fn: withCtx(() => [
25583
25613
  createElementVNode("span", {
25584
25614
  class: "pl-currency__rub-icon",
25585
- onClick: _cache[2] || (_cache[2] = ($event) => throuInput($event))
25615
+ onClick: _cache[4] || (_cache[4] = ($event) => throwInput($event))
25586
25616
  }, "\u20BD")
25587
25617
  ])
25588
25618
  } : void 0
@@ -25896,12 +25926,11 @@ var objectSupport$1 = { exports: {} };
25896
25926
  })(objectSupport$1);
25897
25927
  var objectSupport = objectSupport$1.exports;
25898
25928
  var plDatePickerRange_vue_vue_type_style_index_0_lang = "";
25899
- const _hoisted_1$v = ["id"];
25900
- const _hoisted_2$r = /* @__PURE__ */ createElementVNode("img", {
25901
- class: "date-picker__img",
25902
- src: _imports_0$8,
25903
- alt: "date-picker icon"
25904
- }, null, -1);
25929
+ const _hoisted_1$v = { class: "date-picker" };
25930
+ const _hoisted_2$r = {
25931
+ key: 0,
25932
+ class: "date-picker__wrapper"
25933
+ };
25905
25934
  const _hoisted_3$n = { class: "date-switcher__container flex-column" };
25906
25935
  const _hoisted_4$h = { class: "d-flex pb-4 justify-content-between" };
25907
25936
  const _hoisted_5$b = { class: "date-switcher justify-content-center flex-column" };
@@ -25920,12 +25949,8 @@ const _sfc_main$w = {
25920
25949
  __name: "pl-date-picker-range",
25921
25950
  props: {
25922
25951
  modelValue: {
25923
- type: Array,
25924
- default: () => []
25925
- },
25926
- width: {
25927
25952
  type: String,
25928
- default: "260"
25953
+ default: ""
25929
25954
  },
25930
25955
  placeholder: {
25931
25956
  type: String,
@@ -25935,7 +25960,7 @@ const _sfc_main$w = {
25935
25960
  type: String,
25936
25961
  default: ""
25937
25962
  },
25938
- isClose: {
25963
+ isOpen: {
25939
25964
  type: Boolean,
25940
25965
  default: false
25941
25966
  },
@@ -25950,20 +25975,7 @@ const _sfc_main$w = {
25950
25975
  dayjs.locale("ru");
25951
25976
  dayjs.extend(isBetween);
25952
25977
  dayjs.extend(objectSupport);
25953
- const { isClose } = toRefs(props);
25954
- const randId = ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c2) => (c2 ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c2 / 4).toString(16));
25955
- const offsetTop = ref(0);
25956
- const offsetLeft = ref(0);
25957
- const calculateOffsets = () => {
25958
- const currentDatePicker = document.getElementById(`date-picker-range-${randId}`);
25959
- const offsets = currentDatePicker.getBoundingClientRect();
25960
- offsetLeft.value = offsets.x;
25961
- offsetTop.value = offsets.y + offsets.height;
25962
- };
25963
- const openPopup = () => {
25964
- calculateOffsets();
25965
- emit2("changeOpen", !isClose.value);
25966
- };
25978
+ const { isOpen } = toRefs(props);
25967
25979
  const validateDateValueString = (dateStr) => {
25968
25980
  if (dateStr.includes("-")) {
25969
25981
  return dayjs(dateStr.split("-")[0], "DD.MM.YYYY", true).isValid() && dayjs(dateStr.split("-")[1], "DD.MM.YYYY", true).isValid();
@@ -25979,55 +25991,25 @@ const _sfc_main$w = {
25979
25991
  const rangeEndDateValue = ref(dayjs().format("DD.MM.YYYY"));
25980
25992
  const WEEK_DAYS2 = ["\u041F\u043D", "\u0412\u0442", "\u0421\u0440", "\u0427\u0442", "\u041F\u0442", "\u0421\u0431", "\u0412\u0441"];
25981
25993
  let range3 = [];
25982
- const dateValue = ref("");
25983
- onMounted(() => {
25984
- setupDates(props.modelValue);
25985
- });
25986
- watch(() => props.modelValue, (date4) => {
25987
- if (date4.length === 2) {
25988
- setupDates(date4);
25994
+ const dateValue = computed$1({
25995
+ get: () => props.modelValue,
25996
+ set: (val) => {
25997
+ emit2("update:modelValue", val);
25989
25998
  }
25990
25999
  });
25991
26000
  watch(dateValue, (value) => {
25992
26001
  if (validateDateValueString(value)) {
25993
- if (value.split("-").length === 2) {
25994
- startDate.value = dayjs(value.split("-")[0].split(".").reverse().join("-"));
25995
- endDate.value = dayjs(value.split("-")[1].split(".").reverse().join("-"));
25996
- range3 = [startDate.value, endDate.value];
25997
- rangeStartDateValue.value = displayData(startDate.value);
25998
- rangeEndDateValue.value = displayData(endDate.value);
25999
- updateModelValue(range3);
26000
- }
26001
- if (startDate.value.isAfter(endDate.value)) {
26002
- endDate.value = range3[0];
26003
- startDate.value = range3[1];
26004
- range3 = [startDate.value, endDate.value];
26005
- rangeStartDateValue.value = displayData(startDate.value);
26006
- rangeEndDateValue.value = displayData(endDate.value);
26007
- updateModelValue(range3);
26008
- }
26009
- } else {
26010
- updateModelValue();
26002
+ startDate.value = dayjs(value.split("-")[0].split(".").reverse().join("-"));
26003
+ endDate.value = dayjs(value.split("-")[1].split(".").reverse().join("-"));
26004
+ range3 = [startDate.value, endDate.value];
26005
+ }
26006
+ if (startDate.value.isAfter(endDate.value)) {
26007
+ endDate.value = range3[0];
26008
+ startDate.value = range3[1];
26009
+ range3 = [startDate.value, endDate.value];
26011
26010
  }
26012
26011
  setupUpdate();
26013
26012
  });
26014
- const setupDates = (date4) => {
26015
- if (date4 && date4.length === 2) {
26016
- const startDate2 = dayjs(date4[0]).format("YYYY-MM-DD").split("-").reverse().join(".");
26017
- const endDate2 = dayjs(date4[1]).format("YYYY-MM-DD").split("-").reverse().join(".");
26018
- const newDateValue = startDate2 + "-" + endDate2;
26019
- if (validateDateValueString(newDateValue)) {
26020
- dateValue.value = `${startDate2}-${endDate2}`;
26021
- }
26022
- }
26023
- };
26024
- const updateModelValue = (range4 = []) => {
26025
- let newRange = range4;
26026
- if (newRange.length === 2) {
26027
- newRange = [newRange[0].format("YYYY-MM-DD"), newRange[1].format("YYYY-MM-DD")];
26028
- }
26029
- emit2("update:modelValue", newRange);
26030
- };
26031
26013
  const updateDate = (event, flag) => {
26032
26014
  if (validateDateValueString(event.target.value)) {
26033
26015
  if (flag) {
@@ -26107,6 +26089,7 @@ const _sfc_main$w = {
26107
26089
  range3 = [];
26108
26090
  dateValue.value = "";
26109
26091
  emit2("changeOpen", true);
26092
+ emit2("update:modelValue", "");
26110
26093
  };
26111
26094
  const closeDatePicker = () => {
26112
26095
  if (!validateDateValueString(dateValue.value)) {
@@ -26118,7 +26101,7 @@ const _sfc_main$w = {
26118
26101
  setupUpdate();
26119
26102
  emit2("changeOpen", true);
26120
26103
  };
26121
- watch(isClose, (value) => {
26104
+ watch(isOpen, (value) => {
26122
26105
  if (validateDateValueString(dateValue.value)) {
26123
26106
  rangeStartDateValue.value = dayjs(dateValue.value.split("-")[0].split(".").reverse().join("-")).format("DD.MM.YYYY");
26124
26107
  rangeEndDateValue.value = dayjs(dateValue.value.split("-")[1].split(".").reverse().join("-")).format("DD.MM.YYYY");
@@ -26153,8 +26136,10 @@ const _sfc_main$w = {
26153
26136
  }
26154
26137
  if (startDate.value.isAfter(endDate.value)) {
26155
26138
  dateValue.value = endDate.value.format("DD.MM.YYYY") + "-" + startDate.value.format("DD.MM.YYYY");
26139
+ emit2("update:modelValue", endDate.value.format("DD.MM.YYYY") + "-" + startDate.value.format("DD.MM.YYYY"));
26156
26140
  } else {
26157
26141
  dateValue.value = startDate.value.format("DD.MM.YYYY") + "-" + endDate.value.format("DD.MM.YYYY");
26142
+ emit2("update:modelValue", startDate.value.format("DD.MM.YYYY") + "-" + endDate.value.format("DD.MM.YYYY"));
26158
26143
  }
26159
26144
  emit2("changeOpen", true);
26160
26145
  };
@@ -26291,137 +26276,131 @@ const _sfc_main$w = {
26291
26276
  });
26292
26277
  return (_ctx, _cache) => {
26293
26278
  const _directive_maska = resolveDirective("maska");
26294
- return openBlock(), createElementBlock("div", {
26295
- class: "date-picker",
26296
- id: `date-picker-range-${unref(randId)}`
26297
- }, [
26298
- __props.showInput ? (openBlock(), createElementBlock("div", {
26299
- key: 0,
26300
- class: "date-picker__wrapper",
26301
- style: normalizeStyle(`width: ${__props.width}px`),
26302
- onClick: openPopup
26303
- }, [
26279
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
26280
+ __props.showInput ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
26304
26281
  createVNode(_sfc_main$B, {
26305
26282
  mask: "##.##.####-##.##.####",
26306
- modelValue: dateValue.value,
26307
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dateValue.value = $event),
26283
+ modelValue: unref(dateValue),
26284
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(dateValue) ? dateValue.value = $event : null),
26308
26285
  label: __props.label,
26309
26286
  placeholder: __props.placeholder,
26310
26287
  onInput: updateDate,
26311
26288
  datePicker: ""
26312
26289
  }, null, 8, ["mask", "modelValue", "label", "placeholder"]),
26313
- _hoisted_2$r
26314
- ], 4)) : createCommentVNode("", true),
26315
- (openBlock(), createBlock(Teleport, { to: "body" }, [
26316
- !unref(isClose) ? (openBlock(), createElementBlock("div", {
26317
- key: 0,
26318
- id: "date-picker-popup",
26319
- class: "pl-date-picker__popup",
26320
- ref_key: "datePickerRef",
26321
- ref: datePickerRef,
26322
- style: normalizeStyle({ top: `${offsetTop.value}px`, left: `${offsetLeft.value}px` })
26323
- }, [
26324
- createElementVNode("div", _hoisted_3$n, [
26325
- createElementVNode("div", _hoisted_4$h, [
26326
- createElementVNode("div", _hoisted_5$b, [
26327
- _hoisted_6$7,
26328
- withDirectives(createElementVNode("input", {
26329
- id: "date-mask",
26330
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => rangeStartDateValue.value = $event),
26331
- onInput: updateDate,
26332
- type: "text",
26333
- placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
26334
- class: "pl-date-picker__input"
26335
- }, null, 544), [
26336
- [_directive_maska, "##.##.####"],
26337
- [vModelText, rangeStartDateValue.value]
26338
- ])
26339
- ]),
26340
- createElementVNode("div", _hoisted_7$5, [
26341
- _hoisted_8$4,
26342
- withDirectives(createElementVNode("input", {
26343
- id: "date-mask",
26344
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rangeEndDateValue.value = $event),
26345
- onInput: _cache[3] || (_cache[3] = ($event) => updateDate($event, true)),
26346
- type: "text",
26347
- placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
26348
- class: "pl-date-picker__input"
26349
- }, null, 544), [
26350
- [_directive_maska, "##.##.####"],
26351
- [vModelText, rangeEndDateValue.value]
26352
- ])
26290
+ createElementVNode("img", {
26291
+ class: "date-picker__img",
26292
+ src: _imports_0$8,
26293
+ alt: "date-picker icon",
26294
+ onClick: _cache[1] || (_cache[1] = ($event) => emit2("changeOpen", !unref(isOpen)))
26295
+ })
26296
+ ])) : createCommentVNode("", true),
26297
+ !unref(isOpen) ? (openBlock(), createElementBlock("div", {
26298
+ key: 1,
26299
+ id: "date-picker-popup",
26300
+ class: "pl-date-picker__popup",
26301
+ ref_key: "datePickerRef",
26302
+ ref: datePickerRef
26303
+ }, [
26304
+ createElementVNode("div", _hoisted_3$n, [
26305
+ createElementVNode("div", _hoisted_4$h, [
26306
+ createElementVNode("div", _hoisted_5$b, [
26307
+ _hoisted_6$7,
26308
+ withDirectives(createElementVNode("input", {
26309
+ id: "date-mask",
26310
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rangeStartDateValue.value = $event),
26311
+ onInput: updateDate,
26312
+ type: "text",
26313
+ placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
26314
+ class: "pl-date-picker__input"
26315
+ }, null, 544), [
26316
+ [_directive_maska, "##.##.####"],
26317
+ [vModelText, rangeStartDateValue.value]
26353
26318
  ])
26354
26319
  ]),
26355
- createElementVNode("div", _hoisted_9$4, [
26356
- createElementVNode("div", _hoisted_10$3, [
26357
- createElementVNode("div", {
26358
- class: "date-switcher__arrow date-switcher__arrow-left",
26359
- onClick: switchPrevMonth
26360
- }),
26361
- createElementVNode("span", _hoisted_11$3, toDisplayString(capitalize2(currentDate.value.format("MMMM"))), 1),
26362
- createElementVNode("div", {
26363
- class: "date-switcher__arrow date-switcher__arrow-right",
26364
- onClick: switchNextMonth
26365
- })
26366
- ]),
26367
- createElementVNode("div", _hoisted_12$3, [
26368
- createElementVNode("div", {
26369
- class: "date-switcher__arrow date-switcher__arrow-left",
26370
- onClick: switchPrevYear
26371
- }),
26372
- createElementVNode("span", _hoisted_13$3, toDisplayString(capitalize2(currentDate.value.format("YYYY"))), 1),
26373
- createElementVNode("div", {
26374
- class: "date-switcher__arrow date-switcher__arrow-right",
26375
- onClick: switchNextYear
26376
- })
26320
+ createElementVNode("div", _hoisted_7$5, [
26321
+ _hoisted_8$4,
26322
+ withDirectives(createElementVNode("input", {
26323
+ id: "date-mask",
26324
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => rangeEndDateValue.value = $event),
26325
+ onInput: _cache[4] || (_cache[4] = ($event) => updateDate($event, true)),
26326
+ type: "text",
26327
+ placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
26328
+ class: "pl-date-picker__input"
26329
+ }, null, 544), [
26330
+ [_directive_maska, "##.##.####"],
26331
+ [vModelText, rangeEndDateValue.value]
26377
26332
  ])
26378
26333
  ])
26379
26334
  ]),
26380
- createElementVNode("div", _hoisted_14$3, [
26381
- (openBlock(), createElementBlock(Fragment, null, renderList(WEEK_DAYS2, (item, index) => {
26382
- return createElementVNode("div", {
26383
- class: "pl-date-picker__week-day",
26384
- key: index
26385
- }, [
26386
- createElementVNode("span", null, toDisplayString(item), 1)
26387
- ]);
26388
- }), 64)),
26389
- (openBlock(true), createElementBlock(Fragment, null, renderList(daysData.value, (item, index) => {
26390
- return openBlock(), createElementBlock("div", {
26391
- class: normalizeClass([
26392
- "pl-date-picker__day-item",
26393
- item.type !== "previous" && item.type !== "next" ? framePosition(item) : "",
26394
- {
26395
- "pl-date-picker__day-item_disabled": item.type !== "current"
26396
- },
26397
- {
26398
- "pl-date-picker__day-item_svg-circle-background": activeDay(item) && item.type === "current"
26399
- },
26400
- {
26401
- "pl-date-picker__background-range": item.type !== "previous" && item.type !== "next" ? updateSelection(item, true) : ""
26402
- }
26403
- ]),
26404
- key: `dd${index}`,
26405
- onClick: ($event) => item.type !== "previous" && item.type !== "next" ? toggleSelection(item) : "",
26406
- onMousemove: ($event) => item.type !== "previous" && item.type !== "next" ? updateSelection(item, false) : ""
26407
- }, [
26408
- createElementVNode("div", _hoisted_16$2, toDisplayString(item.type !== "previous" && item.type !== "next" ? item.day : ""), 1)
26409
- ], 42, _hoisted_15$2);
26410
- }), 128))
26411
- ]),
26412
- createElementVNode("div", { class: "pl-date-picker__buttons" }, [
26413
- createElementVNode("button", {
26414
- class: "pl-date-picker__btn pl-date-picker__btn-cancel",
26415
- onClick: cancelButton
26416
- }, " \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "),
26417
- createElementVNode("button", {
26418
- class: "pl-date-picker__btn pl-date-picker__btn-confirm",
26419
- onClick: confirmDate
26420
- }, " \u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C ")
26335
+ createElementVNode("div", _hoisted_9$4, [
26336
+ createElementVNode("div", _hoisted_10$3, [
26337
+ createElementVNode("div", {
26338
+ class: "date-switcher__arrow date-switcher__arrow-left",
26339
+ onClick: switchPrevMonth
26340
+ }),
26341
+ createElementVNode("span", _hoisted_11$3, toDisplayString(capitalize2(currentDate.value.format("MMMM"))), 1),
26342
+ createElementVNode("div", {
26343
+ class: "date-switcher__arrow date-switcher__arrow-right",
26344
+ onClick: switchNextMonth
26345
+ })
26346
+ ]),
26347
+ createElementVNode("div", _hoisted_12$3, [
26348
+ createElementVNode("div", {
26349
+ class: "date-switcher__arrow date-switcher__arrow-left",
26350
+ onClick: switchPrevYear
26351
+ }),
26352
+ createElementVNode("span", _hoisted_13$3, toDisplayString(capitalize2(currentDate.value.format("YYYY"))), 1),
26353
+ createElementVNode("div", {
26354
+ class: "date-switcher__arrow date-switcher__arrow-right",
26355
+ onClick: switchNextYear
26356
+ })
26357
+ ])
26421
26358
  ])
26422
- ], 4)) : createCommentVNode("", true)
26423
- ]))
26424
- ], 8, _hoisted_1$v);
26359
+ ]),
26360
+ createElementVNode("div", _hoisted_14$3, [
26361
+ (openBlock(), createElementBlock(Fragment, null, renderList(WEEK_DAYS2, (item, index) => {
26362
+ return createElementVNode("div", {
26363
+ class: "pl-date-picker__week-day",
26364
+ key: index
26365
+ }, [
26366
+ createElementVNode("span", null, toDisplayString(item), 1)
26367
+ ]);
26368
+ }), 64)),
26369
+ (openBlock(true), createElementBlock(Fragment, null, renderList(daysData.value, (item, index) => {
26370
+ return openBlock(), createElementBlock("div", {
26371
+ class: normalizeClass([
26372
+ "pl-date-picker__day-item",
26373
+ item.type !== "previous" && item.type !== "next" ? framePosition(item) : "",
26374
+ {
26375
+ "pl-date-picker__day-item_disabled": item.type !== "current"
26376
+ },
26377
+ {
26378
+ "pl-date-picker__day-item_svg-circle-background": activeDay(item) && item.type === "current"
26379
+ },
26380
+ {
26381
+ "pl-date-picker__background-range": item.type !== "previous" && item.type !== "next" ? updateSelection(item, true) : ""
26382
+ }
26383
+ ]),
26384
+ key: `dd${index}`,
26385
+ onClick: ($event) => item.type !== "previous" && item.type !== "next" ? toggleSelection(item) : "",
26386
+ onMousemove: ($event) => item.type !== "previous" && item.type !== "next" ? updateSelection(item, false) : ""
26387
+ }, [
26388
+ createElementVNode("div", _hoisted_16$2, toDisplayString(item.type !== "previous" && item.type !== "next" ? item.day : ""), 1)
26389
+ ], 42, _hoisted_15$2);
26390
+ }), 128))
26391
+ ]),
26392
+ createElementVNode("div", { class: "pl-date-picker__buttons" }, [
26393
+ createElementVNode("button", {
26394
+ class: "pl-date-picker__btn pl-date-picker__btn-cancel",
26395
+ onClick: cancelButton
26396
+ }, " \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "),
26397
+ createElementVNode("button", {
26398
+ class: "pl-date-picker__btn pl-date-picker__btn-confirm",
26399
+ onClick: confirmDate
26400
+ }, " \u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C ")
26401
+ ])
26402
+ ], 512)) : createCommentVNode("", true)
26403
+ ]);
26425
26404
  };
26426
26405
  }
26427
26406
  };
@@ -38436,7 +38415,7 @@ const _sfc_main$h = {
38436
38415
  key: 2,
38437
38416
  onClick: clearValue,
38438
38417
  class: "clearBtn",
38439
- src: _imports_2$2,
38418
+ src: _imports_2$3,
38440
38419
  alt: "clear"
38441
38420
  })) : createCommentVNode("", true),
38442
38421
  props.optional ? (openBlock(), createElementBlock("div", {