@genesislcap/foundation-entity-management 14.428.2-alpha-257ebec.0 → 14.429.1

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.
@@ -89,41 +89,6 @@
89
89
  }
90
90
  ]
91
91
  },
92
- {
93
- "kind": "javascript-module",
94
- "path": "src/components/components.ts",
95
- "declarations": [
96
- {
97
- "kind": "function",
98
- "name": "loadRemotes"
99
- }
100
- ],
101
- "exports": [
102
- {
103
- "kind": "js",
104
- "name": "loadRemotes",
105
- "declaration": {
106
- "name": "loadRemotes",
107
- "module": "src/components/components.ts"
108
- }
109
- }
110
- ]
111
- },
112
- {
113
- "kind": "javascript-module",
114
- "path": "src/components/index.ts",
115
- "declarations": [],
116
- "exports": [
117
- {
118
- "kind": "js",
119
- "name": "*",
120
- "declaration": {
121
- "name": "*",
122
- "package": "./components"
123
- }
124
- }
125
- ]
126
- },
127
92
  {
128
93
  "kind": "javascript-module",
129
94
  "path": "src/entities/entities.styles.ts",
@@ -2709,41 +2674,27 @@
2709
2674
  },
2710
2675
  {
2711
2676
  "kind": "javascript-module",
2712
- "path": "src/layouts/default.ts",
2677
+ "path": "src/components/components.ts",
2713
2678
  "declarations": [
2714
2679
  {
2715
- "kind": "variable",
2716
- "name": "loginLayout",
2717
- "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
2718
- },
2719
- {
2720
- "kind": "variable",
2721
- "name": "defaultLayout",
2722
- "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
2680
+ "kind": "function",
2681
+ "name": "loadRemotes"
2723
2682
  }
2724
2683
  ],
2725
2684
  "exports": [
2726
2685
  {
2727
2686
  "kind": "js",
2728
- "name": "loginLayout",
2729
- "declaration": {
2730
- "name": "loginLayout",
2731
- "module": "src/layouts/default.ts"
2732
- }
2733
- },
2734
- {
2735
- "kind": "js",
2736
- "name": "defaultLayout",
2687
+ "name": "loadRemotes",
2737
2688
  "declaration": {
2738
- "name": "defaultLayout",
2739
- "module": "src/layouts/default.ts"
2689
+ "name": "loadRemotes",
2690
+ "module": "src/components/components.ts"
2740
2691
  }
2741
2692
  }
2742
2693
  ]
2743
2694
  },
2744
2695
  {
2745
2696
  "kind": "javascript-module",
2746
- "path": "src/layouts/index.ts",
2697
+ "path": "src/components/index.ts",
2747
2698
  "declarations": [],
2748
2699
  "exports": [
2749
2700
  {
@@ -2751,7 +2702,7 @@
2751
2702
  "name": "*",
2752
2703
  "declaration": {
2753
2704
  "name": "*",
2754
- "package": "./default"
2705
+ "package": "./components"
2755
2706
  }
2756
2707
  }
2757
2708
  ]
@@ -3087,6 +3038,38 @@
3087
3038
  }
3088
3039
  ]
3089
3040
  },
3041
+ {
3042
+ "kind": "method",
3043
+ "name": "actionColumnIcon",
3044
+ "privacy": "private",
3045
+ "parameters": [
3046
+ {
3047
+ "name": "iconName",
3048
+ "type": {
3049
+ "text": "string"
3050
+ }
3051
+ },
3052
+ {
3053
+ "name": "variant",
3054
+ "default": "'solid'",
3055
+ "type": {
3056
+ "text": "'solid' | 'regular'"
3057
+ }
3058
+ }
3059
+ ],
3060
+ "description": "Shared markup for CRUD / custom action column icons (grid cell renderers)."
3061
+ },
3062
+ {
3063
+ "kind": "method",
3064
+ "name": "populateActionButtonsConfig",
3065
+ "privacy": "private",
3066
+ "return": {
3067
+ "type": {
3068
+ "text": "void"
3069
+ }
3070
+ },
3071
+ "description": "Builds column defs for CRUD / custom actions in the grid (pinned action column)."
3072
+ },
3090
3073
  {
3091
3074
  "kind": "field",
3092
3075
  "name": "criteria",
@@ -3641,6 +3624,55 @@
3641
3624
  }
