@rxap/directives 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 +309 -0
- package/LICENSE +621 -21
- package/LICENSE.md +621 -0
- package/README.md +8 -22
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/avatar-background-image.directive.mjs +16 -30
- package/esm2022/lib/background-image.directive.mjs +12 -25
- package/esm2022/lib/confirm-click.mjs +6 -7
- package/esm2022/lib/contenteditable.directive.mjs +9 -22
- package/esm2022/lib/full-width.directive.mjs +7 -20
- package/esm2022/lib/if-truthy.directive.mjs +13 -26
- package/esm2022/lib/method-template.directive.mjs +23 -33
- package/esm2022/lib/method.directive.mjs +17 -30
- package/esm2022/lib/movable-divider.directive.mjs +16 -36
- package/esm2022/lib/prevent-default.directive.mjs +8 -21
- package/esm2022/lib/share-button.directive.mjs +20 -34
- package/esm2022/lib/stop-immediate-propagation.directive.mjs +8 -21
- package/esm2022/lib/stop-propagation.directive.mjs +8 -21
- package/esm2022/rxap-directives.mjs +1 -1
- package/fesm2022/rxap-directives.mjs +123 -256
- package/fesm2022/rxap-directives.mjs.map +1 -1
- package/lib/avatar-background-image.directive.d.ts +3 -8
- package/lib/background-image.directive.d.ts +2 -7
- package/lib/confirm-click.d.ts +1 -1
- package/lib/contenteditable.directive.d.ts +3 -8
- package/lib/full-width.directive.d.ts +1 -6
- package/lib/if-truthy.directive.d.ts +7 -12
- package/lib/method-template.directive.d.ts +6 -10
- package/lib/method.directive.d.ts +5 -10
- package/lib/movable-divider.directive.d.ts +1 -6
- package/lib/prevent-default.directive.d.ts +1 -6
- package/lib/share-button.directive.d.ts +1 -6
- package/lib/stop-immediate-propagation.directive.d.ts +1 -6
- package/lib/stop-propagation.directive.d.ts +1 -6
- package/package.json +55 -41
- package/theme.css +1 -0
- package/collection.json +0 -10
- package/migration.json +0 -10
- package/src/migrations/v11-2-0/index.d.ts +0 -2
- package/src/migrations/v11-2-0/index.js +0 -29
- package/src/migrations/v11-2-0/index.js.map +0 -1
- 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
package/package.json
CHANGED
|
@@ -1,53 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/directives",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
"version": "16.0.0-dev.10",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/core": "^16.1.4",
|
|
6
|
+
"@rxap/pattern": "^1.0.1-dev.2",
|
|
7
|
+
"@rxap/rxjs": "^1.0.1-dev.2",
|
|
8
|
+
"@rxap/services": "^16.0.0-dev.8",
|
|
9
|
+
"@rxap/utilities": "^16.0.0-dev.6",
|
|
10
|
+
"rxjs": "^7.8.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"tslib": "2.5.3"
|
|
15
|
+
},
|
|
16
|
+
"description": "A collection of utility angular directives used in RxAP.",
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public",
|
|
19
|
+
"directory": "../../../dist/packages/angular/directives"
|
|
20
|
+
},
|
|
9
21
|
"keywords": [
|
|
10
22
|
"rxap",
|
|
11
|
-
"
|
|
23
|
+
"angular",
|
|
24
|
+
"ngx",
|
|
25
|
+
"packages",
|
|
26
|
+
"directives",
|
|
27
|
+
"angular-directives"
|
|
12
28
|
],
|
|
29
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/directives",
|
|
13
30
|
"bugs": {
|
|
14
31
|
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
15
32
|
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
16
33
|
},
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"@angular/common": "^16.0.2",
|
|
23
|
-
"@angular/core": "^16.0.2",
|
|
24
|
-
"@angular/platform-browser-dynamic": "^16.0.2",
|
|
25
|
-
"@angular/router": "^16.0.2",
|
|
26
|
-
"@rxap/services": "^16.0.0-dev.0",
|
|
27
|
-
"@rxap/utilities": "^16.0.0-dev.0",
|
|
28
|
-
"reflect-metadata": "^0.1.13",
|
|
29
|
-
"rxjs": "^6.6.0"
|
|
34
|
+
"license": "GPL-3.0-or-later",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
38
|
+
"directory": "packages/angular/directives"
|
|
30
39
|
},
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
"
|
|
40
|
+
"author": {
|
|
41
|
+
"name": "Merzough Münker",
|
|
42
|
+
"email": "mmuenker@digitaix.com"
|
|
43
|
+
},
|
|
44
|
+
"nx-migrations": {
|
|
34
45
|
"packageGroup": [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
46
|
+
{
|
|
47
|
+
"package": "@rxap/pattern",
|
|
48
|
+
"version": "1.0.1-dev.2"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"package": "@rxap/rxjs",
|
|
52
|
+
"version": "1.0.1-dev.2"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"package": "@rxap/services",
|
|
56
|
+
"version": "16.0.0-dev.8"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"package": "@rxap/utilities",
|
|
60
|
+
"version": "16.0.0-dev.7"
|
|
61
|
+
}
|
|
38
62
|
]
|
|
39
63
|
},
|
|
40
|
-
"
|
|
41
|
-
"directory": "../../dist/libs/directives",
|
|
42
|
-
"access": "public"
|
|
43
|
-
},
|
|
44
|
-
"ng-add": {
|
|
45
|
-
"save": "dependencies"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"@rxap/schematics-utilities": "^16.0.0-dev.0",
|
|
49
|
-
"tslib": "^2.3.1"
|
|
50
|
-
},
|
|
64
|
+
"gitHead": "3d49d0a2548a0c403ad55c564108b54ba734a677",
|
|
51
65
|
"module": "fesm2022/rxap-directives.mjs",
|
|
52
66
|
"typings": "index.d.ts",
|
|
53
67
|
"exports": {
|
|
@@ -59,7 +73,7 @@
|
|
|
59
73
|
"esm2022": "./esm2022/rxap-directives.mjs",
|
|
60
74
|
"esm": "./esm2022/rxap-directives.mjs",
|
|
61
75
|
"default": "./fesm2022/rxap-directives.mjs"
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
76
|
+
},
|
|
77
|
+
"./theme": "./theme.css"
|
|
78
|
+
}
|
|
79
|
+
}
|
package/theme.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.static{position:static}.fixed{position:fixed}.sticky{position:sticky}.block{display:block}.inline{display:inline}.contents{display:contents}.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))}.capitalize{text-transform:capitalize}.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/directives 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,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
function default_1() {
|
|
4
|
-
return (host) => {
|
|
5
|
-
host.visit((path, entry) => {
|
|
6
|
-
if (entry && path.match(/\.ts$/) && !path.match(/\/node_modules\//)) {
|
|
7
|
-
const content = entry.content.toString('utf-8');
|
|
8
|
-
{
|
|
9
|
-
const regex = /from '@rxap\/directives\/material([^']+)'/g;
|
|
10
|
-
const match = content.match(regex);
|
|
11
|
-
if (match) {
|
|
12
|
-
const newContent = content.replace(regex, 'from \'@rxap/material-directives$1\'');
|
|
13
|
-
host.overwrite(path, newContent);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
{
|
|
17
|
-
const regex = /from '@rxap\/directives\/form-field-no-padding'/g;
|
|
18
|
-
const match = content.match(regex);
|
|
19
|
-
if (match) {
|
|
20
|
-
const newContent = content.replace(regex, 'from \'@rxap/material-directives/form-field\'');
|
|
21
|
-
host.overwrite(path, newContent);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
exports.default = default_1;
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/directives/src/migrations/v11-2-0/index.ts"],"names":[],"mappings":";;AAQA;IAEE,OAAO,CAAC,IAAU,EAAE,EAAE;QAEpB,IAAI,CAAC,KAAK,CAAC,CAAC,IAAU,EAAE,KAAkC,EAAQ,EAAE;YAElE,IAAI,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,EAAE;gBAEnE,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;gBAChD;oBACE,MAAM,KAAK,GAAG,4CAA4C,CAAC;oBAC3D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;oBAEnC,IAAI,KAAK,EAAE;wBACT,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,sCAAsC,CAAC,CAAC;wBAClF,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;qBAClC;iBACF;gBACD;oBACE,MAAM,KAAK,GAAG,kDAAkD,CAAC;oBACjE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;oBAEnC,IAAI,KAAK,EAAE;wBACT,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,+CAA+C,CAAC,CAAC;wBAC3F,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;qBAClC;iBACF;aAEF;QAEH,CAAC,CAAC,CAAC;IAEL,CAAC,CAAC;AAEJ,CAAC;AAlCD,4BAkCC"}
|
|
@@ -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/directives/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
|