@genesislcap/foundation-forms 14.70.6 → 14.70.8

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.
@@ -118,6 +118,117 @@
118
118
  "name": "reset",
119
119
  "description": "Reset the form state",
120
120
  "privacy": "public"
121
+ },
122
+ {
123
+ "kind": "field",
124
+ "name": "_presentation",
125
+ "type": {
126
+ "text": "ComponentPresentation | null | undefined"
127
+ },
128
+ "privacy": "private",
129
+ "default": "void 0",
130
+ "inheritedFrom": {
131
+ "name": "FoundationElement",
132
+ "module": "src/foundation-element/foundation-element.ts"
133
+ }
134
+ },
135
+ {
136
+ "kind": "field",
137
+ "name": "$presentation",
138
+ "type": {
139
+ "text": "ComponentPresentation | null"
140
+ },
141
+ "privacy": "public",
142
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
143
+ "inheritedFrom": {
144
+ "name": "FoundationElement",
145
+ "module": "src/foundation-element/foundation-element.ts"
146
+ }
147
+ },
148
+ {
149
+ "kind": "field",
150
+ "name": "template",
151
+ "type": {
152
+ "text": "ElementViewTemplate | void | null"
153
+ },
154
+ "privacy": "public",
155
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
156
+ "inheritedFrom": {
157
+ "name": "FoundationElement",
158
+ "module": "src/foundation-element/foundation-element.ts"
159
+ }
160
+ },
161
+ {
162
+ "kind": "method",
163
+ "name": "templateChanged",
164
+ "privacy": "protected",
165
+ "return": {
166
+ "type": {
167
+ "text": "void"
168
+ }
169
+ },
170
+ "inheritedFrom": {
171
+ "name": "FoundationElement",
172
+ "module": "src/foundation-element/foundation-element.ts"
173
+ }
174
+ },
175
+ {
176
+ "kind": "field",
177
+ "name": "styles",
178
+ "type": {
179
+ "text": "ElementStyles | void | null"
180
+ },
181
+ "privacy": "public",
182
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
183
+ "inheritedFrom": {
184
+ "name": "FoundationElement",
185
+ "module": "src/foundation-element/foundation-element.ts"
186
+ }
187
+ },
188
+ {
189
+ "kind": "method",
190
+ "name": "stylesChanged",
191
+ "privacy": "protected",
192
+ "return": {
193
+ "type": {
194
+ "text": "void"
195
+ }
196
+ },
197
+ "inheritedFrom": {
198
+ "name": "FoundationElement",
199
+ "module": "src/foundation-element/foundation-element.ts"
200
+ }
201
+ },
202
+ {
203
+ "kind": "method",
204
+ "name": "compose",
205
+ "privacy": "public",
206
+ "static": true,
207
+ "return": {
208
+ "type": {
209
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
210
+ }
211
+ },
212
+ "parameters": [
213
+ {
214
+ "name": "this",
215
+ "type": {
216
+ "text": "K"
217
+ }
218
+ },
219
+ {
220
+ "name": "elementDefinition",
221
+ "type": {
222
+ "text": "T"
223
+ },
224
+ "description": "The definition of the element to create the registry\nfunction for."
225
+ }
226
+ ],
227
+ "description": "Defines an element registry function with a set of element definition defaults.",
228
+ "inheritedFrom": {
229
+ "name": "FoundationElement",
230
+ "module": "src/foundation-element/foundation-element.ts"
231
+ }
121
232
  }
122
233
  ],
