@genesislcap/foundation-entity-management 14.485.0 → 14.486.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.
@@ -3800,6 +3800,27 @@
3800
3800
  }
3801
3801
  ]
3802
3802
  },
3803
+ {
3804
+ "kind": "javascript-module",
3805
+ "path": "src/routes/config.ts",
3806
+ "declarations": [],
3807
+ "exports": []
3808
+ },
3809
+ {
3810
+ "kind": "javascript-module",
3811
+ "path": "src/routes/index.ts",
3812
+ "declarations": [],
3813
+ "exports": [
3814
+ {
3815
+ "kind": "js",
3816
+ "name": "*",
3817
+ "declaration": {
3818
+ "name": "*",
3819
+ "package": "./config"
3820
+ }
3821
+ }
3822
+ ]
3823
+ },
3803
3824
  {
3804
3825
  "kind": "javascript-module",
3805
3826
  "path": "src/main/index.ts",
@@ -3944,27 +3965,6 @@
3944
3965
  }
3945
3966
  ]
3946
3967
  },
3947
- {
3948
- "kind": "javascript-module",
3949
- "path": "src/routes/config.ts",
3950
- "declarations": [],
3951
- "exports": []
3952
- },
3953
- {
3954
- "kind": "javascript-module",
3955
- "path": "src/routes/index.ts",
3956
- "declarations": [],
3957
- "exports": [
3958
- {
3959
- "kind": "js",
3960
- "name": "*",
3961
- "declaration": {
3962
- "name": "*",
3963
- "package": "./config"
3964
- }
3965
- }
3966
- ]
3967
- },
3968
3968
  {
3969
3969
  "kind": "javascript-module",
3970
3970
  "path": "src/utils/custom-actions-utils.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA0EnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,MAAM,EACd,UAAU,gBAAgB,0EAmD3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,0EAiBpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,0EAQ1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,0EAqB5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,0EAwBlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,0EA+GjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
1
+ {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA4EnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,MAAM,EACd,UAAU,gBAAgB,0EAmD3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,0EAiBpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,0EAU1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,0EAuB5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,0EA4BlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,0EAmHjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAU,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,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;OAEG;IACH,OAAO,CAAC,2BAA2B;IAmC7B,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,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,CAAC,eAAe,CAAC,GAAG,IAAI;IAIvD,mBAAmB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAIhE,oBAAoB,CAAC,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,GAAG,IAAI;IAIhE,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,iBAAiB,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC;IAIlD,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAI5D,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;IAId,OAAO,CAAC,kBAAkB,CAGxB;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA2DnC,eAAO,MAAM,eAAe,GAAI,WAAM,8DA2DrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
1
+ {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA2DnC,eAAO,MAAM,eAAe,GAAI,WAAM,8DA4DrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
@@ -11,6 +11,8 @@ avoidTreeShaking(List, Form);
11
11
  const customActionButtonTemplate = (prefix, position) => html `
12
12
  ${repeat((x) => x.getCustomActionsByPosition(position), html `
13
13
  <${prefix}-button
14
+ part="custom-action-button"
15
+ exportparts="control: custom-action-button-control, content: custom-action-button-content"
14
16
  class="crud-button custom-action-button"
15
17
  appearance=${(action) => action.appearance || 'neutral'}
16
18
  @click=${(action, c) => c.parent.handleCustomActionClick(action.name)}
@@ -27,7 +29,7 @@ const customActionButtonTemplate = (prefix, position) => html `
27
29
  */
28
30
  const addButtonTemplate = (prefix) => html `
29
31
  ${when((x) => x.createEvent, html `
30
- <${prefix}-button part="create-button" class="crud-button" appearance="neutral" @click=${(x) => x.createEntity()}>
32
+ <${prefix}-button part="create-button" exportparts="control: create-button-control, content: create-button-content" class="crud-button" appearance="neutral" @click=${(x) => x.createEntity()}>
31
33
  ${when((x) => !x.createLabel, html `<${prefix}-icon size="lg" name="plus"></${prefix}-icon>`)}
32
34
  ${(x) => x.getTitleBasedOnActionOrType(ModalFormType.Create)}
33
35
  </${prefix}-button>
@@ -71,13 +73,13 @@ export const crudButtonsTemplate = (prefix, position) => html `
71
73
  ${addButtonTemplate(prefix)}
72
74
  ${when((x) => x.crudMenuPosition !== CrudMenuPosition.Column, html `
73
75
  ${when((x) => x.updateEvent && !x.hideEdit, html `
74
- <${prefix}-button part="edit-button" class="crud-button" appearance="neutral" title="Select an item from the grid to enable editing" @click=${(x, y) => x.emitCrud('edit')} disabled=${(x) => (x.hasSelectedEntity ? null : 'disabled')}>
76
+ <${prefix}-button part="edit-button" exportparts="control: edit-button-control, content: edit-button-content" class="crud-button" appearance="neutral" title="Select an item from the grid to enable editing" @click=${(x, y) => x.emitCrud('edit')} disabled=${(x) => (x.hasSelectedEntity ? null : 'disabled')}>
75
77
  <${prefix}-icon size="lg" name="pen"></${prefix}-icon>
76
78
  ${(x) => x.getTitleBasedOnActionOrType(ModalFormType.Update)}
77
79
  </${prefix}-button>
78
80
  `)}
79
81
  ${when((x) => x.deleteEvent && !x.hideDelete, html `
80
- <${prefix}-button part="delete-button" class="crud-button" appearance="neutral" title="Select an item from the grid to enable deleting" @click=${(x, y) => x.emitCrud('delete')} disabled=${(x) => (x.hasSelectedEntity ? null : 'disabled')}>
82
+ <${prefix}-button part="delete-button" exportparts="control: delete-button-control, content: delete-button-content" class="crud-button" appearance="neutral" title="Select an item from the grid to enable deleting" @click=${(x, y) => x.emitCrud('delete')} disabled=${(x) => (x.hasSelectedEntity ? null : 'disabled')}>
81
83
  <${prefix}-icon size="lg" name="trash-alt"></${prefix}-icon>
82
84
  ${(x) => x.getTitleBasedOnActionOrType(CrudAction.Delete)}
83
85
  </${prefix}-button>
@@ -115,6 +117,8 @@ export const exportHeader = (prefix) => html `
115
117
  return null;
116
118
  const buttonName = (_b = (_a = ctx.enableCsvExport) === null || _a === void 0 ? void 0 : _a.buttonName) !== null && _b !== void 0 ? _b : 'Export';
117
119
  return html `<${prefix}-button
120
+ part="export-button"
121
+ exportparts="control: export-button-control, content: export-button-content"
118
122
  @click="${(x) => x.downloadCsvData()}"
119
123
  >${buttonName}</${prefix}-button>`;
120
124
  }}
@@ -126,6 +130,8 @@ export const headerTemplate = (prefix) => html `
126
130
  <div class="search-container">
127
131
  ${when((x) => x.enableSearchBar, html `
128
132
  <${prefix}-search-bar
133
+ part="search-bar"
134
+ exportparts="label: search-bar-label"
129
135
  :options="${(x) => x.searchBarConfig}"
130
136
  ></${prefix}-search-bar>
131
137
  `)}
@@ -146,6 +152,8 @@ export const filtersModalTemplate = (prefix) => html `
146
152
  ${when((x) => x.enableFilters, html `
147
153
  <${prefix}-modal
148
154
  ${ref('filtersModal')}
155
+ part="filters-modal"
156
+ exportparts="dialog: filters-modal-dialog, content: filters-modal-content, content-container: filters-modal-content-container, top: filters-modal-top, bottom: filters-modal-bottom, close-icon: filters-modal-close-icon, reset-size-icon: filters-modal-reset-size-icon"
149
157
  class="filters-modal"
150
158
  position=${(x) => x.filtersModalPosition}
151
159
  :onCloseCallback=${(x) => x.closeFiltersModal.bind(x)}
@@ -154,6 +162,8 @@ export const filtersModalTemplate = (prefix) => html `
154
162
  <div slot="top" data-test-id="filters-dialog-title">${(x) => x.filtersModalTitle}</div>
155
163
 
156
164
  <foundation-filters
165
+ part="filters"
166
+ exportparts="container: filters-container, container-body: filters-container-body, container-forms: filters-container-forms, actions: filters-actions, filter-persistence-controls-container: filters-persistence-controls-container"
157
167
  design-system-prefix=${(x) => x.prefix}
158
168
  resourceName=${(x) => x.resourceName}
159
169
  :uischema=${(x) => x.filtersUiSchema}
@@ -179,7 +189,7 @@ export const getPrefixedEntities = (prefix) => html `
179
189
  <h3 class="header-title">${(x) => x.title}</h3>
180
190
  `)}
181
191
  ${when((x) => x.enableFilters, html `
182
- <${prefix}-button class="filter-button" @click=${(x) => (x.filtersModalVisible = true)}>
192
+ <${prefix}-button part="filter-button" exportparts="control: filter-button-control, content: filter-button-content" class="filter-button" @click=${(x) => (x.filtersModalVisible = true)}>
183
193
  <span>Filter Data</span>
184
194
  <${prefix}-icon
185
195
  name="filter"
@@ -196,6 +206,7 @@ export const getPrefixedEntities = (prefix) => html `
196
206
  ${when((x) => x.gridVisible, html `
197
207
  <entity-list
198
208
  ${ref('entityListRef')}
209
+ exportparts="grid"
199
210
  title=${(x) => x.title}
200
211
  async-add=${(x) => x.asyncAdd}
201
212
  async-remove=${(x) => x.asyncRemove}
@@ -237,6 +248,8 @@ export const getPrefixedEntities = (prefix) => html `
237
248
  </div>
238
249
  <${prefix}-modal
239
250
  ${ref('editEntityModal')}
251
+ part="edit-modal"
252
+ exportparts="dialog: edit-modal-dialog, content: edit-modal-content, content-container: edit-modal-content-container, top: edit-modal-top, bottom: edit-modal-bottom, close-icon: edit-modal-close-icon, reset-size-icon: edit-modal-reset-size-icon"
240
253
  class="edit-modal"
241
254
  position=${(x) => x.modalPosition}
242
255
  :onCloseCallback=${(x) => x.closeModal.bind(x)}
@@ -248,6 +261,7 @@ export const getPrefixedEntities = (prefix) => html `
248
261
  ${when((x) => x.editModalVisible, html `
249
262
  <foundation-form
250
263
  part="form"
264
+ exportparts="approval-modal: form-approval-modal, csv-upload: form-csv-upload, userActions: form-user-actions"
251
265
  :renderers=${(x) => x.formRenderers}
252
266
  :additionalRenderers=${(x) => x.additionalFormRenderers}
253
267
  resourceName=${(x) => x.currentFormResourceName}
@@ -112,7 +112,7 @@ let List = class List extends LifecycleMixin(GenesisElement) {
112
112
  actionColumnIcon(iconName, variant = 'solid') {
113
113
  return html `
114
114
  <${this.prefix}-icon
115
- style="pointer-events: none; opacity: 0.5"
115
+ style="pointer-events: none; opacity: 1"
116
116
  class="icon-button"
117
117
  variant="${variant}"
118
118
  name="${iconName}"
@@ -74,6 +74,7 @@ export const getPrefixedList = (prefix) => html `
74
74
  `)}
75
75
  <${prefix}-grid-pro
76
76
  ${ref('grid')}
77
+ part="grid"
77
78
  auto-cell-renderer-by-type
78
79
  rowSelection="${(x) => x.rowSelection}"
79
80
  persist-column-state-key=${(x) => x.persistColumnStateKey}
@@ -0,0 +1,73 @@
1
+ # Entity Management — Exported CSS Parts
2
+
3
+ Reference for the shadow `part`s exposed by `foundation-entity-management`
4
+ (`entities.template.ts`), and the inner parts forwarded up through nested
5
+ shadow boundaries via `exportparts`.
6
+
7
+ All selectors below are used against the host element from a consuming
8
+ stylesheet, e.g. with the `rapid` prefix:
9
+
10
+ ```css
11
+ rapid-entity-management::part(create-button-control) { … }
12
+ ```
13
+
14
+ ## Forwarded parts (nested custom elements)
15
+
16
+ Each of these elements is a shadow host with its own inner parts. It is
17
+ exposed via `part`, and its inner parts are forwarded via `exportparts` using
18
+ the convention `<element-role>-<inner-part>`.
19
+
20
+ | Element | Exposed as `part` | Forwarded inner parts (`::part(…)`) |
21
+ |---|---|---|
22
+ | Create / add button | `create-button` | `create-button-control`, `create-button-content` |
23
+ | Edit button | `edit-button` | `edit-button-control`, `edit-button-content` |
24
+ | Delete button | `delete-button` | `delete-button-control`, `delete-button-content` |
25
+ | Custom-action button | `custom-action-button` | `custom-action-button-control`, `custom-action-button-content` |
26
+ | CSV export button | `export-button` | `export-button-control`, `export-button-content` |
27
+ | Filter button | `filter-button` | `filter-button-control`, `filter-button-content` |
28
+ | Filters modal | `filters-modal` | `filters-modal-dialog`, `filters-modal-content`, `filters-modal-content-container`, `filters-modal-top`, `filters-modal-bottom`, `filters-modal-close-icon`, `filters-modal-reset-size-icon` |
29
+ | Edit modal | `edit-modal` | `edit-modal-dialog`, `edit-modal-content`, `edit-modal-content-container`, `edit-modal-top`, `edit-modal-bottom`, `edit-modal-close-icon`, `edit-modal-reset-size-icon` |
30
+ | Form (`foundation-form`) | `form` | `form-approval-modal`, `form-csv-upload`, `form-user-actions` |
31
+ | Filters (`foundation-filters`) | `filters` | `filters-container`, `filters-container-body`, `filters-container-forms`, `filters-actions`, `filters-persistence-controls-container` |
32
+ | Search bar | `search-bar` | `search-bar-label` |
33
+ | Grid (via `entity-list`) | — | `grid` |
34
+
35
+ ### Notes
36
+
37
+ - **Custom-action button** is rendered inside a `repeat`, so `custom-action-button`
38
+ (and its forwarded parts) match **all** custom-action buttons — style them as a group.
39
+ - **Grid** is forwarded through **two** shadow boundaries:
40
+ `rapid-grid-pro` carries `part="grid"` inside `entity-list`, and `entity-list`
41
+ re-exports it with `exportparts="grid"`. `::part(grid)` targets the grid **host**
42
+ element, not ag-grid's internal rows/cells.
43
+
44
+ ## Native parts (no forwarding needed)
45
+
46
+ These `part`s are declared directly on plain elements in the entity-management
47
+ shadow root, so they are already exposed to consumers with no `exportparts`:
48
+
49
+ | Part | Element |
50
+ |---|---|
51
+ | `before-header`, `header`, `after-header` | header slots |
52
+ | `before-footer`, `footer`, `after-footer` | footer slots |
53
+ | `custom-buttons-wrapper`, `custom-buttons-wrapper-<position>` | `<section>` |
54
+ | `custom-buttons`, `custom-buttons-<position>` | `<nav>` |
55
+ | `crud-buttons-wrapper`, `crud-buttons-wrapper-<position>`, `crud-buttons-wrapper-column` | `<section>` |
56
+ | `crud-buttons`, `crud-buttons-<position>` | `<nav>` |
57
+
58
+ `<position>` resolves to `top` / `bottom` / `column` per `CrudMenuPosition`.
59
+
60
+ ## Not forwarded (and why)
61
+
62
+ - **`search-bar` control / listbox / selected-value** — these live in a nested
63
+ combobox that `<rapid-search-bar>` does not itself re-export, so they are not
64
+ reachable at the search-bar boundary. Forwarding them would require an
65
+ `exportparts` change **inside** the search-bar component (a separate package).
66
+ - **`ai-criteria-search`** — declares no parts of its own, so there is nothing
67
+ to forward.
68
+
69
+ ## Convention
70
+
71
+ Exposed part names are namespaced by the element's role (`<element>-<inner-part>`),
72
+ matching the existing pattern used by `settings-modal` and `multiselect` in the
73
+ codebase.
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.485.0",
4
+ "version": "14.486.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -54,33 +54,33 @@
54
54
  }
55
55
  },
56
56
  "devDependencies": {
57
- "@genesislcap/foundation-testing": "14.485.0",
58
- "@genesislcap/genx": "14.485.0",
59
- "@genesislcap/rollup-builder": "14.485.0",
60
- "@genesislcap/ts-builder": "14.485.0",
61
- "@genesislcap/uvu-playwright-builder": "14.485.0",
62
- "@genesislcap/vite-builder": "14.485.0",
63
- "@genesislcap/webpack-builder": "14.485.0"
57
+ "@genesislcap/foundation-testing": "14.486.0",
58
+ "@genesislcap/genx": "14.486.0",
59
+ "@genesislcap/rollup-builder": "14.486.0",
60
+ "@genesislcap/ts-builder": "14.486.0",
61
+ "@genesislcap/uvu-playwright-builder": "14.486.0",
62
+ "@genesislcap/vite-builder": "14.486.0",
63
+ "@genesislcap/webpack-builder": "14.486.0"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@ag-grid-community/core": "29.2.0",
67
67
  "ag-grid-community": "36.0.0"
68
68
  },
69
69
  "dependencies": {
70
- "@genesislcap/foundation-ai": "14.485.0",
71
- "@genesislcap/foundation-comms": "14.485.0",
72
- "@genesislcap/foundation-errors": "14.485.0",
73
- "@genesislcap/foundation-events": "14.485.0",
74
- "@genesislcap/foundation-forms": "14.485.0",
75
- "@genesislcap/foundation-logger": "14.485.0",
76
- "@genesislcap/foundation-login": "14.485.0",
77
- "@genesislcap/foundation-notifications": "14.485.0",
78
- "@genesislcap/foundation-ui": "14.485.0",
79
- "@genesislcap/foundation-utils": "14.485.0",
80
- "@genesislcap/foundation-zero": "14.485.0",
81
- "@genesislcap/foundation-zero-grid-pro": "14.485.0",
82
- "@genesislcap/grid-pro": "14.485.0",
83
- "@genesislcap/web-core": "14.485.0",
70
+ "@genesislcap/foundation-ai": "14.486.0",
71
+ "@genesislcap/foundation-comms": "14.486.0",
72
+ "@genesislcap/foundation-errors": "14.486.0",
73
+ "@genesislcap/foundation-events": "14.486.0",
74
+ "@genesislcap/foundation-forms": "14.486.0",
75
+ "@genesislcap/foundation-logger": "14.486.0",
76
+ "@genesislcap/foundation-login": "14.486.0",
77
+ "@genesislcap/foundation-notifications": "14.486.0",
78
+ "@genesislcap/foundation-ui": "14.486.0",
79
+ "@genesislcap/foundation-utils": "14.486.0",
80
+ "@genesislcap/foundation-zero": "14.486.0",
81
+ "@genesislcap/foundation-zero-grid-pro": "14.486.0",
82
+ "@genesislcap/grid-pro": "14.486.0",
83
+ "@genesislcap/web-core": "14.486.0",
84
84
  "change-case": "^4.1.2"
85
85
  },
86
86
  "repository": {
@@ -103,5 +103,5 @@
103
103
  "require": "./dist/react.cjs"
104
104
  }
105
105
  },
106
- "gitHead": "6d8eacc0597e7a9a323fa3838c493e7ac8ddc589"
106
+ "gitHead": "5de11f8989291fe8aaf19a7048dd6be68c0be9c8"
107
107
  }