fds-vue-core 8.3.0 → 8.3.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/components.d.ts CHANGED
@@ -1,51 +1,51 @@
1
1
  // Entry types for consumers of `fds-vue-core`.
2
- // - Re-export all public types (including the default plugin) from the source index
2
+ // - Re-export all public types (including the default plugin) from the dist index
3
3
  // - Declare global components for Volar/TS in consuming repos
4
- export * from './src/index'
4
+ export * from './dist/index'
5
5
 
6
- export { default } from './src/index'
6
+ export { default } from './dist/index'
7
7
 
8
8
  import type { DefineComponent } from 'vue'
9
- import type { FdsAlertBlockProps } from './src/components/Blocks/FdsBlockAlert/types'
10
- import type { FdsContentBlockProps } from './src/components/Blocks/FdsBlockContent/types'
11
- import type { FdsExpanderBlockProps } from './src/components/Blocks/FdsBlockExpander/types'
12
- import type { FdsBlockInfoProps } from './src/components/Blocks/FdsBlockInfo/types'
13
- import type { FdsInteractionBlockProps } from './src/components/Blocks/FdsBlockLink/types'
14
- import type { FdsButtonBaseProps } from './src/components/Buttons/ButtonBaseProps'
15
- import type { FdsCopyButtonProps } from './src/components/Buttons/FdsButtonCopy/types'
16
- import type { FdsButtonDownloadProps } from './src/components/Buttons/FdsButtonDownload/types'
17
- import type { FdsIconButtonProps } from './src/components/Buttons/FdsButtonIcon/types'
18
- import type { FdsIconProps } from './src/components/FdsIcon/types'
19
- import type { FdsModalProps } from './src/components/FdsModal/types'
20
- import type { FdsPaginationProps } from './src/components/FdsPagination/types'
21
- import type { FdsPopoverProps } from './src/components/FdsPopover/types'
22
- import type { FdsSearchSelectProps } from './src/components/FdsSearchSelect/types'
23
- import type { FdsSearchSelectProProps } from './src/components/FdsSearchSelectPro/types'
24
- import type { FdsSpinnerProps } from './src/components/FdsSpinner/types'
25
- import type { FdsStickerProps } from './src/components/FdsSticker/types'
26
- import type { WrapperProps } from './src/components/FdsTreeView/types'
27
- import type { FdsTruncatedTextProps } from './src/components/FdsTruncatedText/types'
28
- import type { FdsWeekCalendarProps } from './src/components/FdsWeekCalendar/types'
29
- import type { FdsWizardProps } from './src/components/FdsWizard/types'
30
- import type { FdsCheckboxProps } from './src/components/Form/FdsCheckbox/types'
31
- import type { FdsInputProps } from './src/components/Form/FdsInput/types'
32
- import type { FdsRadioProps } from './src/components/Form/FdsRadio/types'
33
- import type { FdsSelectProps } from './src/components/Form/FdsSelect/types'
34
- import type { FdsPhonenumberEmits, FdsPhonenumberProps } from './src/components/Form/FdsPhonenumber/types'
35
- import type { FdsSsnEmits, FdsSsnProps } from './src/components/Form/FdsSsn/types'
36
- import type { FdsTextareaEmits, FdsTextareaProps } from './src/components/Form/FdsTextarea/types'
37
- import type { FdsTableProps } from './src/components/Table/FdsTable/types'
38
- import type { FdsTableHeadProps } from './src/components/Table/FdsTableHead/types'
39
- import type { FdsTabsProps } from './src/components/Tabs/FdsTabs/types'
40
- import type { FdsTabsItemProps } from './src/components/Tabs/FdsTabsItem/types'
41
- import type { FdsH1Props } from './src/components/Typography/FdsH1/types'
42
- import type { FdsH2Props } from './src/components/Typography/FdsH2/types'
43
- import type { FdsH3Props } from './src/components/Typography/FdsH3/types'
44
- import type { FdsLabelProps } from './src/components/Typography/FdsLabel/types'
45
- import type { FdsLeadProps } from './src/components/Typography/FdsLead/types'
46
- import type { FdsHrProps } from './src/components/Typography/FdsHr/types'
47
- import type { FdsListHeadingProps } from './src/components/Typography/FdsListHeading/types'
48
- import type { FdsMetaProps } from './src/components/Typography/FdsMeta/types'
9
+ import type { FdsAlertBlockProps } from './dist/components/Blocks/FdsBlockAlert/types'
10
+ import type { FdsContentBlockProps } from './dist/components/Blocks/FdsBlockContent/types'
11
+ import type { FdsExpanderBlockProps } from './dist/components/Blocks/FdsBlockExpander/types'
12
+ import type { FdsBlockInfoProps } from './dist/components/Blocks/FdsBlockInfo/types'
13
+ import type { FdsInteractionBlockProps } from './dist/components/Blocks/FdsBlockLink/types'
14
+ import type { FdsButtonBaseProps } from './dist/components/Buttons/ButtonBaseProps'
15
+ import type { FdsCopyButtonProps } from './dist/components/Buttons/FdsButtonCopy/types'
16
+ import type { FdsButtonDownloadProps } from './dist/components/Buttons/FdsButtonDownload/types'
17
+ import type { FdsIconButtonProps } from './dist/components/Buttons/FdsButtonIcon/types'
18
+ import type { FdsIconProps } from './dist/components/FdsIcon/types'
19
+ import type { FdsModalProps } from './dist/components/FdsModal/types'
20
+ import type { FdsPaginationProps } from './dist/components/FdsPagination/types'
21
+ import type { FdsPopoverProps } from './dist/components/FdsPopover/types'
22
+ import type { FdsSearchSelectProps } from './dist/components/FdsSearchSelect/types'
23
+ import type { FdsSearchSelectProProps } from './dist/components/FdsSearchSelectPro/types'
24
+ import type { FdsSpinnerProps } from './dist/components/FdsSpinner/types'
25
+ import type { FdsStickerProps } from './dist/components/FdsSticker/types'
26
+ import type { WrapperProps } from './dist/components/FdsTreeView/types'
27
+ import type { FdsTruncatedTextProps } from './dist/components/FdsTruncatedText/types'
28
+ import type { FdsWeekCalendarProps } from './dist/components/FdsWeekCalendar/types'
29
+ import type { FdsWizardProps } from './dist/components/FdsWizard/types'
30
+ import type { FdsCheckboxProps } from './dist/components/Form/FdsCheckbox/types'
31
+ import type { FdsInputProps } from './dist/components/Form/FdsInput/types'
32
+ import type { FdsRadioProps } from './dist/components/Form/FdsRadio/types'
33
+ import type { FdsSelectProps } from './dist/components/Form/FdsSelect/types'
34
+ import type { FdsPhonenumberEmits, FdsPhonenumberProps } from './dist/components/Form/FdsPhonenumber/types'
35
+ import type { FdsSsnEmits, FdsSsnProps } from './dist/components/Form/FdsSsn/types'
36
+ import type { FdsTextareaEmits, FdsTextareaProps } from './dist/components/Form/FdsTextarea/types'
37
+ import type { FdsTableProps } from './dist/components/Table/FdsTable/types'
38
+ import type { FdsTableHeadProps } from './dist/components/Table/FdsTableHead/types'
39
+ import type { FdsTabsProps } from './dist/components/Tabs/FdsTabs/types'
40
+ import type { FdsTabsItemProps } from './dist/components/Tabs/FdsTabsItem/types'
41
+ import type { FdsH1Props } from './dist/components/Typography/FdsH1/types'
42
+ import type { FdsH2Props } from './dist/components/Typography/FdsH2/types'
43
+ import type { FdsH3Props } from './dist/components/Typography/FdsH3/types'
44
+ import type { FdsLabelProps } from './dist/components/Typography/FdsLabel/types'
45
+ import type { FdsLeadProps } from './dist/components/Typography/FdsLead/types'
46
+ import type { FdsHrProps } from './dist/components/Typography/FdsHr/types'
47
+ import type { FdsListHeadingProps } from './dist/components/Typography/FdsListHeading/types'
48
+ import type { FdsMetaProps } from './dist/components/Typography/FdsMeta/types'
49
49
 
