@factoringplus/pl-components-pack-v3 0.7.1 → 0.7.2
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 +57 -39
- package/dist/pl-components-pack-v3.umd.js +4 -4
- 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
|
+
```
|
|
@@ -10275,7 +10275,7 @@ const { date, disabledDate, parsedValue } = datePickerSharedProps, basicYearTabl
|
|
|
10275
10275
|
}
|
|
10276
10276
|
});
|
|
10277
10277
|
var YearTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$1F, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);
|
|
10278
|
-
const _hoisted_1$17 = ["onClick"], _hoisted_2$W = ["aria-label"], _hoisted_3$I = ["aria-label"], _hoisted_4$A = ["aria-label"], _hoisted_5$
|
|
10278
|
+
const _hoisted_1$17 = ["onClick"], _hoisted_2$W = ["aria-label"], _hoisted_3$I = ["aria-label"], _hoisted_4$A = ["aria-label"], _hoisted_5$r = ["aria-label"], _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
10279
10279
|
__name: "panel-date-pick",
|
|
10280
10280
|
props: panelDatePickProps,
|
|
10281
10281
|
emits: ["pick", "set-picker-option", "panel-change"],
|
|
@@ -10627,7 +10627,7 @@ const _hoisted_1$17 = ["onClick"], _hoisted_2$W = ["aria-label"], _hoisted_3$I =
|
|
|
10627
10627
|
]),
|
|
10628
10628
|
_: 1
|
|
10629
10629
|
})
|
|
10630
|
-
], 10, _hoisted_5$
|
|
10630
|
+
], 10, _hoisted_5$r)
|
|
10631
10631
|
], 2)
|
|
10632
10632
|
], 2), [
|
|
10633
10633
|
[vShow, Tn.value !== "time"]
|
|
@@ -10768,7 +10768,7 @@ const panelDateRangeProps = buildProps({
|
|
|
10768
10768
|
onSelect: Oe,
|
|
10769
10769
|
t: ue
|
|
10770
10770
|
};
|
|
10771
|
-
}, _hoisted_1$16 = ["onClick"], _hoisted_2$V = ["disabled"], _hoisted_3$H = ["disabled"], _hoisted_4$z = ["disabled"], _hoisted_5$
|
|
10771
|
+
}, _hoisted_1$16 = ["onClick"], _hoisted_2$V = ["disabled"], _hoisted_3$H = ["disabled"], _hoisted_4$z = ["disabled"], _hoisted_5$q = ["disabled"], unit$1 = "month", _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
10772
10772
|
__name: "panel-date-range",
|
|
10773
10773
|
props: panelDateRangeProps,
|
|
10774
10774
|
emits: [
|
|
@@ -11116,7 +11116,7 @@ const panelDateRangeProps = buildProps({
|
|
|
11116
11116
|
]),
|
|
11117
11117
|
_: 1
|
|
11118
11118
|
})
|
|
11119
|
-
], 10, _hoisted_5$
|
|
11119
|
+
], 10, _hoisted_5$q)) : createCommentVNode("v-if", !0),
|
|
11120
11120
|
createElementVNode("button", {
|
|
11121
11121
|
type: "button",
|
|
11122
11122
|
class: normalizeClass([unref(Ue).e("icon-btn"), "d-arrow-right"]),
|
|
@@ -13332,7 +13332,7 @@ const paginationPagerProps = buildProps({
|
|
|
13332
13332
|
default: 7
|
|
13333
13333
|
},
|
|
13334
13334
|
disabled: Boolean
|
|
13335
|
-
}), _hoisted_1$Z = ["onKeyup"], _hoisted_2$P = ["aria-current", "aria-label", "tabindex"], _hoisted_3$E = ["tabindex", "aria-label"], _hoisted_4$y = ["aria-current", "aria-label", "tabindex"], _hoisted_5$
|
|
13335
|
+
}), _hoisted_1$Z = ["onKeyup"], _hoisted_2$P = ["aria-current", "aria-label", "tabindex"], _hoisted_3$E = ["tabindex", "aria-label"], _hoisted_4$y = ["aria-current", "aria-label", "tabindex"], _hoisted_5$p = ["tabindex", "aria-label"], _hoisted_6$g = ["aria-current", "aria-label", "tabindex"], __default__$j = defineComponent({
|
|
13336
13336
|
name: "ElPaginationPager"
|
|
13337
13337
|
}), _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
13338
13338
|
...__default__$j,
|
|
@@ -13444,7 +13444,7 @@ const paginationPagerProps = buildProps({
|
|
|
13444
13444
|
onBlur: At[7] || (At[7] = (Dt) => he.value = !1)
|
|
13445
13445
|
}, [
|
|
13446
13446
|
(ue.value || he.value) && !xe.disabled ? (openBlock(), createBlock(unref(d_arrow_right_default), { key: 0 })) : (openBlock(), createBlock(unref(more_filled_default), { key: 1 }))
|
|
13447
|
-
], 42, _hoisted_5$
|
|
13447
|
+
], 42, _hoisted_5$p)) : createCommentVNode("v-if", !0),
|
|
13448
13448
|
xe.pageCount > 1 ? (openBlock(), createElementBlock("li", {
|
|
13449
13449
|
key: 3,
|
|
13450
13450
|
class: normalizeClass([[
|
|
@@ -13691,7 +13691,7 @@ const ElPagination = withInstall(Pagination), progressProps = buildProps({
|
|
|
13691
13691
|
type: definePropType(Function),
|
|
13692
13692
|
default: (g) => `${g}%`
|
|
13693
13693
|
}
|
|
13694
|
-
}), _hoisted_1$Y = ["aria-valuenow"], _hoisted_2$O = { viewBox: "0 0 100 100" }, _hoisted_3$D = ["d", "stroke", "stroke-width"], _hoisted_4$x = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"], _hoisted_5$
|
|
13694
|
+
}), _hoisted_1$Y = ["aria-valuenow"], _hoisted_2$O = { viewBox: "0 0 100 100" }, _hoisted_3$D = ["d", "stroke", "stroke-width"], _hoisted_4$x = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"], _hoisted_5$o = { key: 0 }, __default__$i = defineComponent({
|
|
13695
13695
|
name: "ElProgress"
|
|
13696
13696
|
}), _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
13697
13697
|
...__default__$i,
|
|
@@ -13826,7 +13826,7 @@ const ElPagination = withInstall(Pagination), progressProps = buildProps({
|
|
|
13826
13826
|
(openBlock(), createBlock(resolveDynamicComponent(unref(Ie))))
|
|
13827
13827
|
]),
|
|
13828
13828
|
_: 1
|
|
13829
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_5$
|
|
13829
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_5$o, toDisplayString(unref(Ce)), 1))
|
|
13830
13830
|
])
|
|
13831
13831
|
], 6)) : createCommentVNode("v-if", !0)
|
|
13832
13832
|
], 10, _hoisted_1$Y));
|
|
@@ -17344,7 +17344,7 @@ const genFileId = () => Date.now() + fileId++, uploadBaseProps = buildProps({
|
|
|
17344
17344
|
}
|
|
17345
17345
|
}), uploadListEmits = {
|
|
17346
17346
|
remove: (g) => !!g
|
|
17347
|
-
}, _hoisted_1$U = ["onKeydown"], _hoisted_2$L = ["src"], _hoisted_3$B = ["onClick"], _hoisted_4$w = ["title"], _hoisted_5$
|
|
17347
|
+
}, _hoisted_1$U = ["onKeydown"], _hoisted_2$L = ["src"], _hoisted_3$B = ["onClick"], _hoisted_4$w = ["title"], _hoisted_5$n = ["onClick"], _hoisted_6$f = ["onClick"], __default__$f = defineComponent({
|
|
17348
17348
|
name: "ElUploadList"
|
|
17349
17349
|
}), _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
17350
17350
|
...__default__$f,
|
|
@@ -17467,7 +17467,7 @@ const genFileId = () => Date.now() + fileId++, uploadBaseProps = buildProps({
|
|
|
17467
17467
|
]),
|
|
17468
17468
|
_: 1
|
|
17469
17469
|
}, 8, ["class"])
|
|
17470
|
-
], 10, _hoisted_5$
|
|
17470
|
+
], 10, _hoisted_5$n),
|
|
17471
17471
|
unref(re) ? createCommentVNode("v-if", !0) : (openBlock(), createElementBlock("span", {
|
|
17472
17472
|
key: 0,
|
|
17473
17473
|
class: normalizeClass(unref(z).be("list", "item-delete")),
|
|
@@ -18780,7 +18780,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$Q = /* @__PURE
|
|
|
18780
18780
|
install(g) {
|
|
18781
18781
|
g.component("PlForm", _sfc_main$1e);
|
|
18782
18782
|
}
|
|
18783
|
-
}, form = "", formItem = "", plInput_vue_vue_type_style_index_0_lang$1 = "", _hoisted_1$P = { class: "pl-input-legacy" }, _hoisted_2$I = ["src"], _hoisted_3$A = ["src"], _hoisted_4$v = ["src"], _hoisted_5$
|
|
18783
|
+
}, form = "", formItem = "", plInput_vue_vue_type_style_index_0_lang$1 = "", _hoisted_1$P = { class: "pl-input-legacy" }, _hoisted_2$I = ["src"], _hoisted_3$A = ["src"], _hoisted_4$v = ["src"], _hoisted_5$m = ["src"], _hoisted_6$e = ["src"], _sfc_main$1d = {
|
|
18784
18784
|
__name: "pl-input",
|
|
18785
18785
|
props: {
|
|
18786
18786
|
modelValue: { required: !0 },
|
|
@@ -19054,7 +19054,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$Q = /* @__PURE
|
|
|
19054
19054
|
src: unref(re),
|
|
19055
19055
|
alt: "",
|
|
19056
19056
|
onClick: xn[2] || (xn[2] = (Un) => kt(Un))
|
|
19057
|
-
}, null, 8, _hoisted_5$
|
|
19057
|
+
}, null, 8, _hoisted_5$m)) : (openBlock(), createElementBlock("img", {
|
|
19058
19058
|
key: 1,
|
|
19059
19059
|
class: "pass-svg",
|
|
19060
19060
|
src: unref(ae),
|
|
@@ -19235,7 +19235,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$Q = /* @__PURE
|
|
|
19235
19235
|
}, _hoisted_1$N = { class: "pl-input__wrapper" }, _hoisted_2$G = {
|
|
19236
19236
|
key: 0,
|
|
19237
19237
|
class: "pl-input__prefix"
|
|
19238
|
-
}, _hoisted_3$y = ["id", "name", "type", "disabled", "placeholder", "prop"], _hoisted_4$t = { class: "pl-input__suffix" },
|
|
19238
|
+
}, _hoisted_3$y = ["id", "value", "name", "type", "disabled", "placeholder", "prop", "autocomplete"], _hoisted_4$t = { class: "pl-input__suffix" }, _sfc_main$19 = {
|
|
19239
19239
|
__name: "pl-password",
|
|
19240
19240
|
props: {
|
|
19241
19241
|
modelValue: {
|
|
@@ -19260,50 +19260,58 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$Q = /* @__PURE
|
|
|
19260
19260
|
prop: {
|
|
19261
19261
|
type: String,
|
|
19262
19262
|
default: ""
|
|
19263
|
+
},
|
|
19264
|
+
currentPassword: {
|
|
19265
|
+
type: Boolean,
|
|
19266
|
+
default: !1
|
|
19267
|
+
},
|
|
19268
|
+
newPassword: {
|
|
19269
|
+
type: Boolean,
|
|
19270
|
+
default: !1
|
|
19263
19271
|
}
|
|
19264
19272
|
},
|
|
19265
19273
|
emits: ["update:modelValue"],
|
|
19266
19274
|
setup(g, { emit: y }) {
|
|
19267
19275
|
const j = g, z = useAttrs$1(), $ = computed$1({
|
|
19268
19276
|
get: () => j.modelValue,
|
|
19269
|
-
set: (
|
|
19270
|
-
y("update:modelValue",
|
|
19277
|
+
set: (ue) => {
|
|
19278
|
+
y("update:modelValue", ue);
|
|
19271
19279
|
}
|
|
19272
|
-
}), V = ref(!
|
|
19280
|
+
}), V = ref(!1), re = () => {
|
|
19273
19281
|
j.disabled || (V.value = !V.value);
|
|
19274
|
-
}, ae = () => {
|
|
19275
|
-
$.value =
|
|
19276
|
-
};
|
|
19277
|
-
return (
|
|
19282
|
+
}, ae = (ue) => {
|
|
19283
|
+
$.value = ue.target.value.trim();
|
|
19284
|
+
}, le = computed$1(() => j.currentPassword ? "current-password" : j.newPassword ? "new-password" : "off");
|
|
19285
|
+
return (ue, ie) => (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
19278
19286
|
j.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
|
|
19279
19287
|
createVNode(_sfc_main$1b, {
|
|
19280
19288
|
name: j.leftIcon
|
|
19281
19289
|
}, null, 8, ["name"])
|
|
19282
19290
|
])) : createCommentVNode("", !0),
|
|
19283
|
-
|
|
19284
|
-
|
|
19291
|
+
createElementVNode("input", mergeProps({ id: g.id }, unref(z), {
|
|
19292
|
+
value: $.value,
|
|
19285
19293
|
class: "pl-input__inner",
|
|
19286
19294
|
name: g.id,
|
|
19287
|
-
type: V.value ? "
|
|
19295
|
+
type: V.value ? "text" : "password",
|
|
19288
19296
|
disabled: j.disabled,
|
|
19289
19297
|
placeholder: j.placeholder,
|
|
19290
19298
|
prop: j.prop,
|
|
19291
|
-
onInput: ae
|
|
19292
|
-
|
|
19293
|
-
|
|
19294
|
-
]),
|
|
19299
|
+
onInput: ae,
|
|
19300
|
+
autocomplete: le.value
|
|
19301
|
+
}), null, 16, _hoisted_3$y),
|
|
19295
19302
|
createElementVNode("div", _hoisted_4$t, [
|
|
19296
|
-
createElementVNode("div",
|
|
19303
|
+
createElementVNode("div", {
|
|
19304
|
+
class: "pl-input__eye-container",
|
|
19305
|
+
onClick: re
|
|
19306
|
+
}, [
|
|
19297
19307
|
V.value ? (openBlock(), createBlock(_sfc_main$1b, {
|
|
19298
19308
|
key: 0,
|
|
19299
19309
|
class: "pl-input__eye",
|
|
19300
|
-
name: "Eye20"
|
|
19301
|
-
onClick: re
|
|
19310
|
+
name: "Eye20"
|
|
19302
19311
|
})) : (openBlock(), createBlock(_sfc_main$1b, {
|
|
19303
19312
|
key: 1,
|
|
19304
19313
|
class: "pl-input__eye",
|
|
19305
|
-
name: "EyeCrossed20"
|
|
19306
|
-
onClick: re
|
|
19314
|
+
name: "EyeCrossed20"
|
|
19307
19315
|
}))
|
|
19308
19316
|
])
|
|
19309
19317
|
])
|
|
@@ -19508,7 +19516,7 @@ function now$1() {
|
|
|
19508
19516
|
return now$1.last = g > y ? g : y + 1;
|
|
19509
19517
|
}
|
|
19510
19518
|
var uniqidExports = uniqid$1.exports;
|
|
19511
|
-
const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports),
|
|
19519
|
+
const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_97d09e69_lang = "", _export_sfc = (g, y) => {
|
|
19512
19520
|
const j = g.__vccOpts || g;
|
|
19513
19521
|
for (const [z, $] of y)
|
|
19514
19522
|
j[z] = $;
|
|
@@ -19604,13 +19612,21 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
19604
19612
|
},
|
|
19605
19613
|
maxlength: {
|
|
19606
19614
|
type: String || Number
|
|
19615
|
+
},
|
|
19616
|
+
currentPassword: {
|
|
19617
|
+
type: Boolean,
|
|
19618
|
+
default: !1
|
|
19619
|
+
},
|
|
19620
|
+
newPassword: {
|
|
19621
|
+
type: Boolean,
|
|
19622
|
+
default: !1
|
|
19607
19623
|
}
|
|
19608
19624
|
},
|
|
19609
19625
|
emits: ["update:modelValue"],
|
|
19610
19626
|
setup(g, { emit: y }) {
|
|
19611
19627
|
const j = g;
|
|
19612
19628
|
useCssVars((ae) => ({
|
|
19613
|
-
|
|
19629
|
+
d4b0970e: j.width
|
|
19614
19630
|
}));
|
|
19615
19631
|
const z = useAttrs$1(), $ = `id-${uniqid()}`, V = ref([]);
|
|
19616
19632
|
if (j.prop) {
|
|
@@ -19682,8 +19698,10 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
19682
19698
|
disabled: j.disabled,
|
|
19683
19699
|
"left-icon": j.leftIcon,
|
|
19684
19700
|
"right-icon": j.rightIcon,
|
|
19685
|
-
prop: j.prop
|
|
19686
|
-
|
|
19701
|
+
prop: j.prop,
|
|
19702
|
+
"current-password": j.currentPassword,
|
|
19703
|
+
"new-password": j.newPassword
|
|
19704
|
+
}), null, 16, ["modelValue", "placeholder", "disabled", "left-icon", "right-icon", "prop", "current-password", "new-password"])) : j.textarea ? (openBlock(), createBlock(_sfc_main$18, mergeProps({ key: 2 }, unref(z), {
|
|
19687
19705
|
id: $,
|
|
19688
19706
|
modelValue: re.value,
|
|
19689
19707
|
"onUpdate:modelValue": le[2] || (le[2] = (ue) => re.value = ue),
|
|
@@ -19711,7 +19729,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
19711
19729
|
])) : createCommentVNode("", !0)
|
|
19712
19730
|
]));
|
|
19713
19731
|
}
|
|
19714
|
-
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-
|
|
19732
|
+
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-97d09e69"]]), PlInputPlusPlugin = {
|
|
19715
19733
|
install(g) {
|
|
19716
19734
|
g.component("PlInputPlus", PlInputPlus);
|
|
19717
19735
|
}
|
|
@@ -20072,7 +20090,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
20072
20090
|
createElementVNode("span", null, toDisplayString(y.label), 1)
|
|
20073
20091
|
], 2));
|
|
20074
20092
|
}
|
|
20075
|
-
}), plTabCard_vue_vue_type_style_index_0_scoped_5efef362_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-5efef362"]]),
|
|
20093
|
+
}), plTabCard_vue_vue_type_style_index_0_scoped_5efef362_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-5efef362"]]), plMultitab_vue_vue_type_style_index_0_scoped_ff9a302d_lang = "", _hoisted_1$E = { class: "pl-multitab-container" }, _sfc_main$_ = {
|
|
20076
20094
|
__name: "pl-multitab",
|
|
20077
20095
|
props: {
|
|
20078
20096
|
modelValue: {
|
|
@@ -20122,7 +20140,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
20122
20140
|
], 2)
|
|
20123
20141
|
]));
|
|
20124
20142
|
}
|
|
20125
|
-
}, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-
|
|
20143
|
+
}, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-ff9a302d"]]), PlMultitabPlugin = {
|
|
20126
20144
|
install(g) {
|
|
20127
20145
|
g.component("PlMultitab", PlMultitab);
|
|
20128
20146
|
}
|