@smart-webcomponents-angular/tooltip 9.2.21 → 13.0.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.
Files changed (58) hide show
  1. package/common/i18n.phonenumbers.min.js +501 -0
  2. package/common/runtime.js +748 -0
  3. package/demo/angular.json +4 -4
  4. package/demo/package.json +3 -3
  5. package/demo/src/tsconfig.app.json +15 -15
  6. package/demo/src/tsconfig.json +23 -23
  7. package/esm2020/tooltip/index.mjs +2 -0
  8. package/{esm2015/tooltip/public_api.js → esm2020/tooltip/public_api.mjs} +0 -0
  9. package/{esm2015/tooltip/smart-webcomponents-angular-tooltip.js → esm2020/tooltip/smart-webcomponents-angular-tooltip.mjs} +2 -3
  10. package/esm2020/tooltip/smart.element.mjs +96 -0
  11. package/esm2020/tooltip/smart.tooltip.mjs +313 -0
  12. package/esm2020/tooltip/smart.tooltip.module.mjs +18 -0
  13. package/fesm2015/{smart-webcomponents-angular-tooltip.js → smart-webcomponents-angular-tooltip.mjs} +97 -52
  14. package/fesm2015/smart-webcomponents-angular-tooltip.mjs.map +1 -0
  15. package/fesm2020/smart-webcomponents-angular-tooltip.mjs +435 -0
  16. package/fesm2020/smart-webcomponents-angular-tooltip.mjs.map +1 -0
  17. package/images/dropable_zone_image.svg +25 -0
  18. package/images/error.png +0 -0
  19. package/images/flags.png +0 -0
  20. package/images/icons-sprite.svg +85 -0
  21. package/images/icons-stack.svg +132 -0
  22. package/images/info.png +0 -0
  23. package/images/magnifier.png +0 -0
  24. package/images/mail.png +0 -0
  25. package/images/radial.svg +1 -0
  26. package/images/success.png +0 -0
  27. package/images/time.png +0 -0
  28. package/images/warning.png +0 -0
  29. package/index.d.ts +3548 -647
  30. package/package.json +26 -24
  31. package/source/modules/smart.tooltip.js +1 -1
  32. package/source/smart.button.js +2 -2
  33. package/source/smart.element.js +2 -2
  34. package/source/smart.tooltip.js +2 -2
  35. package/styles/font/smart-icons.eot +0 -0
  36. package/styles/font/smart-icons.svg +64 -2
  37. package/styles/font/smart-icons.ttf +0 -0
  38. package/styles/font/smart-icons.woff +0 -0
  39. package/styles/font/smart-icons.woff2 +0 -0
  40. package/styles/smart.base.css +4 -4
  41. package/styles/smart.common.css +1 -1
  42. package/tooltip/index.d.ts +1 -0
  43. package/tooltip/smart-webcomponents-angular-tooltip.d.ts +2 -2
  44. package/tooltip/smart.element.d.ts +4 -1
  45. package/tooltip/smart.tooltip.d.ts +6 -0
  46. package/tooltip/smart.tooltip.module.d.ts +5 -0
  47. package/bundles/smart-webcomponents-angular-tooltip.umd.js +0 -816
  48. package/bundles/smart-webcomponents-angular-tooltip.umd.min.js +0 -25
  49. package/demo/src/app/app.component.ts +0 -53
  50. package/demo/src/app/app.module.ts +0 -17
  51. package/demo/src/app/main.ts +0 -6
  52. package/demo/src/main.ts +0 -16
  53. package/demo/src/polyfills.ts +0 -73
  54. package/esm2015/tooltip/smart.element.js +0 -83
  55. package/esm2015/tooltip/smart.tooltip.js +0 -284
  56. package/esm2015/tooltip/smart.tooltip.module.js +0 -13
  57. package/fesm2015/smart-webcomponents-angular-tooltip.js.map +0 -1
  58. package/tooltip/smart-webcomponents-angular-tooltip.metadata.json +0 -1
