@rxap/pipes 21.0.1 → 22.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +61 -5
- package/compodoc/dependencies.html +92 -19
- package/compodoc/index.html +46 -5
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +26 -13
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +108 -0
- package/compodoc/miscellaneous/functions.html +48 -6
- package/compodoc/miscellaneous/variables.html +51 -4
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +55 -4
- package/compodoc/pipes/DeleteIdentifierPipe.html +89 -12
- package/compodoc/pipes/EscapeQuotationMarkPipe.html +89 -11
- package/compodoc/pipes/GetFromObjectPipe.html +86 -10
- package/compodoc/pipes/JoinPipe.html +86 -10
- package/compodoc/pipes/LimitPipe.html +88 -11
- package/compodoc/pipes/ReplacePipe.html +87 -10
- package/compodoc/pipes/RxapCurrencyPipe.html +87 -10
- package/compodoc/pipes/SlicePipe.html +88 -11
- package/compodoc/pipes/ToDisplayPipe.html +87 -10
- package/compodoc/pipes/TruncatePipe.html +86 -10
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/compodoc/todo.html +45 -136
- package/docs/documentation.json +196 -120
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/DeleteIdentifierPipe.html +87 -3
- package/docs/html/classes/EscapeQuotationMarkPipe.html +84 -3
- package/docs/html/classes/GetFromObjectPipe.html +84 -3
- package/docs/html/classes/JoinPipe.html +84 -3
- package/docs/html/classes/LimitPipe.html +88 -3
- package/docs/html/classes/ReplacePipe.html +85 -3
- package/docs/html/classes/RxapCurrencyPipe.html +97 -8
- package/docs/html/classes/SlicePipe.html +89 -3
- package/docs/html/classes/ToDisplayPipe.html +84 -3
- package/docs/html/classes/TruncatePipe.html +85 -3
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +40 -4
- package/docs/html/modules.html +36 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/DeleteIdentifierPipe.md +12 -10
- package/docs/markdown/classes/EscapeQuotationMarkPipe.md +8 -8
- package/docs/markdown/classes/GetFromObjectPipe.md +6 -6
- package/docs/markdown/classes/JoinPipe.md +7 -7
- package/docs/markdown/classes/LimitPipe.md +9 -7
- package/docs/markdown/classes/ReplacePipe.md +6 -6
- package/docs/markdown/classes/RxapCurrencyPipe.md +10 -10
- package/docs/markdown/classes/SlicePipe.md +10 -8
- package/docs/markdown/classes/ToDisplayPipe.md +8 -8
- package/docs/markdown/classes/TruncatePipe.md +8 -8
- package/docs/markdown/globals.md +2 -2
- package/docs/wiki/Class.DeleteIdentifierPipe.md +11 -9
- package/docs/wiki/Class.EscapeQuotationMarkPipe.md +7 -7
- package/docs/wiki/Class.GetFromObjectPipe.md +5 -5
- package/docs/wiki/Class.JoinPipe.md +6 -6
- package/docs/wiki/Class.LimitPipe.md +8 -6
- package/docs/wiki/Class.ReplacePipe.md +5 -5
- package/docs/wiki/Class.RxapCurrencyPipe.md +9 -9
- package/docs/wiki/Class.SlicePipe.md +9 -7
- package/docs/wiki/Class.ToDisplayPipe.md +7 -7
- package/docs/wiki/Class.TruncatePipe.md +7 -7
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-pipes-santization.mjs +91 -63
- package/fesm2022/rxap-pipes-santization.mjs.map +1 -1
- package/fesm2022/rxap-pipes.mjs +399 -223
- package/fesm2022/rxap-pipes.mjs.map +1 -1
- package/package.json +12 -12
- package/types/rxap-pipes-santization.d.ts +17 -18
- package/types/rxap-pipes.d.ts +82 -91
package/fesm2022/rxap-pipes.mjs
CHANGED
|
@@ -1,224 +1,400 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { CurrencyPipe, JsonPipe } from
|
|
4
|
-
import { clone,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
i0.ɵɵ
|
|
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
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { DEFAULT_CURRENCY_CODE, LOCALE_ID, Pipe, inject } from "@angular/core";
|
|
3
|
+
import { CurrencyPipe, JsonPipe } from "@angular/common";
|
|
4
|
+
import { clone, getFromObject, getIdentifierProperties, hasIdentifierProperty } from "@rxap/utilities";
|
|
5
|
+
var RxapCurrencyPipe = class RxapCurrencyPipe {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.currency = new CurrencyPipe(inject(LOCALE_ID), inject(DEFAULT_CURRENCY_CODE, { optional: true }) ?? void 0);
|
|
8
|
+
}
|
|
9
|
+
transform(value, currencyCode, display, digitsInfo, locale) {
|
|
10
|
+
return this.currency.transform(value / 100, currencyCode, display, digitsInfo, locale);
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
14
|
+
minVersion: "12.0.0",
|
|
15
|
+
version: "22.3.0",
|
|
16
|
+
ngImport: i0,
|
|
17
|
+
type: RxapCurrencyPipe,
|
|
18
|
+
deps: [],
|
|
19
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
24
|
+
minVersion: "14.0.0",
|
|
25
|
+
version: "22.3.0",
|
|
26
|
+
ngImport: i0,
|
|
27
|
+
type: RxapCurrencyPipe,
|
|
28
|
+
isStandalone: true,
|
|
29
|
+
name: "currency"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
34
|
+
minVersion: "12.0.0",
|
|
35
|
+
version: "22.3.0",
|
|
36
|
+
ngImport: i0,
|
|
37
|
+
type: RxapCurrencyPipe,
|
|
38
|
+
decorators: [{
|
|
39
|
+
type: Pipe,
|
|
40
|
+
args: [{
|
|
41
|
+
name: "currency",
|
|
42
|
+
standalone: true
|
|
43
|
+
}]
|
|
44
|
+
}]
|
|
45
|
+
});
|
|
46
|
+
var DeleteIdentifierPipe = class DeleteIdentifierPipe {
|
|
47
|
+
transform(value) {
|
|
48
|
+
if (!value) return value;
|
|
49
|
+
const copy = clone(value);
|
|
50
|
+
if (hasIdentifierProperty(copy)) for (const pk of getIdentifierProperties(copy)) delete copy[pk];
|
|
51
|
+
return copy;
|
|
52
|
+
}
|
|
53
|
+
static {
|
|
54
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
55
|
+
minVersion: "12.0.0",
|
|
56
|
+
version: "22.3.0",
|
|
57
|
+
ngImport: i0,
|
|
58
|
+
type: DeleteIdentifierPipe,
|
|
59
|
+
deps: [],
|
|
60
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
static {
|
|
64
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
65
|
+
minVersion: "14.0.0",
|
|
66
|
+
version: "22.3.0",
|
|
67
|
+
ngImport: i0,
|
|
68
|
+
type: DeleteIdentifierPipe,
|
|
69
|
+
isStandalone: true,
|
|
70
|
+
name: "deleteIdentifier"
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
75
|
+
minVersion: "12.0.0",
|
|
76
|
+
version: "22.3.0",
|
|
77
|
+
ngImport: i0,
|
|
78
|
+
type: DeleteIdentifierPipe,
|
|
79
|
+
decorators: [{
|
|
80
|
+
type: Pipe,
|
|
81
|
+
args: [{
|
|
82
|
+
name: "deleteIdentifier",
|
|
83
|
+
standalone: true
|
|
84
|
+
}]
|
|
85
|
+
}]
|
|
86
|
+
});
|
|
87
|
+
var ReplacePipe = class ReplacePipe {
|
|
88
|
+
transform(value, replace, replaceValue) {
|
|
89
|
+
return value ? value.replace(replace, replaceValue) : "";
|
|
90
|
+
}
|
|
91
|
+
static {
|
|
92
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
93
|
+
minVersion: "12.0.0",
|
|
94
|
+
version: "22.3.0",
|
|
95
|
+
ngImport: i0,
|
|
96
|
+
type: ReplacePipe,
|
|
97
|
+
deps: [],
|
|
98
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
static {
|
|
102
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
103
|
+
minVersion: "14.0.0",
|
|
104
|
+
version: "22.3.0",
|
|
105
|
+
ngImport: i0,
|
|
106
|
+
type: ReplacePipe,
|
|
107
|
+
isStandalone: true,
|
|
108
|
+
name: "replace"
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
113
|
+
minVersion: "12.0.0",
|
|
114
|
+
version: "22.3.0",
|
|
115
|
+
ngImport: i0,
|
|
116
|
+
type: ReplacePipe,
|
|
117
|
+
decorators: [{
|
|
118
|
+
type: Pipe,
|
|
119
|
+
args: [{
|
|
120
|
+
name: "replace",
|
|
121
|
+
standalone: true
|
|
122
|
+
}]
|
|
123
|
+
}]
|
|
124
|
+
});
|
|
125
|
+
var EscapeQuotationMarkPipe = class EscapeQuotationMarkPipe {
|
|
126
|
+
transform(value, reverse = false) {
|
|
127
|
+
if (reverse) return new ReplacePipe().transform(value, /\\"/g, "\"");
|
|
128
|
+
else return new ReplacePipe().transform(value, /"/g, "\\\"");
|
|
129
|
+
}
|
|
130
|
+
static {
|
|
131
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
132
|
+
minVersion: "12.0.0",
|
|
133
|
+
version: "22.3.0",
|
|
134
|
+
ngImport: i0,
|
|
135
|
+
type: EscapeQuotationMarkPipe,
|
|
136
|
+
deps: [],
|
|
137
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
static {
|
|
141
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
142
|
+
minVersion: "14.0.0",
|
|
143
|
+
version: "22.3.0",
|
|
144
|
+
ngImport: i0,
|
|
145
|
+
type: EscapeQuotationMarkPipe,
|
|
146
|
+
isStandalone: true,
|
|
147
|
+
name: "escapeQuotationMark"
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
152
|
+
minVersion: "12.0.0",
|
|
153
|
+
version: "22.3.0",
|
|
154
|
+
ngImport: i0,
|
|
155
|
+
type: EscapeQuotationMarkPipe,
|
|
156
|
+
decorators: [{
|
|
157
|
+
type: Pipe,
|
|
158
|
+
args: [{
|
|
159
|
+
name: "escapeQuotationMark",
|
|
160
|
+
standalone: true
|
|
161
|
+
}]
|
|
162
|
+
}]
|
|
163
|
+
});
|
|
164
|
+
var GetFromObjectPipe = class GetFromObjectPipe {
|
|
165
|
+
transform(value, path) {
|
|
166
|
+
return getFromObject(value, path);
|
|
167
|
+
}
|
|
168
|
+
static {
|
|
169
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
170
|
+
minVersion: "12.0.0",
|
|
171
|
+
version: "22.3.0",
|
|
172
|
+
ngImport: i0,
|
|
173
|
+
type: GetFromObjectPipe,
|
|
174
|
+
deps: [],
|
|
175
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
static {
|
|
179
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
180
|
+
minVersion: "14.0.0",
|
|
181
|
+
version: "22.3.0",
|
|
182
|
+
ngImport: i0,
|
|
183
|
+
type: GetFromObjectPipe,
|
|
184
|
+
isStandalone: true,
|
|
185
|
+
name: "getFromObject"
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
190
|
+
minVersion: "12.0.0",
|
|
191
|
+
version: "22.3.0",
|
|
192
|
+
ngImport: i0,
|
|
193
|
+
type: GetFromObjectPipe,
|
|
194
|
+
decorators: [{
|
|
195
|
+
type: Pipe,
|
|
196
|
+
args: [{
|
|
197
|
+
name: "getFromObject",
|
|
198
|
+
standalone: true
|
|
199
|
+
}]
|
|
200
|
+
}]
|
|
201
|
+
});
|
|
202
|
+
var JoinPipe = class JoinPipe {
|
|
203
|
+
transform(list, separator) {
|
|
204
|
+
return list.join(separator);
|
|
205
|
+
}
|
|
206
|
+
static {
|
|
207
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
208
|
+
minVersion: "12.0.0",
|
|
209
|
+
version: "22.3.0",
|
|
210
|
+
ngImport: i0,
|
|
211
|
+
type: JoinPipe,
|
|
212
|
+
deps: [],
|
|
213
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
static {
|
|
217
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
218
|
+
minVersion: "14.0.0",
|
|
219
|
+
version: "22.3.0",
|
|
220
|
+
ngImport: i0,
|
|
221
|
+
type: JoinPipe,
|
|
222
|
+
isStandalone: true,
|
|
223
|
+
name: "join"
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
228
|
+
minVersion: "12.0.0",
|
|
229
|
+
version: "22.3.0",
|
|
230
|
+
ngImport: i0,
|
|
231
|
+
type: JoinPipe,
|
|
232
|
+
decorators: [{
|
|
233
|
+
type: Pipe,
|
|
234
|
+
args: [{
|
|
235
|
+
name: "join",
|
|
236
|
+
pure: true,
|
|
237
|
+
standalone: true
|
|
238
|
+
}]
|
|
239
|
+
}]
|
|
240
|
+
});
|
|
241
|
+
var LimitPipe = class LimitPipe {
|
|
242
|
+
transform(value, limit) {
|
|
243
|
+
return value.slice(0, limit);
|
|
244
|
+
}
|
|
245
|
+
static {
|
|
246
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
247
|
+
minVersion: "12.0.0",
|
|
248
|
+
version: "22.3.0",
|
|
249
|
+
ngImport: i0,
|
|
250
|
+
type: LimitPipe,
|
|
251
|
+
deps: [],
|
|
252
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
static {
|
|
256
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
257
|
+
minVersion: "14.0.0",
|
|
258
|
+
version: "22.3.0",
|
|
259
|
+
ngImport: i0,
|
|
260
|
+
type: LimitPipe,
|
|
261
|
+
isStandalone: true,
|
|
262
|
+
name: "limit"
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
267
|
+
minVersion: "12.0.0",
|
|
268
|
+
version: "22.3.0",
|
|
269
|
+
ngImport: i0,
|
|
270
|
+
type: LimitPipe,
|
|
271
|
+
decorators: [{
|
|
272
|
+
type: Pipe,
|
|
273
|
+
args: [{
|
|
274
|
+
name: "limit",
|
|
275
|
+
standalone: true
|
|
276
|
+
}]
|
|
277
|
+
}]
|
|
278
|
+
});
|
|
279
|
+
var SlicePipe = class SlicePipe {
|
|
280
|
+
transform(value, start, end) {
|
|
281
|
+
return value.slice(start, end);
|
|
282
|
+
}
|
|
283
|
+
static {
|
|
284
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
285
|
+
minVersion: "12.0.0",
|
|
286
|
+
version: "22.3.0",
|
|
287
|
+
ngImport: i0,
|
|
288
|
+
type: SlicePipe,
|
|
289
|
+
deps: [],
|
|
290
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
static {
|
|
294
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
295
|
+
minVersion: "14.0.0",
|
|
296
|
+
version: "22.3.0",
|
|
297
|
+
ngImport: i0,
|
|
298
|
+
type: SlicePipe,
|
|
299
|
+
isStandalone: true,
|
|
300
|
+
name: "slice"
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
305
|
+
minVersion: "12.0.0",
|
|
306
|
+
version: "22.3.0",
|
|
307
|
+
ngImport: i0,
|
|
308
|
+
type: SlicePipe,
|
|
309
|
+
decorators: [{
|
|
310
|
+
type: Pipe,
|
|
311
|
+
args: [{
|
|
312
|
+
name: "slice",
|
|
313
|
+
standalone: true
|
|
314
|
+
}]
|
|
315
|
+
}]
|
|
316
|
+
});
|
|
317
|
+
var ToDisplayPipe = class ToDisplayPipe {
|
|
318
|
+
constructor() {
|
|
319
|
+
this.jsonPipe = new JsonPipe();
|
|
320
|
+
}
|
|
321
|
+
transform(value, toDisplay = this.jsonPipe.transform) {
|
|
322
|
+
return toDisplay(value);
|
|
323
|
+
}
|
|
324
|
+
static {
|
|
325
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
326
|
+
minVersion: "12.0.0",
|
|
327
|
+
version: "22.3.0",
|
|
328
|
+
ngImport: i0,
|
|
329
|
+
type: ToDisplayPipe,
|
|
330
|
+
deps: [],
|
|
331
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
static {
|
|
335
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
336
|
+
minVersion: "14.0.0",
|
|
337
|
+
version: "22.3.0",
|
|
338
|
+
ngImport: i0,
|
|
339
|
+
type: ToDisplayPipe,
|
|
340
|
+
isStandalone: true,
|
|
341
|
+
name: "toDisplay"
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
346
|
+
minVersion: "12.0.0",
|
|
347
|
+
version: "22.3.0",
|
|
348
|
+
ngImport: i0,
|
|
349
|
+
type: ToDisplayPipe,
|
|
350
|
+
decorators: [{
|
|
351
|
+
type: Pipe,
|
|
352
|
+
args: [{
|
|
353
|
+
name: "toDisplay",
|
|
354
|
+
standalone: true
|
|
355
|
+
}]
|
|
356
|
+
}]
|
|
357
|
+
});
|
|
358
|
+
var TruncatePipe = class TruncatePipe {
|
|
359
|
+
transform(value, length = 64, ellipsis = "...") {
|
|
360
|
+
if (!value) return "";
|
|
361
|
+
if (value.length <= length) return value;
|
|
362
|
+
return value.substring(0, length) + ellipsis;
|
|
363
|
+
}
|
|
364
|
+
static {
|
|
365
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
366
|
+
minVersion: "12.0.0",
|
|
367
|
+
version: "22.3.0",
|
|
368
|
+
ngImport: i0,
|
|
369
|
+
type: TruncatePipe,
|
|
370
|
+
deps: [],
|
|
371
|
+
target: i0.ɵɵFactoryTarget.Pipe
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
static {
|
|
375
|
+
this.ɵpipe = i0.ɵɵngDeclarePipe({
|
|
376
|
+
minVersion: "14.0.0",
|
|
377
|
+
version: "22.3.0",
|
|
378
|
+
ngImport: i0,
|
|
379
|
+
type: TruncatePipe,
|
|
380
|
+
isStandalone: true,
|
|
381
|
+
name: "truncate"
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
386
|
+
minVersion: "12.0.0",
|
|
387
|
+
version: "22.3.0",
|
|
388
|
+
ngImport: i0,
|
|
389
|
+
type: TruncatePipe,
|
|
390
|
+
decorators: [{
|
|
391
|
+
type: Pipe,
|
|
392
|
+
args: [{
|
|
393
|
+
name: "truncate",
|
|
394
|
+
standalone: true
|
|
395
|
+
}]
|
|
396
|
+
}]
|
|
397
|
+
});
|
|
223
398
|
export { DeleteIdentifierPipe, EscapeQuotationMarkPipe, GetFromObjectPipe, JoinPipe, LimitPipe, ReplacePipe, RxapCurrencyPipe, SlicePipe, ToDisplayPipe, TruncatePipe };
|
|
224
|
-
|
|
399
|
+
|
|
400
|
+
//# sourceMappingURL=rxap-pipes.mjs.map
|