3642
3625
  ]
3643
3626
  },
3627
+ {
3628
+ "kind": "javascript-module",
3629
+ "path": "src/layouts/default.ts",
3630
+ "declarations": [
3631
+ {
3632
+ "kind": "variable",
3633
+ "name": "loginLayout",
3634
+ "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
3635
+ },
3636
+ {
3637
+ "kind": "variable",
3638
+ "name": "defaultLayout",
3639
+ "default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
3640
+ }
3641
+ ],
3642
+ "exports": [
3643
+ {
3644
+ "kind": "js",
3645
+ "name": "loginLayout",
3646
+ "declaration": {
3647
+ "name": "loginLayout",
3648
+ "module": "src/layouts/default.ts"
3649
+ }
3650
+ },
3651
+ {
3652
+ "kind": "js",
3653
+ "name": "defaultLayout",
3654
+ "declaration": {
3655
+ "name": "defaultLayout",
3656
+ "module": "src/layouts/default.ts"
3657
+ }
3658
+ }
3659
+ ]
3660
+ },
3661
+ {
3662
+ "kind": "javascript-module",
3663
+ "path": "src/layouts/index.ts",
3664
+ "declarations": [],
3665
+ "exports": [
3666
+ {
3667
+ "kind": "js",
3668
+ "name": "*",
3669
+ "declaration": {
3670
+ "name": "*",
3671
+ "package": "./default"
3672
+ }
3673
+ }
3674
+ ]
3675
+ },
3644
3676
  {
3645
3677
  "kind": "javascript-module",
3646
3678
  "path": "src/routes/config.ts",
@@ -445,6 +445,14 @@ export declare class List extends List_base {
445
445
  get isServerSideDatasource(): boolean;
446
446
  connectedCallback(): void;
447
447
  handleCellEditRequest(event: CustomEvent<CellEditRequestEvent>): Promise<void>;
448
+ /**
449
+ * Shared markup for CRUD / custom action column icons (grid cell renderers).
450
+ */
451
+ private actionColumnIcon;
452
+ /**
453
+ * Builds column defs for CRUD / custom actions in the grid (pinned action column).
454
+ */
455
+ private populateActionButtonsConfig;
448
456
  disconnectedCallback(): Promise<void>;
449
457
  get criteria(): string;
450
458
  get fields(): string;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","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AO,WAEV;IAED,IACI,OAAO,WAEV;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,eAAe,WAElB;IAED,IACI,iBAAiB,aAEpB;IAED,IACI,OAAO,QAEV;IAED,IACI,OAAO,YAEV;IAED,IACI,UAAU,WAEb;IAED,IACI,cAAc,YAEjB;IAED,IACI,gBAAgB,YAEnB;IAED,gBAAgB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAItC,mBAAmB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAIzC,oBAAoB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAI1C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,iBAAiB,CAAC,CAAC,EAAE,WAAW;IAIhC,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAI5D,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;IAId,OAAO,CAAC,kBAAkB,CAExB;CACH"}
@@ -54,44 +54,15 @@ let List = class List extends LifecycleMixin(GenesisElement) {
54
54
  return this.datasourceType === 'server';
55
55
  }
56
56
  connectedCallback() {
57
+ // Populate before super.connectedCallback() so the template's repeat binding renders
58
+ // action grid-pro-column elements in the first pass. This guarantees they are in the DOM
59
+ // before the datasource fires datasource-schema-updated (which requires a network round-trip
60
+ // after grid-ready), so mergeAllColumnDefsAndStates finds them via querySelectorAll.
61
+ this.populateActionButtonsConfig();
57
62
  super.connectedCallback();
58
63
  if (!this.shouldRunConnect)
59
64
  return;
60
65
  this.grid.addEventListener(Events.EVENT_GRID_READY, () => {
61
- this.actionButtonsConfig = [];
62
- const gridCustomActions = this.customActions.filter((action) => (action.position || CrudMenuPosition.Column) === CrudMenuPosition.Column);
63
- gridCustomActions.forEach((action) => {
64
- this.actionButtonsConfig.push(buttonCellRenderer(action.name, () => this.handleCustomAction(action.name), html `
65
- <${this.prefix}-icon
66
- style="pointer-events: none; opacity: 0.5"
67
- class="icon-button"
68
- variant="solid"
69
- name="${action.icon || 'gear'}"
70
- size="1x"
71
- ></${this.prefix}-icon>
72
- `, action.tooltip || action.name));
73
- });
74
- if (this.updateEvent && !this.hideEdit) {
75
- this.actionButtonsConfig.push(buttonCellRenderer('Edit', this.edit, html `
76
- <${this.prefix}-icon
77
- style="pointer-events: none; opacity: 0.5"
78
- class="icon-button"
79
- variant="solid"
80
- name="pen"
81
- size="1x"
82
- ></${this.prefix}-icon>
83
- `));
84
- }
85
- if (this.deleteEvent && !this.hideDelete) {
86
- this.actionButtonsConfig.push(buttonCellRenderer('Delete', (e) => this.delete(e), html `
87
- <${this.prefix}-icon
88
- style="opacity: 0.5"
89
- variant="regular"
90
- name="trash-alt"
91
- size="1x"
92
- ></${this.prefix}-icon>
93
- `));
94
- }
95
66
  if (this.enableFilterBar) {
96
67
  this.addEventListener('filter-changed', this.handleFilterChanged);
97
68
  this.addEventListener('filter-cleared', this.handleFilterCleared);
@@ -132,6 +103,36 @@ let List = class List extends LifecycleMixin(GenesisElement) {
132
103
  }
133
104
  });
134
105
  }
106
+ /**
107
+ * Shared markup for CRUD / custom action column icons (grid cell renderers).
108
+ */
109
+ actionColumnIcon(iconName, variant = 'solid') {
110
+ return html `
111
+ <${this.prefix}-icon
112
+ style="pointer-events: none; opacity: 0.5"
113
+ class="icon-button"
114
+ variant="${variant}"
115
+ name="${iconName}"
116
+ size="1x"
117
+ ></${this.prefix}-icon>
118
+ `;
119
+ }
120
+ /**
121
+ * Builds column defs for CRUD / custom actions in the grid (pinned action column).
122
+ */
123
+ populateActionButtonsConfig() {
124
+ this.actionButtonsConfig = [];
125
+ const gridCustomActions = this.customActions.filter((action) => (action.position || CrudMenuPosition.Column) === CrudMenuPosition.Column);
126
+ gridCustomActions.forEach((action) => {
127
+ this.actionButtonsConfig.push(buttonCellRenderer(action.name, () => this.handleCustomAction(action.name), this.actionColumnIcon(action.icon || 'gear'), action.tooltip || action.name));
128
+ });
129
+ if (this.updateEvent && !this.hideEdit) {
130
+ this.actionButtonsConfig.push(buttonCellRenderer('Edit', this.edit, this.actionColumnIcon('pen')));
131
+ }
132
+ if (this.deleteEvent && !this.hideDelete) {
133
+ this.actionButtonsConfig.push(buttonCellRenderer('Delete', (e) => this.delete(e), this.actionColumnIcon('trash-alt', 'regular')));
134
+ }
135
+ }
135
136
  disconnectedCallback() {
136
137
  const _super = Object.create(null, {
137
138
  disconnectedCallback: { get: () => super.disconnectedCallback }
@@ -1428,6 +1428,14 @@ export declare class List extends List_base {
1428
1428
  get isServerSideDatasource(): boolean;
1429
1429
  connectedCallback(): void;
1430
1430
  handleCellEditRequest(event: CustomEvent<CellEditRequestEvent>): Promise<void>;
1431
+ /**
1432
+ * Shared markup for CRUD / custom action column icons (grid cell renderers).
1433
+ */
1434
+ private actionColumnIcon;
1435
+ /**
1436
+ * Builds column defs for CRUD / custom actions in the grid (pinned action column).
1437
+ */
1438
+ private populateActionButtonsConfig;
1431
1439
  disconnectedCallback(): Promise<void>;
1432
1440
  get criteria(): string;
1433
1441
  get fields(): string;
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.428.2-alpha-257ebec.0",
4
+ "version": "14.429.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -54,32 +54,32 @@
54
54
  }
55
55
  },
56
56
  "devDependencies": {
57
- "@genesislcap/foundation-testing": "14.428.2-alpha-257ebec.0",
58
- "@genesislcap/genx": "14.428.2-alpha-257ebec.0",
59
- "@genesislcap/rollup-builder": "14.428.2-alpha-257ebec.0",
60
- "@genesislcap/ts-builder": "14.428.2-alpha-257ebec.0",
61
- "@genesislcap/uvu-playwright-builder": "14.428.2-alpha-257ebec.0",
62
- "@genesislcap/vite-builder": "14.428.2-alpha-257ebec.0",
63
- "@genesislcap/webpack-builder": "14.428.2-alpha-257ebec.0"
57
+ "@genesislcap/foundation-testing": "14.429.1",
58
+ "@genesislcap/genx": "14.429.1",
59
+ "@genesislcap/rollup-builder": "14.429.1",
60
+ "@genesislcap/ts-builder": "14.429.1",
61
+ "@genesislcap/uvu-playwright-builder": "14.429.1",
62
+ "@genesislcap/vite-builder": "14.429.1",
63
+ "@genesislcap/webpack-builder": "14.429.1"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@ag-grid-community/core": "29.2.0"
67
67
  },
68
68
  "dependencies": {
69
- "@genesislcap/foundation-ai": "14.428.2-alpha-257ebec.0",
70
- "@genesislcap/foundation-comms": "14.428.2-alpha-257ebec.0",
71
- "@genesislcap/foundation-errors": "14.428.2-alpha-257ebec.0",
72
- "@genesislcap/foundation-events": "14.428.2-alpha-257ebec.0",
73
- "@genesislcap/foundation-forms": "14.428.2-alpha-257ebec.0",
74
- "@genesislcap/foundation-logger": "14.428.2-alpha-257ebec.0",
75
- "@genesislcap/foundation-login": "14.428.2-alpha-257ebec.0",
76
- "@genesislcap/foundation-notifications": "14.428.2-alpha-257ebec.0",
77
- "@genesislcap/foundation-ui": "14.428.2-alpha-257ebec.0",
78
- "@genesislcap/foundation-utils": "14.428.2-alpha-257ebec.0",
79
- "@genesislcap/foundation-zero": "14.428.2-alpha-257ebec.0",
80
- "@genesislcap/foundation-zero-grid-pro": "14.428.2-alpha-257ebec.0",
81
- "@genesislcap/grid-pro": "14.428.2-alpha-257ebec.0",
82
- "@genesislcap/web-core": "14.428.2-alpha-257ebec.0",
69
+ "@genesislcap/foundation-ai": "14.429.1",
70
+ "@genesislcap/foundation-comms": "14.429.1",
71
+ "@genesislcap/foundation-errors": "14.429.1",
72
+ "@genesislcap/foundation-events": "14.429.1",
73
+ "@genesislcap/foundation-forms": "14.429.1",
74
+ "@genesislcap/foundation-logger": "14.429.1",
75
+ "@genesislcap/foundation-login": "14.429.1",
76
+ "@genesislcap/foundation-notifications": "14.429.1",
77
+ "@genesislcap/foundation-ui": "14.429.1",
78
+ "@genesislcap/foundation-utils": "14.429.1",
79
+ "@genesislcap/foundation-zero": "14.429.1",
80
+ "@genesislcap/foundation-zero-grid-pro": "14.429.1",
81
+ "@genesislcap/grid-pro": "14.429.1",
82
+ "@genesislcap/web-core": "14.429.1",
83
83
  "change-case": "^4.1.2"
84
84
  },
85
85
  "repository": {
@@ -102,5 +102,5 @@
102
102
  "require": "./dist/react.cjs"
103
103
  }
104
104
  },
105
- "gitHead": "1bc9af761d734595aac8173e23d623e25459f9c3"
105
+ "gitHead": "c0908bbece6da107122db597c78820d6c4c545e4"
106
106
  }