@genesislcap/expression-builder 14.408.0 → 14.409.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.
Files changed (41) hide show
  1. package/README.md +24 -2
  2. package/package.json +10 -10
  3. package/docs/api/expression-builder.config.base_logical_combinators.md +0 -16
  4. package/docs/api/expression-builder.config.base_operators.md +0 -16
  5. package/docs/api/expression-builder.config.logical_combinators.md +0 -16
  6. package/docs/api/expression-builder.config.md +0 -67
  7. package/docs/api/expression-builder.config.null_combinator.md +0 -18
  8. package/docs/api/expression-builder.expressionbuilder.config.md +0 -61
  9. package/docs/api/expression-builder.expressionbuilder.dispatchchangeevent.md +0 -59
  10. package/docs/api/expression-builder.expressionbuilder.md +0 -152
  11. package/docs/api/expression-builder.expressionbuilder.model.md +0 -35
  12. package/docs/api/expression-builder.expressionbuilder.styles.md +0 -39
  13. package/docs/api/expression-builder.formatdatestring.md +0 -57
  14. package/docs/api/expression-builder.formatdatetimestring.md +0 -57
  15. package/docs/api/expression-builder.md +0 -149
  16. package/docs/api/expression-builder.styles.md +0 -16
  17. package/docs/api/expression-builder.template.md +0 -16
  18. package/docs/api/expression-builder.types._operator.md +0 -25
  19. package/docs/api/expression-builder.types.binaryoperator.md +0 -20
  20. package/docs/api/expression-builder.types.checkboxinput.md +0 -19
  21. package/docs/api/expression-builder.types.combinator.md +0 -29
  22. package/docs/api/expression-builder.types.config.md +0 -25
  23. package/docs/api/expression-builder.types.customelements.md +0 -48
  24. package/docs/api/expression-builder.types.customstyles.md +0 -32
  25. package/docs/api/expression-builder.types.dateinput.md +0 -20
  26. package/docs/api/expression-builder.types.datetimeinput.md +0 -20
  27. package/docs/api/expression-builder.types.field.md +0 -24
  28. package/docs/api/expression-builder.types.fieldtypes.md +0 -18
  29. package/docs/api/expression-builder.types.group.md +0 -49
  30. package/docs/api/expression-builder.types.md +0 -286
  31. package/docs/api/expression-builder.types.numberinput.md +0 -20
  32. package/docs/api/expression-builder.types.operator.md +0 -18
  33. package/docs/api/expression-builder.types.rule.md +0 -45
  34. package/docs/api/expression-builder.types.selectinput.md +0 -23
  35. package/docs/api/expression-builder.types.styles.md +0 -25
  36. package/docs/api/expression-builder.types.ternararyoperator.md +0 -20
  37. package/docs/api/expression-builder.types.textinput.md +0 -20
  38. package/docs/api/expression-builder.types.uniraryoperator.md +0 -22
  39. package/docs/api/expression-builder.types.variadicoperator.md +0 -20
  40. package/docs/api/index.md +0 -30
  41. package/docs/api-report.md.api.md +0 -268
package/README.md CHANGED
@@ -1,3 +1,25 @@
1
- # Genesis Foundation Expressions
1
+ # @genesislcap/expression-builder
2
2
 
