@fkui/vue 5.45.0 → 5.46.0

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.
@@ -84,7 +84,44 @@ status: "default" | "warning" | "error" | "success" | "info";
84
84
  inverted: boolean;
85
85
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
86
86
 
87
- declare const __VLS_component_2: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
87
+ declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
88
+ /**
89
+ * Element to focus on when card is invalid. Set when using validation.
90
+ */
91
+ focusRef: {
92
+ type: PropType<HTMLElement | null>;
93
+ required: false;
94
+ default: null;
95
+ };
96
+ /**
97
+ * Optional id (generated by default).
98
+ */
99
+ id: {
100
+ type: StringConstructor;
101
+ required: false;
102
+ default: () => string;
103
+ };
104
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
105
+ /**
106
+ * Element to focus on when card is invalid. Set when using validation.
107
+ */
108
+ focusRef: {
109
+ type: PropType<HTMLElement | null>;
110
+ required: false;
111
+ default: null;
112
+ };
113
+ /**
114
+ * Optional id (generated by default).
115
+ */
116
+ id: {
117
+ type: StringConstructor;
118
+ required: false;
119
+ default: () => string;
120
+ };
121
+ }>> & Readonly<{}>, {
122
+ id: string;
123
+ focusRef: HTMLElement | null;
124
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
88
125
 
89
126
  declare const __VLS_component_3: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
90
127
  close: () => any;
@@ -120,8 +157,15 @@ declare function __VLS_template_2(): {
120
157
  header?(_: {
121
158
  headingSlotClass: string;
122
159
  }): any;
160
+ 'error-message'?(_: {
161
+ hasError: boolean;
162
+ validationMessage: string;
163
+ }): any;
123
164
  default?(_: {}): any;
124
- footer?(_: {}): any;
165
+ footer?(_: {
166
+ hasError: boolean;
167
+ validationMessage: string;
168
+ }): any;
125
169
  };
126
170
  refs: {};
127
171
  rootEl: HTMLDivElement;
@@ -1002,7 +1046,6 @@ export declare interface ExpandableTable {
1002
1046
  isExpanded(row: ListItem): boolean;
1003
1047
  rowAriaExpanded(row: ListItem): boolean | undefined;
1004
1048
  expandableRowClasses(row: ListItem, index: number): string[];
1005
- expandableColumnClasses(column: FTableColumnData, index: number): string[];
1006
1049
  getExpandableDescribedby(row: ListItem): string | undefined;
1007
1050
  expandableRows(row: ListItem): ListArray | undefined;
1008
1051
  hasExpandableContent(row: ListItem): boolean;
@@ -2167,6 +2210,7 @@ resizeObserver: ResizeObserver | undefined;
2167
2210
  internalHideWeekNumbers: boolean;
2168
2211
  showShortWeekdays: boolean;
2169
2212
  }, {
2213
+ ariaLabel(): string;
2170
2214
  totalCols(): number;
2171
2215
  weeks(): Array<{
2172
2216
  week: number;
@@ -5735,6 +5779,7 @@ resizeObserver: ResizeObserver | undefined;
5735
5779
  internalHideWeekNumbers: boolean;
5736
5780
  showShortWeekdays: boolean;
5737
5781
  }, {
5782
+ ariaLabel(): string;
5738
5783
  totalCols(): number;
5739
5784
  weeks(): Array<{
5740
5785
  week: number;
@@ -10049,7 +10094,25 @@ type: PropType<ListArray | undefined>;
10049
10094
  required: false;
10050
10095
  default: undefined;
10051
10096
  };
10052
- }>, FSortFilterDatasetInterface & ActivateItemInterface & ExpandableTable, FInteractiveTableData, {
10097
+ /**
10098
+ * Enable showing the active row.
10099
+ */
10100
+ showActive: {
10101
+ type: BooleanConstructor;
10102
+ required: false;
10103
+ default: boolean;
10104
+ };
10105
+ /**
10106
+ * V-model will bind to value containing the current active row.
10107
+ */
10108
+ active: {
10109
+ type: PropType<ListItem | undefined>;
10110
+ required: false;
10111
+ default: () => undefined;
10112
+ };
10113
+ }>, FSortFilterDatasetInterface & ActivateItemInterface & ExpandableTable, FInteractiveTableData & {
10114
+ tbodyKey: number;
10115
+ }, {
10053
10116
  hasCaption(): boolean;
10054
10117
  hasCheckboxDescription(): boolean;
10055
10118
  isEmpty(): boolean;
@@ -10079,7 +10142,9 @@ callbackSortableColumns(columnNames: string[]): void;
10079
10142
  callbackAfterItemAdd(item: ListItem): void;
10080
10143
  callbackBeforeItemDelete(item: ListItem): void;
10081
10144
  escapeNewlines(value: string): string;
10082
- }, ComponentOptions, ComponentOptionsMixin, ("change" | "click" | "select" | "collapse" | "update:modelValue" | "expand" | "update" | "unselect")[], "change" | "click" | "select" | "collapse" | "update:modelValue" | "expand" | "update" | "unselect", PublicProps, Readonly<ExtractPropTypes< {
10145
+ updateActiveRowFromVModel(): void;
10146
+ setActiveRow(row: ListItem | undefined): void;
10147
+ }, ComponentOptions, ComponentOptionsMixin, ("change" | "click" | "select" | "collapse" | "update:modelValue" | "expand" | "update" | "unselect" | "update:active")[], "change" | "click" | "select" | "collapse" | "update:modelValue" | "expand" | "update" | "unselect" | "update:active", PublicProps, Readonly<ExtractPropTypes< {
10083
10148
  /**
10084
10149
  * The rows to be listed.
10085
10150
  * The rows will be listed in the given array order.
@@ -10155,6 +10220,22 @@ type: PropType<ListArray | undefined>;
10155
10220
  required: false;
10156
10221
  default: undefined;
10157
10222
  };
10223
+ /**
10224
+ * Enable showing the active row.
10225
+ */
10226
+ showActive: {
10227
+ type: BooleanConstructor;
10228
+ required: false;
10229
+ default: boolean;
10230
+ };
10231
+ /**
10232
+ * V-model will bind to value containing the current active row.
10233
+ */
10234
+ active: {
10235
+ type: PropType<ListItem | undefined>;
10236
+ required: false;
10237
+ default: () => undefined;
10238
+ };
10158
10239
  }>> & Readonly<{
10159
10240
  onChange?: ((...args: any[]) => any) | undefined;
10160
10241
  onClick?: ((...args: any[]) => any) | undefined;
@@ -10164,6 +10245,7 @@ onUpdate?: ((...args: any[]) => any) | undefined;
10164
10245
  onCollapse?: ((...args: any[]) => any) | undefined;
10165
10246
  onExpand?: ((...args: any[]) => any) | undefined;
10166
10247
  onUnselect?: ((...args: any[]) => any) | undefined;
10248
+ "onUpdate:active"?: ((...args: any[]) => any) | undefined;
10167
10249
  }>, {
10168
10250
  scroll: TableScroll;
10169
10251
  modelValue: ListArray | undefined;
@@ -10172,6 +10254,8 @@ hover: boolean;
10172
10254
  expandableAttribute: string;
10173
10255
  expandableDescribedby: string;
10174
10256
  selectable: boolean;
10257
+ showActive: boolean;
10258
+ active: UnknownItem | undefined;
10175
10259
  }, {}, {
10176
10260
  FCheckboxField: DefineComponent<ExtractPropTypes< {
10177
10261
  disabled: {
@@ -11834,9 +11918,9 @@ onClose?: ((...args: any[]) => any) | undefined;
11834
11918
  }>, {
11835
11919
  anchor: HTMLElement | undefined;
11836
11920
  modelValue: string;
11921
+ ariaLabel: string;
11837
11922
  focusedItem: string;
11838
11923
  enableKeyboardNavigation: boolean;
11839
- ariaLabel: string;
11840
11924
  selectedMenuItemScreenReaderText: string;
11841
11925
  }, {}, {
11842
11926
  IPopup: DefineComponent<ExtractPropTypes< {
@@ -18072,7 +18156,7 @@ required: false;
18072
18156
  default: FTableColumnType;
18073
18157
  validator(value: string): value is FTableColumnType;
18074
18158
  };
18075
- }>, FTableInterface, {}, {
18159
+ }>, Omit<FTableInterface, "textFieldTableMode">, {}, {
18076
18160
  classes(): string[];
18077
18161
  scope(): "row" | null;
18078
18162
  tagName(): "td" | "th";
@@ -19338,7 +19422,12 @@ export { FValidationFormAction as FWizardStepAction }
19338
19422
  /**
19339
19423
  * @public
19340
19424
  */
19341
- export declare type FValidationFormCallback = () => void | FValidationFormAction | Promise<FValidationFormAction> | Promise<void>;
19425
+ export declare type FValidationFormCallback = () => FValidationFormResult;
19426
+
19427
+ /**
19428
+ * @public
19429
+ */
19430
+ export declare type FValidationFormResult = void | FValidationFormAction | Promise<FValidationFormAction> | Promise<void>;
19342
19431
 
19343
19432
  export declare const FValidationGroup: DefineComponent<ExtractPropTypes< {
19344
19433
  /**
@@ -19505,7 +19594,7 @@ required: true;
19505
19594
  * before allowing navigation to the next step.
19506
19595
  */
19507
19596
  beforeNext: {
19508
- type: PropType<FValidationFormCallback>;
19597
+ type: PropType<FWizardValidationCallback>;
19509
19598
  required: false;
19510
19599
  default(): void;
19511
19600
  };
@@ -19518,7 +19607,7 @@ default(): void;
19518
19607
  * When cancelled, the consumer is responsible to indicate why this happened.
19519
19608
  */
19520
19609
  beforeValidation: {
19521
- type: PropType<FValidationFormCallback>;
19610
+ type: PropType<FWizardValidationCallback>;
19522
19611
  required: false;
19523
19612
  default(): void;
19524
19613
  };
@@ -19555,6 +19644,8 @@ onCancel(): void;
19555
19644
  */
19556
19645
  beforeAnimation(open: boolean): Promise<void>;
19557
19646
  afterAnimation(open: boolean): Promise<void>;
19647
+ beforeNextWrapper(): FValidationFormResult;
19648
+ beforeValidationWrapper(): FValidationFormResult;
19558
19649
  }, ComponentOptions, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
19559
19650
  title: {
19560
19651
  type: StringConstructor;
@@ -19570,7 +19661,7 @@ required: true;
19570
19661
  * before allowing navigation to the next step.
19571
19662
  */
19572
19663
  beforeNext: {
19573
- type: PropType<FValidationFormCallback>;
19664
+ type: PropType<FWizardValidationCallback>;
19574
19665
  required: false;
19575
19666
  default(): void;
19576
19667
  };
@@ -19583,7 +19674,7 @@ default(): void;
19583
19674
  * When cancelled, the consumer is responsible to indicate why this happened.
19584
19675
  */
19585
19676
  beforeValidation: {
19586
- type: PropType<FValidationFormCallback>;
19677
+ type: PropType<FWizardValidationCallback>;
19587
19678
  required: false;
19588
19679
  default(): void;
19589
19680
  };
@@ -19596,9 +19687,9 @@ required: false;
19596
19687
  default: boolean;
19597
19688
  };
19598
19689
  }>> & Readonly<{}>, {
19599
- beforeValidation: FValidationFormCallback;
19690
+ beforeValidation: FWizardValidationCallback;
19600
19691
  useErrorList: boolean;
19601
- beforeNext: FValidationFormCallback;
19692
+ beforeNext: FWizardValidationCallback;
19602
19693
  }, {}, {
19603
19694
  IAnimateExpand: DefineComponent<ExtractPropTypes< {
19604
19695
  animate: {
@@ -20121,6 +20212,20 @@ export declare interface FWizardStepDefinition {
20121
20212
  currentOpen: StepNumber | -1;
20122
20213
  }
20123
20214
 
20215
+ /**
20216
+ * @public
20217
+ */
20218
+ export declare type FWizardValidationCallback = (wizardData?: FWizardValidationData) => FValidationFormResult;
20219
+
20220
+ /**
20221
+ * @public
20222
+ */
20223
+ export declare interface FWizardValidationData {
20224
+ key: FWizardKey;
20225
+ totalSteps: number;
20226
+ stepNumber: number;
20227
+ }
20228
+
20124
20229
  /* Excluded from this release type: getAbsolutePosition */
20125
20230
 
20126
20231
  /**
@@ -20496,6 +20601,7 @@ resizeObserver: ResizeObserver | undefined;
20496
20601
  internalHideWeekNumbers: boolean;
20497
20602
  showShortWeekdays: boolean;
20498
20603
  }, {
20604
+ ariaLabel(): string;
20499
20605
  totalCols(): number;
20500
20606
  weeks(): Array<{
20501
20607
  week: number;
@@ -20546,6 +20652,7 @@ resizeObserver: ResizeObserver | undefined;
20546
20652
  internalHideWeekNumbers: boolean;
20547
20653
  showShortWeekdays: boolean;
20548
20654
  }, {
20655
+ ariaLabel(): string;
20549
20656
  totalCols(): number;
20550
20657
  weeks(): Array<{
20551
20658
  week: number;
@@ -21382,9 +21489,9 @@ onClose?: ((...args: any[]) => any) | undefined;
21382
21489
  }>, {
21383
21490
  anchor: HTMLElement | undefined;
21384
21491
  modelValue: string;
21492
+ ariaLabel: string;
21385
21493
  focusedItem: string;
21386
21494
  enableKeyboardNavigation: boolean;
21387
- ariaLabel: string;
21388
21495
  selectedMenuItemScreenReaderText: string;
21389
21496
  }, {}, {
21390
21497
  IPopup: DefineComponent<ExtractPropTypes< {
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.48.1"
8
+ "packageVersion": "7.49.1"
9
9
  }
10
10
  ]
11
11
  }
@@ -83,10 +83,6 @@ module.exports = defineMetadata({
83
83
  slots: ["default"],
84
84
  },
85
85
 
86
- "i-calendar-month-grid#default": {
87
- permittedContent: ["button"],
88
- },
89
-
90
86
  "i-calendar-navbar": {
91
87
  flow: true,
92
88
  phrasing: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fkui/vue",
3
- "version": "5.45.0",
3
+ "version": "5.46.0",
4
4
  "description": "Vue implementation of FKUI components",
5
5
  "keywords": [
6
6
  "fkui",
@@ -79,5 +79,5 @@
79
79
  "node": ">= 20",
80
80
  "npm": ">= 7"
81
81
  },
82
- "gitHead": "8acf0ec98104671d8411346256fa664abf2e94af"
82
+ "gitHead": "fd747e9381e19ec80ac01f58fba96c10e4eda7c3"
83
83
  }