fds-vue-core 2.0.70 → 2.0.72

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.
@@ -1 +1 @@
1
- {"version":3,"file":"FdsButtonMinor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue"],"names":[],"mappings":"AAmHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAU5D,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;;;;;;;;;;;YADU,OAAO;;;;;;;;;AA2MlB,wBAIG"}
1
+ {"version":3,"file":"FdsButtonMinor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAU5D,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;;;;;;;;;;;YADU,OAAO;;;;;;;;;AA+MlB,wBAIG"}
@@ -8,9 +8,13 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_1) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- "update:modelValue": (...args: any[]) => void;
11
+ "update:modelValue": (value: string | number) => any;
12
+ } & {
13
+ change: (value: string | number) => any;
14
+ "update:modelValue": (value: string | number) => any;
12
15
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
- "onUpdate:modelValue"?: (...args: any[]) => any;
16
+ onChange?: (value: string | number) => any;
17
+ "onUpdate:modelValue"?: (value: string | number) => any;
14
18
  }>, {
15
19
  required: boolean;
16
20
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FdsRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsRadio/FdsRadio.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,KAAK,WAAW,GAAG,aAAa,CAAC;AAuDjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAmEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA4B/C,QAAA,MAAM,eAAe;;;;;;;;;;;;4EAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"FdsRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsRadio/FdsRadio.vue"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,KAAK,WAAW,GAAG,aAAa,CAAC;AA4DjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAmEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -415,7 +415,7 @@ function useHasSlot(name = "default") {
415
415
  });
416
416
  }
417
417
  const _hoisted_1$q = ["for"];
418
- const _hoisted_2$f = ["id", "name", "value", "disabled", "required"];
418
+ const _hoisted_2$g = ["id", "name", "value", "disabled", "required"];
419
419
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
420
420
  __name: "FdsCheckbox",
421
421
  props: /* @__PURE__ */ vue.mergeModels({
@@ -527,7 +527,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
527
527
  required: _ctx.required,
528
528
  type: "checkbox",
529
529
  class: vue.normalizeClass([checkboxClasses.value])
530
- }, null, 10, _hoisted_2$f), [
530
+ }, null, 10, _hoisted_2$g), [
531
531
  [vue.vModelCheckbox, internalChecked.value]
532
532
  ]),
533
533
  vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -1140,7 +1140,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
1140
1140
  }
1141
1141
  });
1142
1142
  const _hoisted_1$n = ["for"];
1143
- const _hoisted_2$e = ["id", "name", "value", "disabled", "required"];
1143
+ const _hoisted_2$f = ["id", "name", "value", "disabled", "required"];
1144
1144
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1145
1145
  __name: "FdsRadio",
1146
1146
  props: /* @__PURE__ */ vue.mergeModels({
@@ -1158,7 +1158,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1158
1158
  "modelValue": { default: void 0, required: false },
1159
1159
  "modelModifiers": {}
1160
1160
  }),
1161
- emits: /* @__PURE__ */ vue.mergeModels(["update:modelValue"], ["update:modelValue"]),
1161
+ emits: /* @__PURE__ */ vue.mergeModels(["update:modelValue", "change"], ["update:modelValue"]),
1162
1162
  setup(__props, { emit: __emit }) {
1163
1163
  const modelValue = vue.useModel(__props, "modelValue");
1164
1164
  const props = __props;
@@ -1172,6 +1172,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1172
1172
  },
1173
1173
  set(newChecked) {
1174
1174
  emit("update:modelValue", newChecked);
1175
+ emit("change", newChecked);
1175
1176
  }
1176
1177
  });
1177
1178
  const wrapperClasses = vue.computed(() => ["block relative flex items-center mb-2 last:mb-0"]);
@@ -1202,7 +1203,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1202
1203
  required: _ctx.required,
1203
1204
  type: "radio",
1204
1205
  class: vue.normalizeClass([inputClasses.value, "m-[3px]"])
1205
- }, null, 10, _hoisted_2$e), [
1206
+ }, null, 10, _hoisted_2$f), [
1206
1207
  [vue.vModelRadio, radioModel.value]
1207
1208
  ]),
