@genesislcap/foundation-entity-management 14.182.0-PA-1226.1 → 14.182.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.
@@ -917,6 +917,55 @@
917
917
  }
918
918
  ]
919
919
  },
920
+ {
921
+ "kind": "javascript-module",
922
+ "path": "src/layouts/default.ts",
923
+ "declarations": [
924
+ {
925
+ "kind": "variable",
926
+ "name": "loginLayout",
927
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
928
+ },
929
+ {
930
+ "kind": "variable",
931
+ "name": "defaultLayout",
932
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
933
+ }
934
+ ],
935
+ "exports": [
936
+ {
937
+ "kind": "js",
938
+ "name": "loginLayout",
939
+ "declaration": {
940
+ "name": "loginLayout",
941
+ "module": "src/layouts/default.ts"
942
+ }
943
+ },
944
+ {
945
+ "kind": "js",
946
+ "name": "defaultLayout",
947
+ "declaration": {
948
+ "name": "defaultLayout",
949
+ "module": "src/layouts/default.ts"
950
+ }
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "kind": "javascript-module",
956
+ "path": "src/layouts/index.ts",
957
+ "declarations": [],
958
+ "exports": [
959
+ {
960
+ "kind": "js",
961
+ "name": "*",
962
+ "declaration": {
963
+ "name": "*",
964
+ "package": "./default"
965
+ }
966
+ }
967
+ ]
968
+ },
920
969
  {
921
970
  "kind": "javascript-module",
922
971
  "path": "src/list/index.ts",
@@ -1171,15 +1220,6 @@
1171
1220
  },
1172
1221
  "privacy": "protected"
1173
1222
  },
1174
- {
1175
- "kind": "field",
1176
- "name": "gridEventsQueue",
1177
- "type": {
1178
- "text": "string[]"
1179
- },
1180
- "privacy": "private",
1181
- "default": "[]"
1182
- },
1183
1223
  {
1184
1224
  "kind": "method",
1185
1225
  "name": "onCellEditingStopped",
@@ -1236,41 +1276,6 @@
1236
1276
  "name": "e"
1237
1277
  }
1238
1278
  ]
1239
- },
1240
- {
1241
- "kind": "method",
1242
- "name": "addEventListener",
1243
- "parameters": [
1244
- {
1245
- "name": "type",
1246
- "type": {
1247
- "text": "any"
1248
- }
1249
- },
1250
- {
1251
- "name": "listener"
1252
- },
1253
- {
1254
- "name": "options",
1255
- "optional": true,
1256
- "type": {
1257
- "text": "boolean | AddEventListenerOptions"
1258
- }
1259
- }
1260
- ]
1261
- },
1262
- {
1263
- "kind": "method",
1264
- "name": "addGridEventListener",
1265
- "privacy": "private",
1266
- "parameters": [
1267
- {
1268
- "name": "type",
1269
- "type": {
1270
- "text": "string"
1271
- }
1272
- }
1273
- ]
1274
1279
  }
1275
1280
  ],
1276
1281
  "attributes": [
@@ -1577,55 +1582,6 @@
1577
1582
  }
1578
1583
  ]
1579
1584
  },
