keli-ui 0.1.1 → 0.1.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/dist/keli-ui.js CHANGED
@@ -36694,10 +36694,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
36694
36694
  "onUpdate:pageSize": _cache[1] || (_cache[1] = ($event) => pagination.value.pageSize = $event),
36695
36695
  total: __props.tablePagination.total || __props.tableData.length,
36696
36696
  background: "",
36697
- layout: "total, prev, pager, next, jumper",
36697
+ layout: pagination.value.pageSize > 0 ? "total, prev, pager, next, jumper" : "total",
36698
36698
  size: "small",
36699
36699
  onCurrentChange: paginationChange
36700
- }, null, 8, ["current-page", "page-size", "total"])
36700
+ }, null, 8, ["current-page", "page-size", "total", "layout"])
36701
36701
  ])) : createCommentVNode("", true)
36702
36702
  ]);
36703
36703
  };
@@ -41166,12 +41166,19 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
41166
41166
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
41167
41167
  placeholder: (_a = props.detail) == null ? void 0 : _a.placeholder
41168
41168
  }, ((_b = props.detail) == null ? void 0 : _b.componentParams) ? props.detail.componentParams : {}, { onChange: change }), createSlots({ _: 2 }, [
41169
- __props.detail.componentParams && __props.detail.componentParams.suffix ? {
41170
- name: "suffix",
41169
+ __props.detail.componentParams && __props.detail.componentParams.prepend ? {
41170
+ name: "prepend",
41171
41171
  fn: withCtx(() => [
41172
- createElementVNode("span", null, toDisplayString(__props.detail.componentParams.suffix), 1)
41172
+ createElementVNode("span", null, toDisplayString(__props.detail.componentParams.prepend), 1)
41173
41173
  ]),
41174
41174
  key: "0"
41175
+ } : void 0,
41176
+ __props.detail.componentParams && __props.detail.componentParams.append ? {
41177
+ name: "append",
41178
+ fn: withCtx(() => [
41179
+ createElementVNode("span", null, toDisplayString(__props.detail.componentParams.append), 1)
41180
+ ]),
41181
+ key: "1"
41175
41182
  } : void 0
41176
41183
  ]), 1040, ["modelValue", "placeholder"]);
41177
41184
  };
@@ -41267,18 +41274,25 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
41267
41274
  placeholder: __props.detail.placeholder,
41268
41275
  class: "full"
41269
41276
  }, props.detail.componentParams ? props.detail.componentParams : {}, { onChange: handleChange }), createSlots({ _: 2 }, [
41277
+ __props.detail.componentParams && __props.detail.componentParams.prefix ? {
41278
+ name: "prefix",
41279
+ fn: withCtx(() => [
41280
+ createElementVNode("span", null, toDisplayString(__props.detail.componentParams.prefix), 1)
41281
+ ]),
41282
+ key: "0"
41283
+ } : void 0,
41270
41284
  __props.detail.componentParams && __props.detail.componentParams.suffix ? {
41271
41285
  name: "suffix",
41272
41286
  fn: withCtx(() => [
41273
41287
  createElementVNode("span", null, toDisplayString(__props.detail.componentParams.suffix), 1)
41274
41288
  ]),
41275
- key: "0"
41289
+ key: "1"
41276
41290
  } : void 0
41277
41291
  ]), 1040, ["modelValue", "placeholder"]);
41278
41292
  };
41279
41293
  }
41280
41294
  });
41281
- const KeFormInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-cd436c2a"]]);
41295
+ const KeFormInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-0eea7341"]]);
41282
41296
  KeFormInputNumber.install = (app) => {
41283
41297
  app.component(KeFormInputNumber.__name, KeFormInputNumber);
41284
41298
  };