@factoringplus/pl-components-pack-v3 0.12.0 → 0.12.1
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/README.md +17 -17
- package/dist/pl-components-pack-v3.es.js +22 -21
- package/dist/pl-components-pack-v3.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# Библиотека компонентов Vue 3
|
|
2
|
-
|
|
3
|
-
## Установка
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
npm i @factoringplus/pl-components-pack-v3
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
### Добавление компонентов в проект
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
// src/main.js
|
|
13
|
-
import components from '@factoringplus/pl-components-pack-v3';
|
|
14
|
-
import '@factoringplus/pl-components-pack-v3/dist/style.css';
|
|
15
|
-
|
|
16
|
-
app.use(components)
|
|
17
|
-
```
|
|
1
|
+
# Библиотека компонентов Vue 3
|
|
2
|
+
|
|
3
|
+
## Установка
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm i @factoringplus/pl-components-pack-v3
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
### Добавление компонентов в проект
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
// src/main.js
|
|
13
|
+
import components from '@factoringplus/pl-components-pack-v3';
|
|
14
|
+
import '@factoringplus/pl-components-pack-v3/dist/style.css';
|
|
15
|
+
|
|
16
|
+
app.use(components)
|
|
17
|
+
```
|
|
@@ -19266,8 +19266,8 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
|
|
|
19266
19266
|
setup(g, { expose: y, emit: j }) {
|
|
19267
19267
|
const z = g;
|
|
19268
19268
|
useCssVars((Lt) => ({
|
|
19269
|
-
"
|
|
19270
|
-
"
|
|
19269
|
+
"1143345d": xe.value,
|
|
19270
|
+
"54dc1a7d": Dt.value
|
|
19271
19271
|
}));
|
|
19272
19272
|
const L = computed$1({
|
|
19273
19273
|
get: () => z.modelValue,
|
|
@@ -20119,7 +20119,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
|
|
|
20119
20119
|
]);
|
|
20120
20120
|
};
|
|
20121
20121
|
}
|
|
20122
|
-
},
|
|
20122
|
+
}, plInputPlus_vue_vue_type_style_index_0_scoped_8b12a90f_lang = "", _hoisted_1$U = {
|
|
20123
20123
|
key: 0,
|
|
20124
20124
|
class: "pl-input__label"
|
|
20125
20125
|
}, _hoisted_2$M = {
|
|
@@ -20236,7 +20236,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
|
|
|
20236
20236
|
setup(g, { expose: y, emit: j }) {
|
|
20237
20237
|
const z = g;
|
|
20238
20238
|
useCssVars((ie) => ({
|
|
20239
|
-
"
|
|
20239
|
+
"791cacf9": z.width
|
|
20240
20240
|
}));
|
|
20241
20241
|
const L = useAttrs$1(), V = `id-${uniqid()}`, re = ref([]);
|
|
20242
20242
|
if (z.prop) {
|
|
@@ -20373,7 +20373,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
|
|
|
20373
20373
|
], 32);
|
|
20374
20374
|
};
|
|
20375
20375
|
}
|
|
20376
|
-
}, __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-
|
|
20376
|
+
}, __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-8b12a90f"]]), PlInputPlusPlugin = {
|
|
20377
20377
|
install(g) {
|
|
20378
20378
|
g.component("PlInputPlus", __unplugin_components_0);
|
|
20379
20379
|
}
|
|
@@ -20743,7 +20743,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
|
|
|
20743
20743
|
createElementVNode("span", null, toDisplayString(y.label), 1)
|
|
20744
20744
|
], 2)) : createCommentVNode("", !0);
|
|
20745
20745
|
}
|
|
20746
|
-
}), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-5d0a6b4e"]]),
|
|
20746
|
+
}), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-5d0a6b4e"]]), plMultitab_vue_vue_type_style_index_0_scoped_a888db5d_lang = "", _hoisted_1$O = { class: "pl-multitab-container" }, _sfc_main$18 = {
|
|
20747
20747
|
__name: "pl-multitab",
|
|
20748
20748
|
props: {
|
|
20749
20749
|
modelValue: {
|
|
@@ -20803,7 +20803,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
|
|
|
20803
20803
|
]);
|
|
20804
20804
|
};
|
|
20805
20805
|
}
|
|
20806
|
-
}, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-
|
|
20806
|
+
}, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-a888db5d"]]), PlMultitabPlugin = {
|
|
20807
20807
|
install(g) {
|
|
20808
20808
|
g.component("PlMultitab", PlMultitab);
|
|
20809
20809
|
}
|
|
@@ -21073,7 +21073,7 @@ function declOfNum(g, y) {
|
|
|
21073
21073
|
const z = g % 10;
|
|
21074
21074
|
return z > 1 && z < 5 ? y[1] : z == 1 ? y[0] : y[2];
|
|
21075
21075
|
}
|
|
21076
|
-
const
|
|
21076
|
+
const plAutocompete_vue_vue_type_style_index_0_scoped_dc250816_lang = "", _hoisted_1$M = { class: "pl-autocomplete__wrapper" }, _hoisted_2$G = { class: "pl-autocomplete__select-container" }, _hoisted_3$y = {
|
|
21077
21077
|
key: 0,
|
|
21078
21078
|
class: "pl-autocomplete__label-container"
|
|
21079
21079
|
}, _hoisted_4$r = { class: "pl-autocomplete__label-container-text" }, _hoisted_5$j = {
|
|
@@ -21185,7 +21185,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_e082e824_lang = "", _hoist
|
|
|
21185
21185
|
setup(g, { emit: y }) {
|
|
21186
21186
|
const j = g;
|
|
21187
21187
|
useCssVars((qe) => ({
|
|
21188
|
-
"
|
|
21188
|
+
"16a48efa": j.width
|
|
21189
21189
|
}));
|
|
21190
21190
|
const z = `id-${uniqid()}`, L = ref([]);
|
|
21191
21191
|
if (j.prop) {
|
|
@@ -21370,7 +21370,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_e082e824_lang = "", _hoist
|
|
|
21370
21370
|
]);
|
|
21371
21371
|
};
|
|
21372
21372
|
}
|
|
21373
|
-
}, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
21373
|
+
}, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-dc250816"]]), PlAutocompletePlugin = {
|
|
21374
21374
|
install(g) {
|
|
21375
21375
|
g.component("PlAutocomplete", PlAutocomplete);
|
|
21376
21376
|
}
|
|
@@ -21748,7 +21748,7 @@ const PlButtonPlugin = {
|
|
|
21748
21748
|
], 2);
|
|
21749
21749
|
};
|
|
21750
21750
|
}
|
|
21751
|
-
},
|
|
21751
|
+
}, plSelectPlus_vue_vue_type_style_index_0_scoped_56b7d99b_lang = "", _hoisted_1$I = { class: "pl-select__wrapper" }, _hoisted_2$D = {
|
|
21752
21752
|
key: 0,
|
|
21753
21753
|
class: "pl-select__label-container"
|
|
21754
21754
|
}, _hoisted_3$v = { class: "pl-select__label-container-text" }, _hoisted_4$o = {
|
|
@@ -21833,7 +21833,7 @@ const PlButtonPlugin = {
|
|
|
21833
21833
|
setup(g, { emit: y }) {
|
|
21834
21834
|
const j = g;
|
|
21835
21835
|
useCssVars((ze) => ({
|
|
21836
|
-
"
|
|
21836
|
+
"70ce61be": j.width
|
|
21837
21837
|
}));
|
|
21838
21838
|
const z = `id-${uniqid()}`, L = ref([]);
|
|
21839
21839
|
if (j.prop) {
|
|
@@ -21979,7 +21979,7 @@ const PlButtonPlugin = {
|
|
|
21979
21979
|
]);
|
|
21980
21980
|
};
|
|
21981
21981
|
}
|
|
21982
|
-
}, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
21982
|
+
}, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-56b7d99b"]]), PlSelectPlusPlugin = {
|
|
21983
21983
|
install(g) {
|
|
21984
21984
|
g.component("PlSelectPlus", PlSelectPlus);
|
|
21985
21985
|
}
|
|
@@ -35022,7 +35022,7 @@ var objectSupport$1 = { exports: {} };
|
|
|
35022
35022
|
});
|
|
35023
35023
|
})(objectSupport$1);
|
|
35024
35024
|
var objectSupportExports = objectSupport$1.exports;
|
|
35025
|
-
const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExports),
|
|
35025
|
+
const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExports), plDatePickerRange_vue_vue_type_style_index_0_scoped_ea856d1e_lang = "", _withScopeId = (g) => (pushScopeId("data-v-ea856d1e"), g = g(), popScopeId(), g), _hoisted_1$d = ["id"], _hoisted_2$b = ["src"], _hoisted_3$9 = { class: "date-switcher__container flex-column" }, _hoisted_4$5 = { class: "d-flex pb-6 justify-content-between" }, _hoisted_5$3 = { class: "date-switcher justify-content-center flex-column" }, _hoisted_6$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "Начало периода", -1)), _hoisted_7$3 = { class: "date-switcher justify-content-center flex-column" }, _hoisted_8$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "Конец периода", -1)), _hoisted_9$2 = { class: "d-flex pt-2 justify-content-between" }, _hoisted_10$2 = { class: "date-switcher date-switcher__month" }, _hoisted_11$3 = { class: "date-switcher__month-name" }, _hoisted_12$1 = { class: "date-switcher date-switcher__year" }, _hoisted_13$1 = { class: "date-switcher__year-name" }, _hoisted_14$1 = { class: "pl-date-picker__days" }, _hoisted_15 = ["onClick", "onMousemove"], _hoisted_16 = { class: "field" }, _hoisted_17 = { class: "pl-date-picker__buttons" }, _sfc_main$v = {
|
|
35026
35026
|
__name: "pl-date-picker-range",
|
|
35027
35027
|
props: {
|
|
35028
35028
|
modelValue: {
|
|
@@ -35366,7 +35366,7 @@ const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExpor
|
|
|
35366
35366
|
], 8, _hoisted_1$d);
|
|
35367
35367
|
};
|
|
35368
35368
|
}
|
|
35369
|
-
}, PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
35369
|
+
}, PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-ea856d1e"]]), PlDatePickerPlusPlugin = {
|
|
35370
35370
|
install(g) {
|
|
35371
35371
|
g.component("PlDatePickerPlus", PlDatePickerPlus), g.component("PlDatePickerRange", PlDatePickerRange);
|
|
35372
35372
|
}
|
|
@@ -35868,7 +35868,7 @@ const quarterOfYear = /* @__PURE__ */ getDefaultExportFromCjs(quarterOfYearExpor
|
|
|
35868
35868
|
});
|
|
35869
35869
|
};
|
|
35870
35870
|
}
|
|
35871
|
-
}),
|
|
35871
|
+
}), PlDatePickerRangeWrapper_vue_vue_type_style_index_0_scoped_e8263233_lang = "", PlDatePickerRangeWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-e8263233"]]), _hoisted_1$b = { class: "pl-date-picker-range" }, _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
35872
35872
|
__name: "pl-date-picker-range-plus",
|
|
35873
35873
|
props: {
|
|
35874
35874
|
modelValue: { default: () => [] },
|
|
@@ -36341,7 +36341,7 @@ const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_rende
|
|
|
36341
36341
|
]);
|
|
36342
36342
|
};
|
|
36343
36343
|
}
|
|
36344
|
-
}),
|
|
36344
|
+
}), plCheckboxPlus_vue_vue_type_style_index_0_scoped_1d99710a_lang = "", PlCheckboxPlus = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-1d99710a"]]), PlCheckboxPlusPlugin = {
|
|
36345
36345
|
install(g) {
|
|
36346
36346
|
g.component("PlCheckboxPlus", PlCheckboxPlus);
|
|
36347
36347
|
}
|
|
@@ -36488,7 +36488,7 @@ function _sfc_render$1(g, y) {
|
|
|
36488
36488
|
renderSlot(g.$slots, "default", {}, void 0, !0)
|
|
36489
36489
|
]);
|
|
36490
36490
|
}
|
|
36491
|
-
const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1], ["__scopeId", "data-v-03c9626c"]]),
|
|
36491
|
+
const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1], ["__scopeId", "data-v-03c9626c"]]), plSnackbar_vue_vue_type_style_index_0_scoped_fa55beae_lang = "", _hoisted_1$3 = ["id"], _hoisted_2$3 = { class: "pl-snackbar__icon" }, _hoisted_3$2 = { class: "pl-snackbar__main" }, _hoisted_4$1 = { class: "pl-snackbar__text" }, _hoisted_5$1 = { class: "pl-snackbar__title" }, _hoisted_6$1 = {
|
|
36492
36492
|
key: 0,
|
|
36493
36493
|
class: "pl-snackbar__descr"
|
|
36494
36494
|
}, _hoisted_7$1 = {
|
|
@@ -36549,9 +36549,10 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1
|
|
|
36549
36549
|
y.actionAdd();
|
|
36550
36550
|
}
|
|
36551
36551
|
function V() {
|
|
36552
|
-
j.value = !1;
|
|
36553
36552
|
const re = document.getElementById(`snackbar-${y.id}`);
|
|
36554
|
-
re && re.
|
|
36553
|
+
re && (re.classList.add("fadeOut-animation"), useEventListener$1(re, "animationend", () => {
|
|
36554
|
+
j.value = !1, re.remove();
|
|
36555
|
+
}));
|
|
36555
36556
|
}
|
|
36556
36557
|
return (re, oe) => (openBlock(), createBlock(TransitionGroup, {
|
|
36557
36558
|
name: "pl-snackbar-fade",
|
|
@@ -36608,7 +36609,7 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1
|
|
|
36608
36609
|
_: 1
|
|
36609
36610
|
}));
|
|
36610
36611
|
}
|
|
36611
|
-
}, PlSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
36612
|
+
}, PlSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-fa55beae"]]), snackbarAnimation = "";
|
|
36612
36613
|
let snackbarId = 0;
|
|
36613
36614
|
const renderSnackbar = function(g) {
|
|
36614
36615
|
const { icon: y, color: j, title: z, message: L, button: V, action: re, buttonAdd: oe, actionAdd: le, blockHide: ue } = g;
|