1208
1209
  vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -1219,7 +1220,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1219
1220
  }
1220
1221
  });
1221
1222
  const _hoisted_1$m = { class: "flex items-start" };
1222
- const _hoisted_2$d = { class: "flex-1 flex" };
1223
+ const _hoisted_2$e = { class: "flex-1 flex" };
1223
1224
  const _hoisted_3$b = ["innerHTML"];
1224
1225
  const _hoisted_4$9 = { key: 1 };
1225
1226
  const _hoisted_5$7 = { key: 0 };
@@ -1449,7 +1450,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1449
1450
  key: 1,
1450
1451
  style: vue.normalizeStyle({ minWidth: `${_ctx.indentation}px` })
1451
1452
  }, null, 4)) : vue.createCommentVNode("", true),
1452
- vue.createElementVNode("div", _hoisted_2$d, [
1453
+ vue.createElementVNode("div", _hoisted_2$e, [
1453
1454
  vue.createVNode(_sfc_main$v, {
1454
1455
  id: `checkbox-${props.nodeId}`,
1455
1456
  checked: vue.unref(treeState)?.isNodeSelected(props.nodeId),
@@ -1672,7 +1673,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1672
1673
  }
1673
1674
  });
1674
1675
  const _hoisted_1$k = ["aria-disabled"];
1675
- const elBase$2 = "box-border appearance-none inline-flex items-center justify-center w-full cursor-pointer shadow-none p-1 text-base h-7 select-none m-0 rounded-md textcenter align-middle whitespace-nowrap no-underline transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
1676
+ const _hoisted_2$d = { class: "pt-0.5" };
1677
+ const elBase$2 = "box-border appearance-none inline-flex items-start justify-center w-full cursor-pointer shadow-none p-0.5 text-base select-none m-0 rounded-md text-left align-start no-underline transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
1676
1678
  const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
1677
1679
  ...{
1678
1680
  inheritAttrs: false
@@ -1765,7 +1767,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
1765
1767
  size: 24
1766
1768
  }, null, 8, ["class", "name"])
1767
1769
  ], 2)) : vue.createCommentVNode("", true),
1768
- vue.createTextVNode(" " + vue.toDisplayString(_ctx.text), 1)
1770
+ vue.createElementVNode("span", _hoisted_2$d, vue.toDisplayString(_ctx.text), 1)
1769
1771
  ]),
1770
1772
  _: 1
1771
1773
  }, 16, ["type", "disabled", "target", "rel", "class"]))
@@ -2469,7 +2471,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
2469
2471
  props.disabled && "opacity-20 pointer-events-none"
2470
2472
  ]);
2471
2473
  const elBase2 = vue.computed(() => [
2472
- "box-border appearance-none w-full inline-flex items-center justify-center shadow-none p-1 text-base h-7",
2474
+ "box-border appearance-none w-full inline-flex items-center justify-center shadow-none p-0.5 text-base",
2473
2475
  "select-none m-0 rounded-md align-middle whitespace-nowrap no-underline",
2474
2476
  "transition-[box-shadow,border-color,background-color] duration-200 font-main text-base",
2475
2477
  "leading-5 tracking-normal"
@@ -3663,7 +3665,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3663
3665
  iconName.value ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
3664
3666
  key: 0,
3665
3667
  name: iconName.value,
3666
- size: 28,
3668
+ size: 24,
3667
3669
  class: vue.normalizeClass(iconClasses.value)
3668
3670
  }, null, 8, ["name", "class"])) : vue.createCommentVNode("", true),
3669
3671
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.heading), 1)
@@ -3671,7 +3673,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3671
3673
  !_ctx.strict ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
3672
3674
  key: 0,
3673
3675
  icon: "cross",
3674
- size: 24,
3676
+ size: 28,
3675
3677
  onClick: _cache[0] || (_cache[0] = ($event) => handleClose("icon")),
3676
3678
  ariaLabel: closeLabel.value,
3677
3679
  class: "ml-4"