@taiga-ui/cdk 2.49.2 → 2.50.0

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 (37) hide show
  1. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +3 -2
  2. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +1 -1
  4. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +1 -1
  5. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  6. package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +1 -1
  7. package/directives/auto-focus/autofocus.options.d.ts +1 -1
  8. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +1 -1
  9. package/esm2015/directives/auto-focus/autofocus.options.js +5 -4
  10. package/esm2015/tokens/is-cypress.js +1 -1
  11. package/esm5/directives/auto-focus/autofocus.options.js +5 -4
  12. package/esm5/tokens/is-cypress.js +1 -1
  13. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +4 -3
  14. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  15. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  16. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +4 -3
  17. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  18. package/fesm5/taiga-ui-cdk-tokens.js.map +1 -1
  19. package/package.json +1 -1
  20. package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -2
  21. package/schematics/ng-add/steps/add-taiga-icons.js +9 -15
  22. package/schematics/ng-add/steps/add-taiga-styles.d.ts +1 -2
  23. package/schematics/ng-add/steps/add-taiga-styles.js +12 -16
  24. package/schematics/ng-update/constants/consts.js +11 -0
  25. package/schematics/ng-update/constants/functions.d.ts +0 -0
  26. package/schematics/ng-update/constants/functions.js +1 -0
  27. package/schematics/ng-update/constants/templates.js +18 -1
  28. package/schematics/ng-update/constants/types.js +45 -0
  29. package/schematics/ng-update/constants/warnings.js +10 -0
  30. package/schematics/ng-update/index.js +4 -0
  31. package/schematics/ng-update/steps/migrate-templates.js +28 -20
  32. package/schematics/ng-update/steps/miscellaneous.d.ts +1 -0
  33. package/schematics/ng-update/steps/miscellaneous.js +65 -0
  34. package/schematics/ng-update/steps/replace-functions.d.ts +1 -0
  35. package/schematics/ng-update/steps/replace-functions.js +61 -0
  36. package/schematics/utils/get-project.js +2 -1
  37. package/tokens/taiga-ui-cdk-tokens.metadata.json +1 -1
@@ -91,4 +91,15 @@ exports.CONSTS_TO_REPLACE = [
91
91
  namedImport: 'AbstractTuiController',
92
92
  },
93
93
  },
94
+ {
95
+ from: {
96
+ name: 'TuiFilterByInputBase',
97
+ moduleSpecifier: '@taiga-ui/kit',
98
+ },
99
+ to: {
100
+ name: 'AbstractTuiFilterByInput',
101
+ moduleSpecifier: '@taiga-ui/kit',
102
+ namedImport: 'AbstractTuiFilterByInput',
103
+ },
104
+ },
94
105
  ];
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -7,7 +7,15 @@ exports.ATTRS_TO_REPLACE = [
7
7
  to: { attrName: 'tuiTh [resizable]="true"' },
8
8
  },
9
9
  {
10
- from: { attrName: 'new', withTagNames: ['tui-editor'] },
10
+ from: {
11
+ attrName: 'new',
12
+ withTagNames: [
13
+ 'tui-editor',
14
+ 'tui-range',
15
+ 'tui-input-range',
16
+ 'tui-input-slider',
17
+ ],
18
+ },
11
19
  to: { attrName: '' },
12
20
  },
13
21
  {
@@ -89,4 +97,13 @@ exports.ATTR_TO_DIRECTIVE = [
89
97
  moduleSpecifier: '@taiga-ui/core',
90
98
  },
91
99
  },
100
+ {
101
+ componentSelector: 'tui-input-range',
102
+ inputProperty: 'size',
103
+ directive: 'tuiTextfieldSize',
104
+ directiveModule: {
105
+ name: 'TuiTextfieldControllerModule',
106
+ moduleSpecifier: '@taiga-ui/core',
107
+ },
108
+ },
92
109
  ];
