@genesislcap/foundation-forms 14.431.0 → 14.432.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.
@@ -23,7 +23,13 @@ declare const Filters_base: (new (...args: any[]) => {
23
23
  #_tryFindContainingLayout(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
24
24
  connectedCallback(): void;
25
25
  readonly $fastController: import("@microsoft/fast-element").Controller;
26
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
26
+ $emit(type: string, detail
27
+ /**
28
+ * @internal
29
+ */
30
+ ? /**
31
+ * @internal
32
+ */: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
27
33
  disconnectedCallback(): void;
28
34
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
29
35
  accessKey: string;
@@ -1 +1 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAO1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAa1C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMnD,gBAAgB;AAChB,eAAO,MAAM,aAAa,iDAAqC,CAAC;AAchE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,OAa5B,CAAC;;;;;;;kBAG8B,CAAC;;;;;;;;8BAuD9B,CAAD,cACQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAqCA,CAAA;4IASyC,CAAC;wFAGf,CAAC;+IAKR,CAAA;2FAGvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6CwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;mBAsF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AAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAW9C,cAAc,CAAC,SAAS,EAAE,MAAM;CAcvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"filters.styles.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,iDA0FnC,CAAC"}
1
+ {"version":3,"file":"filters.styles.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,iDA4FnC,CAAC"}
@@ -1,5 +1,12 @@
1
1
  import { FASTElement, ViewTemplate } from '@microsoft/fast-element';
2
2
  import { DispatchRenderer } from './dispatch-renderer';
3
+ /**
4
+ * Generates control wrapper styles scoped to the given host element selector.
5
+ * Use this when rendering controls outside of `foundation-form`.
6
+ *
7
+ * @internal
8
+ */
9
+ export declare const controlWrapperStylesFor: (hostSelector: string) => import("@microsoft/fast-element").ElementStyles;
3
10
  /**
4
11
  * Styles formerly scoped to the <control-wrapper> element. After the light-DOM
5
12
  * refactor these are composed into `foundationFormStyles` so they reach every
@@ -1 +1 @@
1
- {"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,YAAY,EAQb,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,iDAwDhC,CAAC;AAEF,UAAU,qBAAqB;IAC7B;;;;OAIG;IACH,aAAa,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAC9C,0EAA0E;IAC1E,MAAM,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,SAAS,qBAAqB,KAC7B,YAAY,CAAC,gBAAgB,CA2D/B,CAAC;AAmCF,4BAA4B;AAC5B,eAAO,MAAM,8BAA8B,wBAoD1C,CAAC;AAoEF;;;;GAIG;AACH,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IACzE,MAAM,EAAE,MAAM,CAAC;IAEZ,iBAAiB;IAQ1B,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAOhB;IAED,IACI,kBAAkB,2BAGrB;IAED,IACI,UAAU,WAOb;CACF"}
1
+ {"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,YAAY,EAQb,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,cAAc,MAAM,oDAwD3D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,iDAA6C,CAAC;AAE/E,UAAU,qBAAqB;IAC7B;;;;OAIG;IACH,aAAa,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAC9C,0EAA0E;IAC1E,MAAM,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,SAAS,qBAAqB,KAC7B,YAAY,CAAC,gBAAgB,CA2D/B,CAAC;AAmCF,4BAA4B;AAC5B,eAAO,MAAM,8BAA8B,wBAoD1C,CAAC;AAoEF;;;;GAIG;AACH,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IACzE,MAAM,EAAE,MAAM,CAAC;IAEZ,iBAAiB;IAQ1B,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAOhB;IAED,IACI,kBAAkB,2BAGrB;IAED,IACI,UAAU,WAOb;CACF"}
@@ -65,15 +65,6 @@ export declare const Form: React.ForwardRefExoticComponent<
65
65
  >;
66
66
  export type FormRef = FormWC;
67
67
 
68
- export declare const Filters: React.ForwardRefExoticComponent<
69
- React.PropsWithChildren<
70
- Omit<PublicOf<FiltersWC>, 'children' | 'style'> &
71
- HTMLWCProps & {
72
- }
73
- > & React.RefAttributes<FiltersWC>
74
- >;
75
- export type FiltersRef = FiltersWC;
76
-
77
68
  export declare const JSONForms: React.ForwardRefExoticComponent<
78
69
  React.PropsWithChildren<
79
70
  Omit<PublicOf<JSONFormsWC>, 'children' | 'style'> &
@@ -84,6 +75,15 @@ export declare const JSONForms: React.ForwardRefExoticComponent<
84
75
  >;
85
76
  export type JSONFormsRef = JSONFormsWC;
86
77
 
78
+ export declare const Filters: React.ForwardRefExoticComponent<
79
+ React.PropsWithChildren<
80
+ Omit<PublicOf<FiltersWC>, 'children' | 'style'> &
81
+ HTMLWCProps & {
82
+ }
83
+ > & React.RefAttributes<FiltersWC>
84
+ >;
85
+ export type FiltersRef = FiltersWC;
86
+
87
87
  export declare const ArrayListWrapper: React.ForwardRefExoticComponent<
88
88
  React.PropsWithChildren<
89
89
  Omit<PublicOf<ArrayListWrapperWC>, 'children' | 'style'> &
@@ -337,6 +337,7 @@ Filters = __decorate([
337
337
  name: 'foundation-filters',
338
338
  template,
339
339
  styles,
340
+ shadowOptions: null,
340
341
  })
341
342
  ], Filters);
342
343
  export { Filters };
@@ -2,8 +2,11 @@ import { controlCornerRadius, designUnit, strokeWidth } from '@microsoft/fast-co
2
2
  import { css } from '@microsoft/fast-element';
3
3
  import { forcedColorsStylesheetBehavior } from '@microsoft/fast-foundation';
4
4
  import { SystemColors } from '@microsoft/fast-web-utilities';
5
+ import { controlWrapperStylesFor } from '../jsonforms/renderers/ControlWrapperRenderer';
5
6
  export const foundationFiltersStyles = css `
6
- :host {
7
+ ${controlWrapperStylesFor('foundation-filters')}
8
+
9
+ foundation-filters {
7
10
  display: flex;
8
11
  height: 100%;
9
12
  width: 100%;
@@ -15,36 +18,36 @@ export const foundationFiltersStyles = css `
15
18
  --filter-persistence-controls-container-height: 145px;
16
19
  }
17
20
 
18
- .header {
21
+ foundation-filters .header {
19
22
  padding: calc(var(--design-unit) * 4px);
20
23
  }
21
24
 
22
- .header h2 {
25
+ foundation-filters .header h2 {
23
26
  margin: 0;
24
27
  }
25
28
 
26
- .container {
29
+ foundation-filters .container {
27
30
  width: 100%;
28
31
  display: flex;
29
32
  flex-direction: column;
30
33
  }
31
34
 
32
- .container-forms {
35
+ foundation-filters .container-forms {
33
36
  overflow: hidden;
34
37
  overflow-y: scroll;
35
38
  display: flex;
36
39
  }
37
40
 
38
- .container-forms json-forms {
41
+ foundation-filters .container-forms json-forms {
39
42
  width: 100%;
40
43
  padding: 0 15px;
41
44
  }
42
45
 
43
- .label {
46
+ foundation-filters .label {
44
47
  font-size: calc(${designUnit} * 1px + 0.7vmin);
45
48
  }
46
49
 
47
- .actions {
50
+ foundation-filters .actions {
48
51
  display: flex;
49
52
  flex-direction: row;
50
53
  align-items: flex-start;
@@ -53,40 +56,40 @@ export const foundationFiltersStyles = css `
53
56
  gap: calc(${designUnit} * 2px);
54
57
  }
55
58
 
56
- .action-button {
59
+ foundation-filters .action-button {
57
60
  width: 70px;
58
61
  }
59
62
 
60
- .filter-persistence-controls-container {
63
+ foundation-filters .filter-persistence-controls-container {
61
64
  display: flex;
62
65
  flex-direction: column;
63
66
  height: var(--filter-persistence-controls-container-height);
64
67
  padding: 5px 15px;
65
68
  }
66
69
 
67
- .filter-persistence-controls {
70
+ foundation-filters .filter-persistence-controls {
68
71
  display: flex;
69
72
  flex-direction: column;
70
73
  width: 100%;
71
74
  padding-bottom: 10px;
72
75
  }
73
76
 
74
- .filter-persistence-controls > rapid-label {
77
+ foundation-filters .filter-persistence-controls > rapid-label {
75
78
  margin-bottom: calc(var(--design-unit) * 1px);
76
79
  color: var(--neutral-foreground-hint);
77
80
  }
78
81
 
79
- .filter-persistence-controls-components {
82
+ foundation-filters .filter-persistence-controls-components {
80
83
  display: flex;
81
84
  gap: 10px;
82
85
  }
83
86
 
84
- .filter-persistence-controls-components > rapid-button {
87
+ foundation-filters .filter-persistence-controls-components > rapid-button {
85
88
  width: 100px;
86
89
  justify-content: center;
87
90
  }
88
91
  `.withBehaviors(forcedColorsStylesheetBehavior(css `
89
- :host {
92
+ foundation-filters {
90
93
  background: ${SystemColors.Canvas};
91
94
  border-color: ${SystemColors.CanvasText};
92
95
  }
@@ -5,22 +5,20 @@ import { classNames } from '@microsoft/fast-web-utilities';
5
5
  import { logger } from '../../utils/logger';
6
6
  import { getAnyOfErrorMessage } from '../../utils/validation';
7
7
  /**
8
- * Styles formerly scoped to the <control-wrapper> element. After the light-DOM
9
- * refactor these are composed into `foundationFormStyles` so they reach every
10
- * rendered control. Exported for consumers that render controls outside of
11
- * `foundation-form` and need the same wrapper styling.
8
+ * Generates control wrapper styles scoped to the given host element selector.
9
+ * Use this when rendering controls outside of `foundation-form`.
12
10
  *
13
11
  * @internal
14
12
  */
15
- export const controlWrapperStyles = css `
16
- foundation-form .foundation-control-wrapper-root {
13
+ export const controlWrapperStylesFor = (hostSelector) => css `
14
+ ${hostSelector} .foundation-control-wrapper-root {
17
15
  margin-bottom: var(--wrapper-root-margin-bottom, calc(var(--design-unit) * 4px));
18
16
  }
19
- foundation-form .foundation-control-wrapper-root.labelLeft {
17
+ ${hostSelector} .foundation-control-wrapper-root.labelLeft {
20
18
  display: flex;
21
19
  flex-wrap: wrap;
22
20
  }
23
- foundation-form .foundation-control-wrapper-label {
21
+ ${hostSelector} .foundation-control-wrapper-label {
24
22
  color: var(--neutral-foreground-hint);
25
23
  margin-bottom: var(--control-label-margin, calc(var(--design-unit) * 2px));
26
24
  display: flex;
@@ -28,7 +26,7 @@ export const controlWrapperStyles = css `
28
26
  font-weight: 700;
29
27
  cursor: default;
30
28
  }
31
- foundation-form .foundation-control-wrapper-label.visually-hidden {
29
+ ${hostSelector} .foundation-control-wrapper-label.visually-hidden {
32
30
  position: absolute;
33
31
  width: 1px;
34
32
  height: 1px;
@@ -40,35 +38,44 @@ export const controlWrapperStyles = css `
40
38
  white-space: nowrap;
41
39
  border: 0;
42
40
  }
43
- foundation-form .labelLeft .foundation-control-wrapper {
41
+ ${hostSelector} .labelLeft .foundation-control-wrapper {
44
42
  flex: 1 1 auto;
45
43
  width: auto;
46
44
  align-items: flex-start;
47
45
  flex-wrap: wrap;
48
46
  }
49
- foundation-form .labelLeft .foundation-control-wrapper-label {
47
+ ${hostSelector} .labelLeft .foundation-control-wrapper-label {
50
48
  flex: 0 1 auto;
51
49
  width: calc(var(--design-unit) * 30px);
52
50
  margin-right: calc(var(--design-unit) * 2px);
53
51
  align-items: center;
54
52
  margin-bottom: 0;
55
53
  }
56
- foundation-form .labelLeft .foundation-control-wrapper-error {
54
+ ${hostSelector} .labelLeft .foundation-control-wrapper-error {
57
55
  margin-left: 0;
58
56
  flex: 1 1 100%;
59
57
  text-align: right;
60
58
  }
61
- foundation-form .foundation-control-wrapper-error {
59
+ ${hostSelector} .foundation-control-wrapper-error {
62
60
  font-size: 12px;
63
61
  color: #f9644d;
64
62
  margin-left: 10px;
65
63
  }
66
- foundation-form .foundation-control-wrapper {
64
+ ${hostSelector} .foundation-control-wrapper {
67
65
  display: flex;
68
66
  width: 100%;
69
67
  align-items: center;
70
68
  }
71
69
  `;
70
+ /**
71
+ * Styles formerly scoped to the <control-wrapper> element. After the light-DOM
72
+ * refactor these are composed into `foundationFormStyles` so they reach every
73
+ * rendered control. Exported for consumers that render controls outside of
74
+ * `foundation-form` and need the same wrapper styling.
75
+ *
76
+ * @internal
77
+ */
78
+ export const controlWrapperStyles = controlWrapperStylesFor('foundation-form');
72
79
  /**
73
80
  * Light-DOM-friendly control wrapper that replaces the former `<control-wrapper>`
74
81
  * custom element. Renders label, error/description slots, and composes a provided
@@ -631,7 +631,13 @@ declare const Filters_base: (new (...args: any[]) => {
631
631
  #_tryFindContainingLayout(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
632
632
  connectedCallback(): void;
633
633
  readonly $fastController: Controller;
634
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
634
+ $emit(type: string, detail
635
+ /**
636
+ * @internal
637
+ */
638
+ ? /**
639
+ * @internal
640
+ */: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
635
641
  disconnectedCallback(): void;
636
642
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
637
643
  accessKey: string;
package/dist/react.cjs CHANGED
@@ -98,11 +98,6 @@ const Form = React.forwardRef(function Form(props, ref) {
98
98
  return React.createElement(customElements.getName(FormWC) ?? 'foundation-form', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
99
99
  });
100
100
 
101
- const Filters = React.forwardRef(function Filters(props, ref) {
102
- const { children, ...rest } = props;
103
- return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
104
- });
105
-
106
101
  const JSONForms = React.forwardRef(function JSONForms(props, ref) {
107
102
  const { onDataChange, children, ...rest } = props;
108
103
  const _innerRef = React.useRef(null);
@@ -120,6 +115,11 @@ const JSONForms = React.forwardRef(function JSONForms(props, ref) {
120
115
  return React.createElement(customElements.getName(JSONFormsWC) ?? 'json-forms', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
121
116
  });
122
117
 
118
+ const Filters = React.forwardRef(function Filters(props, ref) {
119
+ const { children, ...rest } = props;
120
+ return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
121
+ });
122
+
123
123
  const ArrayListWrapper = React.forwardRef(function ArrayListWrapper(props, ref) {
124
124
  const { children, ...rest } = props;
125
125
  return React.createElement(customElements.getName(ArrayListWrapperWC) ?? 'array-list-wrapper', { ...rest, ref }, children);
@@ -157,8 +157,8 @@ const DispatchRenderer = React.forwardRef(function DispatchRenderer(props, ref)
157
157
 
158
158
  module.exports = {
159
159
  Form,
160
- Filters,
161
160
  JSONForms,
161
+ Filters,
162
162
  ArrayListWrapper,
163
163
  CategorizationWrapper,
164
164
  ControlWrapper,
package/dist/react.mjs CHANGED
@@ -96,11 +96,6 @@ export const Form = React.forwardRef(function Form(props, ref) {
96
96
  return React.createElement(customElements.getName(FormWC) ?? 'foundation-form', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
97
97
  });
98
98
 
99
- export const Filters = React.forwardRef(function Filters(props, ref) {
100
- const { children, ...rest } = props;
101
- return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
102
- });
103
-
104
99
  export const JSONForms = React.forwardRef(function JSONForms(props, ref) {
105
100
  const { onDataChange, children, ...rest } = props;
106
101
  const _innerRef = React.useRef(null);
@@ -118,6 +113,11 @@ export const JSONForms = React.forwardRef(function JSONForms(props, ref) {
118
113
  return React.createElement(customElements.getName(JSONFormsWC) ?? 'json-forms', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
119
114
  });
120
115
 
116
+ export const Filters = React.forwardRef(function Filters(props, ref) {
117
+ const { children, ...rest } = props;
118
+ return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
119
+ });
120
+
121
121
  export const ArrayListWrapper = React.forwardRef(function ArrayListWrapper(props, ref) {
122
122
  const { children, ...rest } = props;
123
123
  return React.createElement(customElements.getName(ArrayListWrapperWC) ?? 'array-list-wrapper', { ...rest, ref }, children);
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.431.0",
4
+ "version": "14.432.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -55,23 +55,23 @@
55
55
  }
56
56
  },
57
57
  "devDependencies": {
58
- "@genesislcap/foundation-testing": "14.431.0",
59
- "@genesislcap/genx": "14.431.0",
60
- "@genesislcap/rollup-builder": "14.431.0",
61
- "@genesislcap/ts-builder": "14.431.0",
62
- "@genesislcap/uvu-playwright-builder": "14.431.0",
63
- "@genesislcap/vite-builder": "14.431.0",
64
- "@genesislcap/webpack-builder": "14.431.0",
58
+ "@genesislcap/foundation-testing": "14.432.1",
59
+ "@genesislcap/genx": "14.432.1",
60
+ "@genesislcap/rollup-builder": "14.432.1",
61
+ "@genesislcap/ts-builder": "14.432.1",
62
+ "@genesislcap/uvu-playwright-builder": "14.432.1",
63
+ "@genesislcap/vite-builder": "14.432.1",
64
+ "@genesislcap/webpack-builder": "14.432.1",
65
65
  "@types/json-schema": "^7.0.11",
66
66
  "@types/papaparse": "^5.3.14"
67
67
  },
68
68
  "dependencies": {
69
- "@genesislcap/foundation-comms": "14.431.0",
70
- "@genesislcap/foundation-criteria": "14.431.0",
71
- "@genesislcap/foundation-logger": "14.431.0",
72
- "@genesislcap/foundation-notifications": "14.431.0",
73
- "@genesislcap/foundation-ui": "14.431.0",
74
- "@genesislcap/foundation-utils": "14.431.0",
69
+ "@genesislcap/foundation-comms": "14.432.1",
70
+ "@genesislcap/foundation-criteria": "14.432.1",
71
+ "@genesislcap/foundation-logger": "14.432.1",
72
+ "@genesislcap/foundation-notifications": "14.432.1",
73
+ "@genesislcap/foundation-ui": "14.432.1",
74
+ "@genesislcap/foundation-utils": "14.432.1",
75
75
  "@json-schema-tools/dereferencer": "^1.6.1",
76
76
  "@jsonforms/core": "^3.2.1",
77
77
  "@microsoft/fast-components": "2.30.6",
@@ -93,5 +93,5 @@
93
93
  "access": "public"
94
94
  },
95
95
  "customElements": "dist/custom-elements.json",
96
- "gitHead": "4e523b6a77df321a9c70fcdf7c12a4ffcb98769a"
96
+ "gitHead": "db069baa1e602aba41b0a8eb54a5d48823b962de"
97
97
  }