@fkui/vue 5.37.0 → 5.37.1

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.
@@ -345,8 +345,8 @@ type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstruc
345
345
  required: true;
346
346
  };
347
347
  }, {
348
- showDetails: "never" | "always" | "when-selected";
349
- getFieldsetLabelText: () => string;
348
+ showDetails: "always" | "never" | "when-selected";
349
+ getFieldsetLabelText: () => string | undefined;
350
350
  }, {
351
351
  expanded: boolean;
352
352
  height: number;
@@ -460,8 +460,8 @@ required: true;
460
460
  };
461
461
  }, {
462
462
  sharedName: string | undefined;
463
- showDetails: "never" | "always" | "when-selected";
464
- getFieldsetLabelText: () => string;
463
+ showDetails: "always" | "never" | "when-selected";
464
+ getFieldsetLabelText: () => string | undefined;
465
465
  }, {
466
466
  height: number;
467
467
  initialStyle: {
@@ -2232,7 +2232,6 @@ isDateEnabled(day: FDate): boolean;
2232
2232
  isDaySelected(date: FDate): boolean;
2233
2233
  highlightDay(date: FDate): boolean;
2234
2234
  updateTextFieldValue(newValue: string): Promise<void>;
2235
- updateCalendarValue: typeof updateCalendarValue;
2236
2235
  }, ComponentOptions, ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", PublicProps, Readonly<ExtractPropTypes< {
2237
2236
  /** Selected day.
2238
2237
  * @model
@@ -2927,11 +2926,11 @@ required: false;
2927
2926
  * - `always` - Always show item details.
2928
2927
  */
2929
2928
  showDetails: {
2930
- type: StringConstructor;
2929
+ type: PropType<"never" | "when-selected" | "always">;
2931
2930
  default: string;
2932
2931
  validator(value: string): boolean;
2933
2932
  };
2934
- }, unknown, {
2933
+ }, void, {
2935
2934
  validity: ValidityEvent;
2936
2935
  descriptionClass: string[];
2937
2936
  discreteDescriptionClass: string[];
@@ -3033,7 +3032,7 @@ required: false;
3033
3032
  * - `always` - Always show item details.
3034
3033
  */
3035
3034
  showDetails: {
3036
- type: StringConstructor;
3035
+ type: PropType<"never" | "when-selected" | "always">;
3037
3036
  default: string;
3038
3037
  validator(value: string): boolean;
3039
3038
  };
@@ -3041,9 +3040,9 @@ validator(value: string): boolean;
3041
3040
  name: string;
3042
3041
  horizontal: boolean;
3043
3042
  id: string;
3044
- showDetails: string;
3045
3043
  labelClass: string;
3046
3044
  contentClass: string;
3045
+ showDetails: "always" | "never" | "when-selected";
3047
3046
  chip: boolean;
3048
3047
  border: boolean;
3049
3048
  }, {}>;
@@ -3093,7 +3092,7 @@ default: undefined;
3093
3092
  }, unknown, unknown, {
3094
3093
  isMimeTypeChanged(): boolean;
3095
3094
  mimeTypeChangedText(): string;
3096
- iconName(): IconName;
3095
+ iconName(): FFileItemIconName;
3097
3096
  }, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