@@ -0,0 +1,435 @@
1
+
2
+ if (!window['Smart']) {
3
+ window['Smart'] = { RenderMode: 'manual' };
4
+ }
5
+ else {
6
+ window['Smart'].RenderMode = 'manual';
7
+ }
8
+ import './../source/modules/smart.tooltip';
9
+
10
+ import * as i0 from '@angular/core';
11
+ import { EventEmitter, Directive, Output, Input, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
12
+
13
+ class BaseElement {
14
+ constructor(ref) {
15
+ this.onCreate = new EventEmitter();
16
+ this.onReady = new EventEmitter();
17
+ this.onAttach = new EventEmitter();
18
+ this.onDetach = new EventEmitter();
19
+ const that = this;
20
+ this.nativeElement = ref.nativeElement;
21
+ that.nativeElement.onAttached = () => {
22
+ that.onAttach.emit(that.nativeElement);
23
+ };
24
+ that.nativeElement.onDetached = () => {
25
+ that.onDetach.emit(that.nativeElement);
26
+ };
27
+ }
28
+ addEventListener(type, listener, options = false) {
29
+ this.nativeElement.addEventListener(type, listener, options);
30
+ }
31
+ removeEventListener(type, listener, options = false) {
32
+ this.nativeElement.removeEventListener(type, listener, options);
33
+ }
34
+ dispatchEvent(event) {
35
+ return this.nativeElement.dispatchEvent(event);
36
+ }
37
+ blur() {
38
+ this.nativeElement.blur();
39
+ }
40
+ click() {
41
+ this.nativeElement.click();
42
+ }
43
+ focus(options) {
44
+ this.nativeElement.focus(options);
45
+ }
46
+ /** @description Sets or gets the language. Used in conjunction with the property messages. */
47
+ get locale() {
48
+ return this.nativeElement ? this.nativeElement.locale : undefined;
49
+ }
50
+ set locale(value) {
51
+ this.nativeElement ? this.nativeElement.locale = value : undefined;
52
+ }
53
+ /** @description Callback used to customize the format of the messages that are returned from the Localization Module. */
54
+ get localizeFormatFunction() {
55
+ return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
56
+ }
57
+ set localizeFormatFunction(value) {
58
+ this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
59
+ }
60
+ /** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
61
+ get messages() {
62
+ return this.nativeElement ? this.nativeElement.messages : undefined;
63
+ }
64
+ set messages(value) {
65
+ this.nativeElement ? this.nativeElement.messages = value : undefined;
66
+ }
67
+ /** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
68
+ get rightToLeft() {
69
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
70
+ }
71
+ set rightToLeft(value) {
72
+ this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
73
+ }
74
+ /** @description Determines the theme. Theme defines the look of the element */
75
+ get theme() {
76
+ return this.nativeElement ? this.nativeElement.theme : undefined;
77
+ }
78
+ set theme(value) {
79
+ this.nativeElement ? this.nativeElement.theme = value : undefined;
80
+ }
81
+ }
82
+ BaseElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: BaseElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
83
+ BaseElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: BaseElement, inputs: { locale: "locale", localizeFormatFunction: "localizeFormatFunction", messages: "messages", rightToLeft: "rightToLeft", theme: "theme" }, outputs: { onCreate: "onCreate", onReady: "onReady", onAttach: "onAttach", onDetach: "onDetach" }, ngImport: i0 });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: BaseElement, decorators: [{
85
+ type: Directive
86
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onCreate: [{
87
+ type: Output
88
+ }], onReady: [{
89
+ type: Output
90
+ }], onAttach: [{
91
+ type: Output
92
+ }], onDetach: [{
93
+ type: Output
94
+ }], locale: [{
95
+ type: Input
96
+ }], localizeFormatFunction: [{
97
+ type: Input
98
+ }], messages: [{
99
+ type: Input
100
+ }], rightToLeft: [{
101
+ type: Input
102
+ }], theme: [{
103
+ type: Input
104
+ }] } });
105
+ const Smart = window.Smart;
106
+
107
+ class TooltipComponent extends BaseElement {
108
+ constructor(ref) {
109
+ super(ref);
110
+ this.eventHandlers = [];
111
+ /** @description This event is triggered when the tooltip is opened.
112
+ * @param event. The custom event. */
113
+ this.onOpen = new EventEmitter();
114
+ /** @description This event is triggered before the tooltip is opened. The event can be prevented via event.preventDefault().
115
+ * @param event. The custom event. */
116
+ this.onOpening = new EventEmitter();
117
+ /** @description This event is triggered when the tooltip is closed.
118
+ * @param event. The custom event. */
119
+ this.onClose = new EventEmitter();
120
+ /** @description This event is triggered before the tooltip is closed. The event can be prevented via event.preventDefault().
121
+ * @param event. The custom event. */
122
+ this.onClosing = new EventEmitter();
123
+ this.nativeElement = ref.nativeElement;
124
+ }
125
+ /** @description Creates the component on demand.
126
+ * @param properties An optional object of properties, which will be added to the template binded ones.
127
+ */
128
+ createComponent(properties = {}) {
129
+ this.nativeElement = document.createElement('smart-tooltip');
130
+ for (let propertyName in properties) {
131
+ this.nativeElement[propertyName] = properties[propertyName];
132
+ }
133
+ return this.nativeElement;
134
+ }
135
+ /** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
136
+ get animation() {
137
+ return this.nativeElement ? this.nativeElement.animation : undefined;
138
+ }
139
+ set animation(value) {
140
+ this.nativeElement ? this.nativeElement.animation = value : undefined;
141
+ }
142
+ /** @description Determines how to align the tooltip. */
143
+ get align() {
144
+ return this.nativeElement ? this.nativeElement.align : undefined;
145
+ }
146
+ set align(value) {
147
+ this.nativeElement ? this.nativeElement.align = value : undefined;
148
+ }
149
+ /** @description Gets or sets whether a tooltip's arrow will be shown. */
150
+ get arrow() {
151
+ return this.nativeElement ? this.nativeElement.arrow : undefined;
152
+ }
153
+ set arrow(value) {
154
+ this.nativeElement ? this.nativeElement.arrow = value : undefined;
155
+ }
156
+ /** @description Sets the position of the arrow. */
157
+ get arrowDirection() {
158
+ return this.nativeElement ? this.nativeElement.arrowDirection : undefined;
159
+ }
160
+ set arrowDirection(value) {
161
+ this.nativeElement ? this.nativeElement.arrowDirection = value : undefined;
162
+ }
163
+ /** @description Gets or sets whether a tooltip's arrow will be shown. */
164
+ get delay() {
165
+ return this.nativeElement ? this.nativeElement.delay : undefined;
166
+ }
167
+ set delay(value) {
168
+ this.nativeElement ? this.nativeElement.delay = value : undefined;
169
+ }
170
+ /** @description Enables or disables the tooltip. */
171
+ get disabled() {
172
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
173
+ }
174
+ set disabled(value) {
175
+ this.nativeElement ? this.nativeElement.disabled = value : undefined;
176
+ }
177
+ /** @description Sets an offset by X and Y. */
178
+ get offset() {
179
+ return this.nativeElement ? this.nativeElement.offset : undefined;
180
+ }
181
+ set offset(value) {
182
+ this.nativeElement ? this.nativeElement.offset = value : undefined;
183
+ }
184
+ /** @description Sets or gets the language. Used in conjunction with the property messages. */
185
+ get locale() {
186
+ return this.nativeElement ? this.nativeElement.locale : undefined;
187
+ }
188
+ set locale(value) {
189
+ this.nativeElement ? this.nativeElement.locale = value : undefined;
190
+ }
191
+ /** @description Callback, related to localization module. */
192
+ get localizeFormatFunction() {
193
+ return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
194
+ }
195
+ set localizeFormatFunction(value) {
196
+ this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
197
+ }
198
+ /** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property language. */
199
+ get messages() {
200
+ return this.nativeElement ? this.nativeElement.messages : undefined;
201
+ }
202
+ set messages(value) {
203
+ this.nativeElement ? this.nativeElement.messages = value : undefined;
204
+ }
205
+ /** @description Sets or gets the way of triggering the tooltip. */
206
+ get openMode() {
207
+ return this.nativeElement ? this.nativeElement.openMode : undefined;
208
+ }
209
+ set openMode(value) {
210
+ this.nativeElement ? this.nativeElement.openMode = value : undefined;
211
+ }
212
+ /** @description Gets or sets the position of the tooltip. */
213
+ get position() {
214
+ return this.nativeElement ? this.nativeElement.position : undefined;
215
+ }
216
+ set position(value) {
217
+ this.nativeElement ? this.nativeElement.position = value : undefined;
218
+ }
219
+ /** @description Sets the element which triggers the tooltip. */
220
+ get selector() {
221
+ return this.nativeElement ? this.nativeElement.selector : undefined;
222
+ }
223
+ set selector(value) {
224
+ this.nativeElement ? this.nativeElement.selector = value : undefined;
225
+ }
226
+ /** @description Determines the theme. Theme defines the look of the element */
227
+ get theme() {
228
+ return this.nativeElement ? this.nativeElement.theme : undefined;
229
+ }
230
+ set theme(value) {
231
+ this.nativeElement ? this.nativeElement.theme = value : undefined;
232
+ }
233
+ /** @description Sets custom tooltip template. */
234
+ get tooltipTemplate() {
235
+ return this.nativeElement ? this.nativeElement.tooltipTemplate : undefined;
236
+ }
237
+ set tooltipTemplate(value) {
238
+ this.nativeElement ? this.nativeElement.tooltipTemplate = value : undefined;
239
+ }
240
+ /** @description If is set to true, the element cannot be focused. */
241
+ get unfocusable() {
242
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
243
+ }
244
+ set unfocusable(value) {
245
+ this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
246
+ }
247
+ /** @description Sets or gets the widget's value. */
248
+ get value() {
249
+ return this.nativeElement ? this.nativeElement.value : undefined;
250
+ }
251
+ set value(value) {
252
+ this.nativeElement ? this.nativeElement.value = value : undefined;
253
+ }
254
+ /** @description Sets or gets the visibility of the tooltip. */
255
+ get visible() {
256
+ return this.nativeElement ? this.nativeElement.visible : undefined;
257
+ }
258
+ set visible(value) {
259
+ this.nativeElement ? this.nativeElement.visible = value : undefined;
260
+ }
261
+ /** @description Closes smart-tooltip.
262
+ */
263
+ close() {
264
+ if (this.nativeElement.isRendered) {
265
+ this.nativeElement.close();
266
+ }
267
+ else {
268
+ this.nativeElement.whenRendered(() => {
269
+ this.nativeElement.close();
270
+ });
271
+ }
272
+ }
273
+ /** @description Opens smart-tooltip.
274
+ */
275
+ open() {
276
+ if (this.nativeElement.isRendered) {
277
+ this.nativeElement.open();
278
+ }
279
+ else {
280
+ this.nativeElement.whenRendered(() => {
281
+ this.nativeElement.open();
282
+ });
283
+ }
284
+ }
285
+ /** @description Toggles smart-tooltip.
286
+ */
287
+ toggle() {
288
+ if (this.nativeElement.isRendered) {
289
+ this.nativeElement.toggle();
290
+ }
291
+ else {
292
+ this.nativeElement.whenRendered(() => {
293
+ this.nativeElement.toggle();
294
+ });
295
+ }
296
+ }
297
+ /** @description Clears the content of the Tooltip.
298
+ */
299
+ clear() {
300
+ if (this.nativeElement.isRendered) {
301
+ this.nativeElement.clear();
302
+ }
303
+ else {
304
+ this.nativeElement.whenRendered(() => {
305
+ this.nativeElement.clear();
306
+ });
307
+ }
308
+ }
309
+ get isRendered() {
310
+ return this.nativeElement ? this.nativeElement.isRendered : false;
311
+ }
312
+ ngOnInit() {
313
+ }
314
+ ngAfterViewInit() {
315
+ const that = this;
316
+ that.onCreate.emit(that.nativeElement);
317
+ Smart.Render();
318
+ this.nativeElement.classList.add('smart-angular');
319
+ this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });
320
+ this.listen();
321
+ }
322
+ ngOnDestroy() {
323
+ this.unlisten();
324
+ }
325
+ ngOnChanges(changes) {
326
+ if (this.nativeElement && this.nativeElement.isRendered) {
327
+ for (const propName in changes) {
328
+ if (changes.hasOwnProperty(propName)) {
329
+ this.nativeElement[propName] = changes[propName].currentValue;
330
+ }
331
+ }
332
+ }
333
+ }
334
+ /** @description Add event listeners. */
335
+ listen() {
336
+ const that = this;
337
+ that.eventHandlers['openHandler'] = (event) => { that.onOpen.emit(event); };
338
+ that.nativeElement.addEventListener('open', that.eventHandlers['openHandler']);
339
+ that.eventHandlers['openingHandler'] = (event) => { that.onOpening.emit(event); };
340
+ that.nativeElement.addEventListener('opening', that.eventHandlers['openingHandler']);
341
+ that.eventHandlers['closeHandler'] = (event) => { that.onClose.emit(event); };
342
+ that.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);
343
+ that.eventHandlers['closingHandler'] = (event) => { that.onClosing.emit(event); };
344
+ that.nativeElement.addEventListener('closing', that.eventHandlers['closingHandler']);
345
+ }
346
+ /** @description Remove event listeners. */
347
+ unlisten() {
348
+ const that = this;
349
+ if (that.eventHandlers['openHandler']) {
350
+ that.nativeElement.removeEventListener('open', that.eventHandlers['openHandler']);
351
+ }
352
+ if (that.eventHandlers['openingHandler']) {
353
+ that.nativeElement.removeEventListener('opening', that.eventHandlers['openingHandler']);
354
+ }
355
+ if (that.eventHandlers['closeHandler']) {
356
+ that.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);
357
+ }
358
+ if (that.eventHandlers['closingHandler']) {
359
+ that.nativeElement.removeEventListener('closing', that.eventHandlers['closingHandler']);
360
+ }
361
+ }
362
+ }
363
+ TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
364
+ TooltipComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TooltipComponent, selector: "smart-tooltip, [smart-tooltip]", inputs: { animation: "animation", align: "align", arrow: "arrow", arrowDirection: "arrowDirection", delay: "delay", disabled: "disabled", offset: "offset", locale: "locale", localizeFormatFunction: "localizeFormatFunction", messages: "messages", openMode: "openMode", position: "position", selector: "selector", theme: "theme", tooltipTemplate: "tooltipTemplate", unfocusable: "unfocusable", value: "value", visible: "visible" }, outputs: { onOpen: "onOpen", onOpening: "onOpening", onClose: "onClose", onClosing: "onClosing" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TooltipComponent, decorators: [{
366
+ type: Directive,
367
+ args: [{
368
+ selector: 'smart-tooltip, [smart-tooltip]'
369
+ }]
370
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { animation: [{
371
+ type: Input
372
+ }], align: [{
373
+ type: Input
374
+ }], arrow: [{
375
+ type: Input
376
+ }], arrowDirection: [{
377
+ type: Input
378
+ }], delay: [{
379
+ type: Input
380
+ }], disabled: [{
381
+ type: Input
382
+ }], offset: [{
383
+ type: Input
384
+ }], locale: [{
385
+ type: Input
386
+ }], localizeFormatFunction: [{
387
+ type: Input
388
+ }], messages: [{
389
+ type: Input
390
+ }], openMode: [{
391
+ type: Input
392
+ }], position: [{
393
+ type: Input
394
+ }], selector: [{
395
+ type: Input
396
+ }], theme: [{
397
+ type: Input
398
+ }], tooltipTemplate: [{
399
+ type: Input
400
+ }], unfocusable: [{
401
+ type: Input
402
+ }], value: [{
403
+ type: Input
404
+ }], visible: [{
405
+ type: Input
406
+ }], onOpen: [{
407
+ type: Output
408
+ }], onOpening: [{
409
+ type: Output
410
+ }], onClose: [{
411
+ type: Output
412
+ }], onClosing: [{
413
+ type: Output
414
+ }] } });
415
+
416
+ class TooltipModule {
417
+ }
418
+ TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
419
+ TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TooltipModule, declarations: [TooltipComponent], exports: [TooltipComponent] });
420
+ TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TooltipModule });
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TooltipModule, decorators: [{
422
+ type: NgModule,
423
+ args: [{
424
+ declarations: [TooltipComponent],
425
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
426
+ exports: [TooltipComponent]
427
+ }]
428
+ }] });
429
+
430
+ /**
431
+ * Generated bundle index. Do not edit.
432
+ */
433
+
434
+ export { Smart, TooltipComponent, TooltipModule };
435
+ //# sourceMappingURL=smart-webcomponents-angular-tooltip.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smart-webcomponents-angular-tooltip.mjs","sources":["../../tooltip/src/smart.element.ts","../../tooltip/src/smart.tooltip.ts","../../tooltip/src/smart.tooltip.module.ts","../../tooltip/src/smart-webcomponents-angular-tooltip.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { ElementRef, Input, Output, Directive, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n@Directive()\nexport class BaseElement {\n constructor(ref: ElementRef) {\n const that = this;\n this.nativeElement = ref.nativeElement as any;\n\n that.nativeElement.onAttached = () => {\n that.onAttach.emit(that.nativeElement);\n }\n\n that.nativeElement.onDetached = () => {\n that.onDetach.emit(that.nativeElement);\n }\n }\n\n @Output() onCreate: EventEmitter<any> = new EventEmitter();\n @Output() onReady: EventEmitter<any> = new EventEmitter();\n @Output() onAttach: EventEmitter<any> = new EventEmitter();\n @Output() onDetach: EventEmitter<any> = new EventEmitter();\n\n public nativeElement: any;\n\n public addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n this.nativeElement.addEventListener(type, listener, options);\n\t}\n\n\tpublic removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n\t\tthis.nativeElement.removeEventListener(type, listener, options);\n\t}\n\n\tpublic dispatchEvent(event: Event): boolean {\n\t\treturn this.nativeElement.dispatchEvent(event);\n\t}\n\n\tpublic blur(): void {\n\t\tthis.nativeElement.blur();\n\t}\n\n\tpublic click(): void {\n\t\tthis.nativeElement.click();\n\t}\n\n\tpublic focus(options?: FocusOptions): void {\n\t\tthis.nativeElement.focus(options);\n\t}\n\n/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n}\n\nexport const Smart: any = window.Smart;\n\n","import { Tooltip } from './../index';\nimport { Animation, TooltipArrowDirection, TooltipOpenMode, TooltipPosition, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, TooltipArrowDirection, TooltipOpenMode, TooltipPosition, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { Tooltip } from './../index';\n\n\n@Directive({\n\tselector: 'smart-tooltip, [smart-tooltip]'\n})\n\nexport class TooltipComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<Tooltip>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as Tooltip;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic nativeElement: Tooltip;\n\t/** @description Creates the component on demand.\n\t * @param properties An optional object of properties, which will be added to the template binded ones.\n\t */\n\tpublic createComponent(properties = {}): any {\n \tthis.nativeElement = <Tooltip>document.createElement('smart-tooltip');\n\t\tfor (let propertyName in properties) { \n \t\t\tthis.nativeElement[propertyName] = properties[propertyName];\n\t\t}\n\t\treturn this.nativeElement;\n\t}\n\t/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */\n\t@Input()\n\tget animation(): Animation {\n\t\treturn this.nativeElement ? this.nativeElement.animation : undefined;\n\t}\n\tset animation(value: Animation) {\n\t\tthis.nativeElement ? this.nativeElement.animation = value : undefined;\n\t}\n\n\t/** @description Determines how to align the tooltip. */\n\t@Input()\n\tget align(): string {\n\t\treturn this.nativeElement ? this.nativeElement.align : undefined;\n\t}\n\tset align(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.align = value : undefined;\n\t}\n\n\t/** @description Gets or sets whether a tooltip's arrow will be shown. */\n\t@Input()\n\tget arrow(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.arrow : undefined;\n\t}\n\tset arrow(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.arrow = value : undefined;\n\t}\n\n\t/** @description Sets the position of the arrow. */\n\t@Input()\n\tget arrowDirection(): TooltipArrowDirection {\n\t\treturn this.nativeElement ? this.nativeElement.arrowDirection : undefined;\n\t}\n\tset arrowDirection(value: TooltipArrowDirection) {\n\t\tthis.nativeElement ? this.nativeElement.arrowDirection = value : undefined;\n\t}\n\n\t/** @description Gets or sets whether a tooltip's arrow will be shown. */\n\t@Input()\n\tget delay(): number {\n\t\treturn this.nativeElement ? this.nativeElement.delay : undefined;\n\t}\n\tset delay(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.delay = value : undefined;\n\t}\n\n\t/** @description Enables or disables the tooltip. */\n\t@Input()\n\tget disabled(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disabled : undefined;\n\t}\n\tset disabled(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disabled = value : undefined;\n\t}\n\n\t/** @description Sets an offset by X and Y. */\n\t@Input()\n\tget offset(): number[] {\n\t\treturn this.nativeElement ? this.nativeElement.offset : undefined;\n\t}\n\tset offset(value: number[]) {\n\t\tthis.nativeElement ? this.nativeElement.offset = value : undefined;\n\t}\n\n\t/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback, related to localization module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property language. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the way of triggering the tooltip. */\n\t@Input()\n\tget openMode(): TooltipOpenMode {\n\t\treturn this.nativeElement ? this.nativeElement.openMode : undefined;\n\t}\n\tset openMode(value: TooltipOpenMode) {\n\t\tthis.nativeElement ? this.nativeElement.openMode = value : undefined;\n\t}\n\n\t/** @description Gets or sets the position of the tooltip. */\n\t@Input()\n\tget position(): TooltipPosition {\n\t\treturn this.nativeElement ? this.nativeElement.position : undefined;\n\t}\n\tset position(value: TooltipPosition) {\n\t\tthis.nativeElement ? this.nativeElement.position = value : undefined;\n\t}\n\n\t/** @description Sets the element which triggers the tooltip. */\n\t@Input()\n\tget selector(): string | HTMLElement {\n\t\treturn this.nativeElement ? this.nativeElement.selector : undefined;\n\t}\n\tset selector(value: string | HTMLElement) {\n\t\tthis.nativeElement ? this.nativeElement.selector = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n\n\t/** @description Sets custom tooltip template. */\n\t@Input()\n\tget tooltipTemplate(): any {\n\t\treturn this.nativeElement ? this.nativeElement.tooltipTemplate : undefined;\n\t}\n\tset tooltipTemplate(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.tooltipTemplate = value : undefined;\n\t}\n\n\t/** @description If is set to true, the element cannot be focused. */\n\t@Input()\n\tget unfocusable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.unfocusable : undefined;\n\t}\n\tset unfocusable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.unfocusable = value : undefined;\n\t}\n\n\t/** @description Sets or gets the widget's value. */\n\t@Input()\n\tget value(): string {\n\t\treturn this.nativeElement ? this.nativeElement.value : undefined;\n\t}\n\tset value(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.value = value : undefined;\n\t}\n\n\t/** @description Sets or gets the visibility of the tooltip. */\n\t@Input()\n\tget visible(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.visible : undefined;\n\t}\n\tset visible(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.visible = value : undefined;\n\t}\n\n\t/** @description This event is triggered when the tooltip is opened.\n\t* @param event. The custom event. \t*/\n\t@Output() onOpen: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered before the tooltip is opened. The event can be prevented via event.preventDefault().\n\t* @param event. The custom event. \t*/\n\t@Output() onOpening: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the tooltip is closed.\n\t* @param event. The custom event. \t*/\n\t@Output() onClose: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered before the tooltip is closed. The event can be prevented via event.preventDefault().\n\t* @param event. The custom event. \t*/\n\t@Output() onClosing: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Closes smart-tooltip. \n\t*/\n public close(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.close();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.close();\n });\n }\n }\n\n\t/** @description Opens smart-tooltip. \n\t*/\n public open(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.open();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.open();\n });\n }\n }\n\n\t/** @description Toggles smart-tooltip. \n\t*/\n public toggle(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.toggle();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.toggle();\n });\n }\n }\n\n\t/** @description Clears the content of the Tooltip. \n\t*/\n public clear(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.clear();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.clear();\n });\n }\n }\n\n\n\tget isRendered(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isRendered : false;\n\t}\n\n\tngOnInit() {\n\t}\n\n ngAfterViewInit() {\n const that = this;\n\n that.onCreate.emit(that.nativeElement);\n\n\t\tSmart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tthis.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });\n\t\tthis.listen();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.unlisten();\n\t}\n\n\tngOnChanges(changes: SimpleChanges) {\n\t\tif (this.nativeElement && this.nativeElement.isRendered) {\n\t\t\tfor (const propName in changes) {\n\t\t\t\tif (changes.hasOwnProperty(propName)) {\n\t\t\t\t\tthis.nativeElement[propName] = changes[propName].currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @description Add event listeners. */\n\tprivate listen(): void {\n const that = this;\n\t\tthat.eventHandlers['openHandler'] = (event: CustomEvent) => { that.onOpen.emit(event); }\n\t\tthat.nativeElement.addEventListener('open', that.eventHandlers['openHandler']);\n\n\t\tthat.eventHandlers['openingHandler'] = (event: CustomEvent) => { that.onOpening.emit(event); }\n\t\tthat.nativeElement.addEventListener('opening', that.eventHandlers['openingHandler']);\n\n\t\tthat.eventHandlers['closeHandler'] = (event: CustomEvent) => { that.onClose.emit(event); }\n\t\tthat.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);\n\n\t\tthat.eventHandlers['closingHandler'] = (event: CustomEvent) => { that.onClosing.emit(event); }\n\t\tthat.nativeElement.addEventListener('closing', that.eventHandlers['closingHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['openHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('open', that.eventHandlers['openHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['openingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('opening', that.eventHandlers['openingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['closeHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['closingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('closing', that.eventHandlers['closingHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { TooltipComponent } from './smart.tooltip';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [TooltipComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [TooltipComponent]\n})\n\nexport class TooltipModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAWa,WAAW;IACpB,YAAY,GAAe;QAajB,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;QAChD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAfvD,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC,aAAoB,CAAC;QAE9C,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;QAED,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;K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KAAK;gBAUF,KAAK;sBADR,KAAK;gBAUF,eAAe;sBADlB,KAAK;gBAUF,WAAW;sBADd,KAAK;gBAUF,KAAK;sBADR,KAAK;gBAUF,OAAO;sBADV,KAAK;gBAUI,MAAM;sBAAf,MAAM;gBAIG,SAAS;sBAAlB,MAAM;gBAIG,OAAO;sBAAhB,MAAM;gBAIG,SAAS;sBAAlB,MAAM;;;MCrMK,aAAa;;0GAAb,aAAa;2GAAb,aAAa,iBALP,gBAAgB,aAExB,gBAAgB;2GAGd,aAAa;2FAAb,aAAa;kBANzB,QAAQ;mBAAC;oBACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBACnC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC3B;;;ACTD;;;;;;"}
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Background_Complete" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
4
+ x="0px" y="0px" viewBox="0 0 66.3 52.9" style="enable-background:new 0 0 66.3 52.9;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#EBEBEB;}
7
+ .st1{fill:#F5F5F5;}
8
+ </style>
9
+ <g>
10
+ <g>
11
+ <g>
12
+
13
+ <rect x="6.8" y="-6.5" transform="matrix(2.345817e-03 -1 1 2.345817e-03 6.6612 59.5521)" class="st0" width="52.7" height="65.9"/>
14
+ </g>
15
+ </g>
16
+ <rect x="10.1" y="-4.2" transform="matrix(2.344414e-03 -1 1 2.344414e-03 6.6184 59.509)" class="st1" width="46" height="61.2"/>
17
+ <polygon class="st0" points="2.5,49.4 23.9,20.8 37.1,38.8 46.1,29.2 63.7,49.5 "/>
18
+ <g>
19
+ <g>
20
+ <path class="st0" d="M42.8,17.4c0,2.7-2.2,4.8-4.8,4.8c-2.7,0-4.8-2.2-4.8-4.8c0-2.7,2.2-4.8,4.8-4.8
21
+ C40.7,12.5,42.8,14.7,42.8,17.4z"/>
22
+ </g>
23
+ </g>
24
+ </g>
25
+ </svg>
Binary file
Binary file
@@ -0,0 +1,85 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
4
+ <defs>
5
+ <style>
6
+ #check-mark-component polyline{
7
+ fill:none;
8
+ stroke:#000;
9
+ stroke-width:2;
10
+ stroke-linejoin:round;
11
+ stroke-miterlimit:10;
12
+ }
13
+
14
+ #check-mark-circle-component rect{
15
+ fill:#000;
16
+ }
17
+
18
+ #check-mark-circle-component circle{
19
+ fill:#A9A9A9;
20
+ }
21
+
22
+ #numeric-text-box-arrow-component polygon{
23
+ fill:#808080;
24
+ }
25
+
26
+ #numeric-text-box-arrow-metro-component path,
27
+ #numeric-text-box-arrow-metro-90deg-component path{
28
+ fill:#808080;
29
+ }
30
+ </style>
31
+ </defs>
32
+
33
+ <!-- viewBox block -->
34
+ <view id="check-mark" viewBox="0 0 24 24" />
35
+ <view id="check-mark-indetermined" viewBox="0 24 24 24" />
36
+ <view id="check-mark-circle" viewBox="0 48 20 20" />
37
+ <view id="check-mark-empty" viewBox="0 68 1 1" />
38
+ <view id="power-button-on" viewBox="0 80 90 90" />
39
+ <view id="power-button-off" viewBox="0 170 90 90" />
40
+ <view id="numeric-text-box-arrow" viewBox="0 275 10 10" />
41
+ <view id="numeric-text-box-arrow-metro" viewBox="0 285 48 48" />
42
+ <view id="numeric-text-box-arrow-metro-90deg" viewBox="0 335 48 48" />
43
+
44
+ <!-- SVG components block -->
45
+ <!-- Checkbox svg components -->
46
+ <svg id="check-mark-component" x="0" y="0">
47
+ <polyline points="7,13 11,17 19,8 "/>
48
+ </svg>
49
+ <svg id="check-mark-indetermined-component" x="0" y="24">
50
+ <rect x="6" y="11" width="12" height="2" />
51
+ </svg>
52
+ <!-- Radio Button's svg components -->
53
+ <svg id="check-mark-circle-component" x="0" y="48">
54
+ <circle cx="10" cy="10" r="6"/>
55
+ </svg>
56
+ <svg id="check-mark-empty-component" x="0" y="68"></svg>
57
+
58
+ <!-- Power Button's svg elements -->
59
+ <svg id="power-button-on-component" x="16" y="95" style="enable-background:new 0 0 57 57;" fill="white" xml:space="preserve">
60
+ <g>
61
+ <path d="M28.5,29c1.104,0,2-0.896,2-2V2c0-1.104-0.896-2-2-2s-2,0.896-2,2v25C26.5,28.104,27.396,29,28.5,29z"></path>
62
+ <path d="M54.418,29.025c-0.007-0.091-0.013-0.183-0.021-0.274c-0.86-10.027-7.407-18.423-16.403-21.955 c-0.092-0.036-0.182-0.073-0.274-0.108c-0.584-0.221-1.177-0.422-1.78-0.602c-0.044-0.013-0.086-0.031-0.13-0.044 c-0.012-0.003-0.024,0-0.036-0.003C34.551,5.683,33.29,5.419,32,5.244v4.038C42.473,10.963,50.5,20.06,50.5,31 c0,12.131-9.869,22-22,22s-22-9.869-22-22c0-10.94,8.027-20.037,18.5-21.719V5.243c-1.278,0.174-2.529,0.435-3.742,0.786 c-0.012,0.003-0.025,0-0.037,0.003c-0.047,0.014-0.091,0.032-0.137,0.046c-0.604,0.179-1.198,0.379-1.783,0.601 c-0.09,0.034-0.178,0.071-0.268,0.106c-1.255,0.491-2.463,1.076-3.614,1.748c-0.01,0.006-0.02,0.011-0.031,0.017 C8.292,12.705,3.344,20.123,2.603,28.748c-0.008,0.091-0.014,0.183-0.021,0.275C2.533,29.676,2.5,30.334,2.5,31 c0,14.359,11.641,26,26,26s26-11.641,26-26C54.5,30.335,54.467,29.677,54.418,29.025z"></path>
63
+ </g>
64
+ </svg>
65
+ <svg id="power-button-off-component" x="16" y="185" style="enable-background:new 0 0 57 57;" fill="gray" xml:space="preserve">
66
+ <g>
67
+ <path d="M28.5,29c1.104,0,2-0.896,2-2V2c0-1.104-0.896-2-2-2s-2,0.896-2,2v25C26.5,28.104,27.396,29,28.5,29z"></path>
68
+ <path d="M54.418,29.025c-0.007-0.091-0.013-0.183-0.021-0.274c-0.86-10.027-7.407-18.423-16.403-21.955 c-0.092-0.036-0.182-0.073-0.274-0.108c-0.584-0.221-1.177-0.422-1.78-0.602c-0.044-0.013-0.086-0.031-0.13-0.044 c-0.012-0.003-0.024,0-0.036-0.003C34.551,5.683,33.29,5.419,32,5.244v4.038C42.473,10.963,50.5,20.06,50.5,31 c0,12.131-9.869,22-22,22s-22-9.869-22-22c0-10.94,8.027-20.037,18.5-21.719V5.243c-1.278,0.174-2.529,0.435-3.742,0.786 c-0.012,0.003-0.025,0-0.037,0.003c-0.047,0.014-0.091,0.032-0.137,0.046c-0.604,0.179-1.198,0.379-1.783,0.601 c-0.09,0.034-0.178,0.071-0.268,0.106c-1.255,0.491-2.463,1.076-3.614,1.748c-0.01,0.006-0.02,0.011-0.031,0.017 C8.292,12.705,3.344,20.123,2.603,28.748c-0.008,0.091-0.014,0.183-0.021,0.275C2.533,29.676,2.5,30.334,2.5,31 c0,14.359,11.641,26,26,26s26-11.641,26-26C54.5,30.335,54.467,29.677,54.418,29.025z"></path>
69
+ </g>
70
+ </svg>
71
+
72
+ <!-- Numeric text box svg elements -->
73
+ <!-- Numeric text box arrow -->
74
+ <svg id="numeric-text-box-arrow-component" x="0" y="275">
75
+ <polygon points="0,5 5,0 10,5"/>
76
+ </svg>
77
+ <!-- Numeric text box arrow metro theme -->
78
+ <svg id="numeric-text-box-arrow-metro-component" x="0" y="285">
79
+ <path d="M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"/>
80
+ </svg>
81
+ <svg id="numeric-text-box-arrow-metro-90deg-component" x="0" y="335">
82
+ <path d="M17.17 32.92l9.17-9.17-9.17-9.17 2.83-2.83 12 12-12 12z"/>
83
+ </svg>
84
+
85
+ </svg>