3
- TODO
3
+ Documentation for this package is published on the Genesis docs site:
4
+
5
+ **Docs: [Expression builder](https://docs.genesis.global/docs/develop/client-capabilities/expression-builder/)**
6
+
7
+ ## Installation
8
+
9
+ Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
10
+
11
+ ```json
12
+ {
13
+ "dependencies": {
14
+ "@genesislcap/expression-builder": "latest"
15
+ }
16
+ }
17
+ ```
18
+
19
+ ## License
20
+
21
+ Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
22
+
23
+ ### Licensed components
24
+
25
+ Genesis low-code platform
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/expression-builder",
3
3
  "description": "Genesis Foundation Expression Builder",
4
- "version": "14.408.0",
4
+ "version": "14.409.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -38,16 +38,16 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@genesislcap/foundation-testing": "14.408.0",
42
- "@genesislcap/genx": "14.408.0",
43
- "@genesislcap/rollup-builder": "14.408.0",
44
- "@genesislcap/ts-builder": "14.408.0",
45
- "@genesislcap/uvu-playwright-builder": "14.408.0",
46
- "@genesislcap/vite-builder": "14.408.0",
47
- "@genesislcap/webpack-builder": "14.408.0"
41
+ "@genesislcap/foundation-testing": "14.409.0",
42
+ "@genesislcap/genx": "14.409.0",
43
+ "@genesislcap/rollup-builder": "14.409.0",
44
+ "@genesislcap/ts-builder": "14.409.0",
45
+ "@genesislcap/uvu-playwright-builder": "14.409.0",
46
+ "@genesislcap/vite-builder": "14.409.0",
47
+ "@genesislcap/webpack-builder": "14.409.0"
48
48
  },
49
49
  "dependencies": {
50
- "@genesislcap/web-core": "14.408.0",
50
+ "@genesislcap/web-core": "14.409.0",
51
51
  "rfdc": "1.4.1"
52
52
  },
