@rxap/form-window-system 16.0.0-dev.1 → 16.0.0-dev.3
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 +272 -0
- package/README.md +8 -22
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/form-window-footer.directive.mjs +16 -29
- package/esm2022/lib/form-window-ref.mjs +4 -5
- package/esm2022/lib/form-window.service.mjs +14 -15
- package/esm2022/lib/open-form-window-method.directive.mjs +20 -29
- package/esm2022/lib/open-form-window.method.mjs +7 -8
- package/esm2022/lib/open-form.directive.mjs +26 -41
- package/esm2022/rxap-form-window-system.mjs +1 -1
- package/fesm2022/rxap-form-window-system.mjs +62 -93
- package/fesm2022/rxap-form-window-system.mjs.map +1 -1
- package/lib/form-window-footer.directive.d.ts +3 -8
- package/lib/form-window-ref.d.ts +2 -2
- package/lib/form-window.service.d.ts +2 -2
- package/lib/open-form-window-method.directive.d.ts +7 -11
- package/lib/open-form-window.method.d.ts +2 -2
- package/lib/open-form.directive.d.ts +6 -14
- package/package.json +68 -66
- package/LICENSE +0 -27
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, InjectionToken, Injector, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Constructor, IconConfig } from '@rxap/utilities';
|
|
3
3
|
import { FormType } from '@rxap/forms';
|
|
4
4
|
import { FormWindowService } from './form-window.service';
|
|
@@ -16,10 +16,7 @@ export declare class OpenFormDirective<Data, Result = Data> extends ConfirmClick
|
|
|
16
16
|
private readonly injector;
|
|
17
17
|
type: string;
|
|
18
18
|
submitted: EventEmitter<Result>;
|
|
19
|
-
set formDefinitionConstructor(value: Constructor<FormType<any>> | '');
|
|
20
19
|
initial?: Data;
|
|
21
|
-
private _formWindowRef?;
|
|
22
|
-
private _formDefinitionConstructor;
|
|
23
20
|
title?: string;
|
|
24
21
|
icon?: IconConfig;
|
|
25
22
|
width?: string;
|
|
@@ -27,19 +24,14 @@ export declare class OpenFormDirective<Data, Result = Data> extends ConfirmClick
|
|
|
27
24
|
resizeable?: boolean;
|
|
28
25
|
draggable?: boolean;
|
|
29
26
|
panelClass?: string;
|
|
27
|
+
private _formWindowRef?;
|
|
30
28
|
constructor(formDefinitionConstructor: Constructor<FormType<any>> | null, formWindowService: FormWindowService, injector: Injector);
|
|
29
|
+
private _formDefinitionConstructor;
|
|
30
|
+
set formDefinitionConstructor(value: Constructor<FormType<any>> | '');
|
|
31
31
|
onSubmit(value: Data): any | Promise<any>;
|
|
32
|
-
protected execute(): void;
|
|
33
32
|
onSubmitSuccessful(result: Result): void;
|
|
34
33
|
ngOnDestroy(): void;
|
|
34
|
+
protected execute(): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<OpenFormDirective<any, any>, [{ optional: true; }, null, null]>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OpenFormDirective<any, any>, "[rxapOpenForm]", never, { "type": { "alias": "type"; "required": false; }; "
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated
|
|
40
|
-
*/
|
|
41
|
-
export declare class OpenFormDirectiveModule {
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OpenFormDirectiveModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OpenFormDirectiveModule, [typeof OpenFormDirective], never, [typeof OpenFormDirective]>;
|
|
44
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<OpenFormDirectiveModule>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OpenFormDirective<any, any>, "[rxapOpenForm]", never, { "type": { "alias": "type"; "required": false; }; "initial": { "alias": "initial"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "resizeable": { "alias": "resizeable"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "formDefinitionConstructor": { "alias": "rxapOpenForm"; "required": false; }; "onSubmit": { "alias": "onSubmit"; "required": false; }; }, { "submitted": "submitted"; }, never, never, true, never>;
|
|
45
37
|
}
|
package/package.json
CHANGED
|
@@ -1,81 +1,84 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/form-window-system",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "16.0.0-dev.3",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/cdk": "^16.0.0",
|
|
6
|
+
"@angular/core": "^16.0.0",
|
|
7
|
+
"@rxap/directives": "^16.0.0-dev.3",
|
|
8
|
+
"@rxap/form-system": "^16.0.0-dev.3",
|
|
9
|
+
"@rxap/forms": "^16.0.0-dev.3",
|
|
10
|
+
"@rxap/pattern": "^1.0.1-dev.0",
|
|
11
|
+
"@rxap/reflect-metadata": "^1.0.1-dev.0",
|
|
12
|
+
"@rxap/rxjs": "^1.0.1-dev.0",
|
|
13
|
+
"@rxap/utilities": "^16.0.0-dev.2",
|
|
14
|
+
"@rxap/window-system": "^16.0.0-dev.3",
|
|
15
|
+
"rxjs": "^7.8.0"
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"tslib": "2.5.3"
|
|
20
|
+
},
|
|
21
|
+
"description": "Provides the FormSystem concept for RxAP.",
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public",
|
|
24
|
+
"directory": "../../../dist/packages/angular/form-window-system"
|
|
25
|
+
},
|
|
7
26
|
"keywords": [
|
|
8
27
|
"rxap",
|
|
9
|
-
"forms",
|
|
10
28
|
"angular",
|
|
11
|
-
"
|
|
12
|
-
"window-system"
|
|
29
|
+
"ngx"
|
|
13
30
|
],
|
|
31
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/form-window-system",
|
|
14
32
|
"bugs": {
|
|
15
33
|
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
16
34
|
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
17
35
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"@angular/localize": "^16.0.2",
|
|
28
|
-
"@angular/material": "^16.0.1",
|
|
29
|
-
"@angular/platform-browser": "^16.0.2",
|
|
30
|
-
"@angular/platform-browser-dynamic": "^16.0.2",
|
|
31
|
-
"@angular/router": "^16.0.2",
|
|
32
|
-
"@rxap/components": "^16.0.0-dev.1",
|
|
33
|
-
"@rxap/config": "^16.0.0-dev.1",
|
|
34
|
-
"@rxap/data-source": "^16.0.0-dev.1",
|
|
35
|
-
"@rxap/definition": "^16.0.0-dev.1",
|
|
36
|
-
"@rxap/directives": "^16.0.0-dev.1",
|
|
37
|
-
"@rxap/form-system": "^16.0.0-dev.1",
|
|
38
|
-
"@rxap/forms": "^16.0.0-dev.1",
|
|
39
|
-
"@rxap/material-directives": "^16.0.0-dev.1",
|
|
40
|
-
"@rxap/mixin": "^16.0.0-dev.1",
|
|
41
|
-
"@rxap/services": "^16.0.0-dev.1",
|
|
42
|
-
"@rxap/utilities": "^16.0.0-dev.1",
|
|
43
|
-
"@rxap/window-system": "^16.0.0-dev.1",
|
|
44
|
-
"joi": "^17.6.3",
|
|
45
|
-
"reflect-metadata": "^0.1.13",
|
|
46
|
-
"rxjs": "^6.6.0"
|
|
36
|
+
"license": "GPL-3.0-or-later",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
40
|
+
"directory": "packages/angular/form-window-system"
|
|
41
|
+
},
|
|
42
|
+
"author": {
|
|
43
|
+
"name": "Merzough Münker",
|
|
44
|
+
"email": "mmuenker@digitaix.com"
|
|
47
45
|
},
|
|
48
|
-
"
|
|
49
|
-
"ng-update": {
|
|
50
|
-
"migrations": "./migration.json",
|
|
46
|
+
"nx-migrations": {
|
|
51
47
|
"packageGroup": [
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
48
|
+
{
|
|
49
|
+
"package": "@rxap/directives",
|
|
50
|
+
"version": "16.0.0-dev.3"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"package": "@rxap/form-system",
|
|
54
|
+
"version": "16.0.0-dev.3"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"package": "@rxap/forms",
|
|
58
|
+
"version": "16.0.0-dev.3"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"package": "@rxap/pattern",
|
|
62
|
+
"version": "1.0.1-dev.0"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"package": "@rxap/reflect-metadata",
|
|
66
|
+
"version": "1.0.1-dev.0"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"package": "@rxap/rxjs",
|
|
70
|
+
"version": "1.0.1-dev.0"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"package": "@rxap/utilities",
|
|
74
|
+
"version": "16.0.0-dev.2"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"package": "@rxap/window-system",
|
|
78
|
+
"version": "16.0.0-dev.3"
|
|
79
|
+
}
|
|
65
80
|
]
|
|
66
81
|
},
|
|
67
|
-
"publishConfig": {
|
|
68
|
-
"directory": "../../dist/libs/form-window-system",
|
|
69
|
-
"access": "public"
|
|
70
|
-
},
|
|
71
|
-
"private": false,
|
|
72
|
-
"ng-add": {
|
|
73
|
-
"save": "dependencies"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@rxap/schematics-utilities": "^16.0.0-dev.1",
|
|
77
|
-
"tslib": "^2.3.1"
|
|
78
|
-
},
|
|
79
82
|
"module": "fesm2022/rxap-form-window-system.mjs",
|
|
80
83
|
"typings": "index.d.ts",
|
|
81
84
|
"exports": {
|
|
@@ -88,6 +91,5 @@
|
|
|
88
91
|
"esm": "./esm2022/rxap-form-window-system.mjs",
|
|
89
92
|
"default": "./fesm2022/rxap-form-window-system.mjs"
|
|
90
93
|
}
|
|
91
|
-
}
|
|
92
|
-
"sideEffects": false
|
|
94
|
+
}
|
|
93
95
|
}
|
package/LICENSE
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2021, Merzough Münker
|
|
2
|
-
All rights reserved.
|
|
3
|
-
|
|
4
|
-
Redistribution and use in source and binary forms, with or without
|
|
5
|
-
modification, are permitted provided that the following conditions are met:
|
|
6
|
-
1. Redistributions of source code must retain the above copyright
|
|
7
|
-
notice, this list of conditions and the following disclaimer.
|
|
8
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
9
|
-
notice, this list of conditions and the following disclaimer in the
|
|
10
|
-
documentation and/or other materials provided with the distribution.
|
|
11
|
-
3. All advertising materials mentioning features or use of this software
|
|
12
|
-
must display the following acknowledgement:
|
|
13
|
-
This product includes software developed by the Merzough Münker.
|
|
14
|
-
4. Neither the name of the <organization> nor the
|
|
15
|
-
names of its contributors may be used to endorse or promote products
|
|
16
|
-
derived from this software without specific prior written permission.
|
|
17
|
-
|
|
18
|
-
THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''AS IS'' AND ANY
|
|
19
|
-
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
20
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
-
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
|
22
|
-
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
23
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
24
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
25
|
-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
27
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/collection.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schematics": {
|
|
3
|
-
"ng-add": {
|
|
4
|
-
"description": "Setup the package @rxap/form-window-system for the workspace.",
|
|
5
|
-
"factory": "./src/schematics/ng-add/index",
|
|
6
|
-
"schema": "./src/schematics/ng-add/schema.json"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json"
|
|
10
|
-
}
|
package/migration.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
4
|
-
function default_1() {
|
|
5
|
-
return (0, schematics_utilities_1.InstallPeerDependencies)();
|
|
6
|
-
}
|
|
7
|
-
exports.default = default_1;
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/form-window-system/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
|