@factoringplus/pl-components-pack-v3 0.5.21-pre-06 → 0.5.21-pre-08

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.
@@ -6064,10 +6064,10 @@ const _sfc_main$1n = defineComponent({
6064
6064
  };
6065
6065
  }
6066
6066
  });
6067
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
6067
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
6068
6068
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
6069
6069
  }
6070
- var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["render", _sfc_render$a], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
6070
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["render", _sfc_render$9], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
6071
6071
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
6072
6072
  const popperCoreConfigProps = buildProps({
6073
6073
  boundariesPadding: {
@@ -16013,7 +16013,7 @@ const _sfc_main$X = defineComponent({
16013
16013
  };
16014
16014
  }
16015
16015
  });
16016
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
16016
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
16017
16017
  return withDirectives((openBlock(), createElementBlock("li", {
16018
16018
  class: normalizeClass([
16019
16019
  _ctx.ns.be("dropdown", "item"),
@@ -16033,7 +16033,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
16033
16033
  [vShow, _ctx.visible]
16034
16034
  ]);
16035
16035
  }
16036
- var Option = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$9], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
16036
+ var Option = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$8], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
16037
16037
  const _sfc_main$W = defineComponent({
16038
16038
  name: "ElSelectDropdown",
16039
16039
  componentName: "ElSelectDropdown",
@@ -16061,7 +16061,7 @@ const _sfc_main$W = defineComponent({
16061
16061
  };
16062
16062
  }
16063
16063
  });
16064
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
16064
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16065
16065
  return openBlock(), createElementBlock("div", {
16066
16066
  class: normalizeClass([_ctx.ns.b("dropdown"), _ctx.ns.is("multiple", _ctx.isMultiple), _ctx.popperClass]),
16067
16067
  style: normalizeStyle({ [_ctx.isFitInputWidth ? "width" : "minWidth"]: _ctx.minWidth })
@@ -16069,7 +16069,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
16069
16069
  renderSlot(_ctx.$slots, "default")
16070
16070
  ], 6);
16071
16071
  }
16072
- var ElSelectMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$8], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
16072
+ var ElSelectMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$7], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
16073
16073
  function useSelectStates(props) {
16074
16074
  const { t: t2 } = useLocale();
16075
16075
  return reactive({
@@ -17098,7 +17098,7 @@ const _sfc_main$V = defineComponent({
17098
17098
  });
17099
17099
  const _hoisted_1$L = ["disabled", "autocomplete"];
17100
17100
  const _hoisted_2$B = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
17101
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
17101
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
17102
17102
  const _component_el_tag = resolveComponent("el-tag");
17103
17103
  const _component_el_tooltip = resolveComponent("el-tooltip");
17104
17104
  const _component_el_icon = resolveComponent("el-icon");
@@ -17403,7 +17403,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
17403
17403
  [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
17404
17404
  ]);
17405
17405
  }
17406
- var Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$7], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
17406
+ var Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$6], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
17407
17407
  const _sfc_main$U = defineComponent({
17408
17408
  name: "ElOptionGroup",
17409
17409
  componentName: "ElOptionGroup",
@@ -17450,7 +17450,7 @@ const _sfc_main$U = defineComponent({
17450
17450
  };
17451
17451
  }
17452
17452
  });
17453
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
17453
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17454
17454
  return withDirectives((openBlock(), createElementBlock("ul", {
17455
17455
  class: normalizeClass(_ctx.ns.be("group", "wrap"))
17456
17456
  }, [
@@ -17468,7 +17468,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
17468
17468
  [vShow, _ctx.visible]
17469
17469
  ]);
17470
17470
  }
17471
- var OptionGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$6], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
17471
+ var OptionGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$5], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
17472
17472
  const ElSelect = withInstall(Select, {
17473
17473
  Option,
17474
17474
  OptionGroup
@@ -20097,7 +20097,7 @@ const _sfc_main$O = defineComponent({
20097
20097
  const _hoisted_1$G = { key: 0 };
20098
20098
  const _hoisted_2$y = ["disabled"];
20099
20099
  const _hoisted_3$p = ["label", "onClick"];
20100
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
20100
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
20101
20101
  const _component_el_checkbox = resolveComponent("el-checkbox");
20102
20102
  const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
20103
20103
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
@@ -20210,7 +20210,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
20210
20210
  _: 1
20211
20211
  }, 8, ["visible", "placement", "popper-class"]);
20212
20212
  }
20213
- var FilterPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$5], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);
20213
+ var FilterPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$4], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);
20214
20214
  function useLayoutObserver(root2) {
20215
20215
  const instance = getCurrentInstance();
20216
20216
  onBeforeMount(() => {
@@ -21968,7 +21968,7 @@ const _hoisted_2$x = {
21968
21968
  ref: "hiddenColumns",
21969
21969
  class: "hidden-columns"
21970
21970
  };
21971
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
21971
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
21972
21972
  const _component_hColgroup = resolveComponent("hColgroup");
21973
21973
  const _component_table_header = resolveComponent("table-header");
21974
21974
  const _component_table_body = resolveComponent("table-body");
@@ -22134,7 +22134,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
22134
22134
  ])
22135
22135
  ], 46, _hoisted_1$F);
