@rebilly/revel 6.9.0 → 6.10.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [6.10.1](https://github.com/Rebilly/rebilly/compare/revel-v6.10.0...revel-v6.10.1) (2024-01-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **revel:** Fix `RGrid` props, types and component call ([#2903](https://github.com/Rebilly/rebilly/issues/2903)) ([e067ea8](https://github.com/Rebilly/rebilly/commit/e067ea8848aa7f708e6942e7f22d55b2bea1845c))
7
+
8
+ ## [6.10.0](https://github.com/Rebilly/rebilly/compare/revel-v6.9.0...revel-v6.10.0) (2024-01-15)
9
+
10
+
11
+ ### Features
12
+
13
+ * **billing-portal:** Setup change seats modal ([#2874](https://github.com/Rebilly/rebilly/issues/2874)) ([59c63f6](https://github.com/Rebilly/rebilly/commit/59c63f6b27e25fee0efb38d2b2a5aad6bc2811d3))
14
+
1
15
  ## [6.9.0](https://github.com/Rebilly/rebilly/compare/revel-v6.8.0...revel-v6.9.0) (2024-01-15)
2
16
 
3
17
 
@@ -4,11 +4,11 @@ interface Column extends GridColumn {
4
4
  [key: string]: unknown;
5
5
  name: string;
6
6
  renderOptions?: Record<string, unknown>;
7
- class: Record<string, boolean>;
8
- style: Record<string, unknown>;
9
- highlight: boolean;
7
+ class?: Record<string, boolean>;
8
+ style?: Record<string, unknown>;
9
+ highlight?: boolean;
10
10
  header?: (column: unknown) => string;
11
- label: string;
11
+ label?: string;
12
12
  }
13
13
  declare const _default: import("vue").DefineComponent<{
14
14
  /**
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
38
38
  * Returns some data to be rendered by the default scoped slot
39
39
  */
40
40
  provider: {
41
- type: (ArrayConstructor | FunctionConstructor | PromiseConstructor)[];
41
+ type: PropType<() => object[] | object[] | Promise<object[]>>;
42
42
  required: true;
43
43
  };
44
44
  /**
@@ -68,10 +68,10 @@ declare const _default: import("vue").DefineComponent<{
68
68
  };
69
69
  column: {
70
70
  type: PropType<GridColumn>;
71
- required: true; /**
72
- * Specify if the grid has frozen (fixed) left column
73
- */
74
- };
71
+ required: true;
72
+ }; /**
73
+ * Specify if the grid has frozen (fixed) left column
74
+ */
75
75
  }, unknown, unknown, {
76
76
  badgeType(): unknown;
77
77
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -85,10 +85,10 @@ declare const _default: import("vue").DefineComponent<{
85
85
  };
86
86
  column: {
87
87
  type: PropType<GridColumn>;
88
- required: true; /**
89
- * Specify if the grid has frozen (fixed) left column
90
- */
91
- };
88
+ required: true;
89
+ }; /**
90
+ * Specify if the grid has frozen (fixed) left column
91
+ */
92
92
  }>>, {}> | import("vue").DefineComponent<{
93
93
  column: {
94
94
  type: PropType<import("./columnTypes/types").ButtonColumn>;
@@ -100,10 +100,10 @@ declare const _default: import("vue").DefineComponent<{
100
100
  };
101
101
  value: {
102
102
  type: StringConstructor;
103
- default: null; /**
104
- * Specify the columns
105
- */
106
- };
103
+ default: null;
104
+ }; /**
105
+ * Specify the columns
106
+ */
107
107
  }, unknown, unknown, {
108
108
  buttons(): import("./columnTypes/types").ButtonOptions[];
109
109
  }, {
@@ -119,10 +119,10 @@ declare const _default: import("vue").DefineComponent<{
119
119
  };
120
120
  value: {
121
121
  type: StringConstructor;
122
- default: null; /**
123
- * Specify the columns
124
- */
125
- };
122
+ default: null;
123
+ }; /**
124
+ * Specify the columns
125
+ */
126
126
  }>>, {
127
127
  value: string;
128
128
  }> | import("vue").DefineComponent<{
@@ -213,7 +213,7 @@ declare const _default: import("vue").DefineComponent<{
213
213
  * Returns some data to be rendered by the default scoped slot
214
214
  */
215
215
  provider: {
216
- type: (ArrayConstructor | FunctionConstructor | PromiseConstructor)[];
216
+ type: PropType<() => object[] | object[] | Promise<object[]>>;
217
217
  required: true;
218
218
  };
219
219
  /**
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
54
54
  };
55
55
  classes(): Record<string, boolean>;
56
56
  }, {
57
- submit(): void;
57
+ submit(data?: object): void;
58
58
  close(): void;
59
59
  /**
60
60
  * Assures that the modal container is focused Or at least
package/dist/revel.mjs CHANGED
@@ -11108,7 +11108,7 @@ const nL = /* @__PURE__ */ Z(tL, [["render", AL]]), aL = {
11108
11108
  }
11109
11109
  }, rL = U({
11110
11110
  components: {
11111
- Repeater: C3
11111
+ RRepeater: C3
11112
11112
  },
11113
11113
  compatConfig: {
11114
11114
  MODE: 3
@@ -11825,8 +11825,8 @@ const _L = /* @__PURE__ */ Z(vL, [["render", kL]]), IL = U({
11825
11825
  this.leave();
11826
11826
  },
11827
11827
  methods: {
11828
- submit() {
11829
- this.$emit("submit");
11828
+ submit(M) {
11829
+ this.$emit("submit", M);
11830
11830
  },
11831
11831
  close() {
11832
11832
  this.$emit("close");
@@ -11915,10 +11915,16 @@ function GL(M, b, z, p, o, O) {
11915
11915
  ]),
11916
11916
  m("div", jL, [
11917
11917
  M.$slots["left-actions"] ? (r(), d("div", YL, [
11918
- X(M.$slots, "left-actions")
11918
+ X(M.$slots, "left-actions", {
11919
+ submit: M.submit,
11920
+ close: M.close
11921
+ })
11919
11922
  ])) : T("", !0),
11920
11923
  m("div", UL, [
11921
- X(M.$slots, "right-actions", {}, () => [
11924
+ X(M.$slots, "right-actions", {
11925
+ submit: M.submit,
11926
+ close: M.close
11927
+ }, () => [
11922
11928
  x(e, {
11923
11929
  class: I({ "r-inline-3": M.$slots.actions }),
11924
11930
  "aria-label": "close",
@@ -11929,7 +11935,10 @@ function GL(M, b, z, p, o, O) {
11929
11935
  ]),
11930
11936
  _: 1
11931
11937
  }, 8, ["class", "onClick"]),
11932
- X(M.$slots, "actions")
11938
+ X(M.$slots, "actions", {
11939
+ submit: M.submit,
11940
+ close: M.close
11941
+ })
11933
11942
  ])
11934
11943
  ])
11935
11944
  ])