@rxap/schematics-ts-morph 16.1.0-dev.18 → 16.1.0-dev.19
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/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/lib/nest/coerce-autocomplete-options-operation.d.ts +11 -0
- package/src/lib/nest/coerce-autocomplete-options-operation.js +26 -0
- package/src/lib/nest/coerce-autocomplete-options-operation.js.map +1 -0
- package/src/lib/nest/coerce-autocomplete-table-select-value-resolve-operation.d.ts +7 -0
- package/src/lib/nest/coerce-autocomplete-table-select-value-resolve-operation.js +16 -0
- package/src/lib/nest/coerce-autocomplete-table-select-value-resolve-operation.js.map +1 -0
- package/src/lib/nest/coerce-table-select-value-resolve-operation.d.ts +1 -1
- package/src/lib/nest/coerce-table-select-value-resolve-operation.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.1.0-dev.19](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@16.1.0-dev.18...@rxap/schematics-ts-morph@16.1.0-dev.19) (2024-03-07)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- support autocomplete controls ([8d0f488](https://gitlab.com/rxap/packages/commit/8d0f4886d99437a0977a1f7aa88ae368e5ff2c75))
|
|
11
|
+
|
|
6
12
|
# [16.1.0-dev.18](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@16.1.0-dev.17...@rxap/schematics-ts-morph@16.1.0-dev.18) (2024-03-07)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "16.1.0-dev.
|
|
2
|
+
"version": "16.1.0-dev.19",
|
|
3
3
|
"name": "@rxap/schematics-ts-morph",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"directory": "packages/schematic/ts-morph"
|
|
72
72
|
},
|
|
73
73
|
"type": "commonjs",
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "3539c0a753cc776b17ad8d6207deb36b579ec9fd",
|
|
75
75
|
"main": "./src/index.js",
|
|
76
76
|
"types": "./src/index.d.ts"
|
|
77
77
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export * from './lib/nest/add-operation-to-controller';
|
|
|
21
21
|
export * from './lib/nest/assert-nest-project';
|
|
22
22
|
export * from './lib/nest/build-nest-base-path';
|
|
23
23
|
export * from './lib/nest/build-nest-controller-name';
|
|
24
|
+
export * from './lib/nest/coerce-autocomplete-options-operation';
|
|
25
|
+
export * from './lib/nest/coerce-autocomplete-table-select-value-resolve-operation';
|
|
24
26
|
export * from './lib/nest/coerce-dto-class';
|
|
25
27
|
export * from './lib/nest/coerce-form-submit-operation';
|
|
26
28
|
export * from './lib/nest/coerce-get-by-id-operation';
|
package/src/index.js
CHANGED
|
@@ -29,6 +29,8 @@ tslib_1.__exportStar(require("./lib/nest/add-operation-to-controller"), exports)
|
|
|
29
29
|
tslib_1.__exportStar(require("./lib/nest/assert-nest-project"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./lib/nest/build-nest-base-path"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./lib/nest/build-nest-controller-name"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./lib/nest/coerce-autocomplete-options-operation"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./lib/nest/coerce-autocomplete-table-select-value-resolve-operation"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./lib/nest/coerce-dto-class"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./lib/nest/coerce-form-submit-operation"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./lib/nest/coerce-get-by-id-operation"), exports);
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/schematic/ts-morph/src/index.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,uEAA6C;AAC7C,YAAY;AAEZ,kBAAkB;AAClB,gFAAsD;AACtD,qFAA2D;AAC3D,+EAAqD;AACrD,0EAAgD;AAChD,yEAA+C;AAC/C,wEAA8C;AAC9C,0EAAgD;AAChD,sFAA4D;AAC5D,2EAAiD;AACjD,2EAAiD;AACjD,uEAA6C;AAC7C,oEAA0C;AAC1C,YAAY;AAEZ,cAAc;AACd,yEAA+C;AAC/C,gFAAsD;AACtD,4EAAkD;AAClD,8EAAoD;AACpD,mFAAyD;AACzD,gFAAsD;AACtD,iFAAuD;AACvD,yEAA+C;AAC/C,0EAAgD;AAChD,gFAAsD;AACtD,sEAA4C;AAC5C,kFAAwD;AACxD,gFAAsD;AACtD,mFAAyD;AACzD,oFAA0D;AAC1D,0EAAgD;AAChD,+EAAqD;AACrD,+EAAqD;AACrD,4EAAkD;AAClD,wEAA8C;AAC9C,iFAAuD;AACvD,sEAA4C;AAC5C,8EAAoD;AACpD,2EAAiD;AACjD,0EAAgD;AAChD,uFAA6D;AAC7D,mFAAyD;AACzD,iGAAuE;AACvE,2EAAiD;AACjD,wEAA8C;AAC9C,kFAAwD;AACxD,kFAAwD;AACxD,8EAAoD;AACpD,yEAA+C;AAC/C,2EAAiD;AACjD,qEAA2C;AAC3C,0EAAgD;AAChD,0EAAgD;AAChD,4EAAkD;AAClD,uEAA6C;AAC7C,iFAAuD;AACvD,mFAAyD;AACzD,sEAA4C;AAC5C,YAAY;AAEZ,iBAAiB;AACjB,iFAAuD;AACvD,oFAA0D;AAC1D,6EAAmD;AACnD,4EAAkD;AAClD,+EAAqD;AACr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AA0C;AAC1C,mEAAyC;AACzC,gEAAsC;AACtC,iEAAuC;AACvC,mEAAyC;AACzC,YAAY"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/schematic/ts-morph/src/index.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,uEAA6C;AAC7C,YAAY;AAEZ,kBAAkB;AAClB,gFAAsD;AACtD,qFAA2D;AAC3D,+EAAqD;AACrD,0EAAgD;AAChD,yEAA+C;AAC/C,wEAA8C;AAC9C,0EAAgD;AAChD,sFAA4D;AAC5D,2EAAiD;AACjD,2EAAiD;AACjD,uEAA6C;AAC7C,oEAA0C;AAC1C,YAAY;AAEZ,cAAc;AACd,yEAA+C;AAC/C,gFAAsD;AACtD,4EAAkD;AAClD,8EAAoD;AACpD,mFAAyD;AACzD,gFAAsD;AACtD,iFAAuD;AACvD,yEAA+C;AAC/C,0EAAgD;AAChD,gFAAsD;AACtD,2FAAiE;AACjE,8GAAoF;AACpF,sEAA4C;AAC5C,kFAAwD;AACxD,gFAAsD;AACtD,mFAAyD;AACzD,oFAA0D;AAC1D,0EAAgD;AAChD,+EAAqD;AACrD,+EAAqD;AACrD,4EAAkD;AAClD,wEAA8C;AAC9C,iFAAuD;AACvD,sEAA4C;AAC5C,8EAAoD;AACpD,2EAAiD;AACjD,0EAAgD;AAChD,uFAA6D;AAC7D,mFAAyD;AACzD,iGAAuE;AACvE,2EAAiD;AACjD,wEAA8C;AAC9C,kFAAwD;AACxD,kFAAwD;AACxD,8EAAoD;AACpD,yEAA+C;AAC/C,2EAAiD;AACjD,qEAA2C;AAC3C,0EAAgD;AAChD,0EAAgD;AAChD,4EAAkD;AAClD,uEAA6C;AAC7C,iFAAuD;AACvD,mFAAyD;AACzD,sEAA4C;AAC5C,YAAY;AAEZ,iBAAiB;AACjB,iFAAuD;AACvD,oFAA0D;AAC1D,6EAAmD;AACnD,4EAAkD;AAClD,+EAAqD;AACrD,8EAAoD;AACpD,iFAAuD;AACvD,6E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C;AACtC,iEAAuC;AACvC,mEAAyC;AACzC,YAAY"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
+
import { NormalizedDataProperty } from '@rxap/ts-morph';
|
|
3
|
+
import { ClassDeclaration, SourceFile, WriterFunction } from 'ts-morph';
|
|
4
|
+
import { CoerceDtoClassOutput } from './coerce-dto-class';
|
|
5
|
+
import { CoerceOperationOptions, TransformOperation } from './coerce-operation';
|
|
6
|
+
export interface CoerceAutocompleteOptionsOperationRuleOptions extends CoerceOperationOptions {
|
|
7
|
+
toDisplayProperty: NormalizedDataProperty;
|
|
8
|
+
toValueProperty: NormalizedDataProperty;
|
|
9
|
+
}
|
|
10
|
+
export declare function BuildAutocompleteOptionsDtoDataMapperImplementation(classDeclaration: ClassDeclaration, moduleSourceFile: SourceFile, dto: CoerceDtoClassOutput | null, options: Readonly<CoerceOperationOptions>): TransformOperation<string | WriterFunction>;
|
|
11
|
+
export declare function CoerceAutocompleteOptionsOperationRule(options: Readonly<CoerceAutocompleteOptionsOperationRuleOptions>): Rule;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoerceAutocompleteOptionsOperationRule = exports.BuildAutocompleteOptionsDtoDataMapperImplementation = void 0;
|
|
4
|
+
const utilities_1 = require("@rxap/utilities");
|
|
5
|
+
const coerce_operation_1 = require("./coerce-operation");
|
|
6
|
+
function BuildAutocompleteOptionsDtoDataMapperImplementation(classDeclaration, moduleSourceFile, dto, options) {
|
|
7
|
+
const { isArray, } = options;
|
|
8
|
+
return () => {
|
|
9
|
+
// TODO : implement the data mapper
|
|
10
|
+
return isArray ? '[]' : '{}';
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
exports.BuildAutocompleteOptionsDtoDataMapperImplementation = BuildAutocompleteOptionsDtoDataMapperImplementation;
|
|
14
|
+
function CoerceAutocompleteOptionsOperationRule(options) {
|
|
15
|
+
const { builtDtoDataMapperImplementation = BuildAutocompleteOptionsDtoDataMapperImplementation, isArray = true, propertyList = [], queryList = [], } = options;
|
|
16
|
+
(0, utilities_1.CoerceArrayItems)(queryList, [{ name: 'search', type: 'string', hasQuestionToken: true }], (a, b) => a.name === b.name);
|
|
17
|
+
(0, utilities_1.CoerceArrayItems)(propertyList, [
|
|
18
|
+
Object.assign(Object.assign({}, options.toValueProperty), { name: 'value', source: options.toValueProperty.name }),
|
|
19
|
+
Object.assign(Object.assign({}, options.toDisplayProperty), { name: 'display', source: options.toDisplayProperty.name }),
|
|
20
|
+
], (a, b) => a.name === b.name);
|
|
21
|
+
return (0, coerce_operation_1.CoerceOperation)(Object.assign(Object.assign({}, options), { propertyList,
|
|
22
|
+
isArray,
|
|
23
|
+
builtDtoDataMapperImplementation }));
|
|
24
|
+
}
|
|
25
|
+
exports.CoerceAutocompleteOptionsOperationRule = CoerceAutocompleteOptionsOperationRule;
|
|
26
|
+
//# sourceMappingURL=coerce-autocomplete-options-operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coerce-autocomplete-options-operation.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/ts-morph/src/lib/nest/coerce-autocomplete-options-operation.ts"],"names":[],"mappings":";;;AAEA,+CAAmD;AAOnD,yDAI4B;AAO5B,SAAgB,mDAAmD,CACjE,gBAAkC,EAClC,gBAA4B,EAC5B,GAAgC,EAChC,OAAyC;IAEzC,MAAM,EACJ,OAAO,GACR,GAAG,OAAO,CAAC;IACZ,OAAO,GAAG,EAAE;QACV,mCAAmC;QACnC,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/B,CAAC,CAAC;AACJ,CAAC;AAbD,kHAaC;AAED,SAAgB,sCAAsC,CAAC,OAAgE;IACrH,MAAM,EACJ,gCAAgC,GAAG,mDAAmD,EACtF,OAAO,GAAG,IAAI,EACd,YAAY,GAAG,EAAE,EACjB,SAAS,GAAG,EAAE,GACf,GAAG,OAAO,CAAC;IACZ,IAAA,4BAAgB,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;IACvH,IAAA,4BAAgB,EAAC,YAAY,EAAE;wCAExB,OAAO,CAAC,eAAe,KAC1B,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,OAAO,CAAC,eAAe,CAAC,IAAI;wCAGjC,OAAO,CAAC,iBAAiB,KAC5B,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,OAAO,CAAC,iBAAiB,CAAC,IAAI;KAEzC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;IAChC,OAAO,IAAA,kCAAe,kCACjB,OAAO,KACV,YAAY;QACZ,OAAO;QACP,gCAAgC,IAChC,CAAC;AACL,CAAC;AA1BD,wFA0BC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NormalizedDataProperty } from '@rxap/ts-morph';
|
|
2
|
+
import { CoerceOperationOptions } from './coerce-operation';
|
|
3
|
+
export interface CoerceAutocompleteTableSelectValueResolveOperationOptions extends CoerceOperationOptions {
|
|
4
|
+
rowDisplayProperty: NormalizedDataProperty;
|
|
5
|
+
rowValueProperty: NormalizedDataProperty;
|
|
6
|
+
}
|
|
7
|
+
export declare function CoerceAutocompleteTableSelectValueResolveOperationRule(options: CoerceAutocompleteTableSelectValueResolveOperationOptions): import("@angular-devkit/schematics").Rule;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoerceAutocompleteTableSelectValueResolveOperationRule = void 0;
|
|
4
|
+
const utilities_1 = require("@rxap/utilities");
|
|
5
|
+
const coerce_operation_1 = require("./coerce-operation");
|
|
6
|
+
const coerce_table_select_value_resolve_operation_1 = require("./coerce-table-select-value-resolve-operation");
|
|
7
|
+
function CoerceAutocompleteTableSelectValueResolveOperationRule(options) {
|
|
8
|
+
const { buildUpstreamGetParametersImplementation = coerce_table_select_value_resolve_operation_1.BuildTableSelectValueResolveUpstreamGetParametersImplementation, propertyList = [], rowDisplayProperty, rowValueProperty, } = options;
|
|
9
|
+
(0, utilities_1.CoerceArrayItems)(propertyList, [
|
|
10
|
+
Object.assign(Object.assign({}, rowValueProperty), { name: 'value', source: rowValueProperty.name }),
|
|
11
|
+
Object.assign(Object.assign({}, rowDisplayProperty), { name: 'display', source: rowDisplayProperty.name }),
|
|
12
|
+
], { compareTo: (a, b) => a.name === b.name, unshift: true });
|
|
13
|
+
return (0, coerce_operation_1.CoerceOperation)(Object.assign(Object.assign({}, options), { buildUpstreamGetParametersImplementation }));
|
|
14
|
+
}
|
|
15
|
+
exports.CoerceAutocompleteTableSelectValueResolveOperationRule = CoerceAutocompleteTableSelectValueResolveOperationRule;
|
|
16
|
+
//# sourceMappingURL=coerce-autocomplete-table-select-value-resolve-operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coerce-autocomplete-table-select-value-resolve-operation.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/ts-morph/src/lib/nest/coerce-autocomplete-table-select-value-resolve-operation.ts"],"names":[],"mappings":";;;AACA,+CAAmD;AACnD,yDAG4B;AAC5B,+GAAgI;AAQhI,SAAgB,sDAAsD,CAAC,OAAkE;IACvI,MAAM,EACJ,wCAAwC,GAAG,6GAA+D,EAC1G,YAAY,GAAG,EAAE,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,GAAG,OAAO,CAAC;IAEZ,IAAA,4BAAgB,EAAC,YAAY,EAAE;wCAExB,gBAAgB,KACnB,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,gBAAgB,CAAC,IAAI;wCAG1B,kBAAkB,KACrB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,kBAAkB,CAAC,IAAI;KAElC,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAE9D,OAAO,IAAA,kCAAe,kCACjB,OAAO,KACV,wCAAwC,IACxC,CAAC;AACL,CAAC;AAzBD,wHAyBC"}
|
|
@@ -7,5 +7,5 @@ export interface CoerceTableSelectValueResolveOperationOptions extends CoerceOpe
|
|
|
7
7
|
rowDisplayProperty: NormalizedDataProperty;
|
|
8
8
|
rowValueProperty?: NormalizedDataProperty;
|
|
9
9
|
}
|
|
10
|
-
export declare function BuildTableSelectValueResolveUpstreamGetParametersImplementation(classDeclaration: ClassDeclaration, moduleSourceFile: SourceFile, dto: CoerceDtoClassOutput | null, options: Readonly<CoerceTableSelectValueResolveOperationOptions
|
|
10
|
+
export declare function BuildTableSelectValueResolveUpstreamGetParametersImplementation(classDeclaration: ClassDeclaration, moduleSourceFile: SourceFile, dto: CoerceDtoClassOutput | null, options: Readonly<Pick<CoerceTableSelectValueResolveOperationOptions, 'upstream'>>): TransformOperation<string | WriterFunction>;
|
|
11
11
|
export declare function CoerceTableSelectValueResolveOperationRule(options: CoerceTableSelectValueResolveOperationOptions): import("@angular-devkit/schematics").Rule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coerce-table-select-value-resolve-operation.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/ts-morph/src/lib/nest/coerce-table-select-value-resolve-operation.ts"],"names":[],"mappings":";;;AAAA,6CAKwB;AACxB,+CAAmD;AAOnD,yDAI4B;AAS5B,SAAgB,+DAA+D,CAClB,gBAAkC,EAClC,gBAA4B,EAC5B,GAAgC,EAChC,
|
|
1
|
+
{"version":3,"file":"coerce-table-select-value-resolve-operation.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/ts-morph/src/lib/nest/coerce-table-select-value-resolve-operation.ts"],"names":[],"mappings":";;;AAAA,6CAKwB;AACxB,+CAAmD;AAOnD,yDAI4B;AAS5B,SAAgB,+DAA+D,CAClB,gBAAkC,EAClC,gBAA4B,EAC5B,GAAgC,EAChC,OAAkF;IAE7I,OAAO,GAAG,EAAE;;QACV,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;QAC7B,IAAI,QAAQ,EAAE;YACZ,IAAI,IAAA,6CAAkC,EAAC,QAAQ,CAAC,EAAE;gBAChD,IAAI,MAAA,QAAQ,CAAC,MAAM,0CAAE,KAAK,EAAE;oBAC1B,OAAO,mBAAoB,QAAQ,CAAC,MAAM,CAAC,KAAM,aAAa,CAAC;iBAChE;aACF;YACD,OAAO,WAAW,CAAC;SACpB;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;AACJ,CAAC;AAlBD,0IAkBC;AAED,SAAgB,0CAA0C,CAAC,OAAsD;IAC/G,MAAM,EACJ,wCAAwC,GAAG,+DAA+D,EAC1G,YAAY,GAAG,EAAE,EACjB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GAAG,IAAA,gCAAqB,EAAC,aAAa,CAAC,GACxD,GAAG,OAAO,CAAC;IAEZ,IAAA,4BAAgB,EAAC,YAAY,EAAE;wCAExB,gBAAgB,KACnB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,gBAAgB,CAAC,IAAI;wCAG1B,kBAAkB,KACrB,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,kBAAkB,CAAC,IAAI;QAEjC,IAAA,gCAAqB,kCAChB,aAAa,KAChB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,aAAa,CAAC,IAAI,KACzB,QAAQ,CAAC;KACb,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE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