@factoringplus/pl-components-pack-v3 0.8.26 → 0.8.27
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 +35 -32
- 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
|
+
```
|
|
@@ -18792,21 +18792,21 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$U = /* @__PURE
|
|
|
18792
18792
|
typeof z.value[Oe] == "string" ? z.value[Oe] = "" : (typeof z.value[Oe] == "number" || typeof z.value[Oe] == "object") && (z.value[Oe] = null);
|
|
18793
18793
|
}
|
|
18794
18794
|
}, ie = ref(null), pe = ref([]), de = () => {
|
|
18795
|
-
var Oe;
|
|
18795
|
+
var Oe, Ce;
|
|
18796
18796
|
const he = ie.value;
|
|
18797
|
-
for (let
|
|
18798
|
-
const
|
|
18797
|
+
for (let Ue = 0; Ue < he.length; Ue++) {
|
|
18798
|
+
const $e = he[Ue], xe = (Oe = $e.attributes.prop) == null ? void 0 : Oe.value, Et = () => {
|
|
18799
18799
|
nextTick(() => {
|
|
18800
|
-
ae(
|
|
18800
|
+
ae(xe);
|
|
18801
18801
|
});
|
|
18802
18802
|
};
|
|
18803
|
-
|
|
18804
|
-
|
|
18805
|
-
|
|
18806
|
-
}) : ["blur", "change", "input"].forEach((
|
|
18807
|
-
|
|
18803
|
+
xe && ((Ce = L.value[xe]) == null || Ce.forEach((qe) => {
|
|
18804
|
+
qe.trigger ? qe.trigger.replace(/\s/g, "").split(",").forEach((kt) => {
|
|
18805
|
+
$e.addEventListener(kt, Et), pe.value.push({ element: $e, trigger: kt, callBack: Et });
|
|
18806
|
+
}) : ["blur", "change", "input"].forEach((kt) => {
|
|
18807
|
+
$e.addEventListener(kt, Et), pe.value.push({ element: $e, trigger: kt, callBack: Et });
|
|
18808
18808
|
});
|
|
18809
|
-
});
|
|
18809
|
+
}));
|
|
18810
18810
|
}
|
|
18811
18811
|
}, Ne = () => {
|
|
18812
18812
|
pe.value.forEach((he) => {
|
|
@@ -20178,7 +20178,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
20178
20178
|
createElementVNode("span", null, toDisplayString(y.label), 1)
|
|
20179
20179
|
], 2)) : createCommentVNode("", !0);
|
|
20180
20180
|
}
|
|
20181
|
-
}), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-5d0a6b4e"]]),
|
|
20181
|
+
}), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-5d0a6b4e"]]), plMultitab_vue_vue_type_style_index_0_scoped_b000d762_lang = "", _hoisted_1$H = { class: "pl-multitab-container" }, _sfc_main$12 = {
|
|
20182
20182
|
__name: "pl-multitab",
|
|
20183
20183
|
props: {
|
|
20184
20184
|
modelValue: {
|
|
@@ -20210,22 +20210,25 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
20210
20210
|
const ie = resolveDirective("tap");
|
|
20211
20211
|
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
20212
20212
|
createElementVNode("div", {
|
|
20213
|
-
class: normalizeClass(
|
|
20214
|
-
"pl-multitab-nav el-scrollbar__wrap el-scrollbar__wrap--hidden-default scrollbar-flex-content el-scrollbar__view",
|
|
20215
|
-
ae.value,
|
|
20216
|
-
j.navClass
|
|
20217
|
-
])
|
|
20213
|
+
class: normalizeClass(j.navClass)
|
|
20218
20214
|
}, [
|
|
20219
|
-
(
|
|
20220
|
-
|
|
20221
|
-
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
|
|
20225
|
-
|
|
20226
|
-
|
|
20227
|
-
|
|
20228
|
-
|
|
20215
|
+
createElementVNode("div", {
|
|
20216
|
+
class: normalizeClass([
|
|
20217
|
+
"pl-multitab-nav el-scrollbar__wrap el-scrollbar__wrap--hidden-default scrollbar-flex-content el-scrollbar__view",
|
|
20218
|
+
ae.value
|
|
20219
|
+
])
|
|
20220
|
+
}, [
|
|
20221
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(L.value, (pe) => withDirectives((openBlock(), createBlock(PlTabCard, {
|
|
20222
|
+
key: pe == null ? void 0 : pe.name,
|
|
20223
|
+
label: pe == null ? void 0 : pe.label,
|
|
20224
|
+
width: j.tabWidth,
|
|
20225
|
+
active: j.modelValue === (pe == null ? void 0 : pe.name),
|
|
20226
|
+
icon: pe == null ? void 0 : pe.icon,
|
|
20227
|
+
disabled: pe == null ? void 0 : pe.disabled
|
|
20228
|
+
}, null, 8, ["label", "width", "active", "icon", "disabled"])), [
|
|
20229
|
+
[ie, () => re(pe)]
|
|
20230
|
+
])), 128))
|
|
20231
|
+
], 2)
|
|
20229
20232
|
], 2),
|
|
20230
20233
|
createElementVNode("div", {
|
|
20231
20234
|
class: normalizeClass(j.contentClass)
|
|
@@ -20235,7 +20238,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
20235
20238
|
]);
|
|
20236
20239
|
};
|
|
20237
20240
|
}
|
|
20238
|
-
}, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-
|
|
20241
|
+
}, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-b000d762"]]), PlMultitabPlugin = {
|
|
20239
20242
|
install(g) {
|
|
20240
20243
|
g.component("PlMultitab", PlMultitab);
|
|
20241
20244
|
}
|
|
@@ -34522,7 +34525,7 @@ var objectSupport$1 = { exports: {} };
|
|
|
34522
34525
|
});
|
|
34523
34526
|
})(objectSupport$1);
|
|
34524
34527
|
var objectSupportExports = objectSupport$1.exports;
|
|
34525
|
-
const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExports),
|
|
34528
|
+
const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExports), plDatePickerRange_vue_vue_type_style_index_0_scoped_bb4a2e93_lang = "", _withScopeId = (g) => (pushScopeId("data-v-bb4a2e93"), g = g(), popScopeId(), g), _hoisted_1$5 = ["id"], _hoisted_2$4 = ["src"], _hoisted_3$4 = { class: "date-switcher__container flex-column" }, _hoisted_4$1 = { class: "d-flex pb-6 justify-content-between" }, _hoisted_5$1 = { class: "date-switcher justify-content-center flex-column" }, _hoisted_6$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "Начало периода", -1)), _hoisted_7$1 = { class: "date-switcher justify-content-center flex-column" }, _hoisted_8$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "Конец периода", -1)), _hoisted_9 = { class: "d-flex pt-2 justify-content-between" }, _hoisted_10 = { class: "date-switcher date-switcher__month" }, _hoisted_11 = { class: "date-switcher__month-name" }, _hoisted_12 = { class: "date-switcher date-switcher__year" }, _hoisted_13 = { class: "date-switcher__year-name" }, _hoisted_14 = { class: "pl-date-picker__days" }, _hoisted_15 = ["onClick", "onMousemove"], _hoisted_16 = { class: "field" }, _hoisted_17 = { class: "pl-date-picker__buttons" }, _sfc_main$o = {
|
|
34526
34529
|
__name: "pl-date-picker-range",
|
|
34527
34530
|
props: {
|
|
34528
34531
|
modelValue: {
|
|
@@ -34866,7 +34869,7 @@ const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExpor
|
|
|
34866
34869
|
], 8, _hoisted_1$5);
|
|
34867
34870
|
};
|
|
34868
34871
|
}
|
|
34869
|
-
}, PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
34872
|
+
}, PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-bb4a2e93"]]), PlDatePickerPlusPlugin = {
|
|
34870
34873
|
install(g) {
|
|
34871
34874
|
g.component("PlDatePickerPlus", PlDatePickerPlus), g.component("PlDatePickerRange", PlDatePickerRange);
|
|
34872
34875
|
}
|
|
@@ -35108,13 +35111,13 @@ function _sfc_render$2(g, y) {
|
|
|
35108
35111
|
renderSlot(g.$slots, "default", {}, void 0, !0)
|
|
35109
35112
|
]);
|
|
35110
35113
|
}
|
|
35111
|
-
const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$2], ["__scopeId", "data-v-e9e7d669"]]),
|
|
35114
|
+
const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$2], ["__scopeId", "data-v-e9e7d669"]]), plSystem_vue_vue_type_style_index_0_scoped_19a81c11_lang = "", _sfc_main$3 = {};
|
|
35112
35115
|
function _sfc_render$1(g, y) {
|
|
35113
35116
|
return openBlock(), createElementBlock("span", null, [
|
|
35114
35117
|
renderSlot(g.$slots, "default", {}, void 0, !0)
|
|
35115
35118
|
]);
|
|
35116
35119
|
}
|
|
35117
|
-
const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
35120
|
+
const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-19a81c11"]]), PlTextPlugin = {
|
|
35118
35121
|
install(g) {
|
|
35119
35122
|
g.component("PlH1", PlH1), g.component("PlH2", PlH2), g.component("PlH3", PlH3), g.component("PlH4", PlH4), g.component("PlTitle1", PlTitle1), g.component("PlTitle2", PlTitle2), g.component("PlTitle3", PlTitle3), g.component("PlSub1", PlSub1), g.component("PlSub2", PlSub2), g.component("PlBtn1", PlBtn1), g.component("PlBtn2", PlBtn2), g.component("PlBtn3", PlBtn3), g.component("PlBody1", PlBody1), g.component("PlBody2", PlBody2), g.component("PlBody3", PlBody3), g.component("PlBodyU", PlBodyU), g.component("PlCap", PlCap), g.component("PlTag", PlTag), g.component("PlSystem", PlSystem);
|
|
35120
35123
|
}
|
|
@@ -35169,7 +35172,7 @@ const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_rende
|
|
|
35169
35172
|
]);
|
|
35170
35173
|
};
|
|
35171
35174
|
}
|
|
35172
|
-
}),
|
|
35175
|
+
}), plCheckboxPlus_vue_vue_type_style_index_0_scoped_2cd30e2d_lang = "", PlCheckboxPlus = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-2cd30e2d"]]), PlCheckboxPlusPlugin = {
|
|
35173
35176
|
install(g) {
|
|
35174
35177
|
g.component("PlCheckboxPlus", PlCheckboxPlus);
|
|
35175
35178
|
}
|