123
234
  "attributes": [
@@ -265,7 +376,7 @@
265
376
  {
266
377
  "kind": "variable",
267
378
  "name": "foundationFiltersTemplate",
268
- "default": "html<Filters>`\n <template>\n <div class=\"container\" part=\"container\">\n <div class=\"container-forms\" part=\"container-forms\">\n <json-forms\n :renderers=${(x) => x.renderers}\n :uischema=${(x) => x.uischema}\n :schema=${(x) => x.jsonSchema}\n :data=${(x) => x.data}\n @data-change=${(x, c) => x.onChange(c.event as CustomEvent)}\n ></json-forms>\n </div>\n <div class=\"actions\">\n <fast-button\n @click=\"${(x) => x.clearFiltersData()}\"\n class=\"action-button\"\n appearance=\"neutral\"\n data-test-id=\"clear-filters-button\"\n >\n Clear\n </fast-button>\n <fast-button\n @click=\"${(x) => x.searchFilters()}\"\n data-test-id=\"search-filters-button\"\n class=\"action-button\"\n appearance=\"accent\"\n >\n Search\n </fast-button>\n </div>\n </div>\n </template>\n`"
379
+ "default": "html<Filters>`\n <template>\n <div class=\"container\" part=\"container\">\n <div class=\"container-forms\" part=\"container-forms\">\n <json-forms\n :renderers=${(x) => x.renderers}\n :uischema=${(x) => x.uischema}\n :schema=${(x) => x.jsonSchema}\n :data=${(x) => x.data}\n @data-change=${(x, c) => x.onChange(c.event as CustomEvent)}\n ></json-forms>\n </div>\n <div class=\"actions\" part=\"actions\">\n <fast-button\n @click=\"${(x) => x.clearFiltersData()}\"\n class=\"action-button\"\n appearance=\"neutral\"\n data-test-id=\"clear-filters-button\"\n >\n Clear\n </fast-button>\n <fast-button\n @click=\"${(x) => x.searchFilters()}\"\n data-test-id=\"search-filters-button\"\n class=\"action-button\"\n appearance=\"accent\"\n >\n Search\n </fast-button>\n </div>\n </div>\n </template>\n`"
269
380
  }
270
381
  ],
271
382
  "exports": [
@@ -374,6 +485,117 @@
374
485
  {
375
486
  "kind": "method",
376
487
  "name": "valueChanged"
488
+ },
489
+ {
490
+ "kind": "field",
491
+ "name": "_presentation",
492
+ "type": {
493
+ "text": "ComponentPresentation | null | undefined"
494
+ },
495
+ "privacy": "private",
496
+ "default": "void 0",
497
+ "inheritedFrom": {
498
+ "name": "FoundationElement",
499
+ "module": "src/foundation-element/foundation-element.ts"
500
+ }
501
+ },
502
+ {
503
+ "kind": "field",
504
+ "name": "$presentation",
505
+ "type": {
506
+ "text": "ComponentPresentation | null"
507
+ },
508
+ "privacy": "public",
509
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
510
+ "inheritedFrom": {
511
+ "name": "FoundationElement",
512
+ "module": "src/foundation-element/foundation-element.ts"
513
+ }
514
+ },
515
+ {
516
+ "kind": "field",
517
+ "name": "template",
518
+ "type": {
519
+ "text": "ElementViewTemplate | void | null"
520
+ },
521
+ "privacy": "public",
522
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
523
+ "inheritedFrom": {
524
+ "name": "FoundationElement",
525
+ "module": "src/foundation-element/foundation-element.ts"
526
+ }
527
+ },
528
+ {
529
+ "kind": "method",
530
+ "name": "templateChanged",
531
+ "privacy": "protected",
532
+ "return": {
533
+ "type": {
534
+ "text": "void"
535
+ }
536
+ },
537
+ "inheritedFrom": {
538
+ "name": "FoundationElement",
539
+ "module": "src/foundation-element/foundation-element.ts"
540
+ }
541
+ },
542
+ {
543
+ "kind": "field",
544
+ "name": "styles",
545
+ "type": {
546
+ "text": "ElementStyles | void | null"
547
+ },
548
+ "privacy": "public",
549
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
550
+ "inheritedFrom": {
551
+ "name": "FoundationElement",
552
+ "module": "src/foundation-element/foundation-element.ts"
553
+ }
554
+ },
555
+ {
556
+ "kind": "method",
557
+ "name": "stylesChanged",
558
+ "privacy": "protected",
559
+ "return": {
560
+ "type": {
561
+ "text": "void"
562
+ }
563
+ },
564
+ "inheritedFrom": {
565
+ "name": "FoundationElement",
566
+ "module": "src/foundation-element/foundation-element.ts"
567
+ }
568
+ },
569
+ {
570
+ "kind": "method",
571
+ "name": "compose",
572
+ "privacy": "public",
573
+ "static": true,
574
+ "return": {
575
+ "type": {
576
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
577
+ }
578
+ },
579
+ "parameters": [
580
+ {
581
+ "name": "this",
582
+ "type": {
583
+ "text": "K"
584
+ }
585
+ },
586
+ {
587
+ "name": "elementDefinition",
588
+ "type": {
589
+ "text": "T"
590
+ },
591
+ "description": "The definition of the element to create the registry\nfunction for."
592
+ }
593
+ ],
594
+ "description": "Defines an element registry function with a set of element definition defaults.",
595
+ "inheritedFrom": {
596
+ "name": "FoundationElement",
597
+ "module": "src/foundation-element/foundation-element.ts"
598
+ }
377
599
  }
378
600
  ],
