@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.
Files changed (44) hide show
  1. package/CHANGELOG.md +369 -0
  2. package/LICENSE +621 -21
  3. package/LICENSE.md +621 -0
  4. package/README.md +8 -22
  5. package/esm2022/index.mjs +13 -10
  6. package/esm2022/lib/avatar-background-image.directive.mjs +17 -19
  7. package/esm2022/lib/background-image.directive.mjs +12 -13
  8. package/esm2022/lib/confirm-click.mjs +6 -7
  9. package/esm2022/lib/contenteditable.directive.mjs +8 -9
  10. package/esm2022/lib/full-width.directive.mjs +7 -8
  11. package/esm2022/lib/if-truthy.directive.mjs +12 -13
  12. package/esm2022/lib/is-dev-mode.directive.mjs +27 -0
  13. package/esm2022/lib/method-template.directive.mjs +22 -20
  14. package/esm2022/lib/method.directive.mjs +16 -17
  15. package/esm2022/lib/movable-divider.directive.mjs +15 -23
  16. package/esm2022/lib/prevent-default.directive.mjs +7 -8
  17. package/esm2022/lib/share-button.directive.mjs +19 -21
  18. package/esm2022/lib/stop-immediate-propagation.directive.mjs +7 -8
  19. package/esm2022/lib/stop-propagation.directive.mjs +7 -8
  20. package/esm2022/rxap-directives.mjs +1 -1
  21. package/fesm2022/rxap-directives.mjs +422 -395
  22. package/fesm2022/rxap-directives.mjs.map +1 -1
  23. package/index.d.ts +10 -9
  24. package/lib/avatar-background-image.directive.d.ts +3 -3
  25. package/lib/background-image.directive.d.ts +1 -1
  26. package/lib/confirm-click.d.ts +1 -1
  27. package/lib/contenteditable.directive.d.ts +2 -2
  28. package/lib/if-truthy.directive.d.ts +6 -6
  29. package/lib/is-dev-mode.directive.d.ts +12 -0
  30. package/lib/method-template.directive.d.ts +5 -4
  31. package/lib/method.directive.d.ts +5 -5
  32. package/lib/movable-divider.directive.d.ts +1 -1
  33. package/lib/share-button.directive.d.ts +1 -1
  34. package/package.json +56 -42
  35. package/theme.css +1 -0
  36. package/collection.json +0 -10
  37. package/migration.json +0 -10
  38. package/src/migrations/v11-2-0/index.d.ts +0 -2
  39. package/src/migrations/v11-2-0/index.js +0 -29
  40. package/src/migrations/v11-2-0/index.js.map +0 -1
  41. package/src/schematics/ng-add/index.d.ts +0 -2
  42. package/src/schematics/ng-add/index.js +0 -8
  43. package/src/schematics/ng-add/index.js.map +0 -1
  44. 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,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -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"}
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "directives-ng-add",
4
- "type": "object",
5
- "properties": {},
6
- "required": []
7
- }