@juit/vue-z 0.0.49 → 0.0.50

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/index.js CHANGED
@@ -455,11 +455,11 @@ const defaults = {
455
455
  lazyRules: false,
456
456
  bottomSlots: false
457
457
  };
458
- const _editableSymbol = Symbol("ZForm:Editable");
459
- const _disabledSymbol = Symbol("ZForm:Disabled");
460
- const _lazyRulesSymbol = Symbol("ZForm:LazyRules");
461
- const _bottomSlotsSymbol = Symbol("ZForm:BottomSlots");
462
- const _readyStateSymbol = Symbol("ZForm:ReadyState");
458
+ const _editableSymbol = /* @__PURE__ */ Symbol("ZForm:Editable");
459
+ const _disabledSymbol = /* @__PURE__ */ Symbol("ZForm:Disabled");
460
+ const _lazyRulesSymbol = /* @__PURE__ */ Symbol("ZForm:LazyRules");
461
+ const _bottomSlotsSymbol = /* @__PURE__ */ Symbol("ZForm:BottomSlots");
462
+ const _readyStateSymbol = /* @__PURE__ */ Symbol("ZForm:ReadyState");
463
463
  const formProps = {
464
464
  /** Whether to reserve space for the bottom slots or not */
465
465
  bottomSlots: {
@@ -2515,7 +2515,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2515
2515
  rules: _rules.value,
2516
2516
  options: _options.value,
2517
2517
  behavior: "menu"
2518
- }, createSlots({
2518
+ }, {
2519
2519
  append: withCtx(() => [
2520
2520
  _slots.prepend ? renderSlot(_ctx.$slots, "prepend", normalizeProps(mergeProps({ key: 0 }, formProps2))) : createCommentVNode("", true),
2521
2521
  formProps2.editable ? (openBlock(), createBlock(unref(QIcon), {
@@ -2545,37 +2545,26 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2545
2545
  }, null, 8, ["name"])) : createCommentVNode("", true),
2546
2546
  _slots.append ? renderSlot(_ctx.$slots, "append", normalizeProps(mergeProps({ key: 6 }, formProps2))) : createCommentVNode("", true)
2547
2547
  ]),
2548
+ option: withCtx((scope) => [
2549
+ _slots.option ? renderSlot(_ctx.$slots, "option", normalizeProps(mergeProps({ key: 0 }, scope))) : (openBlock(), createBlock(unref(QItem), mergeProps({ key: 1 }, scope.itemProps, { dense: "" }), {
2550
+ default: withCtx(() => [
2551
+ createVNode(unref(QItemSection), null, {
2552
+ default: withCtx(() => [
2553
+ createVNode(unref(QItemLabel), null, {
2554
+ default: withCtx(() => [
2555
+ createTextVNode(toDisplayString(scope.label), 1)
2556
+ ]),
2557
+ _: 2
2558
+ }, 1024)
2559
+ ]),
2560
+ _: 2
2561
+ }, 1024)
2562
+ ]),
2563
+ _: 2
2564
+ }, 1040))
2565
+ ]),
2548
2566
  _: 2
2549
- }, [
2550
- _slots.option ? {
2551
- name: "option",
2552
- fn: withCtx((scope) => [
2553
- renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps(scope)))
2554
- ]),
2555
- key: "0"
2556
- } : {
2557
- name: "option",
2558
- fn: withCtx((scope) => [
2559
- createVNode(unref(QItem), mergeProps(scope.itemProps, { dense: "" }), {
2560
- default: withCtx(() => [
2561
- createVNode(unref(QItemSection), null, {
2562
- default: withCtx(() => [
2563
- createVNode(unref(QItemLabel), null, {
2564
- default: withCtx(() => [
2565
- createTextVNode(toDisplayString(scope.label), 1)
2566
- ]),
2567
- _: 2
2568
- }, 1024)
2569
- ]),
2570
- _: 2
2571
- }, 1024)
2572
- ]),
2573
- _: 2
2574
- }, 1040)
2575
- ]),
2576
- key: "1"
2577
- }
2578
- ]), 1032, ["modelValue", "class", "label", "prefix", "hint", "bottom-slots", "hide-bottom-space", "icon", "disable", "readonly", "rules", "options"])
2567
+ }, 1032, ["modelValue", "class", "label", "prefix", "hint", "bottom-slots", "hide-bottom-space", "icon", "disable", "readonly", "rules", "options"])
2579
2568
  ]),
2580
2569
  _: 3
2581
2570
  }, 8, ["bottom-slots", "disabled", "editable", "lazy-rules", "readonly"])