inviton-powerduck 0.0.63 → 0.0.65
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/common/resource-helper.ts +86 -0
- package/common/utils/date-localization-utils.ts +159 -159
- package/components/app/dynamic-component-container.tsx +1 -1
- package/components/app/root-dynamic-component-container.tsx +1 -1
- package/components/button/button.tsx +1 -1
- package/components/button/excel-upload-button.tsx +1 -1
- package/components/button/ladda-button.tsx +1 -1
- package/components/button/text-button.tsx +1 -1
- package/components/button/upload-button.tsx +1 -1
- package/components/card/card-body.tsx +1 -1
- package/components/card/card-header-with-options.tsx +1 -1
- package/components/card/card-header.tsx +1 -1
- package/components/card/card.tsx +1 -1
- package/components/collapse/index.tsx +1 -1
- package/components/contenteditable/index.tsx +1 -1
- package/components/context-menu/context-menu.tsx +1 -1
- package/components/counter/fetchdata.tsx +1 -1
- package/components/counter/index.tsx +1 -1
- package/components/datatable/col-vis-modal.tsx +1 -1
- package/components/datatable/export-excel-modal.tsx +1 -1
- package/components/datatable/filter-modal.tsx +1 -1
- package/components/dropdown/currency-code-picker.tsx +1 -1
- package/components/dropdown/image-dropdown.tsx +1 -1
- package/components/dropdown/language-picker.tsx +1 -1
- package/components/dropdown/timezone-picker.tsx +1 -1
- package/components/dropdown-button/dropdown-button-element.tsx +1 -1
- package/components/dropdown-button/dropdown-button-heading.tsx +1 -1
- package/components/dropdown-button/dropdown-button-item.tsx +1 -1
- package/components/dropdown-button/dropdown-button-separator.tsx +1 -1
- package/components/dropdown-button/language-dropdown-button.tsx +1 -1
- package/components/file-downloader/index.tsx +1 -1
- package/components/form/footer-buttons.tsx +1 -1
- package/components/form/form.tsx +1 -1
- package/components/form/separator.tsx +1 -1
- package/components/form/validation-result-displayer.tsx +1 -1
- package/components/fullcalendar/fullcalendar-draggable-event.tsx +1 -1
- package/components/fullcalendar/timegrid-calendar.tsx +1 -1
- package/components/google/maps.tsx +1 -1
- package/components/highlight-js/index.tsx +1 -1
- package/components/home/index.tsx +1 -1
- package/components/html-literal/html-literal.tsx +1 -1
- package/components/image-crop/image-cropping-modal.tsx +1 -1
- package/components/image-crop/upload-and-crop.tsx +1 -1
- package/components/input/checkbox-without-label.tsx +1 -1
- package/components/input/geo-json.tsx +1 -1
- package/components/input/gps-input.tsx +1 -1
- package/components/loading-indicator/index.tsx +1 -1
- package/components/modal/animation-error.tsx +1 -1
- package/components/modal/animation-success.tsx +1 -1
- package/components/modal/icon-question.tsx +1 -1
- package/components/modal/icon-warning.tsx +1 -1
- package/components/modal/modal-body.tsx +1 -1
- package/components/modal/modal-footer.tsx +1 -1
- package/components/modal-wrap/modal-section-wrapper.tsx +1 -1
- package/components/modal-wrap/modal-subtitle.tsx +1 -1
- package/components/progress-bar/index.tsx +1 -1
- package/components/rating/rating-displayer.tsx +1 -1
- package/components/rating/rating-picker.tsx +1 -1
- package/components/share/share-modal.tsx +1 -1
- package/components/share/share.tsx +1 -1
- package/components/sortable/sortable-container.tsx +1 -1
- package/components/sortable/sortable-item.tsx +1 -1
- package/components/spreadsheet/spreadsheet.tsx +1 -1
- package/components/summary-stats/summary-stats.tsx +1 -1
- package/components/swiper/swiper-gallery.tsx +1 -1
- package/components/swiper/swiper-slide.tsx +1 -1
- package/components/swiper/swiper.tsx +1 -1
- package/components/table-wrapper/table-wrapper.tsx +1 -1
- package/components/tilebox/tilebox.tsx +1 -1
- package/components/tooltip/index.tsx +1 -1
- package/components/transition/index.tsx +1 -1
- package/components/wizard/wizard-subtitle.tsx +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export default class ResourceHelper {
|
|
2
|
+
static loadResourcesDynamically(files: { src: string, type: 'js' | 'css', mode?: 'normal' | 'module' }[]): Promise<boolean> {
|
|
3
|
+
return new Promise((resolve) => {
|
|
4
|
+
const loadScript = (src: string, mode?: 'normal' | 'module', retries = 3) => {
|
|
5
|
+
return new Promise((resolve, reject) => {
|
|
6
|
+
const attemptLoad = (attempt) => {
|
|
7
|
+
const script = document.createElement("script");
|
|
8
|
+
script.src = src;
|
|
9
|
+
script.async = true;
|
|
10
|
+
|
|
11
|
+
if (mode == 'module') {
|
|
12
|
+
script.type = 'module';
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
script.onload = () => resolve(`Loaded: ${src}`);
|
|
16
|
+
script.onerror = () => {
|
|
17
|
+
if (attempt < retries) {
|
|
18
|
+
const delay = Math.floor(Math.random() * (1200 - 500 + 1)) + 500;
|
|
19
|
+
console.warn(`Retrying ${src} in ${delay}ms... (${attempt + 1}/${retries})`);
|
|
20
|
+
setTimeout(() => attemptLoad(attempt + 1), delay);
|
|
21
|
+
} else {
|
|
22
|
+
reject(new Error(`Failed to load: ${src}`));
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
document.head.appendChild(script);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
attemptLoad(0);
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const loadCSS = (href: string, retries = 3) => {
|
|
34
|
+
return new Promise((resolve, reject) => {
|
|
35
|
+
const attemptLoad = (attempt) => {
|
|
36
|
+
const link = document.createElement("link");
|
|
37
|
+
link.rel = "stylesheet";
|
|
38
|
+
link.href = href;
|
|
39
|
+
|
|
40
|
+
link.onload = () => resolve(`Loaded: ${href}`);
|
|
41
|
+
link.onerror = () => {
|
|
42
|
+
if (attempt < retries) {
|
|
43
|
+
const delay = Math.floor(Math.random() * (1200 - 500 + 1)) + 500;
|
|
44
|
+
console.warn(`Retrying ${href} in ${delay}ms... (${attempt + 1}/${retries})`);
|
|
45
|
+
setTimeout(() => attemptLoad(attempt + 1), delay);
|
|
46
|
+
} else {
|
|
47
|
+
reject(new Error(`Failed to load: ${href}`));
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
document.head.appendChild(link);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
attemptLoad(0);
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
Promise.all(files.map(file => {
|
|
59
|
+
if (file.type == 'js') {
|
|
60
|
+
return loadScript(file.src, file.mode).then(
|
|
61
|
+
result => ({ status: "fulfilled", value: result }),
|
|
62
|
+
error => ({ status: "rejected", reason: error })
|
|
63
|
+
);
|
|
64
|
+
} else if (file.type == 'css') {
|
|
65
|
+
return loadCSS(file.src).then(
|
|
66
|
+
result => ({ status: "fulfilled", value: result }),
|
|
67
|
+
error => ({ status: "rejected", reason: error })
|
|
68
|
+
);
|
|
69
|
+
} else {
|
|
70
|
+
return Promise.resolve({ status: "rejected", reason: new Error(`Unsupported file type: ${file}`) });
|
|
71
|
+
}
|
|
72
|
+
})).then(results => {
|
|
73
|
+
let allOk = true;
|
|
74
|
+
results.forEach(result => {
|
|
75
|
+
if (result.status != "fulfilled") {
|
|
76
|
+
console.error((result as any).reason);
|
|
77
|
+
allOk = false;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
resolve(allOk);
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
}
|
|
@@ -4,162 +4,162 @@ import { DateWrapper } from "../date-wrapper";
|
|
|
4
4
|
import { capitalize } from "./capitalize-string";
|
|
5
5
|
|
|
6
6
|
export default class DateLocalizationUtils {
|
|
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
|
-
}
|
|
7
|
+
private static readonly DATE_FORMAT_FOR_RANGE_PICKER = (function () {
|
|
8
|
+
const dummyDate = new Date(Date.UTC(2022, 11, 20));
|
|
9
|
+
const formatted = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
10
|
+
day: '2-digit',
|
|
11
|
+
month: '2-digit',
|
|
12
|
+
year: "numeric",
|
|
13
|
+
timeZone: 'UTC'
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
return formatted.replace('20', 'DD').replace('12', 'MM').replace('2022', 'YYYY');
|
|
17
|
+
})();
|
|
18
|
+
|
|
19
|
+
private static readonly MONTH_IS_FIRST: boolean = (function () {
|
|
20
|
+
const dummyDate = new Date(Date.UTC(2024, 9, 20));
|
|
21
|
+
try {
|
|
22
|
+
const formatted = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
23
|
+
day: '2-digit',
|
|
24
|
+
month: '2-digit',
|
|
25
|
+
timeZone: 'UTC'
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const monthIndex = formatted.indexOf('10');
|
|
29
|
+
const dayIndex = formatted.indexOf('20');
|
|
30
|
+
return monthIndex < dayIndex;
|
|
31
|
+
|
|
32
|
+
} catch (error) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
})();
|
|
36
|
+
|
|
37
|
+
private static readonly PATTERN_WITHOUT_YEAR: string = (function () {
|
|
38
|
+
const dummyDate = new Date(Date.UTC(2024, 9, 30));
|
|
39
|
+
try {
|
|
40
|
+
const monthName = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
41
|
+
day: '2-digit',
|
|
42
|
+
month: 'long',
|
|
43
|
+
timeZone: 'UTC'
|
|
44
|
+
}).split('30').join('').split('.').join('').trim();
|
|
45
|
+
|
|
46
|
+
const formatted = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
47
|
+
day: '2-digit',
|
|
48
|
+
month: 'long',
|
|
49
|
+
timeZone: 'UTC'
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
return formatted.replace(monthName, '{{month}}').replace('30', '{{day}}');
|
|
53
|
+
|
|
54
|
+
} catch (error) {
|
|
55
|
+
return '{{day}}. {{month}}'
|
|
56
|
+
}
|
|
57
|
+
})();
|
|
58
|
+
|
|
59
|
+
private static readonly PATTERN_WITH_YEAR: string = (function () {
|
|
60
|
+
const dummyDate = new Date(Date.UTC(2024, 9, 30));
|
|
61
|
+
try {
|
|
62
|
+
const monthName = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
63
|
+
day: '2-digit',
|
|
64
|
+
month: 'long',
|
|
65
|
+
timeZone: 'UTC'
|
|
66
|
+
}).split('30').join('').split('.').join('').trim();
|
|
67
|
+
|
|
68
|
+
const formatted = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
69
|
+
day: '2-digit',
|
|
70
|
+
year: 'numeric',
|
|
71
|
+
month: 'long',
|
|
72
|
+
timeZone: 'UTC'
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
return formatted.replace(monthName, '{{month}}').replace('30', '{{day}}').replace('2024', '{{year}}');
|
|
76
|
+
|
|
77
|
+
} catch (error) {
|
|
78
|
+
return '{{day}}. {{month}}'
|
|
79
|
+
}
|
|
80
|
+
})();
|
|
81
|
+
|
|
82
|
+
private static readonly PATTERN_PLACEHOLDERED: string = (function () {
|
|
83
|
+
const dummyDate = new Date(Date.UTC(2024, 9, 30));
|
|
84
|
+
try {
|
|
85
|
+
const monthName = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
86
|
+
month: 'long',
|
|
87
|
+
timeZone: 'UTC'
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
const formatted = dummyDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
91
|
+
year: 'numeric',
|
|
92
|
+
month: 'long',
|
|
93
|
+
timeZone: 'UTC'
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
return formatted.replace(monthName, '{{date}}').replace('30', '{{day}}').replace('2024', '{{year}}');
|
|
97
|
+
|
|
98
|
+
} catch (error) {
|
|
99
|
+
return '{{day}}. {{month}}'
|
|
100
|
+
}
|
|
101
|
+
})();
|
|
102
|
+
|
|
103
|
+
static formatRange = (from: DateWrapper, to: DateWrapper): string => {
|
|
104
|
+
if (from.getMonth() == to.getMonth()) {
|
|
105
|
+
const convertDate = new Date(Date.UTC(from.getFullYear(), from.getMonth(), from.getDate()));
|
|
106
|
+
convertDate.setDate(28);
|
|
107
|
+
|
|
108
|
+
const monthName = convertDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
109
|
+
day: '2-digit',
|
|
110
|
+
month: 'long',
|
|
111
|
+
timeZone: 'UTC'
|
|
112
|
+
}).split('28').join('').split('.').join('').trim();
|
|
113
|
+
|
|
114
|
+
return this.PATTERN_WITH_YEAR
|
|
115
|
+
.replace('{{day}}', `${from.getDate()} - ${to.getDate()}`)
|
|
116
|
+
.replace('{{month}}', monthName)
|
|
117
|
+
.replace('{{year}}', from.getFullYear().toString());
|
|
118
|
+
} else if (from.getFullYear() == to.getFullYear()) {
|
|
119
|
+
const fromDate = this.getFormatted(from, this.PATTERN_WITHOUT_YEAR, 'numeric', 'short');
|
|
120
|
+
const toDate = this.getFormatted(to, this.PATTERN_WITHOUT_YEAR, 'numeric', 'short');
|
|
121
|
+
const rangeVal = `${fromDate} - ${toDate}`
|
|
122
|
+
return this.PATTERN_PLACEHOLDERED.replace('{{date}}', rangeVal).replace('{{year}}', to.getFullYear().toString());
|
|
123
|
+
} else {
|
|
124
|
+
const fromVal = this.getFormatted(from, this.PATTERN_WITH_YEAR, 'numeric', 'short', 'numeric');
|
|
125
|
+
const toVal = this.getFormatted(to, this.PATTERN_WITH_YEAR, 'numeric', 'short', 'numeric');
|
|
126
|
+
return `${fromVal} - ${toVal}`
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
static getFormatedDateWithoutTime = (dte: DateWrapper, showYear: boolean, day: "numeric" | "2-digit" | undefined, month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | undefined, year?: "numeric" | "2-digit" | undefined) => {
|
|
131
|
+
if (showYear) {
|
|
132
|
+
return this.getFormatted(dte, this.PATTERN_WITH_YEAR, day, month, year);
|
|
133
|
+
} else {
|
|
134
|
+
return this.getFormatted(dte, this.PATTERN_WITHOUT_YEAR, day, month);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
private static getFormatted = (dte: DateWrapper, pattern: string, day: "numeric" | "2-digit" | undefined, month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | undefined, year?: "numeric" | "2-digit" | undefined): string => {
|
|
139
|
+
let monthVal: string;
|
|
140
|
+
try {
|
|
141
|
+
monthVal = capitalize(dte.innerDate.toLocaleDateString(PowerduckState.getCurrentLanguageCode(), {
|
|
142
|
+
month: month,
|
|
143
|
+
timeZone: 'UTC'
|
|
144
|
+
}));
|
|
145
|
+
} catch (error) {
|
|
146
|
+
monthVal = (dte.getMonth() + 1).toString();
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
let dayVal: string;
|
|
150
|
+
if (day == '2-digit') {
|
|
151
|
+
dayVal = dte.getDate().toString();
|
|
152
|
+
if (dayVal.length == 1) {
|
|
153
|
+
dayVal = '0' + dayVal
|
|
154
|
+
}
|
|
155
|
+
} else {
|
|
156
|
+
dayVal = dte.getDate().toString();
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (year == null) {
|
|
160
|
+
return pattern.replace('{{day}}', dayVal).replace('{{month}}', monthVal);
|
|
161
|
+
} else {
|
|
162
|
+
return pattern.replace('{{day}}', dayVal).replace('{{month}}', monthVal).replace('{{year}}', dte.getFullYear().toString());
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -85,5 +85,5 @@ class DynamicComponentContainerComponent extends Vue implements IDynamicComponen
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
const DynamicComponentContainer = toNative(DynamicComponentContainerComponent)
|
|
88
|
+
const DynamicComponentContainer = toNative(DynamicComponentContainerComponent)
|
|
89
89
|
export default DynamicComponentContainer
|
|
@@ -30,5 +30,5 @@ class RootDynamicComponentContainerComponent extends Vue implements IDynamicComp
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
const RootDynamicComponentContainer = toNative(RootDynamicComponentContainerComponent)
|
|
33
|
+
const RootDynamicComponentContainer = toNative(RootDynamicComponentContainerComponent)
|
|
34
34
|
export default RootDynamicComponentContainer
|
|
@@ -54,5 +54,5 @@ class CardHeaderWithOptionsComponent extends TsxComponent<CardHeaderWithOptionsA
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
const CardHeaderWithOptions = toNative(CardHeaderWithOptionsComponent)
|
|
57
|
+
const CardHeaderWithOptions = toNative(CardHeaderWithOptionsComponent)
|
|
58
58
|
export default CardHeaderWithOptions
|
package/components/card/card.tsx
CHANGED
|
@@ -196,5 +196,5 @@ class TableExportModalComponent extends TsxComponent<TableExportModalBindingArgs
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
const TableExportModal = toNative(TableExportModalComponent)
|
|
199
|
+
const TableExportModal = toNative(TableExportModalComponent)
|
|
200
200
|
export default TableExportModal
|
|
@@ -57,5 +57,5 @@ class CurrencyCodePickerComponent extends TsxComponent<CurrencyCodePickerArgs> i
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
const CurrencyCodePicker = toNative(CurrencyCodePickerComponent)
|
|
60
|
+
const CurrencyCodePicker = toNative(CurrencyCodePickerComponent)
|
|
61
61
|
export default CurrencyCodePicker
|
|
@@ -75,5 +75,5 @@ class DropdownButtonElementComponent extends TsxComponent<DropdownButtonElementA
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
const DropdownButtonElement = toNative(DropdownButtonElementComponent)
|
|
78
|
+
const DropdownButtonElement = toNative(DropdownButtonElementComponent)
|
|
79
79
|
export default DropdownButtonElement
|
|
@@ -13,5 +13,5 @@ class DropdownButtonHeadingComponent extends TsxComponent<DropdownButtonHeadingA
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
const DropdownButtonHeading = toNative(DropdownButtonHeadingComponent)
|
|
16
|
+
const DropdownButtonHeading = toNative(DropdownButtonHeadingComponent)
|
|
17
17
|
export default DropdownButtonHeading
|
|
@@ -92,5 +92,5 @@ class DropdownButtonItemComponent extends TsxComponent<DropdownButtonItemArgs> i
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const DropdownButtonItem = toNative(DropdownButtonItemComponent)
|
|
95
|
+
const DropdownButtonItem = toNative(DropdownButtonItemComponent)
|
|
96
96
|
export default DropdownButtonItem
|
|
@@ -9,5 +9,5 @@ class DropdownButtonSeparatorComponent extends TsxComponent<DropdownButtonItemAr
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
const DropdownButtonSeparator = toNative(DropdownButtonSeparatorComponent)
|
|
12
|
+
const DropdownButtonSeparator = toNative(DropdownButtonSeparatorComponent)
|
|
13
13
|
export default DropdownButtonSeparator
|
|
@@ -50,5 +50,5 @@ class LanguageDropdownButtonComponent extends TsxComponent<LanguageDropdownButto
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
const LanguageDropdownButton = toNative(LanguageDropdownButtonComponent)
|
|
53
|
+
const LanguageDropdownButton = toNative(LanguageDropdownButtonComponent)
|
|
54
54
|
export default LanguageDropdownButton
|
|
@@ -262,5 +262,5 @@ class FileDownloadDialogComponent extends TsxComponent<FileDownloadDialogBinding
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
const FileDownloadDialog = toNative(FileDownloadDialogComponent)
|
|
265
|
+
const FileDownloadDialog = toNative(FileDownloadDialogComponent)
|
|
266
266
|
export default FileDownloadDialog
|
package/components/form/form.tsx
CHANGED
|
@@ -32,5 +32,5 @@ class ValidationResultDisplayerComponent extends TsxComponent<ValidationResultDi
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
const ValidationResultDisplayer = toNative(ValidationResultDisplayerComponent)
|
|
35
|
+
const ValidationResultDisplayer = toNative(ValidationResultDisplayerComponent)
|
|
36
36
|
export default ValidationResultDisplayer
|
|
@@ -82,5 +82,5 @@ class FullCalendarDraggableEventComponent extends TsxComponent<FullCalendarDragg
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
const FullCalendarDraggableEvent = toNative(FullCalendarDraggableEventComponent)
|
|
85
|
+
const FullCalendarDraggableEvent = toNative(FullCalendarDraggableEventComponent)
|
|
86
86
|
export default FullCalendarDraggableEvent
|
|
@@ -496,5 +496,5 @@ class TimegridCalendarComponent extends TsxComponent<TimegridCalendarArgs> imple
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
const TimegridCalendar = toNative(TimegridCalendarComponent)
|
|
499
|
+
const TimegridCalendar = toNative(TimegridCalendarComponent)
|
|
500
500
|
export default TimegridCalendar
|
|
@@ -175,5 +175,5 @@ class UploadImageAndCropButtonComponent extends TsxComponent<UploadImageAndCropB
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
const UploadImageAndCropButton = toNative(UploadImageAndCropButtonComponent)
|
|
178
|
+
const UploadImageAndCropButton = toNative(UploadImageAndCropButtonComponent)
|
|
179
179
|
export default UploadImageAndCropButton
|
|
@@ -62,5 +62,5 @@ class CheckBoxWithoutLabelComponent extends TsxComponent<CheckBoxArgs> implement
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
const CheckBoxWithoutLabel = toNative(CheckBoxWithoutLabelComponent)
|
|
65
|
+
const CheckBoxWithoutLabel = toNative(CheckBoxWithoutLabelComponent)
|
|
66
66
|
export default CheckBoxWithoutLabel
|
|
@@ -25,5 +25,5 @@ class ModalAnimationErrorComponent extends TsxComponent<ModalAnimationErrorArgs>
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
const ModalAnimationError = toNative(ModalAnimationErrorComponent)
|
|
28
|
+
const ModalAnimationError = toNative(ModalAnimationErrorComponent)
|
|
29
29
|
export default ModalAnimationError
|
|
@@ -27,5 +27,5 @@ class ModalAnimationSuccessComponent extends TsxComponent<ModalAnimationSuccessA
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
const ModalAnimationSuccess = toNative(ModalAnimationSuccessComponent)
|
|
30
|
+
const ModalAnimationSuccess = toNative(ModalAnimationSuccessComponent)
|
|
31
31
|
export default ModalAnimationSuccess
|
|
@@ -61,5 +61,5 @@ class ModalSectionWrapperComponent extends TsxComponent<ModalSectionWrapperArgs>
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
const ModalSectionWrapper = toNative(ModalSectionWrapperComponent)
|
|
64
|
+
const ModalSectionWrapper = toNative(ModalSectionWrapperComponent)
|
|
65
65
|
export default ModalSectionWrapper
|