50
50
  // Global component declarations visible in consuming projects
51
51
  declare module 'vue' {
@@ -5832,10 +5832,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
5832
5832
  onKeydown: {},
5833
5833
  onKeyup: {}
5834
5834
  }, {
5835
- "modelValue": { type: [Boolean, Array], ...{
5836
- default: void 0,
5837
- required: false
5838
- } },
5835
+ "modelValue": { type: [Boolean, Array] },
5839
5836
  "modelModifiers": {}
5840
5837
  }),
5841
5838
  emits: /* @__PURE__ */ vue.mergeModels(["change", "input", "update:checked"], ["update:modelValue"]),
@@ -5969,7 +5966,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
5969
5966
  key: 0,
5970
5967
  class: vue.normalizeClass(["relative inline-block leading-6 pl-1 select-none", { "cursor-not-allowed": props.disabled }])
5971
5968
  }, [
5972
- vue.unref(hasLabelSlot) ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : props.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
5969
+ vue.unref(hasLabelSlot) ? vue.renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : props.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
5973
5970
  vue.createTextVNode(vue.toDisplayString(props.label), 1)
5974
5971
  ], 64)) : vue.createCommentVNode("", true)
5975
5972
  ], 2)) : vue.createCommentVNode("", true)
@@ -6009,7 +6006,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
6009
6006
  onKeydown: {},
