codesaaz-core 0.4.11 → 0.4.13

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.
@@ -2171,7 +2171,7 @@ const Ue = (e, t) => {
2171
2171
  onInput: o,
2172
2172
  onBlur: r,
2173
2173
  onFocus: a
2174
- }, i.$attrs), null, 16, ["placeholder", "disabled", "size", "modelValue"]);
2174
+ }, i.$attrs, { fluid: "" }), null, 16, ["placeholder", "disabled", "size", "modelValue"]);
2175
2175
  };
2176
2176
  }
2177
2177
  }, Na = {
@@ -2238,21 +2238,25 @@ const Ue = (e, t) => {
2238
2238
  props: /* @__PURE__ */ be({
2239
2239
  disabled: {
2240
2240
  default: !1
2241
- }
2241
+ },
2242
+ onChange: Function
2242
2243
  }, {
2243
2244
  modelValue: {},
2244
2245
  modelModifiers: {}
2245
2246
  }),
2246
2247
  emits: ["update:modelValue"],
2247
2248
  setup(e) {
2248
- const t = $e(e, "modelValue");
2249
- return (n, o) => {
2250
- const r = q("ToggleSwitch");
2251
- return b(), j(r, {
2252
- modelValue: t.value,
2253
- "onUpdate:modelValue": o[0] || (o[0] = (a) => t.value = a),
2254
- disabled: e.disabled
2255
- }, null, 8, ["modelValue", "disabled"]);
2249
+ const t = e, n = $e(e, "modelValue"), o = (r) => {
2250
+ typeof t.onChange == "function" && t.onChange(r);
2251
+ };
2252
+ return (r, a) => {
2253
+ const i = q("ToggleSwitch");
2254
+ return b(), j(i, K({
2255
+ modelValue: n.value,
2256
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => n.value = s),
2257
+ disabled: e.disabled,
2258
+ onChange: o
2259
+ }, r.$attrs), null, 16, ["modelValue", "disabled"]);
2256
2260
  };
2257
2261
  }
2258
2262
  }, La = {
@@ -2267,23 +2271,27 @@ const Ue = (e, t) => {
2267
2271
  },
2268
2272
  disabled: {
2269
2273
  default: !1
2270
- }
2274
+ },
2275
+ onChange: Function
2271
2276
  }, {
2272
2277
  modelValue: {},
2273
2278
  modelModifiers: {}
2274
2279
  }),
2275
2280
  emits: ["update:modelValue"],
2276
2281
  setup(e) {
2277
- const t = $e(e, "modelValue");
2278
- return (n, o) => {
2279
- const r = q("RadioButton", !0);
2280
- return b(), j(r, {
2281
- modelValue: t.value,
2282
- "onUpdate:modelValue": o[0] || (o[0] = (a) => t.value = a),
2282
+ const t = e, n = $e(e, "modelValue"), o = (r) => {
2283
+ typeof t.onChange == "function" && t.onChange(r);
2284
+ };
2285
+ return (r, a) => {
2286
+ const i = q("RadioButton", !0);
2287
+ return b(), j(i, K({
2288
+ modelValue: n.value,
2289
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => n.value = s),
2283
2290
  value: e.optionValue,
2284
2291
  size: e.size,
2285
- disabled: e.disabled
2286
- }, null, 8, ["modelValue", "value", "size", "disabled"]);
2292
+ disabled: e.disabled,
2293
+ onChange: o
2294
+ }, r.$attrs), null, 16, ["modelValue", "value", "size", "disabled"]);
2287
2295
  };
2288
2296
  }
2289
2297
  }, Va = {
@@ -2472,7 +2480,7 @@ const Ue = (e, t) => {
2472
2480
  onInput: o,
2473
2481
  onBlur: r,
2474
2482
  onFocus: a
2475
- }, i.$attrs), null, 16, ["placeholder", "disabled", "size", "modelValue"]);
2483
+ }, i.$attrs, { fluid: "" }), null, 16, ["placeholder", "disabled", "size", "modelValue"]);
2476
2484
  };
2477
2485
  }
2478
2486
  }, Ma = {
@@ -2629,7 +2637,7 @@ const Ue = (e, t) => {
2629
2637
  onValueChange: o,
2630
2638
  onBlur: r,
2631
2639
  onFocus: a
2632
- }, i.$attrs), null, 16, ["modelValue", "mask", "placeholder", "disabled"]);
2640
+ }, i.$attrs, { fluid: "" }), null, 16, ["modelValue", "mask", "placeholder", "disabled"]);
2633
2641
  };
2634
2642
  }
2635
2643
  }, Wa = {
@@ -15631,10 +15639,14 @@ const ql = {
15631
15639
  default: "medium",
15632
15640
  validator: (e) => ["small", "medium", "large"].includes(e)
15633
15641
  },
15642
+ variant: {
15643
+ type: String,
15644
+ default: "''"
15645
+ },
15634
15646
  severity: {
15635
15647
  type: String,
15636
15648
  default: "primary",
15637
- validator: (e) => ["primary", "info", "danger", "success"].includes(e)
15649
+ validator: (e) => ["primary", "secondary", "info", "warn", "help", "danger", "success"].includes(e)
15638
15650
  },
15639
15651
  onClick: {
15640
15652
  type: Function,
@@ -15651,6 +15663,22 @@ const ql = {
15651
15663
  iconName: {
15652
15664
  type: String,
15653
15665
  default: null
15666
+ },
15667
+ iconsOnly: {
15668
+ type: Boolean,
15669
+ default: !1
15670
+ },
15671
+ iconPos: {
15672
+ type: String,
15673
+ default: "left"
15674
+ },
15675
+ rounded: {
15676
+ type: Boolean,
15677
+ default: !1
15678
+ },
15679
+ raised: {
15680
+ type: Boolean,
15681
+ default: !1
15654
15682
  }
15655
15683
  },
15656
15684
  setup(e) {
@@ -15661,14 +15689,18 @@ const ql = {
15661
15689
  function r(a) {
15662
15690
  t.onClick && t.onClick(a);
15663
15691
  }
15664
- return (a, i) => n.value ? (b(), j(X(Ao), {
15692
+ return (a, i) => n.value ? (b(), j(X(Ao), K({
15665
15693
  key: 0,
15666
- label: e.label,
15694
+ label: e.iconsOnly ? null : e.label,
15667
15695
  size: e.size,
15668
- onClick: r,
15696
+ variant: e.variant,
15669
15697
  severity: e.severity,
15670
- icon: e.iconName
15671
- }, null, 8, ["label", "size", "severity", "icon"])) : (b(), S("p", Hy, "You do not have the required permissions to access this feature."));
15698
+ icon: e.iconName,
15699
+ iconPos: e.iconPos
15700
+ }, {
15701
+ ...e.rounded ? { rounded: !0 } : {},
15702
+ ...e.raised ? { raised: !0 } : {}
15703
+ }, { onClick: r }), null, 16, ["label", "size", "variant", "severity", "icon", "iconPos"])) : (b(), S("p", Hy, " You do not have the required permissions to access this feature. "));
15672
15704
  }
15673
15705
  }, Wy = {
15674
15706
  name: "StateFullText",