@genesislcap/foundation-forms 14.20.0-bny.19 → 14.20.1-alpha-ea89a96.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.
@@ -1679,7 +1679,7 @@
1679
1679
  {
1680
1680
  "kind": "variable",
1681
1681
  "name": "LayoutVertical2ColumnsRendererTemplate",
1682
- "default": "html`\n <template>\n <div\n style=\"display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-between;\"\n >\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <div style=\"width: 49%\">\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n </div>\n `\n )}\n </div>\n </template>\n`"
1682
+ "default": "html`\n <template>\n <div\n style=\"max-width:600px;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-between;\"\n >\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <div style=\"width: 49%\">\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n </div>\n `\n )}\n </div>\n </template>\n`"
1683
1683
  },
1684
1684
  {
1685
1685
  "kind": "variable",
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sCAAsC,0DA6BlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAIzC,CAAC"}
1
+ {"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sCAAsC,0DA8BlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAIzC,CAAC"}
@@ -26,7 +26,6 @@ export type UiSchemaElement = {
26
26
  type: UiSchemaElementType;
27
27
  scope: string;
28
28
  label?: string;
29
- placeholder?: string;
30
29
  options?: UiSchemaElementOptions;
31
30
  };
32
31
  /** @public */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,gBAAgB,GAAG,GAAG,CAAC;AAErE,cAAc;AACd,MAAM,MAAM,sBAAsB,GAAG;IACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,WAAW,EAAE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AAE,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,KAAK,mBAAmB,CAAC;CACrF,CAAC"}
@@ -11,7 +11,7 @@ export const ConnectedSelectControlRendererTemplate = (prefix = 'zero') => html
11
11
  >
12
12
  <${prefix}-combobox
13
13
  style="width: 100%"
14
- placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
14
+ placeholder=${(x) => x.control.label}
15
15
  ?disabled=${(x) => !x.control.enabled}
16
16
  @value-change=${(x, c) => {
17
17
  var _a;
@@ -4,7 +4,8 @@ import { LAYOUT2COLUMNS_RANK } from './RenderersRanks';
4
4
  export const LayoutVertical2ColumnsRendererTemplate = html `
5
5
  <template>
6
6
  <div
7
- style="display: flex;
7
+ style="max-width:600px;
8
+ display: flex;
8
9
  flex-direction: row;
9
10
  flex-wrap: wrap;
10
11
  justify-content: space-between;"
@@ -15,7 +15,7 @@ export const NumberControlRendererTemplate = (prefix = 'zero') => html `
15
15
  const value = parseFloat(c.event.target.value.replace(/,/g, ''));
16
16
  return x.control.handleChange(x.control.path, !isNaN(value) ? value : undefined);
17
17
  }}
18
- placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
18
+ placeholder=${(x) => x.control.label}
19
19
  id=${(x) => x.control.path}
20
20
  data-test-id=${(x) => x.control.path}
21
21
  ?required=${(x) => x.control.required}
@@ -11,7 +11,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
11
11
  type=${(x) => { var _a, _b; return (((_b = (_a = x.control.uischema) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.isPassword) ? 'password' : 'text'); }}
12
12
  :value=${(x) => x.control.data || ''}
13
13
  @change=${(x, c) => x.control.handleChange(x.control.path, c.event.target.value)}
14
- placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
14
+ placeholder=${(x) => x.control.label}
15
15
  id=${(x) => x.control.path}
16
16
  data-test-id=${(x) => x.control.path}
17
17
  ?required=${(x) => x.control.required}
@@ -999,7 +999,7 @@
999
999
  },
1000
1000
  {
1001
1001
  "kind": "Content",
1002
- "text": ";\n scope: string;\n label?: string;\n placeholder?: string;\n options?: "
1002
+ "text": ";\n scope: string;\n label?: string;\n options?: "
1003
1003
  },
1004
1004
  {
1005
1005
  "kind": "Reference",
@@ -275,7 +275,6 @@ export declare type UiSchemaElement = {
275
275
  type: UiSchemaElementType;
276
276
  scope: string;
277
277
  label?: string;
278
- placeholder?: string;
279
278
  options?: UiSchemaElementOptions;
280
279
  };
281
280
 
@@ -12,7 +12,6 @@ export type UiSchemaElement = {
12
12
  type: UiSchemaElementType;
13
13
  scope: string;
14
14
  label?: string;
15
- placeholder?: string;
16
15
  options?: UiSchemaElementOptions;
17
16
  };
18
17
  ```
@@ -123,7 +123,6 @@ export type UiSchemaElement = {
123
123
  type: UiSchemaElementType;
124
124
  scope: string;
125
125
  label?: string;
126
- placeholder?: string;
127
126
  options?: UiSchemaElementOptions;
128
127
  };
129
128
 
@@ -149,7 +148,7 @@ export type UiSchemaElementType = 'Control' | 'VerticalLayout' | any;
149
148
 
150
149
  // Warnings were encountered during analysis:
151
150
  //
152
- // src/types.ts:50:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
151
+ // src/types.ts:49:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
153
152
 
154
153
  // (No @packageDocumentation comment for this package)
155
154
 
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.20.0-bny.19",
4
+ "version": "14.20.1-alpha-ea89a96.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -20,20 +20,15 @@
20
20
  "PORT": 3090
21
21
  },
22
22
  "scripts": {
23
- "api": "npm run api:extract && npm run api:document && npm run cem:analyze",
24
- "api:document": "api-documenter markdown -i dist -o docs/api",
25
- "api:extract": "api-extractor run",
26
- "build": "npm run clean && npm run build:tsc && npm run api",
23
+ "build": "genx build",
27
24
  "build:rollup": "rollup -c",
28
25
  "build:rollup:stats": "cross-env ANALYZE=1 npm run build:rollup",
29
- "build:tsc": "tsc -b ./tsconfig.json",
30
26
  "build:webpack": "cross-env NODE_ENV=production webpack",
31
27
  "build:webpack:stats": "cross-env ANALYZE=1 npm run build:webpack",
32
- "cem:analyze": "cem analyze --config custom-elements-manifest.config.js",
33
- "clean": "genx clean dist tsconfig.tsbuildinfo .rollup.cache",
28
+ "clean": "genx clean",
34
29
  "dev": "npm run dev:tsc",
35
30
  "dev:rollup": "rollup -c -w --configDev",
36
- "dev:tsc": "tsc -b ./tsconfig.json -w",
31
+ "dev:tsc": "genx dev",
37
32
  "dev:webpack": "cross-env NODE_ENV=development webpack serve",
38
33
  "serve": "genx serve",
39
34
  "test": "npm run test:unit",
@@ -49,8 +44,8 @@
49
44
  },
50
45
  "devDependencies": {
51
46
  "@custom-elements-manifest/analyzer": "^0.8.2",
52
- "@genesislcap/foundation-testing": "14.20.0-bny.19",
53
- "@genesislcap/genx": "14.20.0-bny.19",
47
+ "@genesislcap/foundation-testing": "14.20.1-alpha-ea89a96.0",
48
+ "@genesislcap/genx": "14.20.1-alpha-ea89a96.0",
54
49
  "@microsoft/api-documenter": "^7.19.13",
55
50
  "@microsoft/api-extractor": "^7.31.1",
56
51
  "@module-federation/dashboard-plugin": "2.3.0",
@@ -100,9 +95,9 @@
100
95
  "webpack-merge": "^5.7.3"
101
96
  },
102
97
  "dependencies": {
103
- "@genesislcap/foundation-comms": "14.20.0-bny.19",
104
- "@genesislcap/foundation-criteria": "14.20.0-bny.19",
105
- "@genesislcap/foundation-utils": "14.20.0-bny.19",
98
+ "@genesislcap/foundation-comms": "14.20.1-alpha-ea89a96.0",
99
+ "@genesislcap/foundation-criteria": "14.20.1-alpha-ea89a96.0",
100
+ "@genesislcap/foundation-utils": "14.20.1-alpha-ea89a96.0",
106
101
  "@jsonforms/core": "^3.0.0",
107
102
  "@microsoft/fast-components": "^2.21.3",
108
103
  "@microsoft/fast-element": "^1.7.0",
@@ -123,5 +118,5 @@
123
118
  "access": "public"
124
119
  },
125
120
  "customElements": "dist/custom-elements.json",
126
- "gitHead": "6055bc907ba47a7d9597017c2c850d3d59dff831"
121
+ "gitHead": "912a2105583bd536acd8c30e35375bd1dafaa012"
127
122
  }