@@ -76,4 +76,49 @@ exports.TYPES_TO_RENAME = [
76
76
  to: 'TuiNumberFormatSettings',
77
77
  moduleSpecifier: ['@taiga-ui/core'],
78
78
  },
79
+ {
80
+ from: 'LanguageCore',
81
+ to: 'TuiLanguageCore',
82
+ moduleSpecifier: ['@taiga-ui/i18n'],
83
+ },
84
+ {
85
+ from: 'LanguageKit',
86
+ to: 'TuiLanguageKit',
87
+ moduleSpecifier: ['@taiga-ui/i18n'],
88
+ },
89
+ {
90
+ from: 'LanguageKit',
91
+ to: 'TuiLanguageKit',
92
+ moduleSpecifier: ['@taiga-ui/i18n'],
93
+ },
94
+ {
95
+ from: 'LanguageCommerce',
96
+ to: 'TuiLanguageCommerce',
97
+ moduleSpecifier: ['@taiga-ui/i18n'],
98
+ },
99
+ {
100
+ from: 'LanguageTable',
101
+ to: 'TuiLanguageTable',
102
+ moduleSpecifier: ['@taiga-ui/i18n'],
103
+ },
104
+ {
105
+ from: 'LanguageTable',
106
+ to: 'TuiLanguageTable',
107
+ moduleSpecifier: ['@taiga-ui/i18n'],
108
+ },
109
+ {
110
+ from: 'LanguageEditor',
111
+ to: 'TuiLanguageEditor',
112
+ moduleSpecifier: ['@taiga-ui/i18n'],
113
+ },
114
+ {
115
+ from: 'LanguagePreview',
116
+ to: 'TuiLanguagePreview',
117
+ moduleSpecifier: ['@taiga-ui/i18n'],
118
+ },
119
+ {
120
+ from: 'Language',
121
+ to: 'TuiLanguage',
122
+ moduleSpecifier: ['@taiga-ui/i18n'],
123
+ },
79
124
  ];
@@ -77,4 +77,14 @@ exports.MIGRATION_WARNINGS = [
77
77
  moduleSpecifier: '@taiga-ui/core',
78
78
  message: 'pressedChange and hoveredChange outputs have been removed from AbstractTuiInteractive, please use tuiPressedChange and tuiHoveredChange directives instead',
79
79
  },
80
+ {
81
+ name: 'MEDIA',
82
+ moduleSpecifier: '@taiga-ui/core',
83
+ message: 'MEDIA constant has been deleted in 3.0. Please use TUI_MEDIA token from @taiga-ui/core',
84
+ },
85
+ {
86
+ name: 'colorFallback',
87
+ moduleSpecifier: '@taiga-ui/core',
88
+ message: 'colorFallback has been deleted in 3.0, please use CSS variables',
89
+ },
80
90
  ];
@@ -12,6 +12,8 @@ const replace_services_1 = require("./steps/replace-services");
12
12
  const migrate_templates_1 = require("./steps/migrate-templates");
13
13
  const migrate_sliders_1 = require("./steps/migrate-sliders");
14
14
  const remove_module_1 = require("./steps/remove-module");
