@genesislcap/foundation-entity-management 14.211.2 → 14.211.4
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 +100 -50
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +10 -0
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/esm/entities/entities.styles.js +6 -0
- package/dist/esm/entities/entities.template.js +12 -3
- package/dist/esm/list/list.js +71 -1
- package/dist/esm/list/list.template.js +20 -20
- package/package.json +21 -21
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
{
|
|
130
130
|
"kind": "variable",
|
|
131
131
|
"name": "styles",
|
|
132
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n`",
|
|
132
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-column,\n .crud-buttons-wrapper-top {\n flex: 1;\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n`",
|
|
133
133
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
@@ -1136,6 +1136,55 @@
|
|
|
1136
1136
|
}
|
|
1137
1137
|
]
|
|
1138
1138
|
},
|
|
1139
|
+
{
|
|
1140
|
+
"kind": "javascript-module",
|
|
1141
|
+
"path": "src/layouts/default.ts",
|
|
1142
|
+
"declarations": [
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "variable",
|
|
1145
|
+
"name": "loginLayout",
|
|
1146
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "variable",
|
|
1150
|
+
"name": "defaultLayout",
|
|
1151
|
+
"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)"
|
|
1152
|
+
}
|
|
1153
|
+
],
|
|
1154
|
+
"exports": [
|
|
1155
|
+
{
|
|
1156
|
+
"kind": "js",
|
|
1157
|
+
"name": "loginLayout",
|
|
1158
|
+
"declaration": {
|
|
1159
|
+
"name": "loginLayout",
|
|
1160
|
+
"module": "src/layouts/default.ts"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"kind": "js",
|
|
1165
|
+
"name": "defaultLayout",
|
|
1166
|
+
"declaration": {
|
|
1167
|
+
"name": "defaultLayout",
|
|
1168
|
+
"module": "src/layouts/default.ts"
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
]
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"kind": "javascript-module",
|
|
1175
|
+
"path": "src/layouts/index.ts",
|
|
1176
|
+
"declarations": [],
|
|
1177
|
+
"exports": [
|
|
1178
|
+
{
|
|
1179
|
+
"kind": "js",
|
|
1180
|
+
"name": "*",
|
|
1181
|
+
"declaration": {
|
|
1182
|
+
"name": "*",
|
|
1183
|
+
"package": "./default"
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
]
|
|
1187
|
+
},
|
|
1139
1188
|
{
|
|
1140
1189
|
"kind": "javascript-module",
|
|
1141
1190
|
"path": "src/list/index.ts",
|
|
@@ -1419,6 +1468,56 @@
|
|
|
1419
1468
|
}
|
|
1420
1469
|
]
|
|
1421
1470
|
},
|
|
1471
|
+
{
|
|
1472
|
+
"kind": "field",
|
|
1473
|
+
"name": "criteria",
|
|
1474
|
+
"readonly": true
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"kind": "field",
|
|
1478
|
+
"name": "fields",
|
|
1479
|
+
"readonly": true
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"kind": "field",
|
|
1483
|
+
"name": "isSnapshot",
|
|
1484
|
+
"readonly": true
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "field",
|
|
1488
|
+
"name": "maxRows",
|
|
1489
|
+
"readonly": true
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"kind": "field",
|
|
1493
|
+
"name": "maxView",
|
|
1494
|
+
"readonly": true
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "field",
|
|
1498
|
+
"name": "movingView",
|
|
1499
|
+
"readonly": true
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "field",
|
|
1503
|
+
"name": "orderBy",
|
|
1504
|
+
"readonly": true
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"kind": "field",
|
|
1508
|
+
"name": "pollingInterval",
|
|
1509
|
+
"readonly": true
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"kind": "field",
|
|
1513
|
+
"name": "request",
|
|
1514
|
+
"readonly": true
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"kind": "field",
|
|
1518
|
+
"name": "reverse",
|
|
1519
|
+
"readonly": true
|
|
1520
|
+
},
|
|
1422
1521
|
{
|
|
1423
1522
|
"kind": "method",
|
|
1424
1523
|
"name": "handleFilterChanged",
|
|
@@ -1636,55 +1735,6 @@
|
|
|
1636
1735
|
}
|
|
1637
1736
|
]
|
|
1638
1737
|
},
|
|
1639
|
-
{
|
|
1640
|
-
"kind": "javascript-module",
|
|
1641
|
-
"path": "src/layouts/default.ts",
|
|
1642
|
-
"declarations": [
|
|
1643
|
-
{
|
|
1644
|
-
"kind": "variable",
|
|
1645
|
-
"name": "loginLayout",
|
|
1646
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"kind": "variable",
|
|
1650
|
-
"name": "defaultLayout",
|
|
1651
|
-
"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)"
|
|
1652
|
-
}
|
|
1653
|
-
],
|
|
1654
|
-
"exports": [
|
|
1655
|
-
{
|
|
1656
|
-
"kind": "js",
|
|
1657
|
-
"name": "loginLayout",
|
|
1658
|
-
"declaration": {
|
|
1659
|
-
"name": "loginLayout",
|
|
1660
|
-
"module": "src/layouts/default.ts"
|
|
1661
|
-
}
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"kind": "js",
|
|
1665
|
-
"name": "defaultLayout",
|
|
1666
|
-
"declaration": {
|
|
1667
|
-
"name": "defaultLayout",
|
|
1668
|
-
"module": "src/layouts/default.ts"
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
]
|
|
1672
|
-
},
|
|
1673
|
-
{
|
|
1674
|
-
"kind": "javascript-module",
|
|
1675
|
-
"path": "src/layouts/index.ts",
|
|
1676
|
-
"declarations": [],
|
|
1677
|
-
"exports": [
|
|
1678
|
-
{
|
|
1679
|
-
"kind": "js",
|
|
1680
|
-
"name": "*",
|
|
1681
|
-
"declaration": {
|
|
1682
|
-
"name": "*",
|
|
1683
|
-
"package": "./default"
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
]
|
|
1687
|
-
},
|
|
1688
1738
|
{
|
|
1689
1739
|
"kind": "javascript-module",
|
|
1690
1740
|
"path": "src/main/index.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAyElB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAgBlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAQzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAc3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAyD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -370,6 +370,16 @@ export declare class List extends List_base {
|
|
|
370
370
|
connectedCallback(): void;
|
|
371
371
|
private onCellEditingStopped;
|
|
372
372
|
disconnectedCallback(): Promise<void>;
|
|
373
|
+
get criteria(): string;
|
|
374
|
+
get fields(): string;
|
|
375
|
+
get isSnapshot(): boolean;
|
|
376
|
+
get maxRows(): number;
|
|
377
|
+
get maxView(): number;
|
|
378
|
+
get movingView(): boolean;
|
|
379
|
+
get orderBy(): string;
|
|
380
|
+
get pollingInterval(): number;
|
|
381
|
+
get request(): any;
|
|
382
|
+
get reverse(): boolean;
|
|
373
383
|
private handleFilterChanged;
|
|
374
384
|
private handleFilterCleared;
|
|
375
385
|
private select;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAyB,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAyB,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAIL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKpE,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;IAChC,cAAc,EAAE,cAAc,CAAY;IACzC,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,IAAI,sBAAsB,IAAI,OAAO,CAEpC;IAED,iBAAiB;YAgEH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,IACI,QAAQ,WAEX;IAED,IACI,MAAM,WAET;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,OAAO,WAEV;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,eAAe,WAElB;IAED,IACI,OAAO,QAEV;IAED,IACI,OAAO,YAEV;IAED,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -71,6 +71,12 @@ export const styles = css `
|
|
|
71
71
|
justify-content: flex-end;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
.crud-buttons-wrapper-column,
|
|
75
|
+
.crud-buttons-wrapper-top {
|
|
76
|
+
flex: 1;
|
|
77
|
+
padding: calc(var(--design-unit) * 2px) 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
74
80
|
.crud-buttons-wrapper-bottom {
|
|
75
81
|
padding: calc(var(--design-unit) * 2px);
|
|
76
82
|
}
|
|
@@ -64,7 +64,12 @@ export const headerCrudAreaTemplate = (prefix) => html `
|
|
|
64
64
|
${when((x) => x.crudMenuPosition === CrudMenuPosition.Column &&
|
|
65
65
|
!x.hasContentInSlot('crud-top') &&
|
|
66
66
|
!x.hasContentInSlot('crud-bottom'), html `
|
|
67
|
-
|
|
67
|
+
<section
|
|
68
|
+
part=${() => `crud-buttons-wrapper crud-buttons-wrapper-column`}
|
|
69
|
+
class=${() => `crud-buttons-wrapper crud-buttons-wrapper-column`}
|
|
70
|
+
>
|
|
71
|
+
${addButtonTemplate(prefix)}
|
|
72
|
+
</section
|
|
68
73
|
`)}
|
|
69
74
|
`;
|
|
70
75
|
/**
|
|
@@ -72,7 +77,9 @@ export const headerCrudAreaTemplate = (prefix) => html `
|
|
|
72
77
|
* @internal
|
|
73
78
|
*/
|
|
74
79
|
export const defaultHeader = (prefix) => html `
|
|
75
|
-
|
|
80
|
+
${when((x) => x.title, html `
|
|
81
|
+
<h3 class="header-title">${(x) => x.title}</h3>
|
|
82
|
+
`)}
|
|
76
83
|
${headerCrudAreaTemplate(prefix)}
|
|
77
84
|
`;
|
|
78
85
|
/**
|
|
@@ -80,7 +87,9 @@ export const defaultHeader = (prefix) => html `
|
|
|
80
87
|
* @internal
|
|
81
88
|
*/
|
|
82
89
|
export const searchBarHeader = (prefix) => html `
|
|
83
|
-
|
|
90
|
+
${when((x) => x.title, html `
|
|
91
|
+
<h3 class="header-title">${(x) => x.title}</h3>
|
|
92
|
+
`)}
|
|
84
93
|
<div class="search-container">
|
|
85
94
|
<${prefix}-search-bar
|
|
86
95
|
:options="${(x) => x.searchBarConfig}"
|
package/dist/esm/list/list.js
CHANGED
|
@@ -4,7 +4,7 @@ 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';
|
|
6
6
|
import { EDITED_COLUMN_FIELD, ERROR_COLUMN_FIELD } from '@genesislcap/grid-pro';
|
|
7
|
-
import { attr, customElement, DOM, FASTElement, html, observable } from '@microsoft/fast-element';
|
|
7
|
+
import { attr, customElement, DOM, FASTElement, html, observable, volatile, } from '@microsoft/fast-element';
|
|
8
8
|
import { buttonCellRenderer } from '../utils';
|
|
9
9
|
import { listStyles } from './list.styles';
|
|
10
10
|
import { listTemplate } from './list.template';
|
|
@@ -123,6 +123,46 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
123
123
|
});
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
+
get criteria() {
|
|
127
|
+
var _a;
|
|
128
|
+
return (_a = this.datasourceConfig) === null || _a === void 0 ? void 0 : _a.criteria;
|
|
129
|
+
}
|
|
130
|
+
get fields() {
|
|
131
|
+
var _a;
|
|
132
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.fields;
|
|
133
|
+
}
|
|
134
|
+
get isSnapshot() {
|
|
135
|
+
var _a;
|
|
136
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.isSnapshot;
|
|
137
|
+
}
|
|
138
|
+
get maxRows() {
|
|
139
|
+
var _a;
|
|
140
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.maxRows;
|
|
141
|
+
}
|
|
142
|
+
get maxView() {
|
|
143
|
+
var _a;
|
|
144
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.maxView;
|
|
145
|
+
}
|
|
146
|
+
get movingView() {
|
|
147
|
+
var _a;
|
|
148
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.movingView;
|
|
149
|
+
}
|
|
150
|
+
get orderBy() {
|
|
151
|
+
var _a;
|
|
152
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.orderBy;
|
|
153
|
+
}
|
|
154
|
+
get pollingInterval() {
|
|
155
|
+
var _a;
|
|
156
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.pollingInterval;
|
|
157
|
+
}
|
|
158
|
+
get request() {
|
|
159
|
+
var _a;
|
|
160
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.request;
|
|
161
|
+
}
|
|
162
|
+
get reverse() {
|
|
163
|
+
var _a;
|
|
164
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.reverse;
|
|
165
|
+
}
|
|
126
166
|
handleFilterChanged(e) {
|
|
127
167
|
var _a, _b;
|
|
128
168
|
const fieldName = (_a = e === null || e === void 0 ? void 0 : e.detail) === null || _a === void 0 ? void 0 : _a.fieldName;
|
|
@@ -215,6 +255,36 @@ __decorate([
|
|
|
215
255
|
__decorate([
|
|
216
256
|
Connect
|
|
217
257
|
], List.prototype, "connect", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
volatile
|
|
260
|
+
], List.prototype, "criteria", null);
|
|
261
|
+
__decorate([
|
|
262
|
+
volatile
|
|
263
|
+
], List.prototype, "fields", null);
|
|
264
|
+
__decorate([
|
|
265
|
+
volatile
|
|
266
|
+
], List.prototype, "isSnapshot", null);
|
|
267
|
+
__decorate([
|
|
268
|
+
volatile
|
|
269
|
+
], List.prototype, "maxRows", null);
|
|
270
|
+
__decorate([
|
|
271
|
+
volatile
|
|
272
|
+
], List.prototype, "maxView", null);
|
|
273
|
+
__decorate([
|
|
274
|
+
volatile
|
|
275
|
+
], List.prototype, "movingView", null);
|
|
276
|
+
__decorate([
|
|
277
|
+
volatile
|
|
278
|
+
], List.prototype, "orderBy", null);
|
|
279
|
+
__decorate([
|
|
280
|
+
volatile
|
|
281
|
+
], List.prototype, "pollingInterval", null);
|
|
282
|
+
__decorate([
|
|
283
|
+
volatile
|
|
284
|
+
], List.prototype, "request", null);
|
|
285
|
+
__decorate([
|
|
286
|
+
volatile
|
|
287
|
+
], List.prototype, "reverse", null);
|
|
218
288
|
List = __decorate([
|
|
219
289
|
customElement({
|
|
220
290
|
name: 'entity-list',
|
|
@@ -6,34 +6,34 @@ const datasource = (list) => {
|
|
|
6
6
|
<grid-pro-server-side-datasource
|
|
7
7
|
${ref('datasource')}
|
|
8
8
|
:deferredGridOptions=${(x) => x.gridOptions}
|
|
9
|
-
criteria=${(x) =>
|
|
10
|
-
fields=${(x) =>
|
|
11
|
-
is-snapshot=${(x) =>
|
|
12
|
-
max-rows=${(x) =>
|
|
13
|
-
max-view=${(x) =>
|
|
14
|
-
moving-view=${(x) =>
|
|
15
|
-
order-by=${(x) =>
|
|
16
|
-
polling-interval=${(x) =>
|
|
9
|
+
criteria=${(x) => x.criteria}
|
|
10
|
+
fields=${(x) => x.fields}
|
|
11
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
12
|
+
max-rows=${(x) => x.maxRows}
|
|
13
|
+
max-view=${(x) => x.maxView}
|
|
14
|
+
moving-view=${(x) => x.movingView}
|
|
15
|
+
order-by=${(x) => x.orderBy}
|
|
16
|
+
polling-interval=${(x) => x.pollingInterval}
|
|
17
17
|
resource-name=${(x) => x.resourceName}
|
|
18
|
-
:request=${(x) =>
|
|
19
|
-
reverse=${(x) =>
|
|
18
|
+
:request=${(x) => x.request}
|
|
19
|
+
reverse=${(x) => x.reverse}
|
|
20
20
|
></grid-pro-server-side-datasource>
|
|
21
21
|
`
|
|
22
22
|
: html `
|
|
23
23
|
<grid-pro-client-side-datasource
|
|
24
24
|
${ref('datasource')}
|
|
25
25
|
:deferredGridOptions=${(x) => x.gridOptions}
|
|
26
|
-
criteria=${(x) =>
|
|
27
|
-
fields=${(x) =>
|
|
28
|
-
is-snapshot=${(x) =>
|
|
29
|
-
max-rows=${(x) =>
|
|
30
|
-
max-view=${(x) =>
|
|
31
|
-
moving-view=${(x) =>
|
|
32
|
-
order-by=${(x) =>
|
|
33
|
-
polling-interval=${(x) =>
|
|
26
|
+
criteria=${(x) => x.criteria}
|
|
27
|
+
fields=${(x) => x.fields}
|
|
28
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
29
|
+
max-rows=${(x) => x.maxRows}
|
|
30
|
+
max-view=${(x) => x.maxView}
|
|
31
|
+
moving-view=${(x) => x.movingView}
|
|
32
|
+
order-by=${(x) => x.orderBy}
|
|
33
|
+
polling-interval=${(x) => x.pollingInterval}
|
|
34
34
|
resource-name=${(x) => x.resourceName}
|
|
35
|
-
:request=${(x) =>
|
|
36
|
-
reverse=${(x) =>
|
|
35
|
+
:request=${(x) => x.request}
|
|
36
|
+
reverse=${(x) => x.reverse}
|
|
37
37
|
></grid-pro-client-side-datasource>
|
|
38
38
|
`;
|
|
39
39
|
};
|
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.211.
|
|
4
|
+
"version": "14.211.4",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.211.
|
|
56
|
-
"@genesislcap/genx": "14.211.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.211.
|
|
58
|
-
"@genesislcap/ts-builder": "14.211.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.211.
|
|
60
|
-
"@genesislcap/vite-builder": "14.211.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.211.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.211.4",
|
|
56
|
+
"@genesislcap/genx": "14.211.4",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.211.4",
|
|
58
|
+
"@genesislcap/ts-builder": "14.211.4",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.211.4",
|
|
60
|
+
"@genesislcap/vite-builder": "14.211.4",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.211.4",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.211.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.211.
|
|
68
|
-
"@genesislcap/foundation-events": "14.211.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.211.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.211.
|
|
71
|
-
"@genesislcap/foundation-login": "14.211.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.211.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.211.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.211.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.211.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.211.
|
|
77
|
-
"@genesislcap/grid-pro": "14.211.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.211.4",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.211.4",
|
|
68
|
+
"@genesislcap/foundation-events": "14.211.4",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.211.4",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.211.4",
|
|
71
|
+
"@genesislcap/foundation-login": "14.211.4",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.211.4",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.211.4",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.211.4",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.211.4",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.211.4",
|
|
77
|
+
"@genesislcap/grid-pro": "14.211.4",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"customElements": "dist/custom-elements.json",
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "2e97f2125409e269ed87c650aaecc49ee986471b"
|
|
95
95
|
}
|