1580
- {
1581
- "kind": "javascript-module",
1582
- "path": "src/layouts/default.ts",
1583
- "declarations": [
1584
- {
1585
- "kind": "variable",
1586
- "name": "loginLayout",
1587
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1588
- },
1589
- {
1590
- "kind": "variable",
1591
- "name": "defaultLayout",
1592
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1593
- }
1594
- ],
1595
- "exports": [
1596
- {
1597
- "kind": "js",
1598
- "name": "loginLayout",
1599
- "declaration": {
1600
- "name": "loginLayout",
1601
- "module": "src/layouts/default.ts"
1602
- }
1603
- },
1604
- {
1605
- "kind": "js",
1606
- "name": "defaultLayout",
1607
- "declaration": {
1608
- "name": "defaultLayout",
1609
- "module": "src/layouts/default.ts"
1610
- }
1611
- }
1612
- ]
1613
- },
1614
- {
1615
- "kind": "javascript-module",
1616
- "path": "src/layouts/index.ts",
1617
- "declarations": [],
1618
- "exports": [
1619
- {
1620
- "kind": "js",
1621
- "name": "*",
1622
- "declaration": {
1623
- "name": "*",
1624
- "package": "./default"
1625
- }
1626
- }
1627
- ]
1628
- },
1629
1585
  {
1630
1586
  "kind": "javascript-module",
1631
1587
  "path": "src/profiles/editProfileSchema.ts",
@@ -3,7 +3,7 @@ import { Connect } from '@genesislcap/foundation-comms';
3
3
  import { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
4
4
  import type { GridProCaseType } from '@genesislcap/grid-pro';
5
5
  import { FASTElement } from '@microsoft/fast-element';
6
- import { DatasourceConfiguration } from '../entities';
6
+ import { DatasourceConfiguration } from '../entities/entities';
7
7
  declare const List_base: (new (...args: any[]) => {
8
8
  "__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
9
9
  "__#1@#_latestTokenCode": string;
@@ -364,7 +364,6 @@ export declare class List extends List_base {
364
364
  deleteEvent: string;
365
365
  updateEvent: string;
366
366
  protected connect: Connect;
367
- private gridEventsQueue;
368
367
  connectedCallback(): void;
369
368
  private onCellEditingStopped;
370
369
  disconnectedCallback(): Promise<void>;
@@ -373,8 +372,6 @@ export declare class List extends List_base {
373
372
  private select;
374
373
  private edit;
375
374
  delete(e: any): Promise<void>;
376
- addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
377
- private addGridEventListener;
378
375
  }
379
376
  export {};
380
377
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,w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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK/D,qBAKa,IAAK,SAAQ,SAA2B;IACnD;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAU;IAE/D,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACA,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,UAAS;IACd,WAAW,UAAS;IACpB,WAAW,UAAQ;IACX,kBAAkB,UAAS;IAC5B,iBAAiB,UAAS;IACpC,QAAQ,UAAS;IACf,UAAU,UAAS;IAC/B,cAAc,EAAE,eAAe,CAAC;IAClE,IAAI,EAAG,WAAW,CAAC;IACnB,UAAU,EAAG,wBAAwB,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC,iBAAiB;YA6DH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
@@ -1,5 +1,5 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { ComponentUtil, Events } from '@ag-grid-community/core';
2
+ import { Events } from '@ag-grid-community/core';
3
3
  import { Connect } from '@genesislcap/foundation-comms';
4
4
  import { LifecycleMixin } from '@genesislcap/foundation-utils';
5
5
  import { GRID_READY_EVENT, } from '@genesislcap/foundation-zero-grid-pro';
@@ -26,7 +26,6 @@ let List = class List extends LifecycleMixin(FASTElement) {
26
26
  this.hideEdit = false;
27
27
  this.hideDelete = false;
28
28
  this.actionButtonsConfig = [];
29
- this.gridEventsQueue = [];
30
29
  this.edit = (e) => {
31
30
  this.$emit('edit-entity', e);
32
31
  };
@@ -38,11 +37,6 @@ let List = class List extends LifecycleMixin(FASTElement) {
38
37
  if (this.sizeColumnsToFit) {
39
38
  this.grid.gridApi.sizeColumnsToFit();
40
39
  }
41
- if (this.gridEventsQueue.length) {
42
- this.gridEventsQueue.forEach((type) => {
43
- this.addGridEventListener(type);
44
- });
45
- }
46
40
  });
47
41
  this.grid.gridApi.addEventListener(Events.EVENT_ROW_CLICKED, (e) => this.select(e));
48
42
  if (this.updateEvent) {
@@ -143,22 +137,6 @@ let List = class List extends LifecycleMixin(FASTElement) {
143
137
  this.$emit('delete-entity', e);
144
138
  });
145
139
  }
146
- addEventListener(type, listener, options) {
147
- super.addEventListener(type, listener, options);
148
- if (ComponentUtil.PUBLIC_EVENTS.includes(type)) {
149
- if (this.grid.gridApi) {
150
- this.addGridEventListener(type);
151
- }
152
- else {
153
- this.gridEventsQueue.push(type);
154
- }
155
- }
156
- }
157
- addGridEventListener(type) {
158
- this.grid.gridApi.addEventListener(type, (e) => {
159
- this.$emit(type, e);
160
- });
161
- }
162
140
  };
163
141
  __decorate([
164
142
  attr({ attribute: 'design-system-prefix' })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-entity-management",
3
3
  "description": "Genesis Foundation Entity Management",
4
- "version": "14.182.0-PA-1226.1",
4
+ "version": "14.182.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -43,29 +43,29 @@
43
43
  "test:debug": "genx test --debug"
44
44
  },
45
45
  "devDependencies": {
46
- "@genesislcap/foundation-testing": "14.182.0-PA-1226.1",
47
- "@genesislcap/genx": "14.182.0-PA-1226.1",
48
- "@genesislcap/rollup-builder": "14.182.0-PA-1226.1",
49
- "@genesislcap/ts-builder": "14.182.0-PA-1226.1",
50
- "@genesislcap/uvu-playwright-builder": "14.182.0-PA-1226.1",
51
- "@genesislcap/vite-builder": "14.182.0-PA-1226.1",
52
- "@genesislcap/webpack-builder": "14.182.0-PA-1226.1",
46
+ "@genesislcap/foundation-testing": "14.182.0",
47
+ "@genesislcap/genx": "14.182.0",
48
+ "@genesislcap/rollup-builder": "14.182.0",
49
+ "@genesislcap/ts-builder": "14.182.0",
50
+ "@genesislcap/uvu-playwright-builder": "14.182.0",
51
+ "@genesislcap/vite-builder": "14.182.0",
52
+ "@genesislcap/webpack-builder": "14.182.0",
53
53
  "rimraf": "^3.0.2"
54
54
  },
55
55
  "dependencies": {
56
56
  "@ag-grid-community/core": "29.2.0",
57
- "@genesislcap/foundation-comms": "14.182.0-PA-1226.1",
58
- "@genesislcap/foundation-errors": "14.182.0-PA-1226.1",
59
- "@genesislcap/foundation-events": "14.182.0-PA-1226.1",
60
- "@genesislcap/foundation-forms": "14.182.0-PA-1226.1",
61
- "@genesislcap/foundation-logger": "14.182.0-PA-1226.1",
62
- "@genesislcap/foundation-login": "14.182.0-PA-1226.1",
63
- "@genesislcap/foundation-notifications": "14.182.0-PA-1226.1",
64
- "@genesislcap/foundation-ui": "14.182.0-PA-1226.1",
65
- "@genesislcap/foundation-utils": "14.182.0-PA-1226.1",
66
- "@genesislcap/foundation-zero": "14.182.0-PA-1226.1",
67
- "@genesislcap/foundation-zero-grid-pro": "14.182.0-PA-1226.1",
68
- "@genesislcap/grid-pro": "14.182.0-PA-1226.1",
57
+ "@genesislcap/foundation-comms": "14.182.0",
58
+ "@genesislcap/foundation-errors": "14.182.0",
59
+ "@genesislcap/foundation-events": "14.182.0",
60
+ "@genesislcap/foundation-forms": "14.182.0",
61
+ "@genesislcap/foundation-logger": "14.182.0",
62
+ "@genesislcap/foundation-login": "14.182.0",
63
+ "@genesislcap/foundation-notifications": "14.182.0",
64
+ "@genesislcap/foundation-ui": "14.182.0",
65
+ "@genesislcap/foundation-utils": "14.182.0",
66
+ "@genesislcap/foundation-zero": "14.182.0",
67
+ "@genesislcap/foundation-zero-grid-pro": "14.182.0",
68
+ "@genesislcap/grid-pro": "14.182.0",
69
69
  "@microsoft/fast-components": "^2.30.6",
70
70
  "@microsoft/fast-element": "^1.12.0",
71
71
  "@microsoft/fast-foundation": "^2.49.4",
@@ -81,5 +81,5 @@
81
81
  "access": "public"
82
82
  },
83
83
  "customElements": "dist/custom-elements.json",
84
- "gitHead": "61407b02f51dd002766a40bfa8c2639643e7b00a"
84
+ "gitHead": "869ecb0a766ed455393c6b1b050b47edd592918e"
85
85
  }