6010
6007
  onKeyup: {}
6011
6008
  }, {
6012
- "modelValue": { type: [String, Number, Boolean, null], ...{ default: void 0, required: false } },
6009
+ "modelValue": { type: [String, Number, Boolean, null] },
6013
6010
  "modelModifiers": {}
6014
6011
  }),
6015
6012
  emits: /* @__PURE__ */ vue.mergeModels(["update:modelValue", "update:checked", "change", "input"], ["update:modelValue"]),
@@ -6107,7 +6104,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
6107
6104
  key: 0,
6108
6105
  class: vue.normalizeClass(["relative inline-block leading-6 pl-1 select-none", { "cursor-not-allowed": props.disabled }])
6109
6106
  }, [
6110
- vue.unref(hasLabelSlot) ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : props.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
6107
+ vue.unref(hasLabelSlot) ? vue.renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : props.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
6111
6108
  vue.createTextVNode(vue.toDisplayString(props.label), 1)
6112
6109
  ], 64)) : vue.createCommentVNode("", true)
6113
6110
  ], 2)) : vue.createCommentVNode("", true)
@@ -9935,7 +9932,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
9935
9932
  onKeydown: {},
9936
9933
  onKeyup: {}
9937
9934
  }, {
9938
- "modelValue": { default: void 0, required: false },
9935
+ "modelValue": {},
9939
9936
  "modelModifiers": {}
9940
9937
  }),
9941
9938
  emits: /* @__PURE__ */ vue.mergeModels(["input", "autocomplete", "clearInput", "update:value", "keyup", "keyup.enter", "blur"], ["update:modelValue"]),
@@ -10980,7 +10977,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
10980
10977
  type: action.input.type ?? "text",
10981
10978
  modelValue: getActionInputValue(index, action.input.defaultValue),
10982
10979
  placeholder: action.input.placeholder,
10983
- "onUpdate:modelValue": ($event) => setActionInputValue(index, $event)
10980
+ "onUpdate:modelValue": ($event) => setActionInputValue(index, $event ?? "")
10984
10981
  }, null, 8, ["type", "modelValue", "placeholder", "onUpdate:modelValue"])
10985
10982
  ])) : vue.createCommentVNode("", true)
10986
10983
  ]);
@@ -19303,8 +19300,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19303
19300
  onNoCountryResults
19304
19301
  }, null, 8, ["modelValue", "items", "valid", "disabled", "ariaLabel", "data-testid", "class"]),