22136
22136
  }
22137
- var Table = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$4], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);
22137
+ var Table = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);
22138
22138
  const defaultClassNames = {
22139
22139
  selection: "table-column--selection",
22140
22140
  expand: "table__expand-column"
@@ -25754,6 +25754,7 @@ const PlInputPlugin = {
25754
25754
  app.component("PlInput", _sfc_main$D);
25755
25755
  }
25756
25756
  };
25757
+ var plInputPlus_vue_vue_type_style_index_0_scoped_true_lang = "";
25757
25758
  var _export_sfc = (sfc, props) => {
25758
25759
  const target = sfc.__vccOpts || sfc;
25759
25760
  for (const [key, val] of props) {
@@ -25761,38 +25762,50 @@ var _export_sfc = (sfc, props) => {
25761
25762
  }
25762
25763
  return target;
25763
25764
  };
25764
- const _sfc_main$C = defineComponent({
25765
- name: "MyInput",
25766
- components: {
25767
- ElInput
25768
- },
25765
+ const _sfc_main$C = {
25766
+ __name: "pl-input-plus",
25769
25767
  props: {
25770
- placeholder: {
25768
+ modelValue: { required: true },
25769
+ rules: {
25770
+ type: Object,
25771
+ default: () => {
25772
+ }
25773
+ },
25774
+ prop: {
25771
25775
  type: String,
25772
25776
  default: ""
25773
- },
25774
- disabled: {
25775
- type: Boolean,
25776
- default: false
25777
25777
  }
25778
25778
  },
25779
- setup(props) {
25780
- const value = ref("");
25781
- return {
25782
- value
25779
+ emits: ["update:modelValue", "validate", "blur"],
25780
+ setup(__props, { emit: emit2 }) {
25781
+ const props = __props;
25782
+ const modelValue = computed$1({
25783
+ get: () => props.modelValue,
25784
+ set: (val) => {
25785
+ emit2("update:modelValue", val);
25786
+ }
25787
+ });
25788
+ reactive({
25789
+ [props.prop]: modelValue
25790
+ });
25791
+ return (_ctx, _cache) => {
25792
+ const _component_el_input = ElInput;
25793
+ const _component_el_form_item = ElFormItem;
25794
+ return openBlock(), createBlock(_component_el_form_item, {
25795
+ prop: props.prop
25796
+ }, {
25797
+ default: withCtx(() => [
25798
+ createVNode(_component_el_input, mergeProps(_ctx.$attrs, {
25799
+ modelValue: unref(modelValue),
25800
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null)
25801
+ }), null, 16, ["modelValue"])
25802
+ ]),
25803
+ _: 1
25804
+ }, 8, ["prop"]);
25783
25805
  };
25784
25806
  }
25785
- });
25786
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
25787
- const _component_el_input = ElInput;
25788
- return openBlock(), createBlock(_component_el_input, {
25789
- modelValue: _ctx.value,
25790
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.value = $event),
25791
- placeholder: _ctx.placeholder,
25792
- disabled: _ctx.disabled
25793
- }, null, 8, ["modelValue", "placeholder", "disabled"]);
25794
- }
25795
- var PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$3]]);
25807
+ };
25808
+ var PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-04c27394"]]);
25796
25809
  const PlInputPlusPlugin = {
25797
25810
  install(app) {
25798
25811
  app.component("PlInputPlus", PlInputPlus);