@fkui/vue 6.19.0 → 6.19.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.
@@ -7519,7 +7519,7 @@ default: string;
7519
7519
  */
7520
7520
  value: {
7521
7521
  type: ObjectConstructor;
7522
- default: () => {};
7522
+ default(): {};
7523
7523
  };
7524
7524
  /**
7525
7525
  * Include the error list component.
@@ -7583,7 +7583,28 @@ preparedButtons(): FModalButton[];
7583
7583
  onClose(): void;
7584
7584
  onSubmit(): void;
7585
7585
  onCancel(): void;
7586
- }, ComponentOptions, ComponentOptionsMixin, ("submit" | "close" | "cancel")[], "submit" | "close" | "cancel", PublicProps, Readonly<ExtractPropTypes< {
7586
+ }, ComponentOptions, ComponentOptionsMixin, {
7587
+ /**
7588
+ * Event that is dispatched when escape is pressed or when the cancel or close buttons are clicked.
7589
+ * In most use cases the isOpen prop should be set to false when this event is triggered.
7590
+ */
7591
+ cancel(): true;
7592
+ /**
7593
+ * Event that is dispatched when escape is pressed or when the cancel or close buttons are clicked.
7594
+ * In most use cases the isOpen prop should be set to false when this event is triggered.
7595
+ */
7596
+ close(_payload: {
7597
+ reason: string;
7598
+ data?: unknown;
7599
+ }): true;
7600
+ /**
7601
+ * Event that is dispatched when the submit button is is clicked.
7602
+ * The event payload is the data that has been submitted.
7603
+ */
7604
+ submit(_payload: {
7605
+ data: unknown;
7606
+ }): true;
7607
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
7587
7608
  /**
7588
7609
  * Enable fullscreen mode in mobile.
7589
7610
  */
@@ -7622,7 +7643,7 @@ default: string;
7622
7643
  */
7623
7644
  value: {
7624
7645
  type: ObjectConstructor;
7625
- default: () => {};
7646
+ default(): {};
7626
7647
  };
7627
7648
  /**
7628
7649
  * Include the error list component.
@@ -7681,9 +7702,14 @@ required: false;
7681
7702
  default: () => FModalButtonDescriptor[];
7682
7703
  };
7683
7704
  }>> & Readonly<{
7684
- onSubmit?: ((...args: any[]) => any) | undefined;
7685
- onClose?: ((...args: any[]) => any) | undefined;
7686
- onCancel?: ((...args: any[]) => any) | undefined;
7705
+ onSubmit?: ((_payload: {
7706
+ data: unknown;
7707
+ }) => any) | undefined;
7708
+ onClose?: ((_payload: {
7709
+ reason: string;
7710
+ data?: unknown;
7711
+ }) => any) | undefined;
7712
+ onCancel?: (() => any) | undefined;
7687
7713
  }>, {
7688
7714
  value: Record<string, any>;
7689
7715
  size: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fkui/vue",
3
- "version": "6.19.0",
3
+ "version": "6.19.1",
4
4
  "description": "Vue implementation of FKUI components",
5
5
  "keywords": [
6
6
  "fkui",
@@ -60,9 +60,9 @@
60
60
  "unit:watch": "jest --watch"
61
61
  },
62
62
  "peerDependencies": {
63
- "@fkui/date": "^6.19.0",
64
- "@fkui/design": "^6.19.0",
65
- "@fkui/logic": "^6.19.0",
63
+ "@fkui/date": "^6.19.1",
64
+ "@fkui/design": "^6.19.1",
65
+ "@fkui/logic": "^6.19.1",
66
66
  "fk-icons": "^4.30.1",
67
67
  "html-validate": ">= 7.9.0",
68
68
  "vue": "^3.5.0"
@@ -79,5 +79,5 @@
79
79
  "node": ">= 20",
80
80
  "npm": ">= 7"
81
81
  },
82
- "gitHead": "fabd8b6313e8e8ff4191553456ae418b682ec010"
82
+ "gitHead": "722f1b407dd9a8afc9bb3164ed5c085aa85f2ba2"
83
83
  }