19305
19302
  vue.createVNode(_sfc_main$s, vue.mergeProps({
19306
- modelValue: vue.unref(nationalNumber),
19307
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(nationalNumber) ? nationalNumber.value = $event : null),
19303
+ "model-value": vue.unref(nationalNumber),
19304
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => nationalNumber.value = $event ?? ""),
19308
19305
  mask: phoneMask.value,
19309
19306
  "mask-options": phoneMaskOptions.value,
19310
19307
  valid: displayValid.value,
@@ -19313,7 +19310,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19313
19310
  ariaLabel: vue.unref(t)("FdsPhonenumber.phoneNumber"),
19314
19311
  "data-testid": __props.dataTestid ? `${__props.dataTestid}-number` : void 0,
19315
19312
  class: ["mb-0! min-w-0 flex-1", __props.inputClass ?? ""]
19316
- }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["modelValue", "mask", "mask-options", "valid", "disabled", "optional", "ariaLabel", "data-testid", "class"])
19313
+ }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["model-value", "mask", "mask-options", "valid", "disabled", "optional", "ariaLabel", "data-testid", "class"])
19317
19314
  ]),
19318
19315
  noCountryResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, vue.toDisplayString(vue.unref(t)("FdsPhonenumber.noCountryResults")), 1)) : vue.createCommentVNode("", true),
19319
19316
  showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, vue.toDisplayString(resolvedInvalidMessage.value), 1)) : vue.createCommentVNode("", true)
@@ -19771,8 +19768,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
19771
19768
  return (_ctx, _cache) => {
19772
19769
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
19773
19770
  vue.createVNode(_sfc_main$s, vue.mergeProps({
19774
- modelValue: modelValue.value,
19775
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
19771
+ "model-value": modelValue.value,
19772
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event ?? ""),
19776
19773
  mask: ssnMask.value,
19777
19774
  "mask-options": ssnMaskOptions.value,
19778
19775
  label: resolvedLabel.value,
@@ -19784,7 +19781,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
19784
19781
  ariaLabel: resolvedLabel.value,
19785
19782
  "data-testid": __props.dataTestid,
19786
19783
  class: __props.inputClass
19787
- }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["modelValue", "mask", "mask-options", "label", "meta", "valid", "disabled", "optional", "invalid-message", "ariaLabel", "data-testid", "class"])
19784
+ }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["model-value", "mask", "mask-options", "label", "meta", "valid", "disabled", "optional", "invalid-message", "ariaLabel", "data-testid", "class"])
19788
19785
  ]);
19789
19786
  };
19790
19787
  }
@@ -19823,7 +19820,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
19823
19820
  inputClass: { default: void 0 },
19824
19821
  value: { default: void 0 }
19825
19822
  }, {
19826
- "modelValue": { default: void 0, required: false },
19823
+ "modelValue": {},
19827
19824
  "modelModifiers": {}
19828
19825
  }),
19829
19826
  emits: /* @__PURE__ */ vue.mergeModels(["input", "change", "update:value"], ["update:modelValue"]),
@@ -19912,7 +19909,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
19912
19909
  value: option.value,
19913
19910
  disabled: option.disabled
19914
19911
  }, vue.toDisplayString(option.label), 9, _hoisted_5$2);
19915
- }), 128)) : vue.renderSlot(_ctx.$slots, "default", { key: 2 })
19912
+ }), 128)) : vue.renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 2)
19916
19913
  ], 16), [
19917
19914
  [vue.vModelSelect, internalValue.value]
19918
19915
  ]),
@@ -19962,7 +19959,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
19962
19959
  maxlength: { default: void 0 },
19963
19960
  value: { default: void 0 }
19964
19961
  }, {
19965
- "modelValue": { default: void 0, required: false },
19962
+ "modelValue": {},
19966
19963
  "modelModifiers": {}
19967
19964
  }),
19968
19965
  emits: /* @__PURE__ */ vue.mergeModels(["input", "change", "update:value", "blur", "valid"], ["update:modelValue"]),