@syncfusion/ej2-base 19.3.56 → 19.4.48
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/.github/PULL_REQUEST_TEMPLATE/Bug.md +60 -0
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +42 -0
- package/CHANGELOG.md +3 -9
- package/README.md +3 -3
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +45 -35
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +45 -35
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +73 -7
- package/src/animation.js +1 -1
- package/src/component.d.ts +1 -0
- package/src/component.js +5 -0
- package/src/draggable-model.d.ts +1 -0
- package/src/draggable.d.ts +4 -2
- package/src/draggable.js +38 -33
- package/src/intl/intl-base.js +1 -1
- package/styles/_fluent-dark-definition.scss +10 -0
- package/styles/_fluent-definition.scss +10 -0
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/definition/_bootstrap-dark.scss +1 -0
- package/styles/definition/_bootstrap.scss +1 -0
- package/styles/definition/_bootstrap4.scss +1 -0
- package/styles/definition/_bootstrap5-dark.scss +1 -0
- package/styles/definition/_bootstrap5.scss +2 -1
- package/styles/definition/_fabric-dark.scss +1 -0
- package/styles/definition/_fabric.scss +1 -0
- package/styles/definition/_fluent-dark.scss +408 -0
- package/styles/definition/_fluent.scss +410 -0
- package/styles/definition/_highcontrast-light.scss +1 -0
- package/styles/definition/_highcontrast.scss +1 -0
- package/styles/definition/_material-dark.scss +1 -0
- package/styles/definition/_material.scss +1 -0
- package/styles/definition/_tailwind-dark.scss +1 -0
- package/styles/definition/_tailwind.scss +1 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/tailwind-dark.css +1 -629
- package/styles/tailwind.css +1 -629
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.48
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-base@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-base@19.4.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-5sUnTFrcn0b0iV+QptrmAC8rLqhp128hAJL46jKHHNSww18bBBeyKT6Z0pEPHCtmRd3AgCkttZwFkCzc+J3T+w==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-base",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,17 +19,39 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
21
|
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-barcode-generator",
|
|
22
23
|
"/@syncfusion/ej2-angular-base",
|
|
24
|
+
"/@syncfusion/ej2-angular-buttons",
|
|
23
25
|
"/@syncfusion/ej2-angular-calendars",
|
|
26
|
+
"/@syncfusion/ej2-angular-charts",
|
|
27
|
+
"/@syncfusion/ej2-angular-circulargauge",
|
|
24
28
|
"/@syncfusion/ej2-angular-diagrams",
|
|
25
29
|
"/@syncfusion/ej2-angular-documenteditor",
|
|
26
30
|
"/@syncfusion/ej2-angular-dropdowns",
|
|
31
|
+
"/@syncfusion/ej2-angular-filemanager",
|
|
27
32
|
"/@syncfusion/ej2-angular-gantt",
|
|
28
33
|
"/@syncfusion/ej2-angular-grids",
|
|
34
|
+
"/@syncfusion/ej2-angular-heatmap",
|
|
29
35
|
"/@syncfusion/ej2-angular-inplace-editor",
|
|
36
|
+
"/@syncfusion/ej2-angular-inputs",
|
|
37
|
+
"/@syncfusion/ej2-angular-kanban",
|
|
38
|
+
"/@syncfusion/ej2-angular-layouts",
|
|
39
|
+
"/@syncfusion/ej2-angular-lineargauge",
|
|
40
|
+
"/@syncfusion/ej2-angular-lists",
|
|
41
|
+
"/@syncfusion/ej2-angular-maps",
|
|
30
42
|
"/@syncfusion/ej2-angular-navigations",
|
|
43
|
+
"/@syncfusion/ej2-angular-notifications",
|
|
31
44
|
"/@syncfusion/ej2-angular-pdfviewer",
|
|
45
|
+
"/@syncfusion/ej2-angular-pivotview",
|
|
46
|
+
"/@syncfusion/ej2-angular-popups",
|
|
47
|
+
"/@syncfusion/ej2-angular-progressbar",
|
|
48
|
+
"/@syncfusion/ej2-angular-querybuilder",
|
|
49
|
+
"/@syncfusion/ej2-angular-richtexteditor",
|
|
50
|
+
"/@syncfusion/ej2-angular-schedule",
|
|
51
|
+
"/@syncfusion/ej2-angular-splitbuttons",
|
|
32
52
|
"/@syncfusion/ej2-angular-spreadsheet",
|
|
53
|
+
"/@syncfusion/ej2-angular-treegrid",
|
|
54
|
+
"/@syncfusion/ej2-angular-treemap",
|
|
33
55
|
"/@syncfusion/ej2-barcode-generator",
|
|
34
56
|
"/@syncfusion/ej2-buttons",
|
|
35
57
|
"/@syncfusion/ej2-calendars",
|
|
@@ -59,17 +81,39 @@
|
|
|
59
81
|
"/@syncfusion/ej2-popups",
|
|
60
82
|
"/@syncfusion/ej2-progressbar",
|
|
61
83
|
"/@syncfusion/ej2-querybuilder",
|
|
84
|
+
"/@syncfusion/ej2-react-barcode-generator",
|
|
62
85
|
"/@syncfusion/ej2-react-base",
|
|
86
|
+
"/@syncfusion/ej2-react-buttons",
|
|
63
87
|
"/@syncfusion/ej2-react-calendars",
|
|
88
|
+
"/@syncfusion/ej2-react-charts",
|
|
89
|
+
"/@syncfusion/ej2-react-circulargauge",
|
|
64
90
|
"/@syncfusion/ej2-react-diagrams",
|
|
65
91
|
"/@syncfusion/ej2-react-documenteditor",
|
|
66
92
|
"/@syncfusion/ej2-react-dropdowns",
|
|
93
|
+
"/@syncfusion/ej2-react-filemanager",
|
|
67
94
|
"/@syncfusion/ej2-react-gantt",
|
|
68
95
|
"/@syncfusion/ej2-react-grids",
|
|
96
|
+
"/@syncfusion/ej2-react-heatmap",
|
|
69
97
|
"/@syncfusion/ej2-react-inplace-editor",
|
|
98
|
+
"/@syncfusion/ej2-react-inputs",
|
|
99
|
+
"/@syncfusion/ej2-react-kanban",
|
|
100
|
+
"/@syncfusion/ej2-react-layouts",
|
|
101
|
+
"/@syncfusion/ej2-react-lineargauge",
|
|
102
|
+
"/@syncfusion/ej2-react-lists",
|
|
103
|
+
"/@syncfusion/ej2-react-maps",
|
|
70
104
|
"/@syncfusion/ej2-react-navigations",
|
|
105
|
+
"/@syncfusion/ej2-react-notifications",
|
|
71
106
|
"/@syncfusion/ej2-react-pdfviewer",
|
|
107
|
+
"/@syncfusion/ej2-react-pivotview",
|
|
108
|
+
"/@syncfusion/ej2-react-popups",
|
|
109
|
+
"/@syncfusion/ej2-react-progressbar",
|
|
110
|
+
"/@syncfusion/ej2-react-querybuilder",
|
|
111
|
+
"/@syncfusion/ej2-react-richtexteditor",
|
|
112
|
+
"/@syncfusion/ej2-react-schedule",
|
|
113
|
+
"/@syncfusion/ej2-react-splitbuttons",
|
|
72
114
|
"/@syncfusion/ej2-react-spreadsheet",
|
|
115
|
+
"/@syncfusion/ej2-react-treegrid",
|
|
116
|
+
"/@syncfusion/ej2-react-treemap",
|
|
73
117
|
"/@syncfusion/ej2-richtexteditor",
|
|
74
118
|
"/@syncfusion/ej2-schedule",
|
|
75
119
|
"/@syncfusion/ej2-splitbuttons",
|
|
@@ -77,20 +121,42 @@
|
|
|
77
121
|
"/@syncfusion/ej2-svg-base",
|
|
78
122
|
"/@syncfusion/ej2-treegrid",
|
|
79
123
|
"/@syncfusion/ej2-treemap",
|
|
124
|
+
"/@syncfusion/ej2-vue-barcode-generator",
|
|
80
125
|
"/@syncfusion/ej2-vue-base",
|
|
126
|
+
"/@syncfusion/ej2-vue-buttons",
|
|
81
127
|
"/@syncfusion/ej2-vue-calendars",
|
|
128
|
+
"/@syncfusion/ej2-vue-charts",
|
|
129
|
+
"/@syncfusion/ej2-vue-circulargauge",
|
|
82
130
|
"/@syncfusion/ej2-vue-diagrams",
|
|
83
131
|
"/@syncfusion/ej2-vue-documenteditor",
|
|
84
132
|
"/@syncfusion/ej2-vue-dropdowns",
|
|
133
|
+
"/@syncfusion/ej2-vue-filemanager",
|
|
85
134
|
"/@syncfusion/ej2-vue-gantt",
|
|
86
135
|
"/@syncfusion/ej2-vue-grids",
|
|
136
|
+
"/@syncfusion/ej2-vue-heatmap",
|
|
87
137
|
"/@syncfusion/ej2-vue-inplace-editor",
|
|
138
|
+
"/@syncfusion/ej2-vue-inputs",
|
|
139
|
+
"/@syncfusion/ej2-vue-kanban",
|
|
140
|
+
"/@syncfusion/ej2-vue-layouts",
|
|
141
|
+
"/@syncfusion/ej2-vue-lineargauge",
|
|
142
|
+
"/@syncfusion/ej2-vue-lists",
|
|
143
|
+
"/@syncfusion/ej2-vue-maps",
|
|
88
144
|
"/@syncfusion/ej2-vue-navigations",
|
|
145
|
+
"/@syncfusion/ej2-vue-notifications",
|
|
89
146
|
"/@syncfusion/ej2-vue-pdfviewer",
|
|
90
|
-
"/@syncfusion/ej2-vue-
|
|
147
|
+
"/@syncfusion/ej2-vue-pivotview",
|
|
148
|
+
"/@syncfusion/ej2-vue-popups",
|
|
149
|
+
"/@syncfusion/ej2-vue-progressbar",
|
|
150
|
+
"/@syncfusion/ej2-vue-querybuilder",
|
|
151
|
+
"/@syncfusion/ej2-vue-richtexteditor",
|
|
152
|
+
"/@syncfusion/ej2-vue-schedule",
|
|
153
|
+
"/@syncfusion/ej2-vue-splitbuttons",
|
|
154
|
+
"/@syncfusion/ej2-vue-spreadsheet",
|
|
155
|
+
"/@syncfusion/ej2-vue-treegrid",
|
|
156
|
+
"/@syncfusion/ej2-vue-treemap"
|
|
91
157
|
],
|
|
92
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-19.
|
|
93
|
-
"_shasum": "
|
|
158
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-19.4.42.tgz",
|
|
159
|
+
"_shasum": "3673e43b227409ef85f396ec756b7f9b0654ee29",
|
|
94
160
|
"_spec": "@syncfusion/ej2-base@*",
|
|
95
161
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
96
162
|
"author": {
|
|
@@ -101,7 +167,7 @@
|
|
|
101
167
|
},
|
|
102
168
|
"bundleDependencies": false,
|
|
103
169
|
"dependencies": {
|
|
104
|
-
"@syncfusion/ej2-icons": "~19.
|
|
170
|
+
"@syncfusion/ej2-icons": "~19.4.48"
|
|
105
171
|
},
|
|
106
172
|
"deprecated": false,
|
|
107
173
|
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
@@ -142,6 +208,6 @@
|
|
|
142
208
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
143
209
|
},
|
|
144
210
|
"typings": "index.d.ts",
|
|
145
|
-
"version": "19.
|
|
211
|
+
"version": "19.4.48",
|
|
146
212
|
"sideEffects": true
|
|
147
213
|
}
|
package/src/animation.js
CHANGED
|
@@ -271,7 +271,7 @@ export { Animation };
|
|
|
271
271
|
export function rippleEffect(element, rippleOptions, done) {
|
|
272
272
|
var rippleModel = getRippleModel(rippleOptions);
|
|
273
273
|
if (rippleModel.rippleFlag === false || (rippleModel.rippleFlag === undefined && !isRippleEnabled)) {
|
|
274
|
-
return
|
|
274
|
+
return (function () { });
|
|
275
275
|
}
|
|
276
276
|
element.setAttribute('data-ripple', 'true');
|
|
277
277
|
EventHandler.add(element, 'mousedown', rippleHandler, { parent: element, rippleOptions: rippleModel });
|
package/src/component.d.ts
CHANGED
|
@@ -172,6 +172,7 @@ export declare abstract class Component<ElementType extends HTMLElement> extends
|
|
|
172
172
|
private detectFunction;
|
|
173
173
|
private mergePersistData;
|
|
174
174
|
private setPersistData;
|
|
175
|
+
protected appendReactElement(element: any, container: HTMLElement): void;
|
|
175
176
|
protected renderReactTemplates(): void;
|
|
176
177
|
protected clearTemplate(templateName?: string[], index?: any): void;
|
|
177
178
|
private getUniqueID;
|
package/src/component.js
CHANGED
|
@@ -358,6 +358,11 @@ var Component = /** @class */ (function (_super) {
|
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
//tslint:disable-next-line
|
|
361
|
+
Component.prototype.appendReactElement = function (element, container) {
|
|
362
|
+
//No Code
|
|
363
|
+
};
|
|
364
|
+
;
|
|
365
|
+
//tslint:disable-next-line
|
|
361
366
|
Component.prototype.renderReactTemplates = function () {
|
|
362
367
|
//No Code
|
|
363
368
|
};
|
package/src/draggable-model.d.ts
CHANGED
package/src/draggable.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ export declare class Draggable extends Base<HTMLElement> implements INotifyPrope
|
|
|
189
189
|
isPreventSelect: boolean;
|
|
190
190
|
/**
|
|
191
191
|
* Specifies the callback function for drag event.
|
|
192
|
+
|
|
192
193
|
* @event
|
|
193
194
|
*/
|
|
194
195
|
drag: Function;
|
|
@@ -273,8 +274,8 @@ export declare class Draggable extends Base<HTMLElement> implements INotifyPrope
|
|
|
273
274
|
*/
|
|
274
275
|
tapHoldThreshold: number;
|
|
275
276
|
/**
|
|
276
|
-
|
|
277
|
-
|
|
277
|
+
* @private
|
|
278
|
+
*/
|
|
278
279
|
enableScrollHandler: boolean;
|
|
279
280
|
private target;
|
|
280
281
|
/**
|
|
@@ -298,6 +299,7 @@ export declare class Draggable extends Base<HTMLElement> implements INotifyPrope
|
|
|
298
299
|
private prevLeft;
|
|
299
300
|
private prevTop;
|
|
300
301
|
private dragProcessStarted;
|
|
302
|
+
private eleTop;
|
|
301
303
|
private tapHoldTimer;
|
|
302
304
|
private dragElePosition;
|
|
303
305
|
currentStateTarget: any;
|
package/src/draggable.js
CHANGED
|
@@ -75,6 +75,7 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
75
75
|
_this.prevTop = 0;
|
|
76
76
|
_this.dragProcessStarted = false;
|
|
77
77
|
/* tslint:disable no-any */
|
|
78
|
+
_this.eleTop = 0;
|
|
78
79
|
_this.tapHoldTimer = 0;
|
|
79
80
|
_this.externalInitialize = false;
|
|
80
81
|
_this.diffY = 0;
|
|
@@ -298,6 +299,11 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
298
299
|
if (this.clone && marginTop !== 0) {
|
|
299
300
|
pos.top += marginTop;
|
|
300
301
|
}
|
|
302
|
+
this.eleTop = !isNaN(parseFloat(styles.top)) ? parseFloat(styles.top) - this.offset.top : 0;
|
|
303
|
+
/* istanbul ignore next */
|
|
304
|
+
// if (this.eleTop > 0) {
|
|
305
|
+
// pos.top += this.eleTop;
|
|
306
|
+
// }
|
|
301
307
|
if (this.enableScrollHandler && !this.clone) {
|
|
302
308
|
pos.top -= this.parentScrollY;
|
|
303
309
|
pos.left -= this.parentScrollX;
|
|
@@ -409,7 +415,6 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
409
415
|
var dLeft = this.position.left - this.diffX;
|
|
410
416
|
var dTop = this.position.top - this.diffY;
|
|
411
417
|
var styles = getComputedStyle(helperElement);
|
|
412
|
-
var marginTop = parseFloat(styles.marginTop);
|
|
413
418
|
if (this.dragArea) {
|
|
414
419
|
if (this.pageX !== pagex || this.skipDistanceCheck) {
|
|
415
420
|
var helperWidth = helperElement.offsetWidth + (parseFloat(styles.marginLeft)
|
|
@@ -458,41 +463,46 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
458
463
|
this.dragLimit.top = this.clone ? this.dragLimit.top : 0;
|
|
459
464
|
draEleTop = (top - iTop) < 0 ? this.dragLimit.top : (top - iTop);
|
|
460
465
|
draEleLeft = (left - iLeft) < 0 ? this.dragElePosition.left : (left - iLeft);
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
466
|
+
}
|
|
467
|
+
else {
|
|
468
|
+
draEleTop = top - iTop;
|
|
469
|
+
draEleLeft = left - iLeft;
|
|
470
|
+
}
|
|
471
|
+
var marginTop = parseFloat(getComputedStyle(this.element).marginTop);
|
|
472
|
+
// when drag-element has margin-top
|
|
473
|
+
/* istanbul ignore next */
|
|
474
|
+
if (marginTop > 0) {
|
|
475
|
+
if (this.clone) {
|
|
476
|
+
draEleTop += marginTop;
|
|
477
|
+
if (dTop < 0) {
|
|
478
|
+
if ((marginTop + dTop) >= 0) {
|
|
479
|
+
draEleTop = marginTop + dTop;
|
|
480
|
+
}
|
|
481
|
+
else {
|
|
482
|
+
draEleTop -= marginTop;
|
|
473
483
|
}
|
|
474
|
-
draEleTop = (this.dragLimit.bottom < draEleTop) ? this.dragLimit.bottom : draEleTop;
|
|
475
484
|
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
draEleTop = tempDraEleTop;
|
|
484
|
-
}
|
|
485
|
+
draEleTop = (this.dragLimit.bottom < draEleTop) ? this.dragLimit.bottom : draEleTop;
|
|
486
|
+
}
|
|
487
|
+
if ((top - iTop) < 0) {
|
|
488
|
+
if (dTop + marginTop + (helperElement.offsetHeight - iTop) >= 0) {
|
|
489
|
+
var tempDraEleTop = this.dragLimit.top + dTop - iTop;
|
|
490
|
+
if ((tempDraEleTop + marginTop + iTop) < 0) {
|
|
491
|
+
draEleTop -= marginTop + iTop;
|
|
485
492
|
}
|
|
486
493
|
else {
|
|
487
|
-
draEleTop
|
|
494
|
+
draEleTop = tempDraEleTop;
|
|
488
495
|
}
|
|
489
496
|
}
|
|
497
|
+
else {
|
|
498
|
+
draEleTop -= marginTop + iTop;
|
|
499
|
+
}
|
|
490
500
|
}
|
|
491
501
|
}
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
}
|
|
502
|
+
/* istanbul ignore next */
|
|
503
|
+
// if(this.eleTop > 0) {
|
|
504
|
+
// draEleTop += this.eleTop;
|
|
505
|
+
// }
|
|
496
506
|
if (this.enableScrollHandler && !this.clone) {
|
|
497
507
|
draEleTop -= this.parentScrollY;
|
|
498
508
|
draEleLeft -= this.parentScrollX;
|
|
@@ -665,11 +675,6 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
665
675
|
pageX = this.clone ? intCoord.pageX : (intCoord.pageX + window.pageXOffset) - this.relativeXPosition;
|
|
666
676
|
pageY = this.clone ? intCoord.pageY : (intCoord.pageY + window.pageYOffset) - this.relativeYPosition;
|
|
667
677
|
}
|
|
668
|
-
if (!this.clone && this.dragArea && !isdragscroll) {
|
|
669
|
-
this.getScrollableValues();
|
|
670
|
-
pageY -= this.tempScrollHeight ? this.parentScrollY : 0;
|
|
671
|
-
pageX -= this.tempScrollWidth ? this.parentScrollX : 0;
|
|
672
|
-
}
|
|
673
678
|
return {
|
|
674
679
|
left: pageX - (this.margin.left + this.cursorAt.left),
|
|
675
680
|
top: pageY - (this.margin.top + this.cursorAt.top)
|
package/src/intl/intl-base.js
CHANGED
|
@@ -1177,7 +1177,7 @@ export var IntlBase;
|
|
|
1177
1177
|
}
|
|
1178
1178
|
iCulture = iCulture.slice(0, 2).toUpperCase() + iCulture.substr(2);
|
|
1179
1179
|
if (mapper) {
|
|
1180
|
-
firstDay = mapper[iCulture] || defaultFirstDay;
|
|
1180
|
+
firstDay = mapper[iCulture] || mapper[iCulture.slice(0, 2)] || defaultFirstDay;
|
|
1181
1181
|
}
|
|
1182
1182
|
return firstDayMapper[firstDay];
|
|
1183
1183
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@import 'common/mixin.scss';
|
|
2
|
+
@import 'definition/fluent-dark.scss';
|
|
3
|
+
|
|
4
|
+
$font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif !default;
|
|
5
|
+
$font-size: 12px !default;
|
|
6
|
+
$font-weight: 400 !default;
|
|
7
|
+
$error-font-color: $danger !default;
|
|
8
|
+
$warning-font-color: $orange20 !default;
|
|
9
|
+
$success-font-color: $green20 !default;
|
|
10
|
+
$information-font-color: $white !default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@import 'common/mixin.scss';
|
|
2
|
+
@import 'definition/fluent.scss';
|
|
3
|
+
|
|
4
|
+
$font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif !default;
|
|
5
|
+
$font-size: 12px !default;
|
|
6
|
+
$font-weight: 400 !default;
|
|
7
|
+
$error-font-color: $danger !default;
|
|
8
|
+
$warning-font-color: $orange20 !default;
|
|
9
|
+
$success-font-color: $green20 !default;
|
|
10
|
+
$information-font-color: $white !default;
|