@genesislcap/foundation-forms 14.70.7 → 14.71.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.
- package/dist/custom-elements.json +1 -1
- package/dist/dts/filters/filters.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/FilterDateControlRenderer.d.ts.map +1 -1
- package/dist/esm/filters/filters.js +1 -0
- package/dist/esm/filters/filters.template.js +1 -1
- package/dist/esm/jsonforms/renderers/FilterDateControlRenderer.js +2 -0
- package/package.json +8 -8
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
{
|
|
377
377
|
"kind": "variable",
|
|
378
378
|
"name": "foundationFiltersTemplate",
|
|
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\">\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`"
|
|
380
380
|
}
|
|
381
381
|
],
|
|
382
382
|
"exports": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAY1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAKzC,gBAAgB;AAChB,eAAO,MAAM,aAAa,gDAAqC,CAAC;AAchE,cAAc;AACd,eAAO,MAAM,gBAAgB,OAY5B,CAAC;AACF;;;;;GAKG;AAEH,qBAKa,OAAQ,SAAQ,iBAAiB;IAC5C;;;;OAIG;IACG,YAAY,EAAE,MAAM,CAAC;YACb,mBAAmB;IAW1B,gBAAgB;IAKvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACS,QAAQ,EAAE,eAAe,CAAC;IACtC;;;OAGG;IACS,SAAS,EAAE,aAAa,EAAE,CAAoB;IAC1D;;;;;;OAMG;IACS,UAAU,EAAE,WAAW,CAAC;IAE3B,OAAO,CAAC,OAAO,CAAW;IACnC;;;OAGG;IACS,IAAI,EAAE,GAAG,CAAM;IAC3B;;;OAGG;IACS,KAAK,EAAE,MAAM,CAAC;IAC1B,YAAY;IAIZ;;OAEG;IACH,aAAa;
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAY1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAKzC,gBAAgB;AAChB,eAAO,MAAM,aAAa,gDAAqC,CAAC;AAchE,cAAc;AACd,eAAO,MAAM,gBAAgB,OAY5B,CAAC;AACF;;;;;GAKG;AAEH,qBAKa,OAAQ,SAAQ,iBAAiB;IAC5C;;;;OAIG;IACG,YAAY,EAAE,MAAM,CAAC;YACb,mBAAmB;IAW1B,gBAAgB;IAKvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACS,QAAQ,EAAE,eAAe,CAAC;IACtC;;;OAGG;IACS,SAAS,EAAE,aAAa,EAAE,CAAoB;IAC1D;;;;;;OAMG;IACS,UAAU,EAAE,WAAW,CAAC;IAE3B,OAAO,CAAC,OAAO,CAAW;IACnC;;;OAGG;IACS,IAAI,EAAE,GAAG,CAAM;IAC3B;;;OAGG;IACS,KAAK,EAAE,MAAM,CAAC;IAC1B,YAAY;IAIZ;;OAEG;IACH,aAAa;IAyBb;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,WAAW;IAO3B,oBAAoB;CAKrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterDateControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/FilterDateControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B,YAAY,MAAM,
|
|
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.
|
|
4
|
+
"version": "14.71.0",
|
|
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.
|
|
44
|
-
"@genesislcap/genx": "14.
|
|
43
|
+
"@genesislcap/foundation-testing": "14.71.0",
|
|
44
|
+
"@genesislcap/genx": "14.71.0",
|
|
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.
|
|
52
|
-
"@genesislcap/foundation-criteria": "14.
|
|
53
|
-
"@genesislcap/foundation-ui": "14.
|
|
54
|
-
"@genesislcap/foundation-utils": "14.
|
|
51
|
+
"@genesislcap/foundation-comms": "14.71.0",
|
|
52
|
+
"@genesislcap/foundation-criteria": "14.71.0",
|
|
53
|
+
"@genesislcap/foundation-ui": "14.71.0",
|
|
54
|
+
"@genesislcap/foundation-utils": "14.71.0",
|
|
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": "
|
|
75
|
+
"gitHead": "15e16e7c799ca2dc2e10f32fee0eb2a060c05ca3"
|
|
76
76
|
}
|