15
+ const miscellaneous_1 = require("./steps/miscellaneous");
16
+ const replace_functions_1 = require("./steps/replace-functions");
15
17
  function updateToV3(_) {
16
18
  return (tree, context) => tslib_1.__awaiter(this, void 0, void 0, function* () {
17
19
  context.logger.info(`taiga packages will be updated to ${versions_1.TAIGA_VERSION}`);
@@ -25,6 +27,8 @@ function updateToV3(_) {
25
27
  migrate_templates_1.migrateTemplates(tree);
26
28
  migrate_sliders_1.migrateSliders(tree);
27
29
  remove_module_1.removeModules();
30
+ replace_functions_1.replaceFunctions();
31
+ miscellaneous_1.miscellaneousMigrations();
28
32
  ng_morph_1.saveActiveProject();
29
33
  });
30
34
  }
@@ -10,27 +10,31 @@ const ng_morph_1 = require("ng-morph");
10
10
  const START_TAG_OFFSET = 1;
11
11
  const END_TAG_OFFSET = 2;
12
12
  function migrateTemplates(tree) {
13
- const templateResources = get_component_templates_1.getComponentTemplates('**/**');
14
13
  const fileSystem = new devkit_file_system_1.DevkitFileSystem(tree);
15
- templateResources.forEach((resource) => {
16
- const path = fileSystem.resolve(template_resource_1.getPathFromTemplateResource(resource));
17
- const template = template_resource_1.getTemplateFromTemplateResource(resource, fileSystem);
18
- const recorder = fileSystem.edit(path);
19
- const offset = template_resource_1.getTemplateOffset(resource);
20
- replaceTags(template, recorder, offset);
21
- replaceAttrs(template, recorder, offset);
22
- replaceAttrsByDirective(fileSystem, resource);
23
- /**
24
- * We should update virtual file tree
25
- * otherwise all following ng-morph commands will overwrite all previous template manipulations
26
- * */
27
- fileSystem.commitEdits();
28
- ng_morph_1.saveActiveProject();
29
- ng_morph_1.setActiveProject(ng_morph_1.createProject(fileSystem.tree, '/', '**/**'));
14
+ const componentWithTemplatesPaths = get_component_templates_1.getComponentTemplates('**/**').map(({ componentPath }) => componentPath);
15
+ const actions = [replaceTags, replaceAttrs, replaceAttrsByDirective];
16
+ actions.forEach(action => {
17
+ componentWithTemplatesPaths.forEach(componentPath => {
18
+ // get updated version of template after the previous action
19
+ const [resource] = get_component_templates_1.getComponentTemplates(componentPath);
20
+ const path = fileSystem.resolve(template_resource_1.getPathFromTemplateResource(resource));
21
+ const recorder = fileSystem.edit(path);
22
+ action({ resource, fileSystem, recorder });
23
+ });
24
+ save(fileSystem);
30
25
  });
31
26
  }
32
27
  exports.migrateTemplates = migrateTemplates;
33
- function replaceAttrsByDirective(fileSystem, templateResource) {
28
+ /**
29
+ * We should update virtual file tree
30
+ * otherwise all following ng-morph commands will overwrite all previous template manipulations
31
+ * */
32
+ function save(fileSystem) {
33
+ fileSystem.commitEdits();
34
+ ng_morph_1.saveActiveProject();
35
+ ng_morph_1.setActiveProject(ng_morph_1.createProject(fileSystem.tree, '/', '**/**'));
36
+ }
37
+ function replaceAttrsByDirective({ resource, fileSystem, }) {
34
38
  templates_1.ATTR_TO_DIRECTIVE.forEach(({ componentSelector, directiveModule, directive, inputProperty }) => {
35
39
  ng_component_input_manipulations_1.replaceInputPropertyByDirective({
36
40
  componentSelector,
@@ -38,11 +42,13 @@ function replaceAttrsByDirective(fileSystem, templateResource) {
38
42
  directive,
39
43
  inputProperty,
40
44
  fileSystem,
41
- templateResource,
45
+ templateResource: resource,
42
46
  });
43
47
  });
44
48
  }
45
- function replaceAttrs(template, recorder, templateOffset = 0) {
49
+ function replaceAttrs({ resource, recorder, fileSystem, }) {
50
+ const template = template_resource_1.getTemplateFromTemplateResource(resource, fileSystem);
51
+ const templateOffset = template_resource_1.getTemplateOffset(resource);
46
52
  templates_1.ATTRS_TO_REPLACE.forEach(({ from, to }) => {
47
53
  const offsets = [
48
54
  ...elements_1.findAttributeOnElementWithTag(template, from.attrName, from.withTagNames || []),
@@ -54,7 +60,9 @@ function replaceAttrs(template, recorder, templateOffset = 0) {
54
60
  });
55
61
  });
56
62
  }
57
- function replaceTags(template, recorder, templateOffset = 0) {
63
+ function replaceTags({ resource, recorder, fileSystem, }) {
64
+ const template = template_resource_1.getTemplateFromTemplateResource(resource, fileSystem);
65
+ const templateOffset = template_resource_1.getTemplateOffset(resource);
58
66
  templates_1.TAGS_TO_REPLACE.forEach(({ from, to, addAttributes }) => {
59
67
  const elements = elements_1.findElementsByTagName(template, from);
60
68
  elements.forEach(({ sourceCodeLocation }) => {
@@ -0,0 +1 @@
1
+ export declare function miscellaneousMigrations(): void;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const get_named_import_references_1 = require("../../utils/get-named-import-references");
4
+ const ng_morph_1 = require("ng-morph");
5
+ function miscellaneousMigrations() {
6
+ replaceEnumProperty({
7
+ enumName: 'TuiCurrency',
8
+ from: 'HongKong_dollar',
9
+ to: 'HongKongDollar',
10
+ });
11
+ replaceEnumProperty({
12
+ enumName: 'TuiCurrencyCode',
13
+ from: 'HongKong_dollar',
14
+ to: 'HongKongDollar',
15
+ });
16
+ addWarningToMethod('TuiDirectiveStylesService', 'addStyle', 'addStyle method has been removed. Use components approach');
17
+ }
18
+ exports.miscellaneousMigrations = miscellaneousMigrations;
19
+ function addWarningToMethod(className, method, message) {
20
+ const references = get_named_import_references_1.getNamedImportReferences(className);
21
+ references.forEach(ref => {
22
+ const parent = ref.getParent();
23
+ if (ng_morph_1.Node.isTypeReferenceNode(parent)) {
24
+ checkMethod(parent, method, message);
25
+ }
26
+ });
27
+ }
28
+ function replaceEnumProperty({ enumName, from, to, }) {
29
+ const references = get_named_import_references_1.getNamedImportReferences(enumName);
30
+ references.forEach(ref => {
31
+ const parent = ref.getParent();
32
+ if (!ng_morph_1.Node.isPropertyAccessExpression(parent)) {
33
+ return;
34
+ }
35
+ parent.getChildren().forEach(node => {
36
+ if (node.getText() === from) {
37
+ node.replaceWithText(to);
38
+ }
39
+ });
40
+ });
41
+ }
42
+ function checkMethod(node, method, message) {
43
+ const statement = node.getParent();
44
+ const identifier = statement.getChildrenOfKind(ng_morph_1.SyntaxKind.Identifier)[0];
45
+ identifier.findReferencesAsNodes().forEach(ref => {
46
+ let parent = ref.getParent();
47
+ if ((ng_morph_1.Node.isPropertyAccessExpression(parent) &&
48
+ parent.getText().startsWith('this.')) ||
49
+ ng_morph_1.Node.isCallExpression(parent)) {
50
+ parent = parent.getParentIfKind(ng_morph_1.SyntaxKind.PropertyAccessExpression);
51
+ }
52
+ if (ng_morph_1.Node.isPropertyAccessExpression(parent)) {
53
+ parent.getChildrenOfKind(ng_morph_1.SyntaxKind.Identifier).forEach(identifier => {
54
+ if (identifier.getText() === method) {
55
+ insertTodo(identifier, message);
56
+ }
57
+ });
58
+ }
59
+ });
60
+ }
61
+ function insertTodo(identifier, message) {
62
+ const startLinePos = identifier.getStartLinePos();
63
+ const sourceFile = identifier.getSourceFile();
64
+ sourceFile.insertText(startLinePos, `// TODO: ${message}\n`);
65
+ }
@@ -0,0 +1 @@
1
+ export declare function replaceFunctions(): void;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const get_named_import_references_1 = require("../../utils/get-named-import-references");
4
+ const ng_morph_1 = require("ng-morph");
5
+ const import_manipulations_1 = require("../../utils/import-manipulations");
6
+ function replaceFunctions() {
7
+ replacePadStart(get_named_import_references_1.getNamedImportReferences('padStart', '@taiga-ui/cdk'));
8
+ replaceFallbackValue(get_named_import_references_1.getNamedImportReferences('fallbackValue', '@taiga-ui/cdk'));
9
+ replaceCustomEvent(get_named_import_references_1.getNamedImportReferences('tuiCustomEvent', '@taiga-ui/cdk'));
10
+ replaceClosestElement(get_named_import_references_1.getNamedImportReferences('getClosestElement', '@taiga-ui/cdk'));
11
+ }
12
+ exports.replaceFunctions = replaceFunctions;
13
+ function replacePadStart(references) {
14
+ references.forEach(ref => {
15
+ var _a;
16
+ const parent = ref.getParent();
17
+ if (ng_morph_1.Node.isImportSpecifier(parent)) {
18
+ import_manipulations_1.removeImport(parent);
19
+ }
20
+ else if (ng_morph_1.Node.isCallExpression(parent)) {
21
+ const [targetString, length, pad] = parent.getArguments();
22
+ parent.replaceWithText(`${targetString.getText()}.padStart(${length.getText()}, ${(_a = pad === null || pad === void 0 ? void 0 : pad.getText()) !== null && _a !== void 0 ? _a : '" "'})`);
23
+ }
24
+ });
25
+ }
26
+ function replaceClosestElement(references) {
27
+ references.forEach(ref => {
28
+ const parent = ref.getParent();
29
+ if (ng_morph_1.Node.isImportSpecifier(parent)) {
30
+ import_manipulations_1.removeImport(parent);
31
+ }
32
+ else if (ng_morph_1.Node.isCallExpression(parent)) {
33
+ const [firstArg, secondArg] = parent.getArguments();
34
+ parent.replaceWithText(`${firstArg.getText()}.closest(${secondArg.getText()})`);
35
+ }
36
+ });
37
+ }
38
+ function replaceCustomEvent(references) {
39
+ references.forEach(ref => {
40
+ const parent = ref.getParent();
41
+ if (ng_morph_1.Node.isImportSpecifier(parent)) {
42
+ import_manipulations_1.removeImport(parent);
43
+ }
44
+ else if (ng_morph_1.Node.isCallExpression(parent)) {
45
+ const [firstArg, secondArg] = parent.getArguments();
46
+ parent.replaceWithText(`new CustomEvent(${firstArg.getText()}, ${secondArg.getText()})`);
47
+ }
48
+ });
49
+ }
50
+ function replaceFallbackValue(references) {
51
+ references.forEach(ref => {
52
+ const parent = ref.getParent();
53
+ if (ng_morph_1.Node.isImportSpecifier(parent)) {
54
+ import_manipulations_1.removeImport(parent);
55
+ }
56
+ else if (ng_morph_1.Node.isCallExpression(parent)) {
57
+ const [firstArg, secondArg] = parent.getArguments();
58
+ parent.replaceWithText(`${firstArg.getText()} ?? ${secondArg.getText()}`);
59
+ }
60
+ });
61
+ }
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_1 = require("@angular-devkit/schematics");
4
4
  function getProject(options, workspace) {
5
- const projectName = options.project || workspace.extensions.defaultProject.toString();
5
+ var _a;
6
+ const projectName = options.project || ((_a = workspace.extensions.defaultProject) === null || _a === void 0 ? void 0 : _a.toString()) || '';
6
7
  const project = workspace.projects.get(projectName);
7
8
  if (!project) {
8
9
  throw new schematics_1.SchematicsException(`Unable to find project '${projectName}' in the workspace`);
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TUI_ACTIVE_ELEMENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":38},"arguments":["Active element on the document for ActiveZone",{"__symbolic":"error","message":"Lambda not supported","line":25,"character":17,"module":"./active-element"}]},"TUI_ALERTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":30},"arguments":["A stream of alerts",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":13,"module":"./alerts"}]},"TUI_DEFAULT_RENDERER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":40},"arguments":["A Renderer2 for global services",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./default-renderer"}]},"TUI_DIALOGS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":31},"arguments":["A stream of dialogs",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":13,"module":"./dialogs"}]},"TUI_FOCUSABLE_ITEM_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":8},"arguments":["A component that can be focused"]},"TUI_IS_ANDROID":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":34},"arguments":["Mobile browser that is not iOS (technically includes Windows Phone, Blackberry etc.)",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./is-android"}]},"TUI_IS_APPLE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":32},"arguments":["Apple(safari/webkit) detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":14,"module":"./is-apple"}]},"TUI_IS_CHROMIUM":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":35},"arguments":["Chromium browser engine detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./is-chromium"}]},"WindowWithCypress":{"__symbolic":"interface"},"TUI_IS_CYPRESS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":10,"character":34},"arguments":["Detect if app is running under Cypress",{"__symbolic":"error","message":"Lambda not supported","line":13,"character":17,"module":"./is-cypress"}]},"TUI_IS_FIREFOX":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":34},"arguments":["Firefox browser engine detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./is-firefox"}]},"TUI_IS_IOS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":30},"arguments":["iOS browser detection",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":13,"module":"./is-ios"}]},"TUI_IS_MOBILE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":33},"arguments":["Mobile browser detection",{"__symbolic":"error","message":"Lambda not supported","line":10,"character":13,"module":"./is-mobile"}]},"TUI_IS_WEBKIT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":33},"arguments":["Webkit browser engine detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./is-webkit"}]},"TUI_REMOVED_ELEMENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":39},"arguments":["Element currently being removed by AnimationEngine",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./removed-element"}]},"TUI_SANITIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":33},"arguments":["A custom Sanitizer to sanitize source before inlining"]},"TUI_SWIPE_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Swipe options",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./swipe-options"}]},"TUI_TAKE_ONLY_TRUSTED_EVENTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":8},"arguments":["This token need for override behavior the `pressedObservable` function",{"__symbolic":"error","message":"Lambda not supported","line":12,"character":21,"module":"./take-only-trusted-events"}]},"TUI_TOUCH_SUPPORTED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":39},"arguments":["Touch support detection",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./touch-supported"}]},"TUI_WINDOW_HEIGHT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":37},"arguments":["Window height accounting for disappearing address bar",{"__symbolic":"error","message":"Lambda not supported","line":9,"character":17,"module":"./window-height"}]},"TUI_ZOOM_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":36},"arguments":["Zoom options",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./zoom-options"}]}},"origins":{"TUI_ACTIVE_ELEMENT":"./active-element","TUI_ALERTS":"./alerts","TUI_DEFAULT_RENDERER":"./default-renderer","TUI_DIALOGS":"./dialogs","TUI_FOCUSABLE_ITEM_ACCESSOR":"./focusable-item-accessor","TUI_IS_ANDROID":"./is-android","TUI_IS_APPLE":"./is-apple","TUI_IS_CHROMIUM":"./is-chromium","WindowWithCypress":"./is-cypress","TUI_IS_CYPRESS":"./is-cypress","TUI_IS_FIREFOX":"./is-firefox","TUI_IS_IOS":"./is-ios","TUI_IS_MOBILE":"./is-mobile","TUI_IS_WEBKIT":"./is-webkit","TUI_REMOVED_ELEMENT":"./removed-element","TUI_SANITIZER":"./sanitizer","TUI_SWIPE_OPTIONS":"./swipe-options","TUI_TAKE_ONLY_TRUSTED_EVENTS":"./take-only-trusted-events","TUI_TOUCH_SUPPORTED":"./touch-supported","TUI_WINDOW_HEIGHT":"./window-height","TUI_ZOOM_OPTIONS":"./zoom-options"},"importAs":"@taiga-ui/cdk/tokens"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TUI_ACTIVE_ELEMENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":38},"arguments":["Active element on the document for ActiveZone",{"__symbolic":"error","message":"Lambda not supported","line":25,"character":17,"module":"./active-element"}]},"TUI_ALERTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":30},"arguments":["A stream of alerts",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":13,"module":"./alerts"}]},"TUI_DEFAULT_RENDERER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":40},"arguments":["A Renderer2 for global services",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./default-renderer"}]},"TUI_DIALOGS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":31},"arguments":["A stream of dialogs",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":13,"module":"./dialogs"}]},"TUI_FOCUSABLE_ITEM_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":8},"arguments":["A component that can be focused"]},"TUI_IS_ANDROID":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":34},"arguments":["Mobile browser that is not iOS (technically includes Windows Phone, Blackberry etc.)",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./is-android"}]},"TUI_IS_APPLE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":32},"arguments":["Apple(safari/webkit) detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":14,"module":"./is-apple"}]},"TUI_IS_CHROMIUM":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":35},"arguments":["Chromium browser engine detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./is-chromium"}]},"WindowWithCypress":{"__symbolic":"interface"},"TUI_IS_CYPRESS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":34},"arguments":["Detect if app is running under Cypress",{"__symbolic":"error","message":"Lambda not supported","line":14,"character":17,"module":"./is-cypress"}]},"TUI_IS_FIREFOX":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":34},"arguments":["Firefox browser engine detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./is-firefox"}]},"TUI_IS_IOS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":30},"arguments":["iOS browser detection",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":13,"module":"./is-ios"}]},"TUI_IS_MOBILE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":33},"arguments":["Mobile browser detection",{"__symbolic":"error","message":"Lambda not supported","line":10,"character":13,"module":"./is-mobile"}]},"TUI_IS_WEBKIT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":33},"arguments":["Webkit browser engine detection",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./is-webkit"}]},"TUI_REMOVED_ELEMENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":39},"arguments":["Element currently being removed by AnimationEngine",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./removed-element"}]},"TUI_SANITIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":33},"arguments":["A custom Sanitizer to sanitize source before inlining"]},"TUI_SWIPE_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Swipe options",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./swipe-options"}]},"TUI_TAKE_ONLY_TRUSTED_EVENTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":8},"arguments":["This token need for override behavior the `pressedObservable` function",{"__symbolic":"error","message":"Lambda not supported","line":12,"character":21,"module":"./take-only-trusted-events"}]},"TUI_TOUCH_SUPPORTED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":39},"arguments":["Touch support detection",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./touch-supported"}]},"TUI_WINDOW_HEIGHT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":37},"arguments":["Window height accounting for disappearing address bar",{"__symbolic":"error","message":"Lambda not supported","line":9,"character":17,"module":"./window-height"}]},"TUI_ZOOM_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":36},"arguments":["Zoom options",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./zoom-options"}]}},"origins":{"TUI_ACTIVE_ELEMENT":"./active-element","TUI_ALERTS":"./alerts","TUI_DEFAULT_RENDERER":"./default-renderer","TUI_DIALOGS":"./dialogs","TUI_FOCUSABLE_ITEM_ACCESSOR":"./focusable-item-accessor","TUI_IS_ANDROID":"./is-android","TUI_IS_APPLE":"./is-apple","TUI_IS_CHROMIUM":"./is-chromium","WindowWithCypress":"./is-cypress","TUI_IS_CYPRESS":"./is-cypress","TUI_IS_FIREFOX":"./is-firefox","TUI_IS_IOS":"./is-ios","TUI_IS_MOBILE":"./is-mobile","TUI_IS_WEBKIT":"./is-webkit","TUI_REMOVED_ELEMENT":"./removed-element","TUI_SANITIZER":"./sanitizer","TUI_SWIPE_OPTIONS":"./swipe-options","TUI_TAKE_ONLY_TRUSTED_EVENTS":"./take-only-trusted-events","TUI_TOUCH_SUPPORTED":"./touch-supported","TUI_WINDOW_HEIGHT":"./window-height","TUI_ZOOM_OPTIONS":"./zoom-options"},"importAs":"@taiga-ui/cdk/tokens"}