@taiga-ui/addon-doc 3.60.0 → 3.61.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.
- package/bundles/taiga-ui-addon-doc-components.umd.js +45 -191
- package/bundles/taiga-ui-addon-doc-components.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-doc-interfaces.umd.js +3 -3
- package/bundles/taiga-ui-addon-doc-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-doc-languages.umd.js +11 -11
- package/bundles/taiga-ui-addon-doc-languages.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-doc-services.umd.js +438 -584
- package/bundles/taiga-ui-addon-doc-services.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-doc-tokens.umd.js +25 -25
- package/bundles/taiga-ui-addon-doc-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-doc-utils.umd.js +80 -226
- package/bundles/taiga-ui-addon-doc-utils.umd.js.map +1 -1
- package/esm2015/components/documentation/pipes/cleaner.pipe.js +3 -3
- package/esm2015/components/documentation/pipes/color.pipe.js +13 -13
- package/esm2015/components/documentation/pipes/inspect.pipe.js +4 -4
- package/esm2015/components/documentation/pipes/opacity.pipe.js +8 -8
- package/esm2015/components/documentation/pipes/optional.pipe.js +3 -3
- package/esm2015/components/documentation/pipes/primitive-polymorpheus-content.pipe.js +2 -2
- package/esm2015/components/documentation/pipes/strip-optional.pipe.js +3 -3
- package/esm2015/components/documentation/pipes/type-reference.pipe.js +3 -3
- package/esm2015/components/example/example-get-tabs.pipe.js +2 -2
- package/esm2015/components/example/example.options.js +2 -2
- package/esm2015/components/navigation/navigation.providers.js +4 -4
- package/esm2015/components/page/page.providers.js +4 -4
- package/esm2015/interfaces/page.js +4 -4
- package/esm2015/languages/russian.js +12 -12
- package/esm2015/services/theme-night.options.js +2 -2
- package/esm2015/services/theme-night.service.js +5 -5
- package/esm2015/services/theme.options.js +3 -3
- package/esm2015/services/theme.service.js +3 -3
- package/esm2015/tokens/code-actions.js +2 -2
- package/esm2015/tokens/code-editor.js +2 -2
- package/esm2015/tokens/doc-icons.js +6 -6
- package/esm2015/tokens/i18n.js +16 -16
- package/esm2015/tokens/logo.js +2 -2
- package/esm2015/tokens/scroll-behavior.js +2 -2
- package/esm2015/tokens/title.js +2 -2
- package/esm2015/utils/coerce-boolean.js +2 -2
- package/esm2015/utils/coerce-value.js +7 -7
- package/esm2015/utils/generate-routes.js +3 -3
- package/esm2015/utils/inspect.js +14 -14
- package/esm2015/utils/is-page-group.js +2 -2
- package/esm2015/utils/parse-code-block.js +3 -3
- package/esm2015/utils/sort-pages.js +3 -3
- package/esm2015/utils/to-flat-map-pages.js +3 -3
- package/esm2015/utils/transliterate-keyboard-layout.js +34 -34
- package/esm2015/utils/type-reference-parser.js +13 -13
- package/fesm2015/taiga-ui-addon-doc-components.js +39 -39
- package/fesm2015/taiga-ui-addon-doc-components.js.map +1 -1
- package/fesm2015/taiga-ui-addon-doc-interfaces.js +3 -3
- package/fesm2015/taiga-ui-addon-doc-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-addon-doc-languages.js +11 -11
- package/fesm2015/taiga-ui-addon-doc-languages.js.map +1 -1
- package/fesm2015/taiga-ui-addon-doc-services.js +9 -9
- package/fesm2015/taiga-ui-addon-doc-services.js.map +1 -1
- package/fesm2015/taiga-ui-addon-doc-tokens.js +25 -25
- package/fesm2015/taiga-ui-addon-doc-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-addon-doc-utils.js +74 -74
- package/fesm2015/taiga-ui-addon-doc-utils.js.map +1 -1
- package/package.json +5 -5
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}]
|
|
123
123
|
}] });
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
/*! *****************************************************************************
|
|
126
126
|
Copyright (c) Microsoft Corporation.
|
|
127
127
|
|
|
128
128
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
137
137
|
PERFORMANCE OF THIS SOFTWARE.
|
|
138
138
|
***************************************************************************** */
|
|
139
|
-
/* global Reflect, Promise
|
|
139
|
+
/* global Reflect, Promise */
|
|
140
140
|
var extendStatics = function (d, b) {
|
|
141
141
|
extendStatics = Object.setPrototypeOf ||
|
|
142
142
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -189,64 +189,6 @@
|
|
|
189
189
|
function __param(paramIndex, decorator) {
|
|
190
190
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
191
191
|
}
|
|
192
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
193
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
194
|
-
throw new TypeError("Function expected"); return f; }
|
|
195
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
196
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
197
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
198
|
-
var _, done = false;
|
|
199
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
200
|
-
var context = {};
|
|
201
|
-
for (var p in contextIn)
|
|
202
|
-
context[p] = p === "access" ? {} : contextIn[p];
|
|
203
|
-
for (var p in contextIn.access)
|
|
204
|
-
context.access[p] = contextIn.access[p];
|
|
205
|
-
context.addInitializer = function (f) { if (done)
|
|
206
|
-
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
207
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
208
|
-
if (kind === "accessor") {
|
|
209
|
-
if (result === void 0)
|
|
210
|
-
continue;
|
|
211
|
-
if (result === null || typeof result !== "object")
|
|
212
|
-
throw new TypeError("Object expected");
|
|
213
|
-
if (_ = accept(result.get))
|
|
214
|
-
descriptor.get = _;
|
|
215
|
-
if (_ = accept(result.set))
|
|
216
|
-
descriptor.set = _;
|
|
217
|
-
if (_ = accept(result.init))
|
|
218
|
-
initializers.unshift(_);
|
|
219
|
-
}
|
|
220
|
-
else if (_ = accept(result)) {
|
|
221
|
-
if (kind === "field")
|
|
222
|
-
initializers.unshift(_);
|
|
223
|
-
else
|
|
224
|
-
descriptor[key] = _;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
if (target)
|
|
228
|
-
Object.defineProperty(target, contextIn.name, descriptor);
|
|
229
|
-
done = true;
|
|
230
|
-
}
|
|
231
|
-
;
|
|
232
|
-
function __runInitializers(thisArg, initializers, value) {
|
|
233
|
-
var useValue = arguments.length > 2;
|
|
234
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
235
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
236
|
-
}
|
|
237
|
-
return useValue ? value : void 0;
|
|
238
|
-
}
|
|
239
|
-
;
|
|
240
|
-
function __propKey(x) {
|
|
241
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
242
|
-
}
|
|
243
|
-
;
|
|
244
|
-
function __setFunctionName(f, name, prefix) {
|
|
245
|
-
if (typeof name === "symbol")
|
|
246
|
-
name = name.description ? "[".concat(name.description, "]") : "";
|
|
247
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
248
|
-
}
|
|
249
|
-
;
|
|
250
192
|
function __metadata(metadataKey, metadataValue) {
|
|
251
193
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
252
194
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -278,7 +220,7 @@
|
|
|
278
220
|
function step(op) {
|
|
279
221
|
if (f)
|
|
280
222
|
throw new TypeError("Generator is already executing.");
|
|
281
|
-
while (
|
|
223
|
+
while (_)
|
|
282
224
|
try {
|
|
283
225
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
284
226
|
return t;
|
|
@@ -342,11 +284,7 @@
|
|
|
342
284
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
343
285
|
if (k2 === undefined)
|
|
344
286
|
k2 = k;
|
|
345
|
-
|
|
346
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
347
|
-
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
348
|
-
}
|
|
349
|
-
Object.defineProperty(o, k2, desc);
|
|
287
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
350
288
|
}) : (function (o, m, k, k2) {
|
|
351
289
|
if (k2 === undefined)
|
|
352
290
|
k2 = k;
|
|
@@ -419,7 +357,7 @@
|
|
|
419
357
|
ar[i] = from[i];
|
|
420
358
|
}
|
|
421
359
|
}
|
|
422
|
-
return to.concat(ar ||
|
|
360
|
+
return to.concat(ar || from);
|
|
423
361
|
}
|
|
424
362
|
function __await(v) {
|
|
425
363
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -446,7 +384,7 @@
|
|
|
446
384
|
function __asyncDelegator(o) {
|
|
447
385
|
var i, p;
|
|
448
386
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
449
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
387
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
450
388
|
}
|
|
451
389
|
function __asyncValues(o) {
|
|
452
390
|
if (!Symbol.asyncIterator)
|
|
@@ -501,90 +439,6 @@
|
|
|
501
439
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
502
440
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
503
441
|
}
|
|
504
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
505
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
506
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
507
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
508
|
-
}
|
|
509
|
-
function __addDisposableResource(env, value, async) {
|
|
510
|
-
if (value !== null && value !== void 0) {
|
|
511
|
-
if (typeof value !== "object" && typeof value !== "function")
|
|
512
|
-
throw new TypeError("Object expected.");
|
|
513
|
-
var dispose;
|
|
514
|
-
if (async) {
|
|
515
|
-
if (!Symbol.asyncDispose)
|
|
516
|
-
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
517
|
-
dispose = value[Symbol.asyncDispose];
|
|
518
|
-
}
|
|
519
|
-
if (dispose === void 0) {
|
|
520
|
-
if (!Symbol.dispose)
|
|
521
|
-
throw new TypeError("Symbol.dispose is not defined.");
|
|
522
|
-
dispose = value[Symbol.dispose];
|
|
523
|
-
}
|
|
524
|
-
if (typeof dispose !== "function")
|
|
525
|
-
throw new TypeError("Object not disposable.");
|
|
526
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
527
|
-
}
|
|
528
|
-
else if (async) {
|
|
529
|
-
env.stack.push({ async: true });
|
|
530
|
-
}
|
|
531
|
-
return value;
|
|
532
|
-
}
|
|
533
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
534
|
-
var e = new Error(message);
|
|
535
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
536
|
-
};
|
|
537
|
-
function __disposeResources(env) {
|
|
538
|
-
function fail(e) {
|
|
539
|
-
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
540
|
-
env.hasError = true;
|
|
541
|
-
}
|
|
542
|
-
function next() {
|
|
543
|
-
while (env.stack.length) {
|
|
544
|
-
var rec = env.stack.pop();
|
|
545
|
-
try {
|
|
546
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
547
|
-
if (rec.async)
|
|
548
|
-
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
549
|
-
}
|
|
550
|
-
catch (e) {
|
|
551
|
-
fail(e);
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
if (env.hasError)
|
|
555
|
-
throw env.error;
|
|
556
|
-
}
|
|
557
|
-
return next();
|
|
558
|
-
}
|
|
559
|
-
var tslib_es6 = {
|
|
560
|
-
__extends: __extends,
|
|
561
|
-
__assign: __assign,
|
|
562
|
-
__rest: __rest,
|
|
563
|
-
__decorate: __decorate,
|
|
564
|
-
__param: __param,
|
|
565
|
-
__metadata: __metadata,
|
|
566
|
-
__awaiter: __awaiter,
|
|
567
|
-
__generator: __generator,
|
|
568
|
-
__createBinding: __createBinding,
|
|
569
|
-
__exportStar: __exportStar,
|
|
570
|
-
__values: __values,
|
|
571
|
-
__read: __read,
|
|
572
|
-
__spread: __spread,
|
|
573
|
-
__spreadArrays: __spreadArrays,
|
|
574
|
-
__spreadArray: __spreadArray,
|
|
575
|
-
__await: __await,
|
|
576
|
-
__asyncGenerator: __asyncGenerator,
|
|
577
|
-
__asyncDelegator: __asyncDelegator,
|
|
578
|
-
__asyncValues: __asyncValues,
|
|
579
|
-
__makeTemplateObject: __makeTemplateObject,
|
|
580
|
-
__importStar: __importStar,
|
|
581
|
-
__importDefault: __importDefault,
|
|
582
|
-
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
583
|
-
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
584
|
-
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
585
|
-
__addDisposableResource: __addDisposableResource,
|
|
586
|
-
__disposeResources: __disposeResources,
|
|
587
|
-
};
|
|
588
442
|
|
|
589
443
|
var COPIED_TIMEOUT = 1500;
|
|
590
444
|
var TuiDocCopyComponent = /** @class */ (function () {
|
|
@@ -1079,23 +933,23 @@
|
|
|
1079
933
|
TuiGetColorPipe.prototype.transform = function (color) {
|
|
1080
934
|
if (color.length === 4) {
|
|
1081
935
|
return color
|
|
1082
|
-
.split(
|
|
936
|
+
.split('')
|
|
1083
937
|
.reduce(function (result, current) { return __spreadArray(__spreadArray([], __read(result)), [current, current]); }, [])
|
|
1084
|
-
.join(
|
|
1085
|
-
.replace(
|
|
938
|
+
.join('')
|
|
939
|
+
.replace('#', '');
|
|
1086
940
|
}
|
|
1087
|
-
if (color.startsWith(
|
|
941
|
+
if (color.startsWith('#')) {
|
|
1088
942
|
return color;
|
|
1089
943
|
}
|
|
1090
|
-
if (color ===
|
|
1091
|
-
return
|
|
944
|
+
if (color === 'transparent') {
|
|
945
|
+
return '#000000';
|
|
1092
946
|
}
|
|
1093
947
|
var parsed = color
|
|
1094
|
-
.replace(
|
|
1095
|
-
.replace(
|
|
1096
|
-
.replace(
|
|
1097
|
-
.replace(
|
|
1098
|
-
.split(
|
|
948
|
+
.replace('rgb(', '')
|
|
949
|
+
.replace('rgba(', '')
|
|
950
|
+
.replace(')', '')
|
|
951
|
+
.replace(' ', '')
|
|
952
|
+
.split(',')
|
|
1099
953
|
.map(function (v) { return Number.parseInt(v, 10); });
|
|
1100
954
|
return i6.tuiRgbToHex.apply(void 0, __spreadArray([], __read(parsed)));
|
|
1101
955
|
};
|
|
@@ -1105,25 +959,25 @@
|
|
|
1105
959
|
TuiGetColorPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetColorPipe, name: "tuiGetColorPipe" });
|
|
1106
960
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetColorPipe, decorators: [{
|
|
1107
961
|
type: i0.Pipe,
|
|
1108
|
-
args: [{ name:
|
|
962
|
+
args: [{ name: 'tuiGetColorPipe' }]
|
|
1109
963
|
}] });
|
|
1110
964
|
|
|
1111
965
|
var TuiGetOpacityPipe = /** @class */ (function () {
|
|
1112
966
|
function TuiGetOpacityPipe() {
|
|
1113
967
|
}
|
|
1114
968
|
TuiGetOpacityPipe.prototype.transform = function (color) {
|
|
1115
|
-
if (color.startsWith(
|
|
969
|
+
if (color.startsWith('#') || color.startsWith('rgb(')) {
|
|
1116
970
|
return 100;
|
|
1117
971
|
}
|
|
1118
|
-
if (color ===
|
|
972
|
+
if (color === 'transparent') {
|
|
1119
973
|
return 0;
|
|
1120
974
|
}
|
|
1121
|
-
var lastComma = color.lastIndexOf(
|
|
975
|
+
var lastComma = color.lastIndexOf(',');
|
|
1122
976
|
var parsed = color
|
|
1123
977
|
.slice(lastComma)
|
|
1124
|
-
.replace(
|
|
1125
|
-
.replace(
|
|
1126
|
-
.replace(
|
|
978
|
+
.replace(')', '')
|
|
979
|
+
.replace(' ', '')
|
|
980
|
+
.replace(',', '');
|
|
1127
981
|
return Math.round(Number.parseFloat(parsed) * 100);
|
|
1128
982
|
};
|
|
1129
983
|
return TuiGetOpacityPipe;
|
|
@@ -1132,7 +986,7 @@
|
|
|
1132
986
|
TuiGetOpacityPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetOpacityPipe, name: "tuiGetOpacity" });
|
|
1133
987
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetOpacityPipe, decorators: [{
|
|
1134
988
|
type: i0.Pipe,
|
|
1135
|
-
args: [{ name:
|
|
989
|
+
args: [{ name: 'tuiGetOpacity' }]
|
|
1136
990
|
}] });
|
|
1137
991
|
|
|
1138
992
|
var TuiInputOpacityDirective = /** @class */ (function () {
|
|
@@ -1175,7 +1029,7 @@
|
|
|
1175
1029
|
function TuiStripOptionalPipe() {
|
|
1176
1030
|
}
|
|
1177
1031
|
TuiStripOptionalPipe.prototype.transform = function (name) {
|
|
1178
|
-
return name.replace(
|
|
1032
|
+
return name.replace('?', '');
|
|
1179
1033
|
};
|
|
1180
1034
|
return TuiStripOptionalPipe;
|
|
1181
1035
|
}());
|
|
@@ -1183,14 +1037,14 @@
|
|
|
1183
1037
|
TuiStripOptionalPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStripOptionalPipe, name: "tuiStripOptionalPipe" });
|
|
1184
1038
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStripOptionalPipe, decorators: [{
|
|
1185
1039
|
type: i0.Pipe,
|
|
1186
|
-
args: [{ name:
|
|
1040
|
+
args: [{ name: 'tuiStripOptionalPipe' }]
|
|
1187
1041
|
}] });
|
|
1188
1042
|
|
|
1189
1043
|
var TuiIsOptionalPipe = /** @class */ (function () {
|
|
1190
1044
|
function TuiIsOptionalPipe() {
|
|
1191
1045
|
}
|
|
1192
1046
|
TuiIsOptionalPipe.prototype.transform = function (name) {
|
|
1193
|
-
return name.includes(
|
|
1047
|
+
return name.includes('?');
|
|
1194
1048
|
};
|
|
1195
1049
|
return TuiIsOptionalPipe;
|
|
1196
1050
|
}());
|
|
@@ -1198,7 +1052,7 @@
|
|
|
1198
1052
|
TuiIsOptionalPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsOptionalPipe, name: "tuiIsOptionalPipe" });
|
|
1199
1053
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsOptionalPipe, decorators: [{
|
|
1200
1054
|
type: i0.Pipe,
|
|
1201
|
-
args: [{ name:
|
|
1055
|
+
args: [{ name: 'tuiIsOptionalPipe' }]
|
|
1202
1056
|
}] });
|
|
1203
1057
|
|
|
1204
1058
|
var TuiDocTypeReferencePipe = /** @class */ (function () {
|
|
@@ -1218,7 +1072,7 @@
|
|
|
1218
1072
|
reference: (_b = (_a = _this.linkHandler) === null || _a === void 0 ? void 0 : _a.call(_this, extracted)) !== null && _b !== void 0 ? _b : null,
|
|
1219
1073
|
});
|
|
1220
1074
|
})
|
|
1221
|
-
.sort(function (a, b) { var _a, _b, _c; return (_c = (_a = b.reference) === null || _a === void 0 ? void 0 : _a.localeCompare((_b = a.reference) !== null && _b !== void 0 ? _b :
|
|
1075
|
+
.sort(function (a, b) { var _a, _b, _c; return (_c = (_a = b.reference) === null || _a === void 0 ? void 0 : _a.localeCompare((_b = a.reference) !== null && _b !== void 0 ? _b : '')) !== null && _c !== void 0 ? _c : -1; });
|
|
1222
1076
|
};
|
|
1223
1077
|
return TuiDocTypeReferencePipe;
|
|
1224
1078
|
}());
|
|
@@ -1226,7 +1080,7 @@
|
|
|
1226
1080
|
TuiDocTypeReferencePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocTypeReferencePipe, name: "tuiDocTypeReference" });
|
|
1227
1081
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocTypeReferencePipe, decorators: [{
|
|
1228
1082
|
type: i0.Pipe,
|
|
1229
|
-
args: [{ name:
|
|
1083
|
+
args: [{ name: 'tuiDocTypeReference' }]
|
|
1230
1084
|
}], ctorParameters: function () {
|
|
1231
1085
|
return [{ type: undefined, decorators: [{
|
|
1232
1086
|
type: i0.Inject,
|
|
@@ -1241,7 +1095,7 @@
|
|
|
1241
1095
|
function TuiShowCleanerPipe() {
|
|
1242
1096
|
}
|
|
1243
1097
|
TuiShowCleanerPipe.prototype.transform = function (type) {
|
|
1244
|
-
return type.includes(
|
|
1098
|
+
return type.includes('null');
|
|
1245
1099
|
};
|
|
1246
1100
|
return TuiShowCleanerPipe;
|
|
1247
1101
|
}());
|
|
@@ -1249,7 +1103,7 @@
|
|
|
1249
1103
|
TuiShowCleanerPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiShowCleanerPipe, name: "tuiShowCleanerPipe" });
|
|
1250
1104
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiShowCleanerPipe, decorators: [{
|
|
1251
1105
|
type: i0.Pipe,
|
|
1252
|
-
args: [{ name:
|
|
1106
|
+
args: [{ name: 'tuiShowCleanerPipe' }]
|
|
1253
1107
|
}] });
|
|
1254
1108
|
|
|
1255
1109
|
var TuiInspectPipe = /** @class */ (function () {
|
|
@@ -1258,7 +1112,7 @@
|
|
|
1258
1112
|
}
|
|
1259
1113
|
TuiInspectPipe.prototype.transform = function (value, depth) {
|
|
1260
1114
|
if (depth === void 0) { depth = 2; }
|
|
1261
|
-
if (this.isE2E && typeof value ===
|
|
1115
|
+
if (this.isE2E && typeof value === 'function') {
|
|
1262
1116
|
/**
|
|
1263
1117
|
* @description:
|
|
1264
1118
|
* When developing in production mode the webpack bundler minify
|
|
@@ -1266,7 +1120,7 @@
|
|
|
1266
1120
|
* of the function may differ from build to build, which can be to
|
|
1267
1121
|
* various problems when screenshot testing on e2e.
|
|
1268
1122
|
*/
|
|
1269
|
-
return
|
|
1123
|
+
return 'λ(x) => y';
|
|
1270
1124
|
}
|
|
1271
1125
|
return utils.tuiInspectAny(value, depth);
|
|
1272
1126
|
};
|
|
@@ -1276,7 +1130,7 @@
|
|
|
1276
1130
|
TuiInspectPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInspectPipe, name: "tuiInspectAny" });
|
|
1277
1131
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInspectPipe, decorators: [{
|
|
1278
1132
|
type: i0.Pipe,
|
|
1279
|
-
args: [{ name:
|
|
1133
|
+
args: [{ name: 'tuiInspectAny' }]
|
|
1280
1134
|
}], ctorParameters: function () {
|
|
1281
1135
|
return [{ type: undefined, decorators: [{
|
|
1282
1136
|
type: i0.Inject,
|
|
@@ -1296,7 +1150,7 @@
|
|
|
1296
1150
|
TuiIsPrimitivePolymorpheusContentPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsPrimitivePolymorpheusContentPipe, name: "tuiIsPrimitivePolymorpheusContentPipe" });
|
|
1297
1151
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsPrimitivePolymorpheusContentPipe, decorators: [{
|
|
1298
1152
|
type: i0.Pipe,
|
|
1299
|
-
args: [{ name:
|
|
1153
|
+
args: [{ name: 'tuiIsPrimitivePolymorpheusContentPipe' }]
|
|
1300
1154
|
}] });
|
|
1301
1155
|
|
|
1302
1156
|
// @bad TODO subscribe propertiesConnectors changes
|
|
@@ -1521,7 +1375,7 @@
|
|
|
1521
1375
|
files[interfaces.TUI_EXAMPLE_PRIMARY_FILE_NAME.HTML]); },
|
|
1522
1376
|
tabTitles: new Map(),
|
|
1523
1377
|
fullsize: true,
|
|
1524
|
-
linkIcon:
|
|
1378
|
+
linkIcon: 'tuiIconLink',
|
|
1525
1379
|
};
|
|
1526
1380
|
/**
|
|
1527
1381
|
* Default parameters for DocExample component
|
|
@@ -1543,7 +1397,7 @@
|
|
|
1543
1397
|
TuiDocExampleGetTabsPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleGetTabsPipe, name: "tuiDocExampleGetTabs" });
|
|
1544
1398
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleGetTabsPipe, decorators: [{
|
|
1545
1399
|
type: i0.Pipe,
|
|
1546
|
-
args: [{ name:
|
|
1400
|
+
args: [{ name: 'tuiDocExampleGetTabs' }]
|
|
1547
1401
|
}] });
|
|
1548
1402
|
|
|
1549
1403
|
var TuiDocExampleComponent = /** @class */ (function () {
|
|
@@ -1743,15 +1597,15 @@
|
|
|
1743
1597
|
/**
|
|
1744
1598
|
* Page title
|
|
1745
1599
|
*/
|
|
1746
|
-
var NAVIGATION_TITLE = new i0.InjectionToken(
|
|
1600
|
+
var NAVIGATION_TITLE = new i0.InjectionToken('[NAVIGATION_TITLE]');
|
|
1747
1601
|
/**
|
|
1748
1602
|
* Navigation sections labels for search
|
|
1749
1603
|
*/
|
|
1750
|
-
var NAVIGATION_LABELS = new i0.InjectionToken(
|
|
1604
|
+
var NAVIGATION_LABELS = new i0.InjectionToken('[NAVIGATION_LABELS]');
|
|
1751
1605
|
/**
|
|
1752
1606
|
* Navigation pages
|
|
1753
1607
|
*/
|
|
1754
|
-
var NAVIGATION_ITEMS = new i0.InjectionToken(
|
|
1608
|
+
var NAVIGATION_ITEMS = new i0.InjectionToken('[NAVIGATION_ITEMS]');
|
|
1755
1609
|
var NAVIGATION_PROVIDERS = [
|
|
1756
1610
|
i6.TuiDestroyService,
|
|
1757
1611
|
{
|
|
@@ -2504,18 +2358,18 @@
|
|
|
2504
2358
|
/**
|
|
2505
2359
|
* Array if related page titles
|
|
2506
2360
|
*/
|
|
2507
|
-
var PAGE_SEE_ALSO = new i0.InjectionToken(
|
|
2361
|
+
var PAGE_SEE_ALSO = new i0.InjectionToken('[PAGE_SEE_ALSO]');
|
|
2508
2362
|
var PAGE_PROVIDERS = [
|
|
2509
2363
|
{
|
|
2510
2364
|
provide: PAGE_SEE_ALSO,
|
|
2511
2365
|
deps: [i0.ElementRef, tokens.TUI_DOC_SEE_ALSO],
|
|
2512
2366
|
useFactory: function (_a, seeAlsoGroups) {
|
|
2513
2367
|
var nativeElement = _a.nativeElement;
|
|
2514
|
-
var currentHeader = nativeElement.getAttribute(
|
|
2368
|
+
var currentHeader = nativeElement.getAttribute('header');
|
|
2515
2369
|
var groups = seeAlsoGroups.filter(function (group) { return group.includes(currentHeader); }) || [];
|
|
2516
2370
|
var seeAlsoSet = new Set(groups
|
|
2517
2371
|
.join()
|
|
2518
|
-
.split(
|
|
2372
|
+
.split(',')
|
|
2519
2373
|
.filter(function (component) { return component && component !== currentHeader; }));
|
|
2520
2374
|
return Array.from(seeAlsoSet);
|
|
2521
2375
|
},
|