53
53
  "repository": {
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "customElements": "dist/custom-elements.json",
62
- "gitHead": "26b08831fd001b4ee95c8a0d3364a18c0ec4005b"
62
+ "gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
63
63
  }
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Config](./expression-builder.config.md) &gt; [BASE\_LOGICAL\_COMBINATORS](./expression-builder.config.base_logical_combinators.md)
4
-
5
- ## Config.BASE\_LOGICAL\_COMBINATORS variable
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Basic `AND` and `OR` logical combinators which can be used in the model config.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- BASE_LOGICAL_COMBINATORS: Combinator[]
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Config](./expression-builder.config.md) &gt; [BASE\_OPERATORS](./expression-builder.config.base_operators.md)
4
-
5
- ## Config.BASE\_OPERATORS variable
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- BASE_OPERATORS: Operator[]
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Config](./expression-builder.config.md) &gt; [LOGICAL\_COMBINATORS](./expression-builder.config.logical_combinators.md)
4
-
5
- ## Config.LOGICAL\_COMBINATORS variable
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- A set of boolean logic combinators which configure the expression builder to produce boolean expressions.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- LOGICAL_COMBINATORS: Combinator[]
16
- ```
@@ -1,67 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Config](./expression-builder.config.md)
4
-
5
- ## Config namespace
6
-
7
- ## Variables
8
-
9
- <table><thead><tr><th>
10
-
11
- Variable
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [BASE\_LOGICAL\_COMBINATORS](./expression-builder.config.base_logical_combinators.md)
23
-
24
-
25
- </td><td>
26
-
27
- **_(BETA)_** Basic `AND` and `OR` logical combinators which can be used in the model config.
28
-
29
-
30
- </td></tr>
31
- <tr><td>
32
-
33
- [BASE\_OPERATORS](./expression-builder.config.base_operators.md)
34
-
35
-
36
- </td><td>
37
-
38
- **_(ALPHA)_** \*
39
-
40
-
41
- </td></tr>
42
- <tr><td>
43
-
44
- [LOGICAL\_COMBINATORS](./expression-builder.config.logical_combinators.md)
45
-
46
-
47
- </td><td>
48
-
49
- **_(BETA)_** A set of boolean logic combinators which configure the expression builder to produce boolean expressions.
50
-
51
-
52
- </td></tr>
53
- <tr><td>
54
-
55
- [NULL\_COMBINATOR](./expression-builder.config.null_combinator.md)
56
-
57
-
58
- </td><td>
59
-
60
- **_(BETA)_** A combinator which has a null action.
61
-
62
- If configured as the only combinator then it configures the expression builder to only create a single rule.
63
-
64
-
65
- </td></tr>
66
- </tbody></table>
67
-
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Config](./expression-builder.config.md) &gt; [NULL\_COMBINATOR](./expression-builder.config.null_combinator.md)
4
-
5
- ## Config.NULL\_COMBINATOR variable
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- A combinator which has a null action.
11
-
12
- If configured as the only combinator then it configures the expression builder to only create a single rule.
13
-
14
- **Signature:**
15
-
16
- ```typescript
17
- NULL_COMBINATOR: Combinator
18
- ```
@@ -1,61 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [ExpressionBuilder](./expression-builder.expressionbuilder.md) &gt; [config](./expression-builder.expressionbuilder.config.md)
4
-
5
- ## ExpressionBuilder.config property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- config - `Types.Config` the configuration which is required to be set for the expression builder. All properties are defined under this single object to enforce that they're kept in sync with one another.
11
-
12
- If you want to set the expression of the expression builder you should do it via the `model` property on this object.
13
-
14
- If you're using a child class of this component with a specific model implementation you likely \*don't\* want to set this property directly. See example 3.
15
-
16
- **Signature:**
17
-
18
- ```typescript
19
- config: Config;
20
- ```
21
-
22
- ## Example 1
23
-
24
- Configuring the basic elements required by an expression builder instance
25
-
26
- ```ts
27
- const config: Types.Config = {
28
- fields: ...,
29
- combinators: ...,
30
- operators: ...,
31
- };
32
- document.querySelector('expression-builder').config = config;
33
- ```
34
-
35
- ## Example 2
36
-
37
- Configuring the basic elements required by an expression builder instance, as well as inputting a model to hydrate
38
-
39
- ```ts
40
- const config: Types.Config = {
41
- fields: ...,
42
- combinators: ...,
43
- operators: ...,
44
- model: ...,
45
- };
46
- document.querySelector('expression-builder').config = config;
47
- ```
48
-
49
- ## Example 3
50
-
51
- You may create your own child of the expression builder which automatically defines some of the properties, such as creating a rule builder which defines boolean operators and combinators. In this case you should use your own property name, and on change apply the user and your configurations back to the config property.
52
-
53
- ```ts
54
- const config: MyTypes.RuleConfig = {
55
- operators: ...,
56
- };
57
- // In the implementation of RuleExpressionBuilder it should listen to ruleConfigChanged and
58
- apply the missing combinators and opreators back to the config along with the user's configuration
59
- document.querySelector('rule-expression-builder').ruleConfig = config;
60
- ```
61
-
@@ -1,59 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [ExpressionBuilder](./expression-builder.expressionbuilder.md) &gt; [dispatchChangeEvent](./expression-builder.expressionbuilder.dispatchchangeevent.md)
4
-
5
- ## ExpressionBuilder.dispatchChangeEvent() method
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Dispatches the provided model to the DOM.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- protected dispatchChangeEvent(group: Group): void;
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- group
39
-
40
-
41
- </td><td>
42
-
43
- [Group](./expression-builder.types.group.md)
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td></tr>
50
- </tbody></table>
51
-
52
- **Returns:**
53
-
54
- void
55
-
56
- ## Remarks
57
-
58
- Override this to change the shape of model the component returns
59
-
@@ -1,152 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [ExpressionBuilder](./expression-builder.expressionbuilder.md)
4
-
5
- ## ExpressionBuilder class
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Top level component to allow the user to build expressions. It produces a generic payload which doesn't have any system by itself to evaluate or execute the built expression.
11
-
12
- The basics required to work with this component:
13
-
14
- [ExpressionBuilder.config](./expression-builder.expressionbuilder.config.md) property to configure and input data and models into the component.
15
-
16
- \_Event\_ change - `Types.Group` emits the model configuration on change. If you create a child component of the expression builder where you want to use a different (e.g. domain specific) model then it will likely override then emit event and instead emit it's own model. To check the underlying `Types.Group` model check the [ExpressionBuilder.model](./expression-builder.expressionbuilder.model.md) property.
17
-
18
- **Signature:**
19
-
20
- ```typescript
21
- export declare class ExpressionBuilder extends GenesisElement implements MetadataProvider
22
- ```
23
- **Extends:** GenesisElement
24
-
25
- **Implements:** MetadataProvider
26
-
27
- ## Properties
28
-
29
- <table><thead><tr><th>
30
-
31
- Property
32
-
33
-
34
- </th><th>
35
-
36
- Modifiers
37
-
38
-
39
- </th><th>
40
-
41
- Type
42
-
43
-
44
- </th><th>
45
-
46
- Description
47
-
48
-
49
- </th></tr></thead>
50
- <tbody><tr><td>
51
-
52
- [config](./expression-builder.expressionbuilder.config.md)
53
-
54
-
55
- </td><td>
56
-
57
-
58
- </td><td>
59
-
60
- Config
61
-
62
-
63
- </td><td>
64
-
65
- **_(BETA)_** config - `Types.Config` the configuration which is required to be set for the expression builder. All properties are defined under this single object to enforce that they're kept in sync with one another.
66
-
67
- If you want to set the expression of the expression builder you should do it via the `model` property on this object.
68
-
69
- If you're using a child class of this component with a specific model implementation you likely \*don't\* want to set this property directly. See example 3.
70
-
71
-
72
- </td></tr>
73
- <tr><td>
74
-
75
- [model](./expression-builder.expressionbuilder.model.md)
76
-
77
-
78
- </td><td>
79
-
80
-
81
- </td><td>
82
-
83
- ModelGroup \| null
84
-
85
-
86
- </td><td>
87
-
88
- **_(BETA)_** model - `Types.Group` the current model which completely describes the state of the component.
89
-
90
- \*IMPORTANT\* you should not set this yourself via this property directly, you should always set it via the model property on the [ExpressionBuilder.config](./expression-builder.expressionbuilder.config.md) block.
91
-
92
- You may want to read from this variable to get the most up to date state, for example if you create a child component which has a model which isn't valid for every single state (e.g. requires a complete rule) you can check this underlying model to verify what field or operator is selected.
93
-
94
-
95
- </td></tr>
96
- <tr><td>
97
-
98
- [styles?](./expression-builder.expressionbuilder.styles.md)
99
-
100
-
101
- </td><td>
102
-
103
-
104
- </td><td>
105
-
106
- [Styles](./expression-builder.types.styles.md)
107
-
108
-
109
- </td><td>
110
-
111
- **_(BETA)_** _(Optional)_ styles - `Types.Styles` optional configuration which allows you to set custom element tag names to be used, as well as custom css to be inserted into the shadow DOM.
112
-
113
-
114
- </td></tr>
115
- </tbody></table>
116
-
117
- ## Methods
118
-
119
- <table><thead><tr><th>
120
-
121
- Method
122
-
123
-
124
- </th><th>
125
-
126
- Modifiers
127
-
128
-
129
- </th><th>
130
-
131
- Description
132
-
133
-
134
- </th></tr></thead>
135
- <tbody><tr><td>
136
-
137
- [dispatchChangeEvent(group)](./expression-builder.expressionbuilder.dispatchchangeevent.md)
138
-
139
-
140
- </td><td>
141
-
142
- `protected`
143
-
144
-
145
- </td><td>
146
-
147
- **_(BETA)_** Dispatches the provided model to the DOM.
148
-
149
-
150
- </td></tr>
151
- </tbody></table>
152
-
@@ -1,35 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [ExpressionBuilder](./expression-builder.expressionbuilder.md) &gt; [model](./expression-builder.expressionbuilder.model.md)
4
-
5
- ## ExpressionBuilder.model property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- model - `Types.Group` the current model which completely describes the state of the component.
11
-
12
- \*IMPORTANT\* you should not set this yourself via this property directly, you should always set it via the model property on the [ExpressionBuilder.config](./expression-builder.expressionbuilder.config.md) block.
13
-
14
- You may want to read from this variable to get the most up to date state, for example if you create a child component which has a model which isn't valid for every single state (e.g. requires a complete rule) you can check this underlying model to verify what field or operator is selected.
15
-
16
- **Signature:**
17
-
18
- ```typescript
19
- model: ModelGroup | null;
20
- ```
21
-
22
- ## Example
23
-
24
-
25
- ```ts
26
- const model = document.querySelector('expression-builder');
27
- // Once you have the model you can read it to check the applied config. While the primary use should be checking the updated model via
28
- the emited change event, you can use this to check more specific changes that a domain specific model might not.
29
-
30
- For example, imagine a RulExpressionBuilder which is an implementation specifically for a boolean logic expression. That component may not
31
- model a non-complete rule (a rule without a field, and operator, and value). In that case when it emits the event the payload will only change
32
- when the user has completely configured a new rule. But if you need to catch cases earlier when they've changed the field but before they've
33
- changed the value you can check the model here.
34
- ```
35
-
@@ -1,39 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [ExpressionBuilder](./expression-builder.expressionbuilder.md) &gt; [styles](./expression-builder.expressionbuilder.styles.md)
4
-
5
- ## ExpressionBuilder.styles property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- styles - `Types.Styles` optional configuration which allows you to set custom element tag names to be used, as well as custom css to be inserted into the shadow DOM.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- styles?: Styles;
16
- ```
17
-
18
- ## Example
19
-
20
- Bare bones example of using a custom select component
21
-
22
- ```ts
23
- const styles: Types.Styles = {
24
- customElements: {
25
- select: 'rapid-select',
26
- },
27
- styles: {
28
- // If you want to customise your `rapid-select` then you can do it here. The select input
29
- // is used in the value, field, and operator component, so you should set the styles for all of them for real
30
- value: `
31
- rapid-select {
32
- max-width: 180px;
33
- }
34
- `
35
- }
36
- }
37
- document.querySelector('expression-builder').styles = styles;
38
- ```
39
-
@@ -1,57 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [formatDateString](./expression-builder.formatdatestring.md)
4
-
5
- ## formatDateString() function
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Gets the string representation from a `Date` which is the format a `date` input uses. `yyyy-mm-dd`<!-- -->. Uses UTC methods to ensure consistent output regardless of timezone.
11
-
12
- Used to convert a javascript date object into the required string format expected by the expression builder.
13
-
14
- **Signature:**
15
-
16
- ```typescript
17
- formatDateString: (date: Date) => string
18
- ```
19
-
20
- ## Parameters
21
-
22
- <table><thead><tr><th>
23
-
24
- Parameter
25
-
26
-
27
- </th><th>
28
-
29
- Type
30
-
31
-
32
- </th><th>
33
-
34
- Description
35
-
36
-
37
- </th></tr></thead>
38
- <tbody><tr><td>
39
-
40
- date
41
-
42
-
43
- </td><td>
44
-
45
- Date
46
-
47
-
48
- </td><td>
49
-
50
-
51
- </td></tr>
52
- </tbody></table>
53
-
54
- **Returns:**
55
-
56
- string
57
-
@@ -1,57 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [formatDateTimeString](./expression-builder.formatdatetimestring.md)
4
-
5
- ## formatDateTimeString() function
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Gets the string representation from a `Date` which is the format a `datetime-local` input uses. `yyyy-mm-ddThh:mm:ss`<!-- -->. Uses UTC methods to ensure consistent output regardless of timezone.
11
-
12
- Used to convert a javascript date object into the required string format expected by the expression builder.
13
-
14
- **Signature:**
15
-
16
- ```typescript
17
- formatDateTimeString: (date: Date) => string
18
- ```
19
-
20
- ## Parameters
21
-
22
- <table><thead><tr><th>
23
-
24
- Parameter
25
-
26
-
27
- </th><th>
28
-
29
- Type
30
-
31
-
32
- </th><th>
33
-
34
- Description
35
-
36
-
37
- </th></tr></thead>
38
- <tbody><tr><td>
39
-
40
- date
41
-
42
-
43
- </td><td>
44
-
45
- Date
46
-
47
-
48
- </td><td>
49
-
50
-
51
- </td></tr>
52
- </tbody></table>
53
-
54
- **Returns:**
55
-
56
- string
57
-