@taiga-ui/cdk 3.54.0-canary.c32771f → 3.54.0-canary.e1ba43c
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/bundles/taiga-ui-cdk-constants.umd.js +63 -63
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-platform.umd.js +4 -1
- package/bundles/taiga-ui-cdk-directives-platform.umd.js.map +1 -1
- package/esm2015/constants/used-icons.js +64 -64
- package/esm2015/directives/platform/platform.directive.js +6 -3
- package/fesm2015/taiga-ui-cdk-constants.js +63 -63
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-platform.js +5 -2
- package/fesm2015/taiga-ui-cdk-directives-platform.js.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/steps/add-taiga-modules.js +4 -4
- package/schematics/ng-update/utils/templates/template-comments.d.ts +1 -2
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -2
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -1
- package/schematics/ng-update/v3-30/index.js +0 -1
- package/schematics/ng-update/v3-35/index.js +0 -1
- package/schematics/ng-update/v3-36/index.js +0 -1
- package/schematics/ng-update/v3-40/index.js +0 -1
- package/schematics/ng-update/v3-5/index.js +0 -1
- package/schematics/utils/angular-json-manipulations.js +0 -1
@@ -171,69 +171,69 @@
|
|
171
171
|
* Array of icons used in taiga-ui components
|
172
172
|
*/
|
173
173
|
var TUI_USED_ICONS = [
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
174
|
+
'tuiIconMirMono',
|
175
|
+
'tuiIconVisaMono',
|
176
|
+
'tuiIconElectronMono',
|
177
|
+
'tuiIconMastercard',
|
178
|
+
'tuiIconMaestro',
|
179
|
+
'tuiIconAmex',
|
180
|
+
'tuiIconDinersClub',
|
181
|
+
'tuiIconDiscover',
|
182
|
+
'tuiIconHumo',
|
183
|
+
'tuiIconJCB',
|
184
|
+
'tuiIconRuPay',
|
185
|
+
'tuiIconUnionPay',
|
186
|
+
'tuiIconUzcard',
|
187
|
+
'tuiIconVerve',
|
188
|
+
'tuiIconCopyLarge',
|
189
|
+
'tuiIconCheckLarge',
|
190
|
+
'tuiIconLink',
|
191
|
+
'tuiIconSearch',
|
192
|
+
'tuiIconSun',
|
193
|
+
'tuiIconMoon',
|
194
|
+
'tuiIconCode',
|
195
|
+
'tuiIconMenuLarge',
|
196
|
+
'tuiIconRotate',
|
197
|
+
'tuiIconArrowLeft',
|
198
|
+
'tuiIconArrowRight',
|
199
|
+
'tuiIconPlus',
|
200
|
+
'tuiIconMinus',
|
201
|
+
'tuiIconMinimize',
|
202
|
+
'tuiIconEye',
|
203
|
+
'tuiIconEyeOff',
|
204
|
+
'tuiIconDrag',
|
205
|
+
'tuiIconSortAscending',
|
206
|
+
'tuiIconSortDescending',
|
207
|
+
'tuiIconSortOff',
|
208
|
+
'tuiIconCheck',
|
209
|
+
'tuiIconMinusLarge',
|
210
|
+
'tuiIconChevronUp',
|
211
|
+
'tuiIconHelpCircle',
|
212
|
+
'tuiIconClose',
|
213
|
+
'tuiIconAlertCircle',
|
214
|
+
'tuiIconChevronRight',
|
215
|
+
'tuiIconInfo',
|
216
|
+
'tuiIconCheckCircle',
|
217
|
+
'tuiIconXCircle',
|
218
|
+
'tuiIconChevronLeft',
|
219
|
+
'tuiIconStarLarge',
|
220
|
+
'tuiIconChevronDown',
|
221
|
+
'tuiIconChevronDownLarge',
|
222
|
+
'tuiIconFileLarge',
|
223
|
+
'tuiIconTrashLarge',
|
224
|
+
'tuiIconAlertCircleLarge',
|
225
|
+
'tuiIconCheckCircleLarge',
|
226
|
+
'tuiIconCopy',
|
227
|
+
'tuiIconEyeOffLarge',
|
228
|
+
'tuiIconEyeLarge',
|
229
|
+
'tuiIconClock',
|
230
|
+
'tuiIconClockLarge',
|
231
|
+
'tuiIconToggleOff',
|
232
|
+
'tuiIconToggleOffLarge',
|
233
|
+
'tuiIconToggleOn',
|
234
|
+
'tuiIconToggleOnLarge',
|
235
|
+
'tuiIconCalendar',
|
236
|
+
'tuiIconCalendarLarge',
|
237
237
|
];
|
238
238
|
|
239
239
|
var TUI_VERSION = "3.54.0";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-cdk-constants.umd.js","sources":["../../../projects/cdk/constants/always-false-handler.ts","../../../projects/cdk/constants/always-true-handler.ts","../../../projects/cdk/constants/browser.ts","../../../projects/cdk/constants/empty.ts","../../../projects/cdk/constants/stringify.ts","../../../projects/cdk/constants/matcher.ts","../../../projects/cdk/constants/parent-animation.ts","../../../projects/cdk/constants/polling-time.ts","../../../projects/cdk/constants/svg-node-filter.ts","../../../projects/cdk/constants/unicode-chars.ts","../../../projects/cdk/constants/used-icons.ts","../../../projects/cdk/constants/version.ts","../../../projects/cdk/constants/taiga-ui-cdk-constants.ts"],"sourcesContent":["/**\n * Handler that always returns `false`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_FALSE_HANDLER = (): false => false;\n","/**\n * Handler that always returns `true`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_TRUE_HANDLER = (): true => true;\n","/**\n * @deprecated\n * TODO: drop support of legacy Edge (EdgeHTML) in v4.x\n */\nexport const CHROMIUM_EDGE_START_VERSION = 79;\n","import {QueryList} from '@angular/core';\n\n/**\n * For type safety when using @ContentChildren and @ViewChildren\n *\n * NOTE: Be careful subscribing to 'changes'\n */\nexport const EMPTY_QUERY = new QueryList<any>();\nexport const EMPTY_ARRAY: [] = [];\nexport const EMPTY_FUNCTION: (...args: any[]) => void = () => {};\n\nconst rect = {\n bottom: 0,\n height: 0,\n left: 0,\n right: 0,\n top: 0,\n width: 0,\n x: 0,\n y: 0,\n} as const;\n\nexport const EMPTY_CLIENT_RECT: DOMRect = {\n ...rect,\n toJSON() {\n return rect;\n },\n};\n","import {TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * Default method to turn arbitrary object into string\n */\nexport const TUI_DEFAULT_STRINGIFY: TuiStringHandler<unknown> = item => String(item);\n","import {TuiHandler, TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\nimport {TUI_DEFAULT_STRINGIFY} from './stringify';\n\n/**\n * Default handler for matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_DEFAULT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase().includes(search.toLowerCase());\n\n/**\n * Default handler for strict matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_STRICT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase() === search.toLowerCase();\n\n/**\n * Default handler to match equality of two elements\n * ATTENTION: considers two empty arrays equal\n *\n * @param item1 first element\n * @param item2 second element\n */\nexport const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown> = (item1, item2) =>\n item1 === item2 || bothEmpty(item1, item2);\n\nfunction bothEmpty(item1: unknown, item2: unknown): boolean {\n return Array.isArray(item1) && Array.isArray(item2) && !item1.length && !item2.length;\n}\n","import {animateChild, query, transition, trigger} from '@angular/animations';\n\n/**\n * Add to enable child :leave animation (fixes https://github.com/angular/angular/issues/15753)\n */\nexport const TUI_PARENT_ANIMATION = trigger(`tuiParentAnimation`, [\n transition(`:leave`, [query(`:scope > *`, [animateChild()], {optional: true})]),\n]);\n\n/**\n * Add on parent to stop initial :enter animation for children\n */\nexport const TUI_PARENT_STOP = trigger(`tuiParentStop`, [transition(`:enter`, [])]);\n","export const POLLING_TIME = 1000 / 15;\n","// Filtering SVGElements for TreeWalker\n// Filter must be a function in IE, other modern browsers are compliant to this format\nexport const svgNodeFilter: NodeFilter = ((node: Node) =>\n `ownerSVGElement` in node\n ? NodeFilter.FILTER_REJECT\n : NodeFilter.FILTER_ACCEPT) as any;\n","/**\n * {@link https://unicode-table.com/en/00A0/ Non-breaking space}.\n */\nexport const CHAR_NO_BREAK_SPACE = `\\u00A0`;\n\n/**\n * {@link https://unicode-table.com/en/2013/ EN dash}\n * is used to indicate a range of numbers or a span of time.\n * @example 2006–2022\n * ___\n * Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EN_DASH = `\\u2013`;\n\n/**\n * {@link https://unicode-table.com/en/2014/ EM dash}\n * is used to mark a break in a sentence.\n * @example Taiga UI — powerful set of open source components for Angular\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EM_DASH = `\\u2014`;\n\n/**\n * {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_LAQUO = `\\u00AB`;\n\n/**\n * {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_RAQUO = `\\u00BB`;\n\n/**\n * {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}\n * is used to combine words.\n * @example well-behaved\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!\n */\nexport const CHAR_HYPHEN = `\\u002D`;\n\n/**\n * {@link https://unicode-table.com/en/2212/ Minus}\n * is used as math operator symbol or before negative digits.\n * ---\n * Can be used as `−`. Don't confuse with {@link CHAR_HYPHEN}\n */\nexport const CHAR_MINUS = `\\u2212`;\n\n/**\n * {@link https://unicode-table.com/en/002B/ Plus}\n */\nexport const CHAR_PLUS = `\\u002B`;\n\n/**\n * {@link https://unicode-table.com/en/2022/ Bullet}.\n */\nexport const CHAR_BULLET = `\\u2022`;\n\n/**\n * {@link https://unicode-table.com/en/2026/ Suspension points}.\n */\nexport const CHAR_ELLIPSIS = `\\u2026`;\n\n/**\n * {@link https://unicode-table.com/en/00A4/ Suspension points}.\n */\nexport const CHAR_CURRENCY_SIGN = `\\u00A4`;\n\n/**\n * {@link https://unicode-table.com/en/200b/ Suspension points}.\n */\nexport const CHAR_ZERO_WIDTH_SPACE = `\\u200B`;\n","/**\n * @description:\n * AUTOGENERATED\n *\n * Array of icons used in taiga-ui components\n */\nexport const TUI_USED_ICONS = [\n `tuiIconMirMono`,\n `tuiIconVisaMono`,\n `tuiIconElectronMono`,\n `tuiIconMastercard`,\n `tuiIconMaestro`,\n `tuiIconAmex`,\n `tuiIconDinersClub`,\n `tuiIconDiscover`,\n `tuiIconHumo`,\n `tuiIconJCB`,\n `tuiIconRuPay`,\n `tuiIconUnionPay`,\n `tuiIconUzcard`,\n `tuiIconVerve`,\n `tuiIconCopyLarge`,\n `tuiIconCheckLarge`,\n `tuiIconLink`,\n `tuiIconSearch`,\n `tuiIconSun`,\n `tuiIconMoon`,\n `tuiIconCode`,\n `tuiIconMenuLarge`,\n `tuiIconRotate`,\n `tuiIconArrowLeft`,\n `tuiIconArrowRight`,\n `tuiIconPlus`,\n `tuiIconMinus`,\n `tuiIconMinimize`,\n `tuiIconEye`,\n `tuiIconEyeOff`,\n `tuiIconDrag`,\n `tuiIconSortAscending`,\n `tuiIconSortDescending`,\n `tuiIconSortOff`,\n `tuiIconCheck`,\n `tuiIconMinusLarge`,\n `tuiIconChevronUp`,\n `tuiIconHelpCircle`,\n `tuiIconClose`,\n `tuiIconAlertCircle`,\n `tuiIconChevronRight`,\n `tuiIconInfo`,\n `tuiIconCheckCircle`,\n `tuiIconXCircle`,\n `tuiIconChevronLeft`,\n `tuiIconStarLarge`,\n `tuiIconChevronDown`,\n `tuiIconChevronDownLarge`,\n `tuiIconFileLarge`,\n `tuiIconTrashLarge`,\n `tuiIconAlertCircleLarge`,\n `tuiIconCheckCircleLarge`,\n `tuiIconCopy`,\n `tuiIconEyeOffLarge`,\n `tuiIconEyeLarge`,\n `tuiIconClock`,\n `tuiIconClockLarge`,\n `tuiIconToggleOff`,\n `tuiIconToggleOffLarge`,\n `tuiIconToggleOn`,\n `tuiIconToggleOnLarge`,\n `tuiIconCalendar`,\n `tuiIconCalendarLarge`,\n] as const;\n","export const TUI_VERSION = `3.54.0`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["QueryList","trigger","transition","query","animateChild"],"mappings":";;;;;;IAAA;;IAEG;IACH;QACa,oBAAoB,GAAG,cAAa,OAAA,KAAK,CAAL;;ICJjD;;IAEG;IACH;QACa,mBAAmB,GAAG,cAAY,OAAA,IAAI,CAAJ;;ICJ/C;;;IAGG;AACI,QAAM,2BAA2B,GAAG;;ICF3C;;;;IAIG;AACU,QAAA,WAAW,GAAG,IAAIA,cAAS,GAAQ;AACzC,QAAM,WAAW,GAAO,GAAG;AACrB,QAAA,cAAc,GAA6B,YAAA,IAAS;IAEjE,IAAM,IAAI,GAAG;IACT,IAAA,MAAM,EAAE,CAAC;IACT,IAAA,MAAM,EAAE,CAAC;IACT,IAAA,IAAI,EAA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AAA,cAAc,GAAG;QAC1B,gBAAgB;QAChB,iBAAiB;QACjB,qBAAqB;QACrB,mBAAmB;QACnB,gBAAgB;QAChB,aAAa;QACb,mBAAmB;QACnB,iBAAiB;QACjB,aAAa;QACb,YAAY;QACZ,cAAc;QACd,iBAAiB;QACjB,eAAe;QACf,cAAc;QACd,kBAAkB;QAClB,mBAAmB;QACnB,aAAa;QACb,eAAe;QACf,YAAY;QACZ,aAAa;QACb,aAAa;QACb,kBAAkB;QAClB,eAAe;QACf,kBAAkB;QAClB,mBAAmB;QACnB,aAAa;QACb,cAAc;QACd,iBAAiB;QACjB,YAAY;QACZ,eAAe;QACf,aAAa;QACb,sBAAsB;QACtB,uBAAuB;QACvB,gBAAgB;QAChB,cAAc;QACd,mBAAmB;QACnB,kBAAkB;QAClB,mBAAmB;QACnB,cAAc;QACd,oBAAoB;QACpB,qBAAqB;QACrB,aAAa;QACb,oBAAoB;QACpB,gBAAgB;QAChB,oBAAoB;QACpB,kBAAkB;QAClB,oBAAoB;QACpB,yBAAyB;QACzB,kBAAkB;QAClB,mBAAmB;QACnB,yBAAyB;QACzB,yBAAyB;QACzB,aAAa;QACb,oBAAoB;QACpB,iBAAiB;QACjB,cAAc;QACd,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,iBAAiB;QACjB,sBAAsB;QACtB,iBAAiB;QACjB,sBAAsB;;;ACrEnB,QAAM,WAAW,GAAG;;ICA3B;;IAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-constants.umd.js","sources":["../../../projects/cdk/constants/always-false-handler.ts","../../../projects/cdk/constants/always-true-handler.ts","../../../projects/cdk/constants/browser.ts","../../../projects/cdk/constants/empty.ts","../../../projects/cdk/constants/stringify.ts","../../../projects/cdk/constants/matcher.ts","../../../projects/cdk/constants/parent-animation.ts","../../../projects/cdk/constants/polling-time.ts","../../../projects/cdk/constants/svg-node-filter.ts","../../../projects/cdk/constants/unicode-chars.ts","../../../projects/cdk/constants/used-icons.ts","../../../projects/cdk/constants/version.ts","../../../projects/cdk/constants/taiga-ui-cdk-constants.ts"],"sourcesContent":["/**\n * Handler that always returns `false`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_FALSE_HANDLER = (): false => false;\n","/**\n * Handler that always returns `true`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_TRUE_HANDLER = (): true => true;\n","/**\n * @deprecated\n * TODO: drop support of legacy Edge (EdgeHTML) in v4.x\n */\nexport const CHROMIUM_EDGE_START_VERSION = 79;\n","import {QueryList} from '@angular/core';\n\n/**\n * For type safety when using @ContentChildren and @ViewChildren\n *\n * NOTE: Be careful subscribing to 'changes'\n */\nexport const EMPTY_QUERY = new QueryList<any>();\nexport const EMPTY_ARRAY: [] = [];\nexport const EMPTY_FUNCTION: (...args: any[]) => void = () => {};\n\nconst rect = {\n bottom: 0,\n height: 0,\n left: 0,\n right: 0,\n top: 0,\n width: 0,\n x: 0,\n y: 0,\n} as const;\n\nexport const EMPTY_CLIENT_RECT: DOMRect = {\n ...rect,\n toJSON() {\n return rect;\n },\n};\n","import {TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * Default method to turn arbitrary object into string\n */\nexport const TUI_DEFAULT_STRINGIFY: TuiStringHandler<unknown> = item => String(item);\n","import {TuiHandler, TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\nimport {TUI_DEFAULT_STRINGIFY} from './stringify';\n\n/**\n * Default handler for matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_DEFAULT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase().includes(search.toLowerCase());\n\n/**\n * Default handler for strict matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_STRICT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase() === search.toLowerCase();\n\n/**\n * Default handler to match equality of two elements\n * ATTENTION: considers two empty arrays equal\n *\n * @param item1 first element\n * @param item2 second element\n */\nexport const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown> = (item1, item2) =>\n item1 === item2 || bothEmpty(item1, item2);\n\nfunction bothEmpty(item1: unknown, item2: unknown): boolean {\n return Array.isArray(item1) && Array.isArray(item2) && !item1.length && !item2.length;\n}\n","import {animateChild, query, transition, trigger} from '@angular/animations';\n\n/**\n * Add to enable child :leave animation (fixes https://github.com/angular/angular/issues/15753)\n */\nexport const TUI_PARENT_ANIMATION = trigger(`tuiParentAnimation`, [\n transition(`:leave`, [query(`:scope > *`, [animateChild()], {optional: true})]),\n]);\n\n/**\n * Add on parent to stop initial :enter animation for children\n */\nexport const TUI_PARENT_STOP = trigger(`tuiParentStop`, [transition(`:enter`, [])]);\n","export const POLLING_TIME = 1000 / 15;\n","// Filtering SVGElements for TreeWalker\n// Filter must be a function in IE, other modern browsers are compliant to this format\nexport const svgNodeFilter: NodeFilter = ((node: Node) =>\n `ownerSVGElement` in node\n ? NodeFilter.FILTER_REJECT\n : NodeFilter.FILTER_ACCEPT) as any;\n","/**\n * {@link https://unicode-table.com/en/00A0/ Non-breaking space}.\n */\nexport const CHAR_NO_BREAK_SPACE = `\\u00A0`;\n\n/**\n * {@link https://unicode-table.com/en/2013/ EN dash}\n * is used to indicate a range of numbers or a span of time.\n * @example 2006–2022\n * ___\n * Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EN_DASH = `\\u2013`;\n\n/**\n * {@link https://unicode-table.com/en/2014/ EM dash}\n * is used to mark a break in a sentence.\n * @example Taiga UI — powerful set of open source components for Angular\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EM_DASH = `\\u2014`;\n\n/**\n * {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_LAQUO = `\\u00AB`;\n\n/**\n * {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_RAQUO = `\\u00BB`;\n\n/**\n * {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}\n * is used to combine words.\n * @example well-behaved\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!\n */\nexport const CHAR_HYPHEN = `\\u002D`;\n\n/**\n * {@link https://unicode-table.com/en/2212/ Minus}\n * is used as math operator symbol or before negative digits.\n * ---\n * Can be used as `−`. Don't confuse with {@link CHAR_HYPHEN}\n */\nexport const CHAR_MINUS = `\\u2212`;\n\n/**\n * {@link https://unicode-table.com/en/002B/ Plus}\n */\nexport const CHAR_PLUS = `\\u002B`;\n\n/**\n * {@link https://unicode-table.com/en/2022/ Bullet}.\n */\nexport const CHAR_BULLET = `\\u2022`;\n\n/**\n * {@link https://unicode-table.com/en/2026/ Suspension points}.\n */\nexport const CHAR_ELLIPSIS = `\\u2026`;\n\n/**\n * {@link https://unicode-table.com/en/00A4/ Suspension points}.\n */\nexport const CHAR_CURRENCY_SIGN = `\\u00A4`;\n\n/**\n * {@link https://unicode-table.com/en/200b/ Suspension points}.\n */\nexport const CHAR_ZERO_WIDTH_SPACE = `\\u200B`;\n","/**\n * @description:\n * AUTOGENERATED\n *\n * Array of icons used in taiga-ui components\n */\nexport const TUI_USED_ICONS = [\n 'tuiIconMirMono',\n 'tuiIconVisaMono',\n 'tuiIconElectronMono',\n 'tuiIconMastercard',\n 'tuiIconMaestro',\n 'tuiIconAmex',\n 'tuiIconDinersClub',\n 'tuiIconDiscover',\n 'tuiIconHumo',\n 'tuiIconJCB',\n 'tuiIconRuPay',\n 'tuiIconUnionPay',\n 'tuiIconUzcard',\n 'tuiIconVerve',\n 'tuiIconCopyLarge',\n 'tuiIconCheckLarge',\n 'tuiIconLink',\n 'tuiIconSearch',\n 'tuiIconSun',\n 'tuiIconMoon',\n 'tuiIconCode',\n 'tuiIconMenuLarge',\n 'tuiIconRotate',\n 'tuiIconArrowLeft',\n 'tuiIconArrowRight',\n 'tuiIconPlus',\n 'tuiIconMinus',\n 'tuiIconMinimize',\n 'tuiIconEye',\n 'tuiIconEyeOff',\n 'tuiIconDrag',\n 'tuiIconSortAscending',\n 'tuiIconSortDescending',\n 'tuiIconSortOff',\n 'tuiIconCheck',\n 'tuiIconMinusLarge',\n 'tuiIconChevronUp',\n 'tuiIconHelpCircle',\n 'tuiIconClose',\n 'tuiIconAlertCircle',\n 'tuiIconChevronRight',\n 'tuiIconInfo',\n 'tuiIconCheckCircle',\n 'tuiIconXCircle',\n 'tuiIconChevronLeft',\n 'tuiIconStarLarge',\n 'tuiIconChevronDown',\n 'tuiIconChevronDownLarge',\n 'tuiIconFileLarge',\n 'tuiIconTrashLarge',\n 'tuiIconAlertCircleLarge',\n 'tuiIconCheckCircleLarge',\n 'tuiIconCopy',\n 'tuiIconEyeOffLarge',\n 'tuiIconEyeLarge',\n 'tuiIconClock',\n 'tuiIconClockLarge',\n 'tuiIconToggleOff',\n 'tuiIconToggleOffLarge',\n 'tuiIconToggleOn',\n 'tuiIconToggleOnLarge',\n 'tuiIconCalendar',\n 'tuiIconCalendarLarge',\n] as const;\n","export const TUI_VERSION = `3.54.0`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["QueryList","trigger","transition","query","animateChild"],"mappings":";;;;;;IAAA;;IAEG;IACH;QACa,oBAAoB,GAAG,cAAa,OAAA,KAAK,CAAL;;ICJjD;;IAEG;IACH;QACa,mBAAmB,GAAG,cAAY,OAAA,IAAI,CAAJ;;ICJ/C;;;IAGG;AACI,QAAM,2BAA2B,GAAG;;ICF3C;;;;IAIG;AACU,QAAA,WAAW,GAAG,IAAIA,cAAS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,QAAM,WAAW,GAAG,SAAS;IAEpC;;IAEG;AACI,QAAM,aAAa,GAAG,SAAS;IAEtC;;IAEG;AACI,QAAM,kBAAkB,GAAG,SAAS;IAE3C;;IAEG;AACI,QAAM,qBAAqB,GAAG;;ICzErC;;;;;IAKG;AACU,QAAA,cAAc,GAAG;QAC1B,gBAAgB;QAChB,iBAAiB;QACjB,qBAAqB;QACrB,mBAAmB;QACnB,gBAAgB;QAChB,aAAa;QACb,mBAAmB;QACnB,iBAAiB;QACjB,aAAa;QACb,YAAY;QACZ,cAAc;QACd,iBAAiB;QACjB,eAAe;QACf,cAAc;QACd,kBAAkB;QAClB,mBAAmB;QACnB,aAAa;QACb,eAAe;QACf,YAAY;QACZ,aAAa;QACb,aAAa;QACb,kBAAkB;QAClB,eAAe;QACf,kBAAkB;QAClB,mBAAmB;QACnB,aAAa;QACb,cAAc;QACd,iBAAiB;QACjB,YAAY;QACZ,eAAe;QACf,aAAa;QACb,sBAAsB;QACtB,uBAAuB;QACvB,gBAAgB;QAChB,cAAc;QACd,mBAAmB;QACnB,kBAAkB;QAClB,mBAAmB;QACnB,cAAc;QACd,oBAAoB;QACpB,qBAAqB;QACrB,aAAa;QACb,oBAAoB;QACpB,gBAAgB;QAChB,oBAAoB;QACpB,kBAAkB;QAClB,oBAAoB;QACpB,yBAAyB;QACzB,kBAAkB;QAClB,mBAAmB;QACnB,yBAAyB;QACzB,yBAAyB;QACzB,aAAa;QACb,oBAAoB;QACpB,iBAAiB;QACjB,cAAc;QACd,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,iBAAiB;QACjB,sBAAsB;QACtB,iBAAiB;QACjB,sBAAsB;;;ACrEnB,QAAM,WAAW,GAAG;;ICA3B;;IAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -31,7 +31,7 @@
|
|
31
31
|
return TuiPlatformDirective;
|
32
32
|
}());
|
33
33
|
TuiPlatformDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPlatformDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
34
|
-
TuiPlatformDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPlatformDirective, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, providers: [
|
34
|
+
TuiPlatformDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPlatformDirective, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, host: { properties: { "attr.data-platform": "this.tuiPlatform" } }, providers: [
|
35
35
|
{
|
36
36
|
provide: tokens.TUI_PLATFORM,
|
37
37
|
deps: [TuiPlatformDirective],
|
@@ -58,6 +58,9 @@
|
|
58
58
|
}]
|
59
59
|
}], propDecorators: { tuiPlatform: [{
|
60
60
|
type: i0.Input
|
61
|
+
}, {
|
62
|
+
type: i0.HostBinding,
|
63
|
+
args: ['attr.data-platform']
|
61
64
|
}] } });
|
62
65
|
|
63
66
|
var TuiPlatformModule = /** @class */ (function () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-cdk-directives-platform.umd.js","sources":["../../../projects/cdk/directives/platform/platform.directive.ts","../../../projects/cdk/directives/platform/platform.module.ts","../../../projects/cdk/directives/platform/taiga-ui-cdk-directives-platform.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {TUI_PLATFORM, tuiPlatformFactory} from '@taiga-ui/cdk/tokens';\nimport {TuiPlatform} from '@taiga-ui/cdk/types';\n\n@Directive({\n selector: '[tuiPlatform]',\n providers: [\n {\n provide: TUI_PLATFORM,\n deps: [TuiPlatformDirective],\n useFactory: ({tuiPlatform}: TuiPlatformDirective) =>\n tuiPlatform || tuiPlatformFactory(),\n },\n ],\n})\nexport class TuiPlatformDirective {\n @Input()\n tuiPlatform: TuiPlatform | '' = '';\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPlatformDirective} from './platform.directive';\n\n@NgModule({\n declarations: [TuiPlatformDirective],\n exports: [TuiPlatformDirective],\n})\nexport class TuiPlatformModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","TUI_PLATFORM","tuiPlatformFactory","Directive","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,QAAA,oBAAA,kBAAA,YAAA;IAXA,IAAA,SAAA,oBAAA,GAAA;
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives-platform.umd.js","sources":["../../../projects/cdk/directives/platform/platform.directive.ts","../../../projects/cdk/directives/platform/platform.module.ts","../../../projects/cdk/directives/platform/taiga-ui-cdk-directives-platform.ts"],"sourcesContent":["import {Directive, HostBinding, Input} from '@angular/core';\nimport {TUI_PLATFORM, tuiPlatformFactory} from '@taiga-ui/cdk/tokens';\nimport {TuiPlatform} from '@taiga-ui/cdk/types';\n\n@Directive({\n selector: '[tuiPlatform]',\n providers: [\n {\n provide: TUI_PLATFORM,\n deps: [TuiPlatformDirective],\n useFactory: ({tuiPlatform}: TuiPlatformDirective) =>\n tuiPlatform || tuiPlatformFactory(),\n },\n ],\n})\nexport class TuiPlatformDirective {\n @Input()\n @HostBinding('attr.data-platform')\n tuiPlatform: TuiPlatform | '' = '';\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPlatformDirective} from './platform.directive';\n\n@NgModule({\n declarations: [TuiPlatformDirective],\n exports: [TuiPlatformDirective],\n})\nexport class TuiPlatformModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","TUI_PLATFORM","tuiPlatformFactory","Directive","Input","HostBinding","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,QAAA,oBAAA,kBAAA,YAAA;IAXA,IAAA,SAAA,oBAAA,GAAA;IAcI,QAAA,IAAW,CAAA,WAAA,GAAqB,EA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,iBAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,iBAAA,GAAA;;;;yIAAa,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAL,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;0IAAjB,iBAAiB,EAAA,YAAA,EAAA,CAHX,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;0IAErB,iBAAiB,EAAA,CAAA,CAAA;sHAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;sBAJ7BM,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;wBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;qBAClC,CAAA;;;ICPD;;IAEG;;;;;;;;;;;"}
|
@@ -5,68 +5,68 @@
|
|
5
5
|
* Array of icons used in taiga-ui components
|
6
6
|
*/
|
7
7
|
export const TUI_USED_ICONS = [
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
8
|
+
'tuiIconMirMono',
|
9
|
+
'tuiIconVisaMono',
|
10
|
+
'tuiIconElectronMono',
|
11
|
+
'tuiIconMastercard',
|
12
|
+
'tuiIconMaestro',
|
13
|
+
'tuiIconAmex',
|
14
|
+
'tuiIconDinersClub',
|
15
|
+
'tuiIconDiscover',
|
16
|
+
'tuiIconHumo',
|
17
|
+
'tuiIconJCB',
|
18
|
+
'tuiIconRuPay',
|
19
|
+
'tuiIconUnionPay',
|
20
|
+
'tuiIconUzcard',
|
21
|
+
'tuiIconVerve',
|
22
|
+
'tuiIconCopyLarge',
|
23
|
+
'tuiIconCheckLarge',
|
24
|
+
'tuiIconLink',
|
25
|
+
'tuiIconSearch',
|
26
|
+
'tuiIconSun',
|
27
|
+
'tuiIconMoon',
|
28
|
+
'tuiIconCode',
|
29
|
+
'tuiIconMenuLarge',
|
30
|
+
'tuiIconRotate',
|
31
|
+
'tuiIconArrowLeft',
|
32
|
+
'tuiIconArrowRight',
|
33
|
+
'tuiIconPlus',
|
34
|
+
'tuiIconMinus',
|
35
|
+
'tuiIconMinimize',
|
36
|
+
'tuiIconEye',
|
37
|
+
'tuiIconEyeOff',
|
38
|
+
'tuiIconDrag',
|
39
|
+
'tuiIconSortAscending',
|
40
|
+
'tuiIconSortDescending',
|
41
|
+
'tuiIconSortOff',
|
42
|
+
'tuiIconCheck',
|
43
|
+
'tuiIconMinusLarge',
|
44
|
+
'tuiIconChevronUp',
|
45
|
+
'tuiIconHelpCircle',
|
46
|
+
'tuiIconClose',
|
47
|
+
'tuiIconAlertCircle',
|
48
|
+
'tuiIconChevronRight',
|
49
|
+
'tuiIconInfo',
|
50
|
+
'tuiIconCheckCircle',
|
51
|
+
'tuiIconXCircle',
|
52
|
+
'tuiIconChevronLeft',
|
53
|
+
'tuiIconStarLarge',
|
54
|
+
'tuiIconChevronDown',
|
55
|
+
'tuiIconChevronDownLarge',
|
56
|
+
'tuiIconFileLarge',
|
57
|
+
'tuiIconTrashLarge',
|
58
|
+
'tuiIconAlertCircleLarge',
|
59
|
+
'tuiIconCheckCircleLarge',
|
60
|
+
'tuiIconCopy',
|
61
|
+
'tuiIconEyeOffLarge',
|
62
|
+
'tuiIconEyeLarge',
|
63
|
+
'tuiIconClock',
|
64
|
+
'tuiIconClockLarge',
|
65
|
+
'tuiIconToggleOff',
|
66
|
+
'tuiIconToggleOffLarge',
|
67
|
+
'tuiIconToggleOn',
|
68
|
+
'tuiIconToggleOnLarge',
|
69
|
+
'tuiIconCalendar',
|
70
|
+
'tuiIconCalendarLarge',
|
71
71
|
];
|
72
|
-
//# sourceMappingURL=data:application/json;base64,
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlZC1pY29ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9jb25zdGFudHMvdXNlZC1pY29ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7R0FLRztBQUNILE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRztJQUMxQixnQkFBZ0I7SUFDaEIsaUJBQWlCO0lBQ2pCLHFCQUFxQjtJQUNyQixtQkFBbUI7SUFDbkIsZ0JBQWdCO0lBQ2hCLGFBQWE7SUFDYixtQkFBbUI7SUFDbkIsaUJBQWlCO0lBQ2pCLGFBQWE7SUFDYixZQUFZO0lBQ1osY0FBYztJQUNkLGlCQUFpQjtJQUNqQixlQUFlO0lBQ2YsY0FBYztJQUNkLGtCQUFrQjtJQUNsQixtQkFBbUI7SUFDbkIsYUFBYTtJQUNiLGVBQWU7SUFDZixZQUFZO0lBQ1osYUFBYTtJQUNiLGFBQWE7SUFDYixrQkFBa0I7SUFDbEIsZUFBZTtJQUNmLGtCQUFrQjtJQUNsQixtQkFBbUI7SUFDbkIsYUFBYTtJQUNiLGNBQWM7SUFDZCxpQkFBaUI7SUFDakIsWUFBWTtJQUNaLGVBQWU7SU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ICd0dWlJY29uUnVQYXknLFxuICAgICd0dWlJY29uVW5pb25QYXknLFxuICAgICd0dWlJY29uVXpjYXJkJyxcbiAgICAndHVpSWNvblZlcnZlJyxcbiAgICAndHVpSWNvbkNvcHlMYXJnZScsXG4gICAgJ3R1aUljb25DaGVja0xhcmdlJyxcbiAgICAndHVpSWNvbkxpbmsnLFxuICAgICd0dWlJY29uU2VhcmNoJyxcbiAgICAndHVpSWNvblN1bicsXG4gICAgJ3R1aUljb25Nb29uJyxcbiAgICAndHVpSWNvbkNvZGUnLFxuICAgICd0dWlJY29uTWVudUxhcmdlJyxcbiAgICAndHVpSWNvblJvdGF0ZScsXG4gICAgJ3R1aUljb25BcnJvd0xlZnQnLFxuICAgICd0dWlJY29uQXJyb3dSaWdodCcsXG4gICAgJ3R1aUljb25QbHVzJyxcbiAgICAndHVpSWNvbk1pbnVzJyxcbiAgICAndHVpSWNvbk1pbmltaXplJyxcbiAgICAndHVpSWNvbkV5ZScsXG4gICAgJ3R1aUljb25FeWVPZmYnLFxuICAgICd0dWlJY29uRHJhZycsXG4gICAgJ3R1aUljb25Tb3J0QXNjZW5kaW5nJyxcbiAgICAndHVpSWNvblNvcnREZXNjZW5kaW5nJyxcbiAgICAndHVpSWNvblNvcnRPZmYnLFxuICAgICd0dWlJY29uQ2hlY2snLFxuICAgICd0dWlJY29uTWludXNMYXJnZScsXG4gICAgJ3R1aUljb25DaGV2cm9uVXAnLFxuICAgICd0dWlJY29uSGVscENpcmNsZScsXG4gICAgJ3R1aUljb25DbG9zZScsXG4gICAgJ3R1aUljb25BbGVydENpcmNsZScsXG4gICAgJ3R1aUljb25DaGV2cm9uUmlnaHQnLFxuICAgICd0dWlJY29uSW5mbycsXG4gICAgJ3R1aUljb25DaGVja0NpcmNsZScsXG4gICAgJ3R1aUljb25YQ2lyY2xlJyxcbiAgICAndHVpSWNvbkNoZXZyb25MZWZ0JyxcbiAgICAndHVpSWNvblN0YXJMYXJnZScsXG4gICAgJ3R1aUljb25DaGV2cm9uRG93bicsXG4gICAgJ3R1aUljb25DaGV2cm9uRG93bkxhcmdlJyxcbiAgICAndHVpSWNvbkZpbGVMYXJnZScsXG4gICAgJ3R1aUljb25UcmFzaExhcmdlJyxcbiAgICAndHVpSWNvbkFsZXJ0Q2lyY2xlTGFyZ2UnLFxuICAgICd0dWlJY29uQ2hlY2tDaXJjbGVMYXJnZScsXG4gICAgJ3R1aUljb25Db3B5JyxcbiAgICAndHVpSWNvbkV5ZU9mZkxhcmdlJyxcbiAgICAndHVpSWNvbkV5ZUxhcmdlJyxcbiAgICAndHVpSWNvbkNsb2NrJyxcbiAgICAndHVpSWNvbkNsb2NrTGFyZ2UnLFxuICAgICd0dWlJY29uVG9nZ2xlT2ZmJyxcbiAgICAndHVpSWNvblRvZ2dsZU9mZkxhcmdlJyxcbiAgICAndHVpSWNvblRvZ2dsZU9uJyxcbiAgICAndHVpSWNvblRvZ2dsZU9uTGFyZ2UnLFxuICAgICd0dWlJY29uQ2FsZW5kYXInLFxuICAgICd0dWlJY29uQ2FsZW5kYXJMYXJnZScsXG5dIGFzIGNvbnN0O1xuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
1
|
+
import { Directive, HostBinding, Input } from '@angular/core';
|
2
2
|
import { TUI_PLATFORM, tuiPlatformFactory } from '@taiga-ui/cdk/tokens';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export class TuiPlatformDirective {
|
@@ -7,7 +7,7 @@ export class TuiPlatformDirective {
|
|
7
7
|
}
|
8
8
|
}
|
9
9
|
TuiPlatformDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPlatformDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
10
|
-
TuiPlatformDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPlatformDirective, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, providers: [
|
10
|
+
TuiPlatformDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPlatformDirective, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, host: { properties: { "attr.data-platform": "this.tuiPlatform" } }, providers: [
|
11
11
|
{
|
12
12
|
provide: TUI_PLATFORM,
|
13
13
|
deps: [TuiPlatformDirective],
|
@@ -28,5 +28,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
28
28
|
}]
|
29
29
|
}], propDecorators: { tuiPlatform: [{
|
30
30
|
type: Input
|
31
|
+
}, {
|
32
|
+
type: HostBinding,
|
33
|
+
args: ['attr.data-platform']
|
31
34
|
}] } });
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm0uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2RpcmVjdGl2ZXMvcGxhdGZvcm0vcGxhdGZvcm0uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUMsWUFBWSxFQUFFLGtCQUFrQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7O0FBY3RFLE1BQU0sT0FBTyxvQkFBb0I7SUFYakM7UUFjSSxnQkFBVyxHQUFxQixFQUFFLENBQUM7S0FDdEM7O2tIQUpZLG9CQUFvQjtzR0FBcEIsb0JBQW9CLG9KQVRsQjtRQUNQO1lBQ0ksT0FBTyxFQUFFLFlBQVk7WUFDckIsSUFBSSxFQUFFLENBQUMsb0JBQW9CLEN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YXRmb3JtIHx8IHR1aVBsYXRmb3JtRmFjdG9yeSgpLFxuICAgICAgICB9LFxuICAgIF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVBsYXRmb3JtRGlyZWN0aXZlIHtcbiAgICBASW5wdXQoKVxuICAgIEBIb3N0QmluZGluZygnYXR0ci5kYXRhLXBsYXRmb3JtJylcbiAgICB0dWlQbGF0Zm9ybTogVHVpUGxhdGZvcm0gfCAnJyA9ICcnO1xufVxuIl19
|
@@ -162,69 +162,69 @@ const CHAR_ZERO_WIDTH_SPACE = `\u200B`;
|
|
162
162
|
* Array of icons used in taiga-ui components
|
163
163
|
*/
|
164
164
|
const TUI_USED_ICONS = [
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
165
|
+
'tuiIconMirMono',
|
166
|
+
'tuiIconVisaMono',
|
167
|
+
'tuiIconElectronMono',
|
168
|
+
'tuiIconMastercard',
|
169
|
+
'tuiIconMaestro',
|
170
|
+
'tuiIconAmex',
|
171
|
+
'tuiIconDinersClub',
|
172
|
+
'tuiIconDiscover',
|
173
|
+
'tuiIconHumo',
|
174
|
+
'tuiIconJCB',
|
175
|
+
'tuiIconRuPay',
|
176
|
+
'tuiIconUnionPay',
|
177
|
+
'tuiIconUzcard',
|
178
|
+
'tuiIconVerve',
|
179
|
+
'tuiIconCopyLarge',
|
180
|
+
'tuiIconCheckLarge',
|
181
|
+
'tuiIconLink',
|
182
|
+
'tuiIconSearch',
|
183
|
+
'tuiIconSun',
|
184
|
+
'tuiIconMoon',
|
185
|
+
'tuiIconCode',
|
186
|
+
'tuiIconMenuLarge',
|
187
|
+
'tuiIconRotate',
|
188
|
+
'tuiIconArrowLeft',
|
189
|
+
'tuiIconArrowRight',
|
190
|
+
'tuiIconPlus',
|
191
|
+
'tuiIconMinus',
|
192
|
+
'tuiIconMinimize',
|
193
|
+
'tuiIconEye',
|
194
|
+
'tuiIconEyeOff',
|
195
|
+
'tuiIconDrag',
|
196
|
+
'tuiIconSortAscending',
|
197
|
+
'tuiIconSortDescending',
|
198
|
+
'tuiIconSortOff',
|
199
|
+
'tuiIconCheck',
|
200
|
+
'tuiIconMinusLarge',
|
201
|
+
'tuiIconChevronUp',
|
202
|
+
'tuiIconHelpCircle',
|
203
|
+
'tuiIconClose',
|
204
|
+
'tuiIconAlertCircle',
|
205
|
+
'tuiIconChevronRight',
|
206
|
+
'tuiIconInfo',
|
207
|
+
'tuiIconCheckCircle',
|
208
|
+
'tuiIconXCircle',
|
209
|
+
'tuiIconChevronLeft',
|
210
|
+
'tuiIconStarLarge',
|
211
|
+
'tuiIconChevronDown',
|
212
|
+
'tuiIconChevronDownLarge',
|
213
|
+
'tuiIconFileLarge',
|
214
|
+
'tuiIconTrashLarge',
|
215
|
+
'tuiIconAlertCircleLarge',
|
216
|
+
'tuiIconCheckCircleLarge',
|
217
|
+
'tuiIconCopy',
|
218
|
+
'tuiIconEyeOffLarge',
|
219
|
+
'tuiIconEyeLarge',
|
220
|
+
'tuiIconClock',
|
221
|
+
'tuiIconClockLarge',
|
222
|
+
'tuiIconToggleOff',
|
223
|
+
'tuiIconToggleOffLarge',
|
224
|
+
'tuiIconToggleOn',
|
225
|
+
'tuiIconToggleOnLarge',
|
226
|
+
'tuiIconCalendar',
|
227
|
+
'tuiIconCalendarLarge',
|
228
228
|
];
|
229
229
|
|
230
230
|
const TUI_VERSION = `3.54.0`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-cdk-constants.js","sources":["../../../projects/cdk/constants/always-false-handler.ts","../../../projects/cdk/constants/always-true-handler.ts","../../../projects/cdk/constants/browser.ts","../../../projects/cdk/constants/empty.ts","../../../projects/cdk/constants/stringify.ts","../../../projects/cdk/constants/matcher.ts","../../../projects/cdk/constants/parent-animation.ts","../../../projects/cdk/constants/polling-time.ts","../../../projects/cdk/constants/svg-node-filter.ts","../../../projects/cdk/constants/unicode-chars.ts","../../../projects/cdk/constants/used-icons.ts","../../../projects/cdk/constants/version.ts","../../../projects/cdk/constants/taiga-ui-cdk-constants.ts"],"sourcesContent":["/**\n * Handler that always returns `false`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_FALSE_HANDLER = (): false => false;\n","/**\n * Handler that always returns `true`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_TRUE_HANDLER = (): true => true;\n","/**\n * @deprecated\n * TODO: drop support of legacy Edge (EdgeHTML) in v4.x\n */\nexport const CHROMIUM_EDGE_START_VERSION = 79;\n","import {QueryList} from '@angular/core';\n\n/**\n * For type safety when using @ContentChildren and @ViewChildren\n *\n * NOTE: Be careful subscribing to 'changes'\n */\nexport const EMPTY_QUERY = new QueryList<any>();\nexport const EMPTY_ARRAY: [] = [];\nexport const EMPTY_FUNCTION: (...args: any[]) => void = () => {};\n\nconst rect = {\n bottom: 0,\n height: 0,\n left: 0,\n right: 0,\n top: 0,\n width: 0,\n x: 0,\n y: 0,\n} as const;\n\nexport const EMPTY_CLIENT_RECT: DOMRect = {\n ...rect,\n toJSON() {\n return rect;\n },\n};\n","import {TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * Default method to turn arbitrary object into string\n */\nexport const TUI_DEFAULT_STRINGIFY: TuiStringHandler<unknown> = item => String(item);\n","import {TuiHandler, TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\nimport {TUI_DEFAULT_STRINGIFY} from './stringify';\n\n/**\n * Default handler for matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_DEFAULT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase().includes(search.toLowerCase());\n\n/**\n * Default handler for strict matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_STRICT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase() === search.toLowerCase();\n\n/**\n * Default handler to match equality of two elements\n * ATTENTION: considers two empty arrays equal\n *\n * @param item1 first element\n * @param item2 second element\n */\nexport const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown> = (item1, item2) =>\n item1 === item2 || bothEmpty(item1, item2);\n\nfunction bothEmpty(item1: unknown, item2: unknown): boolean {\n return Array.isArray(item1) && Array.isArray(item2) && !item1.length && !item2.length;\n}\n","import {animateChild, query, transition, trigger} from '@angular/animations';\n\n/**\n * Add to enable child :leave animation (fixes https://github.com/angular/angular/issues/15753)\n */\nexport const TUI_PARENT_ANIMATION = trigger(`tuiParentAnimation`, [\n transition(`:leave`, [query(`:scope > *`, [animateChild()], {optional: true})]),\n]);\n\n/**\n * Add on parent to stop initial :enter animation for children\n */\nexport const TUI_PARENT_STOP = trigger(`tuiParentStop`, [transition(`:enter`, [])]);\n","export const POLLING_TIME = 1000 / 15;\n","// Filtering SVGElements for TreeWalker\n// Filter must be a function in IE, other modern browsers are compliant to this format\nexport const svgNodeFilter: NodeFilter = ((node: Node) =>\n `ownerSVGElement` in node\n ? NodeFilter.FILTER_REJECT\n : NodeFilter.FILTER_ACCEPT) as any;\n","/**\n * {@link https://unicode-table.com/en/00A0/ Non-breaking space}.\n */\nexport const CHAR_NO_BREAK_SPACE = `\\u00A0`;\n\n/**\n * {@link https://unicode-table.com/en/2013/ EN dash}\n * is used to indicate a range of numbers or a span of time.\n * @example 2006–2022\n * ___\n * Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EN_DASH = `\\u2013`;\n\n/**\n * {@link https://unicode-table.com/en/2014/ EM dash}\n * is used to mark a break in a sentence.\n * @example Taiga UI — powerful set of open source components for Angular\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EM_DASH = `\\u2014`;\n\n/**\n * {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_LAQUO = `\\u00AB`;\n\n/**\n * {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_RAQUO = `\\u00BB`;\n\n/**\n * {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}\n * is used to combine words.\n * @example well-behaved\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!\n */\nexport const CHAR_HYPHEN = `\\u002D`;\n\n/**\n * {@link https://unicode-table.com/en/2212/ Minus}\n * is used as math operator symbol or before negative digits.\n * ---\n * Can be used as `−`. Don't confuse with {@link CHAR_HYPHEN}\n */\nexport const CHAR_MINUS = `\\u2212`;\n\n/**\n * {@link https://unicode-table.com/en/002B/ Plus}\n */\nexport const CHAR_PLUS = `\\u002B`;\n\n/**\n * {@link https://unicode-table.com/en/2022/ Bullet}.\n */\nexport const CHAR_BULLET = `\\u2022`;\n\n/**\n * {@link https://unicode-table.com/en/2026/ Suspension points}.\n */\nexport const CHAR_ELLIPSIS = `\\u2026`;\n\n/**\n * {@link https://unicode-table.com/en/00A4/ Suspension points}.\n */\nexport const CHAR_CURRENCY_SIGN = `\\u00A4`;\n\n/**\n * {@link https://unicode-table.com/en/200b/ Suspension points}.\n */\nexport const CHAR_ZERO_WIDTH_SPACE = `\\u200B`;\n","/**\n * @description:\n * AUTOGENERATED\n *\n * Array of icons used in taiga-ui components\n */\nexport const TUI_USED_ICONS = [\n `tuiIconMirMono`,\n `tuiIconVisaMono`,\n `tuiIconElectronMono`,\n `tuiIconMastercard`,\n `tuiIconMaestro`,\n `tuiIconAmex`,\n `tuiIconDinersClub`,\n `tuiIconDiscover`,\n `tuiIconHumo`,\n `tuiIconJCB`,\n `tuiIconRuPay`,\n `tuiIconUnionPay`,\n `tuiIconUzcard`,\n `tuiIconVerve`,\n `tuiIconCopyLarge`,\n `tuiIconCheckLarge`,\n `tuiIconLink`,\n `tuiIconSearch`,\n `tuiIconSun`,\n `tuiIconMoon`,\n `tuiIconCode`,\n `tuiIconMenuLarge`,\n `tuiIconRotate`,\n `tuiIconArrowLeft`,\n `tuiIconArrowRight`,\n `tuiIconPlus`,\n `tuiIconMinus`,\n `tuiIconMinimize`,\n `tuiIconEye`,\n `tuiIconEyeOff`,\n `tuiIconDrag`,\n `tuiIconSortAscending`,\n `tuiIconSortDescending`,\n `tuiIconSortOff`,\n `tuiIconCheck`,\n `tuiIconMinusLarge`,\n `tuiIconChevronUp`,\n `tuiIconHelpCircle`,\n `tuiIconClose`,\n `tuiIconAlertCircle`,\n `tuiIconChevronRight`,\n `tuiIconInfo`,\n `tuiIconCheckCircle`,\n `tuiIconXCircle`,\n `tuiIconChevronLeft`,\n `tuiIconStarLarge`,\n `tuiIconChevronDown`,\n `tuiIconChevronDownLarge`,\n `tuiIconFileLarge`,\n `tuiIconTrashLarge`,\n `tuiIconAlertCircleLarge`,\n `tuiIconCheckCircleLarge`,\n `tuiIconCopy`,\n `tuiIconEyeOffLarge`,\n `tuiIconEyeLarge`,\n `tuiIconClock`,\n `tuiIconClockLarge`,\n `tuiIconToggleOff`,\n `tuiIconToggleOffLarge`,\n `tuiIconToggleOn`,\n `tuiIconToggleOnLarge`,\n `tuiIconCalendar`,\n `tuiIconCalendarLarge`,\n] as const;\n","export const TUI_VERSION = `3.54.0`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;AAEG;AACH;MACa,oBAAoB,GAAG,MAAa;;ACJjD;;AAEG;AACH;MACa,mBAAmB,GAAG,MAAY;;ACJ/C;;;AAGG;AACI,MAAM,2BAA2B,GAAG;;ACF3C;;;;AAIG;AACU,MAAA,WAAW,GAAG,IAAI,SAAS,GAAQ;AACzC,MAAM,WAAW,GAAO,GAAG;MACrB,cAAc,GAA6B,MAAK,IAAI;AAEjE,MAAM,IAAI,GAAG;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,CAAC,EAAE,CAAC;AACJ,IAAA,CAAC,EAAE,CAAC;CACE,CAAC;AAEE,MAAA,iBAAiB,GACvB,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,IAAI,KACP,MAAM,GAAA;AACF,QAAA,OAAO,IAAI,CAAC;AAChB,KAAC;;ACxBL;;AAEG;AACI,MAAM,qBAAqB,GAA8B,IAAI,IAAI,MAAM,CAAC,IAAI;;ACDnF;;;;;AAKG;AACI,MAAM,mBAAmB,GAAG,CAC/B,IAAO,EACP,MAAc,EACd,SAAA,GAAmC,qBAAqB,KAC9C,SAAS,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE;AAE3E;;;;;AAKG;AACU,MAAA,kBAAkB,GAAG,CAC9B,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AmB,iBAAA,CAAA;IACnB,CAAkB,gBAAA,CAAA;IAClB,CAAmB,iBAAA,CAAA;IACnB,CAAc,YAAA,CAAA;IACd,CAAoB,kBAAA,CAAA;IACpB,CAAqB,mBAAA,CAAA;IACrB,CAAa,WAAA,CAAA;IACb,CAAoB,kBAAA,CAAA;IACpB,CAAgB,cAAA,CAAA;IAChB,CAAoB,kBAAA,CAAA;IACpB,CAAkB,gBAAA,CAAA;IAClB,CAAoB,kBAAA,CAAA;IACpB,CAAyB,uBAAA,CAAA;IACzB,CAAkB,gBAAA,CAAA;IAClB,CAAmB,iBAAA,CAAA;IACnB,CAAyB,uBAAA,CAAA;IACzB,CAAyB,uBAAA,CAAA;IACzB,CAAa,WAAA,CAAA;IACb,CAAoB,kBAAA,CAAA;IACpB,CAAiB,eAAA,CAAA;IACjB,CAAc,YAAA,CAAA;IACd,CAAmB,iBAAA,CAAA;IACnB,CAAkB,gBAAA,CAAA;IAClB,CAAuB,qBAAA,CAAA;IACvB,CAAiB,eAAA,CAAA;IACjB,CAAsB,oBAAA,CAAA;IACtB,CAAiB,eAAA,CAAA;IACjB,CAAsB,oBAAA,CAAA;;;ACrEnB,MAAM,WAAW,GAAG;;ACA3B;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-constants.js","sources":["../../../projects/cdk/constants/always-false-handler.ts","../../../projects/cdk/constants/always-true-handler.ts","../../../projects/cdk/constants/browser.ts","../../../projects/cdk/constants/empty.ts","../../../projects/cdk/constants/stringify.ts","../../../projects/cdk/constants/matcher.ts","../../../projects/cdk/constants/parent-animation.ts","../../../projects/cdk/constants/polling-time.ts","../../../projects/cdk/constants/svg-node-filter.ts","../../../projects/cdk/constants/unicode-chars.ts","../../../projects/cdk/constants/used-icons.ts","../../../projects/cdk/constants/version.ts","../../../projects/cdk/constants/taiga-ui-cdk-constants.ts"],"sourcesContent":["/**\n * Handler that always returns `false`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_FALSE_HANDLER = (): false => false;\n","/**\n * Handler that always returns `true`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const ALWAYS_TRUE_HANDLER = (): true => true;\n","/**\n * @deprecated\n * TODO: drop support of legacy Edge (EdgeHTML) in v4.x\n */\nexport const CHROMIUM_EDGE_START_VERSION = 79;\n","import {QueryList} from '@angular/core';\n\n/**\n * For type safety when using @ContentChildren and @ViewChildren\n *\n * NOTE: Be careful subscribing to 'changes'\n */\nexport const EMPTY_QUERY = new QueryList<any>();\nexport const EMPTY_ARRAY: [] = [];\nexport const EMPTY_FUNCTION: (...args: any[]) => void = () => {};\n\nconst rect = {\n bottom: 0,\n height: 0,\n left: 0,\n right: 0,\n top: 0,\n width: 0,\n x: 0,\n y: 0,\n} as const;\n\nexport const EMPTY_CLIENT_RECT: DOMRect = {\n ...rect,\n toJSON() {\n return rect;\n },\n};\n","import {TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * Default method to turn arbitrary object into string\n */\nexport const TUI_DEFAULT_STRINGIFY: TuiStringHandler<unknown> = item => String(item);\n","import {TuiHandler, TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\nimport {TUI_DEFAULT_STRINGIFY} from './stringify';\n\n/**\n * Default handler for matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_DEFAULT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase().includes(search.toLowerCase());\n\n/**\n * Default handler for strict matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_STRICT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = TUI_DEFAULT_STRINGIFY,\n): boolean => stringify(item).toLowerCase() === search.toLowerCase();\n\n/**\n * Default handler to match equality of two elements\n * ATTENTION: considers two empty arrays equal\n *\n * @param item1 first element\n * @param item2 second element\n */\nexport const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown> = (item1, item2) =>\n item1 === item2 || bothEmpty(item1, item2);\n\nfunction bothEmpty(item1: unknown, item2: unknown): boolean {\n return Array.isArray(item1) && Array.isArray(item2) && !item1.length && !item2.length;\n}\n","import {animateChild, query, transition, trigger} from '@angular/animations';\n\n/**\n * Add to enable child :leave animation (fixes https://github.com/angular/angular/issues/15753)\n */\nexport const TUI_PARENT_ANIMATION = trigger(`tuiParentAnimation`, [\n transition(`:leave`, [query(`:scope > *`, [animateChild()], {optional: true})]),\n]);\n\n/**\n * Add on parent to stop initial :enter animation for children\n */\nexport const TUI_PARENT_STOP = trigger(`tuiParentStop`, [transition(`:enter`, [])]);\n","export const POLLING_TIME = 1000 / 15;\n","// Filtering SVGElements for TreeWalker\n// Filter must be a function in IE, other modern browsers are compliant to this format\nexport const svgNodeFilter: NodeFilter = ((node: Node) =>\n `ownerSVGElement` in node\n ? NodeFilter.FILTER_REJECT\n : NodeFilter.FILTER_ACCEPT) as any;\n","/**\n * {@link https://unicode-table.com/en/00A0/ Non-breaking space}.\n */\nexport const CHAR_NO_BREAK_SPACE = `\\u00A0`;\n\n/**\n * {@link https://unicode-table.com/en/2013/ EN dash}\n * is used to indicate a range of numbers or a span of time.\n * @example 2006–2022\n * ___\n * Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EN_DASH = `\\u2013`;\n\n/**\n * {@link https://unicode-table.com/en/2014/ EM dash}\n * is used to mark a break in a sentence.\n * @example Taiga UI — powerful set of open source components for Angular\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EM_DASH = `\\u2014`;\n\n/**\n * {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_LAQUO = `\\u00AB`;\n\n/**\n * {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_RAQUO = `\\u00BB`;\n\n/**\n * {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}\n * is used to combine words.\n * @example well-behaved\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!\n */\nexport const CHAR_HYPHEN = `\\u002D`;\n\n/**\n * {@link https://unicode-table.com/en/2212/ Minus}\n * is used as math operator symbol or before negative digits.\n * ---\n * Can be used as `−`. Don't confuse with {@link CHAR_HYPHEN}\n */\nexport const CHAR_MINUS = `\\u2212`;\n\n/**\n * {@link https://unicode-table.com/en/002B/ Plus}\n */\nexport const CHAR_PLUS = `\\u002B`;\n\n/**\n * {@link https://unicode-table.com/en/2022/ Bullet}.\n */\nexport const CHAR_BULLET = `\\u2022`;\n\n/**\n * {@link https://unicode-table.com/en/2026/ Suspension points}.\n */\nexport const CHAR_ELLIPSIS = `\\u2026`;\n\n/**\n * {@link https://unicode-table.com/en/00A4/ Suspension points}.\n */\nexport const CHAR_CURRENCY_SIGN = `\\u00A4`;\n\n/**\n * {@link https://unicode-table.com/en/200b/ Suspension points}.\n */\nexport const CHAR_ZERO_WIDTH_SPACE = `\\u200B`;\n","/**\n * @description:\n * AUTOGENERATED\n *\n * Array of icons used in taiga-ui components\n */\nexport const TUI_USED_ICONS = [\n 'tuiIconMirMono',\n 'tuiIconVisaMono',\n 'tuiIconElectronMono',\n 'tuiIconMastercard',\n 'tuiIconMaestro',\n 'tuiIconAmex',\n 'tuiIconDinersClub',\n 'tuiIconDiscover',\n 'tuiIconHumo',\n 'tuiIconJCB',\n 'tuiIconRuPay',\n 'tuiIconUnionPay',\n 'tuiIconUzcard',\n 'tuiIconVerve',\n 'tuiIconCopyLarge',\n 'tuiIconCheckLarge',\n 'tuiIconLink',\n 'tuiIconSearch',\n 'tuiIconSun',\n 'tuiIconMoon',\n 'tuiIconCode',\n 'tuiIconMenuLarge',\n 'tuiIconRotate',\n 'tuiIconArrowLeft',\n 'tuiIconArrowRight',\n 'tuiIconPlus',\n 'tuiIconMinus',\n 'tuiIconMinimize',\n 'tuiIconEye',\n 'tuiIconEyeOff',\n 'tuiIconDrag',\n 'tuiIconSortAscending',\n 'tuiIconSortDescending',\n 'tuiIconSortOff',\n 'tuiIconCheck',\n 'tuiIconMinusLarge',\n 'tuiIconChevronUp',\n 'tuiIconHelpCircle',\n 'tuiIconClose',\n 'tuiIconAlertCircle',\n 'tuiIconChevronRight',\n 'tuiIconInfo',\n 'tuiIconCheckCircle',\n 'tuiIconXCircle',\n 'tuiIconChevronLeft',\n 'tuiIconStarLarge',\n 'tuiIconChevronDown',\n 'tuiIconChevronDownLarge',\n 'tuiIconFileLarge',\n 'tuiIconTrashLarge',\n 'tuiIconAlertCircleLarge',\n 'tuiIconCheckCircleLarge',\n 'tuiIconCopy',\n 'tuiIconEyeOffLarge',\n 'tuiIconEyeLarge',\n 'tuiIconClock',\n 'tuiIconClockLarge',\n 'tuiIconToggleOff',\n 'tuiIconToggleOffLarge',\n 'tuiIconToggleOn',\n 'tuiIconToggleOnLarge',\n 'tuiIconCalendar',\n 'tuiIconCalendarLarge',\n] as const;\n","export const TUI_VERSION = `3.54.0`;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;AAEG;AACH;MACa,oBAAoB,GAAG,MAAa;;ACJjD;;AAEG;AACH;MACa,mBAAmB,GAAG,MAAY;;ACJ/C;;;AAGG;AACI,MAAM,2BAA2B,GAAG;;ACF3C;;;;AAIG;AACU,MAAA,WAAW,GAAG,IAAI,SAAS,GAAQ;AACzC,MAAM,WAAW,GAAO,GAAG;MACrB,cAAc,GAA6B,MAAK,IAAI;AAEjE,MAAM,IAAI,GAAG;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,GAAG,EAAE,CAAC;AACN,IAA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ClB,mBAAmB;IACnB,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,YAAY;IACZ,eAAe;IACf,aAAa;IACb,sBAAsB;IACtB,uBAAuB;IACvB,gBAAgB;IAChB,cAAc;IACd,mBAAmB;IACnB,kBAAkB;IAClB,mBAAmB;IACnB,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,aAAa;IACb,oBAAoB;IACpB,gBAAgB;IAChB,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;IACpB,yBAAyB;IACzB,kBAAkB;IAClB,mBAAmB;IACnB,yBAAyB;IACzB,yBAAyB;IACzB,aAAa;IACb,oBAAoB;IACpB,iBAAiB;IACjB,cAAc;IACd,mBAAmB;IACnB,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,sBAAsB;IACtB,iBAAiB;IACjB,sBAAsB;;;ACrEnB,MAAM,WAAW,GAAG;;ACA3B;;AAEG;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { Directive, Input, NgModule } from '@angular/core';
|
2
|
+
import { Directive, Input, HostBinding, NgModule } from '@angular/core';
|
3
3
|
import { TUI_PLATFORM, tuiPlatformFactory } from '@taiga-ui/cdk/tokens';
|
4
4
|
|
5
5
|
class TuiPlatformDirective {
|
@@ -8,7 +8,7 @@ class TuiPlatformDirective {
|
|
8
8
|
}
|
9
9
|
}
|
10
10
|
TuiPlatformDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPlatformDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
11
|
-
TuiPlatformDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPlatformDirective, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, providers: [
|
11
|
+
TuiPlatformDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPlatformDirective, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, host: { properties: { "attr.data-platform": "this.tuiPlatform" } }, providers: [
|
12
12
|
{
|
13
13
|
provide: TUI_PLATFORM,
|
14
14
|
deps: [TuiPlatformDirective],
|
@@ -29,6 +29,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
29
29
|
}]
|
30
30
|
}], propDecorators: { tuiPlatform: [{
|
31
31
|
type: Input
|
32
|
+
}, {
|
33
|
+
type: HostBinding,
|
34
|
+
args: ['attr.data-platform']
|
32
35
|
}] } });
|
33
36
|
|
34
37
|
class TuiPlatformModule {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-cdk-directives-platform.js","sources":["../../../projects/cdk/directives/platform/platform.directive.ts","../../../projects/cdk/directives/platform/platform.module.ts","../../../projects/cdk/directives/platform/taiga-ui-cdk-directives-platform.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {TUI_PLATFORM, tuiPlatformFactory} from '@taiga-ui/cdk/tokens';\nimport {TuiPlatform} from '@taiga-ui/cdk/types';\n\n@Directive({\n selector: '[tuiPlatform]',\n providers: [\n {\n provide: TUI_PLATFORM,\n deps: [TuiPlatformDirective],\n useFactory: ({tuiPlatform}: TuiPlatformDirective) =>\n tuiPlatform || tuiPlatformFactory(),\n },\n ],\n})\nexport class TuiPlatformDirective {\n @Input()\n tuiPlatform: TuiPlatform | '' = '';\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPlatformDirective} from './platform.directive';\n\n@NgModule({\n declarations: [TuiPlatformDirective],\n exports: [TuiPlatformDirective],\n})\nexport class TuiPlatformModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAea,oBAAoB,CAAA;AAXjC,IAAA,WAAA,GAAA;
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives-platform.js","sources":["../../../projects/cdk/directives/platform/platform.directive.ts","../../../projects/cdk/directives/platform/platform.module.ts","../../../projects/cdk/directives/platform/taiga-ui-cdk-directives-platform.ts"],"sourcesContent":["import {Directive, HostBinding, Input} from '@angular/core';\nimport {TUI_PLATFORM, tuiPlatformFactory} from '@taiga-ui/cdk/tokens';\nimport {TuiPlatform} from '@taiga-ui/cdk/types';\n\n@Directive({\n selector: '[tuiPlatform]',\n providers: [\n {\n provide: TUI_PLATFORM,\n deps: [TuiPlatformDirective],\n useFactory: ({tuiPlatform}: TuiPlatformDirective) =>\n tuiPlatform || tuiPlatformFactory(),\n },\n ],\n})\nexport class TuiPlatformDirective {\n @Input()\n @HostBinding('attr.data-platform')\n tuiPlatform: TuiPlatform | '' = '';\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPlatformDirective} from './platform.directive';\n\n@NgModule({\n declarations: [TuiPlatformDirective],\n exports: [TuiPlatformDirective],\n})\nexport class TuiPlatformModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAea,oBAAoB,CAAA;AAXjC,IAAA,WAAA,GAAA;QAcI,IAAW,CAAA,WAAA,GAAqB,EAAE,CAAC;AACtC,KAAA;;kHAJY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,EATlB,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,oBAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,SAAA,EAAA;AACP,QAAA;AACI,YAAA,OAAO,EAAE,YAAY;YACrB,IAAI,EAAE,CAAC,oBAAoB,CAAC;YAC5B,UAAU,EAAE,CAAC,EAAC,WAAW,EAAuB,KAC5C,WAAW,IAAI,kBAAkB,EAAE;AAC1C,SAAA;AACJ,KAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAEQ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,YAAY;AACrB,4BAAA,IAAI,EAAE,CAAsB,oBAAA,CAAA;4BAC5B,UAAU,EAAE,CAAC,EAAC,WAAW,EAAuB,KAC5C,WAAW,IAAI,kBAAkB,EAAE;AAC1C,yBAAA;AACJ,qBAAA;AACJ,iBAAA,CAAA;8BAIG,WAAW,EAAA,CAAA;sBAFV,KAAK;;sBACL,WAAW;uBAAC,oBAAoB,CAAA;;;MCTxB,iBAAiB,CAAA;;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAjB,iBAAiB,EAAA,YAAA,EAAA,CAHX,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;gHAErB,iBAAiB,EAAA,CAAA,CAAA;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@taiga-ui/cdk",
|
3
|
-
"version": "3.54.0-canary.
|
3
|
+
"version": "3.54.0-canary.e1ba43c",
|
4
4
|
"description": "Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance",
|
5
5
|
"keywords": [
|
6
6
|
"angular",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"rxjs": ">=6.0.0"
|
31
31
|
},
|
32
32
|
"optionalDependencies": {
|
33
|
-
"ng-morph": "4.0.
|
33
|
+
"ng-morph": "4.0.3",
|
34
34
|
"parse5": "6.0.1"
|
35
35
|
},
|
36
36
|
"ng-update": {
|
@@ -86,7 +86,7 @@ function addRootTuiProvidersToBootstrapFn(bootstrapOptions) {
|
|
86
86
|
.getElements()
|
87
87
|
.find(el => ng_morph_1.Node.isCallExpression(el) &&
|
88
88
|
el.getExpression().getText() === `importProvidersFrom`);
|
89
|
-
const
|
89
|
+
const provideAnimations = initializer
|
90
90
|
.getElements()
|
91
91
|
.find(el => ng_morph_1.Node.isCallExpression(el) &&
|
92
92
|
el.getExpression().getText() === `provideAnimations`);
|
@@ -101,12 +101,12 @@ function addRootTuiProvidersToBootstrapFn(bootstrapOptions) {
|
|
101
101
|
else {
|
102
102
|
push_to_array_property_1.pushToObjectArrayProperty(bootstrapOptions, `providers`, `importProvidersFrom(TuiRootModule)`);
|
103
103
|
}
|
104
|
-
if (!
|
104
|
+
if (!provideAnimations) {
|
105
105
|
modules.push({
|
106
|
-
name: `
|
106
|
+
name: `provideAnimations`,
|
107
107
|
packageName: `@angular/platform-browser/animations`,
|
108
108
|
});
|
109
|
-
push_to_array_property_1.pushToObjectArrayProperty(bootstrapOptions, `providers`, `
|
109
|
+
push_to_array_property_1.pushToObjectArrayProperty(bootstrapOptions, `providers`, `provideAnimations()`, {
|
110
110
|
index: 0,
|
111
111
|
});
|
112
112
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { UpdateRecorder } from '@angular-devkit/schematics';
|
2
2
|
import { DevkitFileSystem } from 'ng-morph';
|
3
|
-
import { TemplateResource } from '../../interfaces';
|
4
|
-
import { HtmlComment } from '../../interfaces';
|
3
|
+
import { HtmlComment, TemplateResource } from '../../interfaces';
|
5
4
|
export declare function addHTMLCommentTags({ resource, recorder, fileSystem, data, }: {
|
6
5
|
fileSystem: DevkitFileSystem;
|
7
6
|
recorder: UpdateRecorder;
|
@@ -13,9 +13,7 @@ const MIN_LABELS_MIGRATION_METHOD_NAME = `tuiMigrationInputRangeMinLabel`;
|
|
13
13
|
const MAX_LABELS_MIGRATION_METHOD_NAME = `tuiMigrationInputRangeMaxLabel`;
|
14
14
|
function migrateInputRange(fileSystem, options) {
|
15
15
|
const templateResources = get_component_templates_1.getComponentTemplates(constants_1.ALL_TS_FILES);
|
16
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
17
16
|
const COMPONENTS_WITH_MIN_LABELS = new Set();
|
18
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
19
17
|
const COMPONENTS_WITH_MAX_LABELS = new Set();
|
20
18
|
let progressLog = progress_1.setupProgressLogger({
|
21
19
|
total: templateResources.length,
|
@@ -12,7 +12,6 @@ const get_component_templates_1 = require("../../../../utils/templates/get-compo
|
|
12
12
|
const ng_component_input_manipulations_1 = require("../../../../utils/templates/ng-component-input-manipulations");
|
13
13
|
function migrateInputSlider(fileSystem, options) {
|
14
14
|
const templateResources = get_component_templates_1.getComponentTemplates(constants_1.ALL_TS_FILES);
|
15
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
16
15
|
const COMPONENTS_WITH_MIN_MAX_LABELS = new Set();
|
17
16
|
let progressLog = progress_1.setupProgressLogger({
|
18
17
|
total: templateResources.length,
|
@@ -8,7 +8,6 @@ const get_file_system_1 = require("../utils/get-file-system");
|
|
8
8
|
const replace_text_1 = require("../utils/replace-text");
|
9
9
|
const constants_1 = require("./constants/constants");
|
10
10
|
const icons_1 = require("./constants/icons");
|
11
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
12
11
|
function updateToV3_30(options) {
|
13
12
|
return (tree, _) => {
|
14
13
|
if (!hasProprietaryIcons(tree)) {
|
@@ -8,7 +8,6 @@ const get_file_system_1 = require("../utils/get-file-system");
|
|
8
8
|
const replace_text_1 = require("../utils/replace-text");
|
9
9
|
const constants_1 = require("./constants/constants");
|
10
10
|
const icons_1 = require("./constants/icons");
|
11
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
12
11
|
function updateToV3_35(options) {
|
13
12
|
return (tree, _) => {
|
14
13
|
if (!hasProprietaryIcons(tree)) {
|
@@ -10,7 +10,6 @@ const replace_text_1 = require("../utils/replace-text");
|
|
10
10
|
const OLD_PACKAGE = `@taiga-ui/addon-editor`;
|
11
11
|
const NEW_PACKAGE = `@tinkoff/tui-editor`;
|
12
12
|
const NEW_PACKAGE_VERSION = `^1.0.1`;
|
13
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
14
13
|
function updateToV3_36(options) {
|
15
14
|
return (tree, context) => {
|
16
15
|
if (!ng_morph_1.getPackageJsonDependency(tree, OLD_PACKAGE)) {
|
@@ -11,7 +11,6 @@ const template_resource_1 = require("../../utils/templates/template-resource");
|
|
11
11
|
const get_file_system_1 = require("../utils/get-file-system");
|
12
12
|
const replace_text_1 = require("../utils/replace-text");
|
13
13
|
const replace_tag_1 = require("../utils/templates/replace-tag");
|
14
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
15
14
|
function updateToV3_40(options) {
|
16
15
|
return (tree, _) => {
|
17
16
|
const fileSystem = get_file_system_1.getFileSystem(tree);
|
@@ -6,7 +6,6 @@ const versions_1 = require("../../ng-add/constants/versions");
|
|
6
6
|
const colored_log_1 = require("../../utils/colored-log");
|
7
7
|
const get_file_system_1 = require("../utils/get-file-system");
|
8
8
|
const migrate_expand_templates_1 = require("./steps/migrate-expand-templates");
|
9
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
10
9
|
function updateToV3_5(options) {
|
11
10
|
return (tree, _) => {
|
12
11
|
const fileSystem = get_file_system_1.getFileSystem(tree);
|
@@ -32,7 +32,6 @@ function hasTaigaIcons(assets) {
|
|
32
32
|
}));
|
33
33
|
}
|
34
34
|
function addStylesToAngularJson(options, context, taigaStyles, filter, stylesToReplace, tree) {
|
35
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
36
35
|
const MANUAL_MIGRATION_TIPS = `Add styles ${taigaStyles.join(`,`)} to angular.json manually.`;
|
37
36
|
return workspace_1.updateWorkspace(workspace => {
|
38
37
|
const projects = get_projects_1.getProjects(options, workspace);
|