@rxap/schematic-angular 16.2.0-dev.21 → 16.2.0-dev.23
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 +17 -0
- package/README.md +1 -1
- package/collection.json +5 -0
- package/package.json +9 -9
- package/src/lib/accordion-header.js +7 -4
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-item.js +17 -17
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/coerce-form-component.js +3 -2
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/css-class.d.ts +8 -0
- package/src/lib/css-class.js +28 -0
- package/src/lib/css-class.js.map +1 -0
- package/src/lib/data-grid-item.js +10 -7
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/form/control/autocomplete-table-select-form-control.d.ts +6 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.js +34 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -0
- package/src/lib/form/control/form-control-kind.d.ts +2 -1
- package/src/lib/form/control/form-control-kind.js +1 -0
- package/src/lib/form/control/form-control-kind.js.map +1 -1
- package/src/lib/form/control/form-control.d.ts +1 -1
- package/src/lib/form/control/form-control.js +3 -0
- package/src/lib/form/control/form-control.js.map +1 -1
- package/src/lib/load-handlebars-template.d.ts +1 -0
- package/src/lib/load-handlebars-template.js +5 -1
- package/src/lib/load-handlebars-template.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +3 -0
- package/src/lib/minimum-table-options.js +2 -0
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/table-action.js.map +1 -1
- package/src/lib/table-column.d.ts +3 -1
- package/src/lib/table-column.js +2 -2
- package/src/lib/table-column.js.map +1 -1
- package/src/lib/table-row-action.d.ts +4 -2
- package/src/lib/table-row-action.js +8 -7
- package/src/lib/table-row-action.js.map +1 -1
- package/src/schema.json +159 -3
- package/src/schematic-input.schema.json +19 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +83 -0
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +120 -3
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +120 -3
- package/src/schematics/autocomplete-table-select-form-control.schema.json +96 -0
- package/src/schematics/css-class.schema.json +34 -0
- package/src/schematics/data-grid-component/index.js +1 -0
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +83 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.d.ts +10 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +247 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.d.ts +4 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +453 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/template.schema.json +39 -0
- package/src/schematics/form/form-array/schema.json +83 -0
- package/src/schematics/form/form-component/schema.json +83 -0
- package/src/schematics/form/form-control/schema.json +83 -0
- package/src/schematics/form/form-definition/schema.json +83 -0
- package/src/schematics/form/form-group/schema.json +83 -0
- package/src/schematics/form-control.schema.json +6 -0
- package/src/schematics/minimum-table.schema.json +6 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +33 -2
- package/src/schematics/table/action/form-table-action/schema.json +116 -2
- package/src/schematics/table/action/navigation-table-action/schema.json +33 -2
- package/src/schematics/table/action/open-api-table-action/schema.json +33 -2
- package/src/schematics/table/action/operation-table-action/schema.json +33 -2
- package/src/schematics/table/header-button/form-table-header-button/schema.json +83 -0
- package/src/schematics/table/table-action/schema.json +33 -2
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +7 -5
- package/src/schematics/table/table-component/index.js +1 -0
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +120 -3
- package/src/schematics/table/templates/boolean-table-column.hbs +3 -2
- package/src/schematics/table/templates/component-table-column.hbs +3 -2
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +3 -2
- package/src/schematics/table/templates/date-table-column.hbs +3 -2
- package/src/schematics/table/templates/default-table-column.hbs +1 -1
- package/src/schematics/table/templates/icon-table-column.hbs +3 -2
- package/src/schematics/table/templates/link-table-column.hbs +3 -2
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +7 -5
- package/src/schematics/table/tree-table-component/index.js +1 -0
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +120 -3
- package/src/schematics/table-action.schema.json +7 -3
- package/src/schematics/table-column.schema.json +4 -1
- package/src/schematics/templates/css-class.hbs +1 -0
- package/src/template.schema.json +9 -0
package/src/lib/table-column.js
CHANGED
|
@@ -5,6 +5,7 @@ const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
|
5
5
|
const ts_morph_1 = require("@rxap/ts-morph");
|
|
6
6
|
const utilities_1 = require("@rxap/utilities");
|
|
7
7
|
const path_1 = require("path");
|
|
8
|
+
const css_class_1 = require("./css-class");
|
|
8
9
|
const abstract_control_1 = require("./form/abstract-control");
|
|
9
10
|
const form_control_1 = require("./form/control/form-control");
|
|
10
11
|
const form_control_kind_1 = require("./form/control/form-control-kind");
|
|
@@ -254,8 +255,7 @@ function NormalizeTableColumn(column) {
|
|
|
254
255
|
inactive,
|
|
255
256
|
show,
|
|
256
257
|
nowrap,
|
|
257
|
-
withoutTitle,
|
|
258
|
-
cssClass, pipeList: (0, pipe_option_1.NormalizePipeOptionList)(pipeList), template, importList: (0, ts_morph_1.NormalizeTypeImportList)(importList), handlebars: (0, load_handlebars_template_1.LoadHandlebarsTemplate)(template, (0, path_1.join)(__dirname, '..', 'schematics', 'table', 'templates')), filterControl: normalizedFilterControl }));
|
|
258
|
+
withoutTitle, cssClass: (0, css_class_1.NormalizeCssClass)(cssClass), pipeList: (0, pipe_option_1.NormalizePipeOptionList)(pipeList), template, importList: (0, ts_morph_1.NormalizeTypeImportList)(importList), handlebars: (0, load_handlebars_template_1.LoadHandlebarsTemplate)(template, (0, path_1.join)(__dirname, '..', 'schematics', 'table', 'templates')), filterControl: normalizedFilterControl }));
|
|
259
259
|
}
|
|
260
260
|
exports.NormalizeTableColumn = NormalizeTableColumn;
|
|
261
261
|
function NormalizeTableColumnList(columnList) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-column.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/table-column.ts"],"names":[],"mappings":";;;AAAA,qEAIoC;AACpC,6CAOwB;AACxB,+CAIyB;AAEzB,+BAA4B;AAC5B,8DAA+D;AAC/D,8DAIqC;AACrC,wEAAoE;AACpE,yEAAoE;AACpE,+CAGuB;AAIvB,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,qDAA8B,CAAA;IAC9B,2CAAoB,CAAA;IACpB,8CAAuB,CAAA;AACzB,CAAC,EAVW,mBAAmB,mCAAnB,mBAAmB,QAU9B;AAED,SAAgB,qBAAqB,CAAC,KAAa;IACjD,OAAO,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,KAA4B,CAAC,CAAC;AACnF,CAAC;AAFD,sDAEC;AAED,IAAY,eAQX;AARD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,0DAAuC,CAAA;AACzC,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B;AAED,SAAgB,iBAAiB,CAAC,KAAa;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,KAAwB,CAAC,CAAC;AAC3E,CAAC;AAFD,8CAEC;
|
|
1
|
+
{"version":3,"file":"table-column.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/table-column.ts"],"names":[],"mappings":";;;AAAA,qEAIoC;AACpC,6CAOwB;AACxB,+CAIyB;AAEzB,+BAA4B;AAC5B,2CAIqB;AACrB,8DAA+D;AAC/D,8DAIqC;AACrC,wEAAoE;AACpE,yEAAoE;AACpE,+CAGuB;AAIvB,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,qDAA8B,CAAA;IAC9B,2CAAoB,CAAA;IACpB,8CAAuB,CAAA;AACzB,CAAC,EAVW,mBAAmB,mCAAnB,mBAAmB,QAU9B;AAED,SAAgB,qBAAqB,CAAC,KAAa;IACjD,OAAO,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,KAA4B,CAAC,CAAC;AACnF,CAAC;AAFD,sDAEC;AAED,IAAY,eAQX;AARD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,0DAAuC,CAAA;AACzC,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B;AAED,SAAgB,iBAAiB,CAAC,KAAa;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,KAAwB,CAAC,CAAC;AAC3E,CAAC;AAFD,8CAEC;AAmCD,SAAS,2BAA2B,CAAC,MAA6B;;IAChE,MAAM,UAAU,GAAG,MAAA,MAAM,CAAC,UAAU,mCAAI,EAAE,CAAC;IAC3C,QAAQ,MAAM,CAAC,IAAI,EAAE;QACnB,KAAK,eAAe,CAAC,SAAS;YAC5B,IAAA,4BAAgB,EAAC,UAAU,EAAE;gBAC3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GAAG,aAAa,CAAC,CAAC,CAAC,IAAA,mCAAoB,EAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC3F,IAAI,uBAAuB,EAAE;QAC3B,IAAA,4BAAgB,EAAC,UAAU,EAAE,uBAAuB,CAAC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;KAC/F;IACD,OAAO,MAAM,CAAC,MAAM,iCACf,IAAA,gCAAqB,kCACnB,MAAM,KACT,IAAI;QACJ,IAAI;QACJ,MAAM,IACN,KACF,IAAI;QACJ,SAAS;QACT,SAAS;QACT,KAAK;QACL,YAAY;QACZ,MAAM;QACN,MAAM;QACN,QAAQ;QACR,IAAI;QACJ,MAAM;QACN,YAAY,EACZ,QAAQ,EAAE,IAAA,6BAAiB,EAAC,QAAQ,CAAC,EACrC,QAAQ,EAAE,IAAA,qCAAuB,EAAC,QAAQ,CAAC,EAC3C,QAAQ,EACR,UAAU,EAAE,IAAA,kCAAuB,EAAC,UAAU,CAAC,EAC/C,UAAU,EAAE,IAAA,iDAAsB,EAAC,QAAQ,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC,EACvG,aAAa,EAAE,uBAAuB,IACtC,CAAC;AACL,CAAC;AA3ED,oDA2EC;AAED,SAAgB,wBAAwB,CACtC,UAAiD;;IAEjD,OAAO,MAAM,CAAC,MAAM,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,oBAAoB,CAAC,mCAAI,EAAE,CAAC,CAAC;AACpE,CAAC;AAJD,4DAIC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Normalized } from '@rxap/utilities';
|
|
2
|
+
import { CssClass, NormalizedCssClass } from './css-class';
|
|
2
3
|
export interface TableRowAction {
|
|
3
4
|
type: string;
|
|
4
5
|
refresh?: boolean;
|
|
@@ -10,10 +11,11 @@ export interface TableRowAction {
|
|
|
10
11
|
checkFunction?: string;
|
|
11
12
|
inHeader?: boolean;
|
|
12
13
|
color?: string;
|
|
13
|
-
cssClass?:
|
|
14
|
+
cssClass?: CssClass;
|
|
14
15
|
options?: Record<string, any>;
|
|
15
16
|
}
|
|
16
|
-
export interface NormalizedTableRowAction extends Readonly<Normalized<TableRowAction
|
|
17
|
+
export interface NormalizedTableRowAction extends Readonly<Normalized<Omit<TableRowAction, 'cssClass'>>> {
|
|
17
18
|
options: Record<string, any>;
|
|
19
|
+
cssClass: NormalizedCssClass;
|
|
18
20
|
}
|
|
19
21
|
export declare function NormalizeTableRowAction(tableAction: Readonly<TableRowAction>): NormalizedTableRowAction;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NormalizeTableRowAction = void 0;
|
|
4
4
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
5
|
+
const css_class_1 = require("./css-class");
|
|
5
6
|
const to_title_1 = require("./to-title");
|
|
6
7
|
function NormalizeTableRowAction(tableAction) {
|
|
7
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
8
9
|
return Object.freeze({
|
|
9
10
|
type: (0, schematics_utilities_1.dasherize)(tableAction.type),
|
|
10
11
|
tooltip: (_a = tableAction.tooltip) !== null && _a !== void 0 ? _a : (0, to_title_1.ToTitle)(tableAction.type),
|
|
@@ -12,12 +13,12 @@ function NormalizeTableRowAction(tableAction) {
|
|
|
12
13
|
successMessage: (_c = tableAction.successMessage) !== null && _c !== void 0 ? _c : null,
|
|
13
14
|
checkFunction: (_d = tableAction.checkFunction) !== null && _d !== void 0 ? _d : null,
|
|
14
15
|
color: (_e = tableAction.color) !== null && _e !== void 0 ? _e : null,
|
|
15
|
-
cssClass: (
|
|
16
|
-
refresh: (
|
|
17
|
-
confirm: (
|
|
18
|
-
priority: (
|
|
19
|
-
inHeader: (
|
|
20
|
-
options: (
|
|
16
|
+
cssClass: (0, css_class_1.NormalizeCssClass)(tableAction.cssClass),
|
|
17
|
+
refresh: (_f = tableAction.refresh) !== null && _f !== void 0 ? _f : false,
|
|
18
|
+
confirm: (_g = tableAction.confirm) !== null && _g !== void 0 ? _g : false,
|
|
19
|
+
priority: (_h = tableAction.priority) !== null && _h !== void 0 ? _h : 0,
|
|
20
|
+
inHeader: (_j = tableAction.inHeader) !== null && _j !== void 0 ? _j : false,
|
|
21
|
+
options: (_k = tableAction.options) !== null && _k !== void 0 ? _k : {},
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
exports.NormalizeTableRowAction = NormalizeTableRowAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-row-action.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/table-row-action.ts"],"names":[],"mappings":";;;AAAA,qEAAuD;AAEvD,yCAAqC;
|
|
1
|
+
{"version":3,"file":"table-row-action.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/table-row-action.ts"],"names":[],"mappings":";;;AAAA,qEAAuD;AAEvD,2CAIqB;AACrB,yCAAqC;AAsBrC,SAAgB,uBAAuB,CACrC,WAAqC;;IAErC,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,IAAA,gCAAS,EAAC,WAAW,CAAC,IAAI,CAAC;QACjC,OAAO,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,IAAA,kBAAO,EAAC,WAAW,CAAC,IAAI,CAAC;QACzD,YAAY,EAAE,MAAA,WAAW,CAAC,YAAY,mCAAI,IAAI;QAC9C,cAAc,EAAE,MAAA,WAAW,CAAC,cAAc,mCAAI,IAAI;QAClD,aAAa,EAAE,MAAA,WAAW,CAAC,aAAa,mCAAI,IAAI;QAChD,KAAK,EAAE,MAAA,WAAW,CAAC,KAAK,mCAAI,IAAI;QAChC,QAAQ,EAAE,IAAA,6BAAiB,EAAC,WAAW,CAAC,QAAQ,CAAC;QACjD,OAAO,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,KAAK;QACrC,OAAO,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,KAAK;QACrC,QAAQ,EAAE,MAAA,WAAW,CAAC,QAAQ,mCAAI,CAAC;QACnC,QAAQ,EAAE,MAAA,WAAW,CAAC,QAAQ,mCAAI,KAAK;QACvC,OAAO,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,EAAE;KACnC,CAAC,CAAC;AACL,CAAC;AAjBD,0DAiBC"}
|
package/src/schema.json
CHANGED
|
@@ -467,6 +467,109 @@
|
|
|
467
467
|
}
|
|
468
468
|
]
|
|
469
469
|
},
|
|
470
|
+
"autocompleteTableSelectFormControl": {
|
|
471
|
+
"allOf": [
|
|
472
|
+
{
|
|
473
|
+
"$ref": "#/definitions/baseFormControl"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"type": "object",
|
|
477
|
+
"properties": {
|
|
478
|
+
"formField": {
|
|
479
|
+
"$ref": "#/definitions/formField"
|
|
480
|
+
},
|
|
481
|
+
"kind": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"const": "table-select"
|
|
484
|
+
},
|
|
485
|
+
"placeholder": {
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"columnList": {
|
|
489
|
+
"alias": "column",
|
|
490
|
+
"type": "array",
|
|
491
|
+
"items": {
|
|
492
|
+
"description": "table column name",
|
|
493
|
+
"type": "object",
|
|
494
|
+
"properties": {
|
|
495
|
+
"name": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "table column name"
|
|
498
|
+
},
|
|
499
|
+
"title": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "table column label"
|
|
502
|
+
},
|
|
503
|
+
"hasFilter": {
|
|
504
|
+
"type": "boolean",
|
|
505
|
+
"description": "Whether the column has a filter"
|
|
506
|
+
},
|
|
507
|
+
"kind": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "The kind of data in the column"
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"description": "List of table column names"
|
|
514
|
+
},
|
|
515
|
+
"title": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"description": "The title of the table select window"
|
|
518
|
+
},
|
|
519
|
+
"toDisplay": {
|
|
520
|
+
"type": "object",
|
|
521
|
+
"properties": {
|
|
522
|
+
"property": {
|
|
523
|
+
"$ref": "#/definitions/property"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"toValue": {
|
|
528
|
+
"type": "object",
|
|
529
|
+
"properties": {
|
|
530
|
+
"property": {
|
|
531
|
+
"$ref": "#/definitions/property"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"upstream": {
|
|
536
|
+
"$ref": "#/definitions/upstream"
|
|
537
|
+
},
|
|
538
|
+
"resolver": {
|
|
539
|
+
"type": "object",
|
|
540
|
+
"properties": {
|
|
541
|
+
"upstream": {
|
|
542
|
+
"$ref": "#/definitions/upstream"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
"autocompleteTableSelectFormControlSchematic": {
|
|
551
|
+
"allOf": [
|
|
552
|
+
{
|
|
553
|
+
"$ref": "#/definitions/angular"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControl"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"type": "object",
|
|
560
|
+
"properties": {
|
|
561
|
+
"formName": {
|
|
562
|
+
"alias": "form",
|
|
563
|
+
"type": "string",
|
|
564
|
+
"description": "The name of the form where the form control should be added"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"required": [
|
|
568
|
+
"formName"
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
]
|
|
572
|
+
},
|
|
470
573
|
"backend": {
|
|
471
574
|
"type": "string",
|
|
472
575
|
"description": "The backend that should be used to handel data",
|
|
@@ -624,6 +727,38 @@
|
|
|
624
727
|
}
|
|
625
728
|
]
|
|
626
729
|
},
|
|
730
|
+
"cssClass": {
|
|
731
|
+
"oneOf": [
|
|
732
|
+
{
|
|
733
|
+
"type": "string"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"type": "array",
|
|
737
|
+
"items": {
|
|
738
|
+
"type": "string"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"type": "object",
|
|
743
|
+
"properties": {
|
|
744
|
+
"name": {
|
|
745
|
+
"type": "string"
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"type": "array",
|
|
751
|
+
"items": {
|
|
752
|
+
"type": "object",
|
|
753
|
+
"properties": {
|
|
754
|
+
"name": {
|
|
755
|
+
"type": "string"
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
]
|
|
761
|
+
},
|
|
627
762
|
"dataGrid": {
|
|
628
763
|
"type": "object",
|
|
629
764
|
"properties": {
|
|
@@ -980,6 +1115,9 @@
|
|
|
980
1115
|
},
|
|
981
1116
|
{
|
|
982
1117
|
"$ref": "#/definitions/slideToggleFormControl"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControl"
|
|
983
1121
|
}
|
|
984
1122
|
]
|
|
985
1123
|
}
|
|
@@ -1390,6 +1528,9 @@
|
|
|
1390
1528
|
"type": "string"
|
|
1391
1529
|
},
|
|
1392
1530
|
"description": "The table modifiers"
|
|
1531
|
+
},
|
|
1532
|
+
"cssClass": {
|
|
1533
|
+
"$ref": "#/definitions/cssClass"
|
|
1393
1534
|
}
|
|
1394
1535
|
}
|
|
1395
1536
|
},
|
|
@@ -1818,6 +1959,22 @@
|
|
|
1818
1959
|
}
|
|
1819
1960
|
}
|
|
1820
1961
|
},
|
|
1962
|
+
{
|
|
1963
|
+
"type": "object",
|
|
1964
|
+
"properties": {
|
|
1965
|
+
"package": {
|
|
1966
|
+
"type": "string",
|
|
1967
|
+
"const": "@rxap/schematic-angular"
|
|
1968
|
+
},
|
|
1969
|
+
"name": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
"const": "autocomplete-table-select-form-control"
|
|
1972
|
+
},
|
|
1973
|
+
"options": {
|
|
1974
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControlSchematic"
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
},
|
|
1821
1978
|
{
|
|
1822
1979
|
"type": "object",
|
|
1823
1980
|
"properties": {
|
|
@@ -2191,8 +2348,7 @@
|
|
|
2191
2348
|
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
2192
2349
|
},
|
|
2193
2350
|
"cssClass": {
|
|
2194
|
-
"
|
|
2195
|
-
"description": "Additional CSS classes added to the button element"
|
|
2351
|
+
"$ref": "#/definitions/cssClass"
|
|
2196
2352
|
},
|
|
2197
2353
|
"options": {
|
|
2198
2354
|
"type": "object",
|
|
@@ -2257,7 +2413,7 @@
|
|
|
2257
2413
|
"type": "boolean"
|
|
2258
2414
|
},
|
|
2259
2415
|
"cssClass": {
|
|
2260
|
-
"
|
|
2416
|
+
"$ref": "#/definitions/cssClass"
|
|
2261
2417
|
},
|
|
2262
2418
|
"title": {
|
|
2263
2419
|
"type": "string"
|
|
@@ -275,6 +275,22 @@
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"package": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"const": "@rxap/schematic-angular"
|
|
284
|
+
},
|
|
285
|
+
"name": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"const": "autocomplete-table-select-form-control"
|
|
288
|
+
},
|
|
289
|
+
"options": {
|
|
290
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControlSchematic"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
278
294
|
{
|
|
279
295
|
"type": "object",
|
|
280
296
|
"properties": {
|
|
@@ -504,6 +520,9 @@
|
|
|
504
520
|
"tableSelectFormControlSchematic": {
|
|
505
521
|
"$ref": "schematics/form/control/table-select-form-control/template.schema.json"
|
|
506
522
|
},
|
|
523
|
+
"autocompleteTableSelectFormControlSchematic": {
|
|
524
|
+
"$ref": "schematics/form/control/autocomplete-table-select-form-control/template.schema.json"
|
|
525
|
+
},
|
|
507
526
|
"formControlSchematic": {
|
|
508
527
|
"$ref": "schematics/form/form-control/template.schema.json"
|
|
509
528
|
},
|
|
@@ -205,6 +205,86 @@
|
|
|
205
205
|
}
|
|
206
206
|
]
|
|
207
207
|
},
|
|
208
|
+
"autocompleteTableSelectFormControl": {
|
|
209
|
+
"allOf": [
|
|
210
|
+
{
|
|
211
|
+
"$ref": "#/definitions/baseFormControl"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "object",
|
|
215
|
+
"properties": {
|
|
216
|
+
"formField": {
|
|
217
|
+
"$ref": "#/definitions/formField"
|
|
218
|
+
},
|
|
219
|
+
"kind": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"const": "table-select"
|
|
222
|
+
},
|
|
223
|
+
"placeholder": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
},
|
|
226
|
+
"columnList": {
|
|
227
|
+
"alias": "column",
|
|
228
|
+
"type": "array",
|
|
229
|
+
"items": {
|
|
230
|
+
"description": "table column name",
|
|
231
|
+
"type": "object",
|
|
232
|
+
"properties": {
|
|
233
|
+
"name": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "table column name"
|
|
236
|
+
},
|
|
237
|
+
"title": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"description": "table column label"
|
|
240
|
+
},
|
|
241
|
+
"hasFilter": {
|
|
242
|
+
"type": "boolean",
|
|
243
|
+
"description": "Whether the column has a filter"
|
|
244
|
+
},
|
|
245
|
+
"kind": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "The kind of data in the column"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"description": "List of table column names"
|
|
252
|
+
},
|
|
253
|
+
"title": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "The title of the table select window"
|
|
256
|
+
},
|
|
257
|
+
"toDisplay": {
|
|
258
|
+
"type": "object",
|
|
259
|
+
"properties": {
|
|
260
|
+
"property": {
|
|
261
|
+
"$ref": "#/definitions/property"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"toValue": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"property": {
|
|
269
|
+
"$ref": "#/definitions/property"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"upstream": {
|
|
274
|
+
"$ref": "#/definitions/upstream"
|
|
275
|
+
},
|
|
276
|
+
"resolver": {
|
|
277
|
+
"type": "object",
|
|
278
|
+
"properties": {
|
|
279
|
+
"upstream": {
|
|
280
|
+
"$ref": "#/definitions/upstream"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
208
288
|
"backend": {
|
|
209
289
|
"type": "string",
|
|
210
290
|
"description": "The backend that should be used to handel data",
|
|
@@ -534,6 +614,9 @@
|
|
|
534
614
|
},
|
|
535
615
|
{
|
|
536
616
|
"$ref": "#/definitions/slideToggleFormControl"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControl"
|
|
537
620
|
}
|
|
538
621
|
]
|
|
539
622
|
}
|
|
@@ -217,6 +217,86 @@
|
|
|
217
217
|
}
|
|
218
218
|
]
|
|
219
219
|
},
|
|
220
|
+
"autocompleteTableSelectFormControl": {
|
|
221
|
+
"allOf": [
|
|
222
|
+
{
|
|
223
|
+
"$ref": "#/definitions/baseFormControl"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"formField": {
|
|
229
|
+
"$ref": "#/definitions/formField"
|
|
230
|
+
},
|
|
231
|
+
"kind": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"const": "table-select"
|
|
234
|
+
},
|
|
235
|
+
"placeholder": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
},
|
|
238
|
+
"columnList": {
|
|
239
|
+
"alias": "column",
|
|
240
|
+
"type": "array",
|
|
241
|
+
"items": {
|
|
242
|
+
"description": "table column name",
|
|
243
|
+
"type": "object",
|
|
244
|
+
"properties": {
|
|
245
|
+
"name": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "table column name"
|
|
248
|
+
},
|
|
249
|
+
"title": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "table column label"
|
|
252
|
+
},
|
|
253
|
+
"hasFilter": {
|
|
254
|
+
"type": "boolean",
|
|
255
|
+
"description": "Whether the column has a filter"
|
|
256
|
+
},
|
|
257
|
+
"kind": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "The kind of data in the column"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"description": "List of table column names"
|
|
264
|
+
},
|
|
265
|
+
"title": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"description": "The title of the table select window"
|
|
268
|
+
},
|
|
269
|
+
"toDisplay": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"properties": {
|
|
272
|
+
"property": {
|
|
273
|
+
"$ref": "#/definitions/property"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"toValue": {
|
|
278
|
+
"type": "object",
|
|
279
|
+
"properties": {
|
|
280
|
+
"property": {
|
|
281
|
+
"$ref": "#/definitions/property"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"upstream": {
|
|
286
|
+
"$ref": "#/definitions/upstream"
|
|
287
|
+
},
|
|
288
|
+
"resolver": {
|
|
289
|
+
"type": "object",
|
|
290
|
+
"properties": {
|
|
291
|
+
"upstream": {
|
|
292
|
+
"$ref": "#/definitions/upstream"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
},
|
|
220
300
|
"backend": {
|
|
221
301
|
"type": "string",
|
|
222
302
|
"description": "The backend that should be used to handel data",
|
|
@@ -294,6 +374,38 @@
|
|
|
294
374
|
}
|
|
295
375
|
]
|
|
296
376
|
},
|
|
377
|
+
"cssClass": {
|
|
378
|
+
"oneOf": [
|
|
379
|
+
{
|
|
380
|
+
"type": "string"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"type": "array",
|
|
384
|
+
"items": {
|
|
385
|
+
"type": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"type": "object",
|
|
390
|
+
"properties": {
|
|
391
|
+
"name": {
|
|
392
|
+
"type": "string"
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"type": "array",
|
|
398
|
+
"items": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"properties": {
|
|
401
|
+
"name": {
|
|
402
|
+
"type": "string"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
},
|
|
297
409
|
"formControl": {
|
|
298
410
|
"allOf": [
|
|
299
411
|
{
|
|
@@ -341,6 +453,9 @@
|
|
|
341
453
|
},
|
|
342
454
|
{
|
|
343
455
|
"$ref": "#/definitions/slideToggleFormControl"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControl"
|
|
344
459
|
}
|
|
345
460
|
]
|
|
346
461
|
}
|
|
@@ -526,6 +641,9 @@
|
|
|
526
641
|
"type": "string"
|
|
527
642
|
},
|
|
528
643
|
"description": "The table modifiers"
|
|
644
|
+
},
|
|
645
|
+
"cssClass": {
|
|
646
|
+
"$ref": "#/definitions/cssClass"
|
|
529
647
|
}
|
|
530
648
|
}
|
|
531
649
|
},
|
|
@@ -753,8 +871,7 @@
|
|
|
753
871
|
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
754
872
|
},
|
|
755
873
|
"cssClass": {
|
|
756
|
-
"
|
|
757
|
-
"description": "Additional CSS classes added to the button element"
|
|
874
|
+
"$ref": "#/definitions/cssClass"
|
|
758
875
|
},
|
|
759
876
|
"options": {
|
|
760
877
|
"type": "object",
|
|
@@ -799,7 +916,7 @@
|
|
|
799
916
|
"type": "boolean"
|
|
800
917
|
},
|
|
801
918
|
"cssClass": {
|
|
802
|
-
"
|
|
919
|
+
"$ref": "#/definitions/cssClass"
|
|
803
920
|
},
|
|
804
921
|
"title": {
|
|
805
922
|
"type": "string"
|