@morozeckiy/dd-lib 0.1.27 → 0.1.29
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/assets/images/svg/appgalery.svg +32 -0
- package/assets/images/svg/appstore.svg +26 -0
- package/assets/images/svg/googleapp.svg +28 -0
- package/assets/images/svg/mobilr-qr.svg +9 -0
- package/assets/images/svg/rustore.svg +35 -0
- package/assets/images/svg/shared-logo-d.svg +29 -0
- package/assets/images/svg/shared-logo.svg +29 -0
- package/esm2022/lib/common/const.mjs +10 -0
- package/esm2022/lib/components/footer/footer.component.mjs +22 -0
- package/esm2022/lib/components/index.mjs +3 -0
- package/esm2022/lib/components/main-shared/main-shared.component.mjs +24 -0
- package/esm2022/lib/core/services/svg-icons.service.mjs +1 -1
- package/esm2022/lib/svg-icons/svg-icon.model.mjs +224 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/morozeckiy-dd-lib.mjs +317 -2
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/lib/common/const.d.ts +4 -0
- package/lib/components/footer/footer.component.d.ts +12 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/main-shared/main-shared.component.d.ts +15 -0
- package/lib/core/services/svg-icons.service.d.ts +2 -1
- package/lib/svg-icons/svg-icon.model.d.ts +315 -0
- package/morozeckiy-dd-lib-0.1.29.tgz +0 -0
- package/package.json +1 -2
- package/public-api.d.ts +2 -0
- package/morozeckiy-dd-lib-0.1.27.tgz +0 -0
- /package/assets/images/svg/{arrow/all.svg → all.svg} +0 -0
- /package/assets/images/svg/{arrow/arrow-down-red.svg → arrow-down-red.svg} +0 -0
- /package/assets/images/svg/{arrow/arrow-up-green.svg → arrow-up-green.svg} +0 -0
- /package/assets/images/svg/{arrow/back-arrow.svg → back-arrow.svg} +0 -0
- /package/assets/images/svg/{arrow/down-chevron.svg → down-chevron.svg} +0 -0
- /package/assets/images/svg/{arrow/left-chevron.svg → left-chevron.svg} +0 -0
- /package/assets/images/svg/{arrow/next.svg → next.svg} +0 -0
- /package/assets/images/svg/{arrow/prev.svg → prev.svg} +0 -0
- /package/assets/images/svg/{arrow/right-chevron.svg → right-chevron.svg} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SvgIconsService } from "../../core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FooterComponent {
|
|
4
|
+
private svgIconRegistry;
|
|
5
|
+
protected readonly sharingLink: {
|
|
6
|
+
icon: string;
|
|
7
|
+
url: string;
|
|
8
|
+
}[];
|
|
9
|
+
constructor(svgIconRegistry: SvgIconsService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "dd-footer", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { ThemeConstructorService } from "../../core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MainSharedComponent {
|
|
5
|
+
private themeConstructorService;
|
|
6
|
+
protected readonly sharingLink: {
|
|
7
|
+
icon: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}[];
|
|
10
|
+
icon: string | undefined;
|
|
11
|
+
icon$: Observable<string>;
|
|
12
|
+
constructor(themeConstructorService: ThemeConstructorService);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainSharedComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainSharedComponent, "dd-main-shared", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { SvgIcon } from "../../svg-icons/svg-icon.model";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class SvgIconsService {
|
|
3
4
|
private registry;
|
|
4
|
-
registerIcons(icons:
|
|
5
|
+
registerIcons(icons: SvgIcon[]): void;
|
|
5
6
|
getIcon(iconName: string | null | undefined): string | undefined;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconsService, never>;
|
|
7
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<SvgIconsService>;
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export declare const svgIcon404: {
|
|
2
|
+
name: '404';
|
|
3
|
+
data: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const svgIconActogoneAccept: {
|
|
6
|
+
name: 'actogone_accept';
|
|
7
|
+
data: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const svgIconAll: {
|
|
10
|
+
name: 'all';
|
|
11
|
+
data: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const svgIconAppgalery: {
|
|
14
|
+
name: 'appgalery';
|
|
15
|
+
data: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const svgIconAppstore: {
|
|
18
|
+
name: 'appstore';
|
|
19
|
+
data: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const svgIconArrowDownRed: {
|
|
22
|
+
name: 'arrow_down_red';
|
|
23
|
+
data: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const svgIconArrowUpGreen: {
|
|
26
|
+
name: 'arrow_up_green';
|
|
27
|
+
data: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const svgIconBackArrow: {
|
|
30
|
+
name: 'back_arrow';
|
|
31
|
+
data: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const svgIconCalendar: {
|
|
34
|
+
name: 'calendar';
|
|
35
|
+
data: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const svgIconCheckGreen: {
|
|
38
|
+
name: 'check_green';
|
|
39
|
+
data: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const svgIconCheckWhite: {
|
|
42
|
+
name: 'check_white';
|
|
43
|
+
data: string;
|
|
44
|
+
};
|
|
45
|
+
export declare const svgIconClear: {
|
|
46
|
+
name: 'clear';
|
|
47
|
+
data: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const svgIconClose: {
|
|
50
|
+
name: 'close';
|
|
51
|
+
data: string;
|
|
52
|
+
};
|
|
53
|
+
export declare const svgIconDobrodel: {
|
|
54
|
+
name: 'dobrodel';
|
|
55
|
+
data: string;
|
|
56
|
+
};
|
|
57
|
+
export declare const svgIconDownChevron: {
|
|
58
|
+
name: 'down_chevron';
|
|
59
|
+
data: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const svgIconEntry: {
|
|
62
|
+
name: 'entry';
|
|
63
|
+
data: string;
|
|
64
|
+
};
|
|
65
|
+
export declare const svgIconErrorHint: {
|
|
66
|
+
name: 'error_hint';
|
|
67
|
+
data: string;
|
|
68
|
+
};
|
|
69
|
+
export declare const svgIconEyeOff: {
|
|
70
|
+
name: 'eye_off';
|
|
71
|
+
data: string;
|
|
72
|
+
};
|
|
73
|
+
export declare const svgIconEye: {
|
|
74
|
+
name: 'eye';
|
|
75
|
+
data: string;
|
|
76
|
+
};
|
|
77
|
+
export declare const svgIconGoogleapp: {
|
|
78
|
+
name: 'googleapp';
|
|
79
|
+
data: string;
|
|
80
|
+
};
|
|
81
|
+
export declare const svgIconLeftChevron: {
|
|
82
|
+
name: 'left_chevron';
|
|
83
|
+
data: string;
|
|
84
|
+
};
|
|
85
|
+
export declare const svgIconMailExclamation: {
|
|
86
|
+
name: 'mail_exclamation';
|
|
87
|
+
data: string;
|
|
88
|
+
};
|
|
89
|
+
export declare const svgIconMobilrQr: {
|
|
90
|
+
name: 'mobilr_qr';
|
|
91
|
+
data: string;
|
|
92
|
+
};
|
|
93
|
+
export declare const svgIconNext: {
|
|
94
|
+
name: 'next';
|
|
95
|
+
data: string;
|
|
96
|
+
};
|
|
97
|
+
export declare const svgIconNotFound: {
|
|
98
|
+
name: 'not_found';
|
|
99
|
+
data: string;
|
|
100
|
+
};
|
|
101
|
+
export declare const svgIconPlugD: {
|
|
102
|
+
name: 'plug_d';
|
|
103
|
+
data: string;
|
|
104
|
+
};
|
|
105
|
+
export declare const svgIconPlug: {
|
|
106
|
+
name: 'plug';
|
|
107
|
+
data: string;
|
|
108
|
+
};
|
|
109
|
+
export declare const svgIconPrev: {
|
|
110
|
+
name: 'prev';
|
|
111
|
+
data: string;
|
|
112
|
+
};
|
|
113
|
+
export declare const svgIconQuestionWhiteG: {
|
|
114
|
+
name: 'question_white_g';
|
|
115
|
+
data: string;
|
|
116
|
+
};
|
|
117
|
+
export declare const svgIconQuestion: {
|
|
118
|
+
name: 'question';
|
|
119
|
+
data: string;
|
|
120
|
+
};
|
|
121
|
+
export declare const svgIconRedClose: {
|
|
122
|
+
name: 'red_close';
|
|
123
|
+
data: string;
|
|
124
|
+
};
|
|
125
|
+
export declare const svgIconRightChevron: {
|
|
126
|
+
name: 'right_chevron';
|
|
127
|
+
data: string;
|
|
128
|
+
};
|
|
129
|
+
export declare const svgIconRustore: {
|
|
130
|
+
name: 'rustore';
|
|
131
|
+
data: string;
|
|
132
|
+
};
|
|
133
|
+
export declare const svgIconSearch: {
|
|
134
|
+
name: 'search';
|
|
135
|
+
data: string;
|
|
136
|
+
};
|
|
137
|
+
export declare const svgIconSend: {
|
|
138
|
+
name: 'send';
|
|
139
|
+
data: string;
|
|
140
|
+
};
|
|
141
|
+
export declare const svgIconSharedLogoD: {
|
|
142
|
+
name: 'shared_logo_d';
|
|
143
|
+
data: string;
|
|
144
|
+
};
|
|
145
|
+
export declare const svgIconSharedLogo: {
|
|
146
|
+
name: 'shared_logo';
|
|
147
|
+
data: string;
|
|
148
|
+
};
|
|
149
|
+
export declare const svgIconSmallRoundLoader: {
|
|
150
|
+
name: 'small_round_loader';
|
|
151
|
+
data: string;
|
|
152
|
+
};
|
|
153
|
+
export declare const svgIconSort: {
|
|
154
|
+
name: 'sort';
|
|
155
|
+
data: string;
|
|
156
|
+
};
|
|
157
|
+
export declare const svgIconStar: {
|
|
158
|
+
name: 'star';
|
|
159
|
+
data: string;
|
|
160
|
+
};
|
|
161
|
+
export declare const svgIconTg: {
|
|
162
|
+
name: 'tg';
|
|
163
|
+
data: string;
|
|
164
|
+
};
|
|
165
|
+
export declare const svgIconTrash: {
|
|
166
|
+
name: 'trash';
|
|
167
|
+
data: string;
|
|
168
|
+
};
|
|
169
|
+
export declare const svgIconUserEmpty: {
|
|
170
|
+
name: 'user_empty';
|
|
171
|
+
data: string;
|
|
172
|
+
};
|
|
173
|
+
export declare const svgIconVk: {
|
|
174
|
+
name: 'vk';
|
|
175
|
+
data: string;
|
|
176
|
+
};
|
|
177
|
+
export type svgIcon = '404' | 'actogone_accept' | 'all' | 'appgalery' | 'appstore' | 'arrow_down_red' | 'arrow_up_green' | 'back_arrow' | 'calendar' | 'check_green' | 'check_white' | 'clear' | 'close' | 'dobrodel' | 'down_chevron' | 'entry' | 'error_hint' | 'eye_off' | 'eye' | 'googleapp' | 'left_chevron' | 'mail_exclamation' | 'mobilr_qr' | 'next' | 'not_found' | 'plug_d' | 'plug' | 'prev' | 'question_white_g' | 'question' | 'red_close' | 'right_chevron' | 'rustore' | 'search' | 'send' | 'shared_logo_d' | 'shared_logo' | 'small_round_loader' | 'sort' | 'star' | 'tg' | 'trash' | 'user_empty' | 'vk';
|
|
178
|
+
export interface SvgIcon {
|
|
179
|
+
name: svgIcon;
|
|
180
|
+
data: string;
|
|
181
|
+
}
|
|
182
|
+
export type SvgIconNameSubset<T extends Readonly<SvgIcon[]>> = T[number]['name'];
|
|
183
|
+
export declare const completeIconSet: ({
|
|
184
|
+
name: '404';
|
|
185
|
+
data: string;
|
|
186
|
+
} | {
|
|
187
|
+
name: 'actogone_accept';
|
|
188
|
+
data: string;
|
|
189
|
+
} | {
|
|
190
|
+
name: 'all';
|
|
191
|
+
data: string;
|
|
192
|
+
} | {
|
|
193
|
+
name: 'appgalery';
|
|
194
|
+
data: string;
|
|
195
|
+
} | {
|
|
196
|
+
name: 'appstore';
|
|
197
|
+
data: string;
|
|
198
|
+
} | {
|
|
199
|
+
name: 'arrow_down_red';
|
|
200
|
+
data: string;
|
|
201
|
+
} | {
|
|
202
|
+
name: 'arrow_up_green';
|
|
203
|
+
data: string;
|
|
204
|
+
} | {
|
|
205
|
+
name: 'back_arrow';
|
|
206
|
+
data: string;
|
|
207
|
+
} | {
|
|
208
|
+
name: 'calendar';
|
|
209
|
+
data: string;
|
|
210
|
+
} | {
|
|
211
|
+
name: 'check_green';
|
|
212
|
+
data: string;
|
|
213
|
+
} | {
|
|
214
|
+
name: 'check_white';
|
|
215
|
+
data: string;
|
|
216
|
+
} | {
|
|
217
|
+
name: 'clear';
|
|
218
|
+
data: string;
|
|
219
|
+
} | {
|
|
220
|
+
name: 'close';
|
|
221
|
+
data: string;
|
|
222
|
+
} | {
|
|
223
|
+
name: 'dobrodel';
|
|
224
|
+
data: string;
|
|
225
|
+
} | {
|
|
226
|
+
name: 'down_chevron';
|
|
227
|
+
data: string;
|
|
228
|
+
} | {
|
|
229
|
+
name: 'entry';
|
|
230
|
+
data: string;
|
|
231
|
+
} | {
|
|
232
|
+
name: 'error_hint';
|
|
233
|
+
data: string;
|
|
234
|
+
} | {
|
|
235
|
+
name: 'eye_off';
|
|
236
|
+
data: string;
|
|
237
|
+
} | {
|
|
238
|
+
name: 'eye';
|
|
239
|
+
data: string;
|
|
240
|
+
} | {
|
|
241
|
+
name: 'googleapp';
|
|
242
|
+
data: string;
|
|
243
|
+
} | {
|
|
244
|
+
name: 'left_chevron';
|
|
245
|
+
data: string;
|
|
246
|
+
} | {
|
|
247
|
+
name: 'mail_exclamation';
|
|
248
|
+
data: string;
|
|
249
|
+
} | {
|
|
250
|
+
name: 'mobilr_qr';
|
|
251
|
+
data: string;
|
|
252
|
+
} | {
|
|
253
|
+
name: 'next';
|
|
254
|
+
data: string;
|
|
255
|
+
} | {
|
|
256
|
+
name: 'not_found';
|
|
257
|
+
data: string;
|
|
258
|
+
} | {
|
|
259
|
+
name: 'plug_d';
|
|
260
|
+
data: string;
|
|
261
|
+
} | {
|
|
262
|
+
name: 'plug';
|
|
263
|
+
data: string;
|
|
264
|
+
} | {
|
|
265
|
+
name: 'prev';
|
|
266
|
+
data: string;
|
|
267
|
+
} | {
|
|
268
|
+
name: 'question_white_g';
|
|
269
|
+
data: string;
|
|
270
|
+
} | {
|
|
271
|
+
name: 'question';
|
|
272
|
+
data: string;
|
|
273
|
+
} | {
|
|
274
|
+
name: 'red_close';
|
|
275
|
+
data: string;
|
|
276
|
+
} | {
|
|
277
|
+
name: 'right_chevron';
|
|
278
|
+
data: string;
|
|
279
|
+
} | {
|
|
280
|
+
name: 'rustore';
|
|
281
|
+
data: string;
|
|
282
|
+
} | {
|
|
283
|
+
name: 'search';
|
|
284
|
+
data: string;
|
|
285
|
+
} | {
|
|
286
|
+
name: 'send';
|
|
287
|
+
data: string;
|
|
288
|
+
} | {
|
|
289
|
+
name: 'shared_logo_d';
|
|
290
|
+
data: string;
|
|
291
|
+
} | {
|
|
292
|
+
name: 'shared_logo';
|
|
293
|
+
data: string;
|
|
294
|
+
} | {
|
|
295
|
+
name: 'small_round_loader';
|
|
296
|
+
data: string;
|
|
297
|
+
} | {
|
|
298
|
+
name: 'sort';
|
|
299
|
+
data: string;
|
|
300
|
+
} | {
|
|
301
|
+
name: 'star';
|
|
302
|
+
data: string;
|
|
303
|
+
} | {
|
|
304
|
+
name: 'tg';
|
|
305
|
+
data: string;
|
|
306
|
+
} | {
|
|
307
|
+
name: 'trash';
|
|
308
|
+
data: string;
|
|
309
|
+
} | {
|
|
310
|
+
name: 'user_empty';
|
|
311
|
+
data: string;
|
|
312
|
+
} | {
|
|
313
|
+
name: 'vk';
|
|
314
|
+
data: string;
|
|
315
|
+
})[];
|
|
Binary file
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -27,3 +27,5 @@ export * from './lib/lib-textarea/lib-textarea.component';
|
|
|
27
27
|
export * from './lib/lib-file-loader/lib-file-loader.component';
|
|
28
28
|
export * from './lib/utils/decorators';
|
|
29
29
|
export * from './lib/core/index';
|
|
30
|
+
export * from './lib/components/index';
|
|
31
|
+
export * from './lib/svg-icons/svg-icon.model';
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|