3098
3097
  /**
3099
3098
  * The id for the input id attribute.
@@ -3143,6 +3142,11 @@ originalMimeType: string;
3143
3142
  changedMimeTypeText: string;
3144
3143
  }, {}>;
3145
3144
 
3145
+ /**
3146
+ * @public
3147
+ */
3148
+ export declare type FFileItemIconName = "doc" | "file" | "pic" | "pdf";
3149
+
3146
3150
  export declare const FFileSelector: DefineComponent< {
3147
3151
  /**
3148
3152
  * The id for the input id attribute.
@@ -3269,7 +3273,10 @@ displayError: boolean;
3269
3273
  errorScroll: "center" | "top";
3270
3274
  }, {}>;
3271
3275
 
3272
- declare interface FFormData {
3276
+ /**
3277
+ * @public
3278
+ */
3279
+ export declare interface FFormData {
3273
3280
  errorMessageSlotClass: string[];
3274
3281
  components: Record<string, Reference<FormErrorList | FormStep>>;
3275
3282
  }
@@ -4680,7 +4687,10 @@ export declare interface FModalButtonDescriptor {
4680
4687
  submitButton?: boolean;
4681
4688
  }
4682
4689
 
4683
- declare interface FModalData {
4690
+ /**
4691
+ * @public
4692
+ */
4693
+ export declare interface FModalData {
4684
4694
  nonModalFocusableElements: HTMLElement[];
4685
4695
  savedFocus: StackHandle | null;
4686
4696
  savedScroll: number | null;
@@ -8239,8 +8249,6 @@ onChange?: ((...args: any[]) => any) | undefined;
8239
8249
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8240
8250
  }, {}, {}>;
8241
8251
 
8242
- declare type IconName = "doc" | "file" | "pic" | "pdf";
8243
-
8244
8252
  export declare const IFlex: DefineComponent< {
8245
8253
  /**
8246
8254
  * Set gap (gutter) between items.
@@ -8784,7 +8792,10 @@ focusElement: () => HTMLElement | null;
8784
8792
  setFocus: boolean;
8785
8793
  }, {}>;
8786
8794
 
8787
- declare interface IPopupData {
8795
+ /**
8796
+ * @public
8797
+ */
8798
+ export declare interface IPopupData {
8788
8799
  teleportDisabled: boolean;
8789
8800
  placement: Placement;
8790
8801
  focus: StackHandle | null;
@@ -8856,7 +8867,10 @@ anchor: HTMLElement | null | undefined;
8856
8867
  errorMessage: string;
8857
8868
  }, {}>;
8858
8869
 
8859
- declare interface IPopupErrorData {
8870
+ /**
8871
+ * @public
8872
+ */
8873
+ export declare interface IPopupErrorData {
8860
8874
  teleportDisabled: boolean;
8861
8875
  placement: Placement;
8862
8876
  arrowPosition: string;
@@ -9254,7 +9268,10 @@ export declare interface PanelLayoutComposable {
9254
9268
  */
9255
9269
  export declare type ParseFunction<TModel> = (viewValue: string) => TModel | undefined;
9256
9270
 
9257
- declare enum Placement {
9271
+ /**
9272
+ * @public
9273
+ */
9274
+ export declare enum Placement {
9258
9275
  /** popup below and alignment towards the left edge. */
9259
9276
  "A" = "A",
9260
9277
  /** popup below and alignment towards the right edge. */
@@ -9484,11 +9501,6 @@ export declare const UNHANDLED_ERROR_EVENT: "unhandled-error";
9484
9501
  */
9485
9502
  export declare type UnknownItem = Record<string, unknown>;
9486
9503
 
9487
- /**
9488
- * @public
9489
- */
9490
- export declare function updateCalendarValue(this: InstanceType<typeof FDatepickerField>, newValue: string): void;
9491
-
9492
9504
  /**
9493
9505
  * Translation function.
9494
9506
  * @public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fkui/vue",
3
- "version": "5.37.0",
3
+ "version": "5.37.1",
4
4
  "description": "Vue implementation of FKUI components",
5
5
  "keywords": [
6
6
  "fkui",
@@ -74,24 +74,24 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@fkui/css-variables": "5.37.0",
77
- "@fkui/date": "5.37.0",
77
+ "@fkui/date": "5.37.1",
78
78
  "@fkui/design": "5.37.0",
79
79
  "@fkui/icon-lib-default": "5.37.0",
80
- "@fkui/logic": "5.37.0",
80
+ "@fkui/logic": "5.37.1",
81
81
  "@fkui/test-utils": "5.37.0",
82
82
  "@forsakringskassan/vite-lib-config": "2.0.3",
83
83
  "@vue/test-utils": "2.4.6",
84
- "cypress": "13.14.2",
84
+ "cypress": "13.15.0",
85
85
  "flush-promises": "1.0.2",
86
- "vite": "5.4.7",
86
+ "vite": "5.4.8",
87
87
  "vue": "3.4.38",
88
88
  "vue-router": "4.4.5"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "@babel/runtime": "^7",
92
- "@fkui/date": "^5.37.0",
92
+ "@fkui/date": "^5.37.1",
93
93
  "@fkui/design": "^5.36.0",
94
- "@fkui/logic": "^5.37.0",
94
+ "@fkui/logic": "^5.37.1",
95
95
  "core-js": "^3.24",
96
96
  "fk-icons": "^4.30.1",
97
97
  "html-validate": ">= 7.9.0",
@@ -109,5 +109,5 @@
109
109
  "node": ">= 20",
110
110
  "npm": ">= 7"
111
111
  },
112
- "gitHead": "8ba82e02a3d8d293ce0e8601424dbd039df44306"
112
+ "gitHead": "82f7f5e33c2ccf22f8190f6ee945dd3baf195ce7"
113
113
  }