379
601
  "events": [
@@ -1 +1 @@
1
- {"version":3,"file":"FilterDateControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/FilterDateControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B,YAAY,MAAM,6DAmDzD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,GAM5C,CAAC"}
1
+ {"version":3,"file":"FilterDateControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/FilterDateControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B,YAAY,MAAM,6DAqDzD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,GAM5C,CAAC"}
@@ -17,7 +17,7 @@ export const foundationFiltersTemplate = html `
17
17
  @data-change=${(x, c) => x.onChange(c.event)}
18
18
  ></json-forms>
19
19
  </div>
20
- <div class="actions">
20
+ <div class="actions" part="actions">
21
21
  <fast-button
22
22
  @click="${(x) => x.clearFiltersData()}"
23
23
  class="action-button"
@@ -14,6 +14,7 @@ export const DateControlRendererTemplate = (prefix = 'zero') => html `
14
14
  year: 'numeric',
15
15
  month: '2-digit',
16
16
  day: '2-digit',
17
+ timeZone: 'UTC',
17
18
  }).format(x.control.data.min);
18
19
  }}
19
20
  id=${(x) => `min-${x.control.path}`}
@@ -40,6 +41,7 @@ export const DateControlRendererTemplate = (prefix = 'zero') => html `
40
41
  year: 'numeric',
41
42
  month: '2-digit',
42
43
  day: '2-digit',
44
+ timeZone: 'UTC',
43
45
  }).format(x.control.data.max);
44
46
  }}
45
47
  id=${(x) => `max-${x.control.path}`}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-forms",
3
3
  "description": "Genesis Foundation Forms",
4
- "version": "14.70.6",
4
+ "version": "14.70.8",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,18 +40,18 @@
40
40
  "test:debug": "genx test --debug"
41
41
  },
42
42
  "devDependencies": {
43
- "@genesislcap/foundation-testing": "14.70.6",
44
- "@genesislcap/genx": "14.70.6",
43
+ "@genesislcap/foundation-testing": "14.70.8",
44
+ "@genesislcap/genx": "14.70.8",
45
45
  "@types/json-schema": "^7.0.11",
46
46
  "@types/ua-parser-js": "^0.7.36",
47
47
  "analytics": "^0.8.0",
48
48
  "rimraf": "^3.0.2"
49
49
  },
50
50
  "dependencies": {
51
- "@genesislcap/foundation-comms": "14.70.6",
52
- "@genesislcap/foundation-criteria": "14.70.6",
53
- "@genesislcap/foundation-ui": "14.70.6",
54
- "@genesislcap/foundation-utils": "14.70.6",
51
+ "@genesislcap/foundation-comms": "14.70.8",
52
+ "@genesislcap/foundation-criteria": "14.70.8",
53
+ "@genesislcap/foundation-ui": "14.70.8",
54
+ "@genesislcap/foundation-utils": "14.70.8",
55
55
  "@jsonforms/core": "^3.0.0",
56
56
  "@microsoft/fast-components": "^2.21.3",
57
57
  "@microsoft/fast-element": "^1.7.0",
@@ -72,5 +72,5 @@
72
72
  "access": "public"
73
73
  },
74
74
  "customElements": "dist/custom-elements.json",
75
- "gitHead": "c67f1046260013b98c62da1abf3e9450cd85d265"
75
+ "gitHead": "c040315dbacd807322ec80da100e541e05234b19"
76
76
  }