@rxap/form-window-system 16.0.0-dev.0 → 16.0.0-dev.10
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 +315 -0
- package/LICENSE +621 -27
- package/LICENSE.md +621 -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 +25 -46
- package/esm2022/rxap-form-window-system.mjs +1 -1
- package/fesm2022/rxap-form-window-system.mjs +63 -98
- 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 +75 -68
- package/theme.css +1 -0
- 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,88 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/form-window-system",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "16.0.0-dev.10",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/cdk": "^16.1.4",
|
|
6
|
+
"@angular/core": "^16.1.4",
|
|
7
|
+
"@rxap/directives": "^16.0.0-dev.10",
|
|
8
|
+
"@rxap/form-system": "^16.0.0-dev.12",
|
|
9
|
+
"@rxap/forms": "^16.0.0-dev.11",
|
|
10
|
+
"@rxap/pattern": "^1.0.1-dev.5",
|
|
11
|
+
"@rxap/reflect-metadata": "^1.0.1-dev.5",
|
|
12
|
+
"@rxap/rxjs": "^1.0.1-dev.5",
|
|
13
|
+
"@rxap/utilities": "^16.0.0-dev.13",
|
|
14
|
+
"@rxap/window-system": "^16.0.0-dev.12",
|
|
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
|
-
"
|
|
29
|
+
"ngx",
|
|
30
|
+
"packages",
|
|
31
|
+
"form-window-system",
|
|
32
|
+
"angular-form-window-system"
|
|
13
33
|
],
|
|
34
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/form-window-system",
|
|
14
35
|
"bugs": {
|
|
15
36
|
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
16
37
|
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
17
38
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"@angular/common": "^16.0.2",
|
|
24
|
-
"@angular/core": "^16.0.2",
|
|
25
|
-
"@angular/flex-layout": "^15.0.0-beta.42",
|
|
26
|
-
"@angular/forms": "^16.0.2",
|
|
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.0",
|
|
33
|
-
"@rxap/config": "^16.0.0-dev.0",
|
|
34
|
-
"@rxap/data-source": "^16.0.0-dev.0",
|
|
35
|
-
"@rxap/definition": "^16.0.0-dev.0",
|
|
36
|
-
"@rxap/directives": "^16.0.0-dev.0",
|
|
37
|
-
"@rxap/form-system": "^16.0.0-dev.0",
|
|
38
|
-
"@rxap/forms": "^16.0.0-dev.0",
|
|
39
|
-
"@rxap/material-directives": "^16.0.0-dev.0",
|
|
40
|
-
"@rxap/mixin": "^16.0.0-dev.0",
|
|
41
|
-
"@rxap/services": "^16.0.0-dev.0",
|
|
42
|
-
"@rxap/utilities": "^16.0.0-dev.0",
|
|
43
|
-
"@rxap/window-system": "^16.0.0-dev.0",
|
|
44
|
-
"joi": "^17.6.3",
|
|
45
|
-
"reflect-metadata": "^0.1.13",
|
|
46
|
-
"rxjs": "^6.6.0"
|
|
39
|
+
"license": "GPL-3.0-or-later",
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
43
|
+
"directory": "packages/angular/form-window-system"
|
|
47
44
|
},
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
"
|
|
45
|
+
"author": {
|
|
46
|
+
"name": "Merzough Münker",
|
|
47
|
+
"email": "mmuenker@digitaix.com"
|
|
48
|
+
},
|
|
49
|
+
"nx-migrations": {
|
|
51
50
|
"packageGroup": [
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
51
|
+
{
|
|
52
|
+
"package": "@rxap/directives",
|
|
53
|
+
"version": "16.0.0-dev.10"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"package": "@rxap/form-system",
|
|
57
|
+
"version": "16.0.0-dev.12"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"package": "@rxap/forms",
|
|
61
|
+
"version": "16.0.0-dev.11"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"package": "@rxap/pattern",
|
|
65
|
+
"version": "1.0.1-dev.5"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"package": "@rxap/reflect-metadata",
|
|
69
|
+
"version": "1.0.1-dev.5"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"package": "@rxap/rxjs",
|
|
73
|
+
"version": "1.0.1-dev.5"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"package": "@rxap/utilities",
|
|
77
|
+
"version": "16.0.0-dev.13"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"package": "@rxap/window-system",
|
|
81
|
+
"version": "16.0.0-dev.12"
|
|
82
|
+
}
|
|
65
83
|
]
|
|
66
84
|
},
|
|
67
|
-
"
|
|
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.0",
|
|
77
|
-
"tslib": "^2.3.1"
|
|
78
|
-
},
|
|
85
|
+
"gitHead": "3d49d0a2548a0c403ad55c564108b54ba734a677",
|
|
79
86
|
"module": "fesm2022/rxap-form-window-system.mjs",
|
|
80
87
|
"typings": "index.d.ts",
|
|
81
88
|
"exports": {
|
|
@@ -87,7 +94,7 @@
|
|
|
87
94
|
"esm2022": "./esm2022/rxap-form-window-system.mjs",
|
|
88
95
|
"esm": "./esm2022/rxap-form-window-system.mjs",
|
|
89
96
|
"default": "./fesm2022/rxap-form-window-system.mjs"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
97
|
+
},
|
|
98
|
+
"./theme": "./theme.css"
|
|
99
|
+
}
|
|
100
|
+
}
|
package/theme.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.w-full{width:100%}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.p-10{padding:2.5rem}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}
|
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"}
|