@rxap/directives 16.0.0-dev.2 → 16.0.0-dev.20
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 +369 -0
- package/LICENSE +621 -21
- package/LICENSE.md +621 -0
- package/README.md +8 -22
- package/esm2022/index.mjs +13 -10
- package/esm2022/lib/avatar-background-image.directive.mjs +17 -19
- package/esm2022/lib/background-image.directive.mjs +12 -13
- package/esm2022/lib/confirm-click.mjs +6 -7
- package/esm2022/lib/contenteditable.directive.mjs +8 -9
- package/esm2022/lib/full-width.directive.mjs +7 -8
- package/esm2022/lib/if-truthy.directive.mjs +12 -13
- package/esm2022/lib/is-dev-mode.directive.mjs +27 -0
- package/esm2022/lib/method-template.directive.mjs +22 -20
- package/esm2022/lib/method.directive.mjs +16 -17
- package/esm2022/lib/movable-divider.directive.mjs +15 -23
- package/esm2022/lib/prevent-default.directive.mjs +7 -8
- package/esm2022/lib/share-button.directive.mjs +19 -21
- package/esm2022/lib/stop-immediate-propagation.directive.mjs +7 -8
- package/esm2022/lib/stop-propagation.directive.mjs +7 -8
- package/esm2022/rxap-directives.mjs +1 -1
- package/fesm2022/rxap-directives.mjs +422 -395
- package/fesm2022/rxap-directives.mjs.map +1 -1
- package/index.d.ts +10 -9
- package/lib/avatar-background-image.directive.d.ts +3 -3
- package/lib/background-image.directive.d.ts +1 -1
- package/lib/confirm-click.d.ts +1 -1
- package/lib/contenteditable.directive.d.ts +2 -2
- package/lib/if-truthy.directive.d.ts +6 -6
- package/lib/is-dev-mode.directive.d.ts +12 -0
- package/lib/method-template.directive.d.ts +5 -4
- package/lib/method.directive.d.ts +5 -5
- package/lib/movable-divider.directive.d.ts +1 -1
- package/lib/share-button.directive.d.ts +1 -1
- package/package.json +56 -42
- 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
|
@@ -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"}
|