@openui5/sap.ui.webc.common 1.111.1 → 1.112.0
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/package.json +2 -2
- package/src/sap/ui/webc/common/.library +2 -2
- package/src/sap/ui/webc/common/Configuration.js +6 -0
- package/src/sap/ui/webc/common/Icons.js +6 -0
- package/src/sap/ui/webc/common/WebComponent.js +1 -1
- package/src/sap/ui/webc/common/WebComponentMetadata.js +1 -1
- package/src/sap/ui/webc/common/library.js +3 -3
- package/src/sap/ui/webc/common/thirdparty/base/Boot.js +2 -11
- package/src/sap/ui/webc/common/thirdparty/base/CSP.js +3 -14
- package/src/sap/ui/webc/common/thirdparty/base/CustomElementsRegistry.js +0 -21
- package/src/sap/ui/webc/common/thirdparty/base/CustomElementsScopeUtils.js +5 -22
- package/src/sap/ui/webc/common/thirdparty/base/DOMObserver.js +5 -18
- package/src/sap/ui/webc/common/thirdparty/base/Device.js +2 -35
- package/src/sap/ui/webc/common/thirdparty/base/EventProvider.js +2 -21
- package/src/sap/ui/webc/common/thirdparty/base/FeaturesRegistry.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/FontFace.js +4 -8
- package/src/sap/ui/webc/common/thirdparty/base/InitialConfiguration.js +13 -42
- package/src/sap/ui/webc/common/thirdparty/base/Keys.js +3 -138
- package/src/sap/ui/webc/common/thirdparty/base/ManagedStyles.js +0 -19
- package/src/sap/ui/webc/common/thirdparty/base/MediaRange.js +4 -8
- package/src/sap/ui/webc/common/thirdparty/base/PropertiesFileFormat.js +2 -16
- package/src/sap/ui/webc/common/thirdparty/base/Render.js +14 -35
- package/src/sap/ui/webc/common/thirdparty/base/RenderQueue.js +1 -16
- package/src/sap/ui/webc/common/thirdparty/base/RenderScheduler.js +2 -10
- package/src/sap/ui/webc/common/thirdparty/base/Runtimes.js +18 -34
- package/src/sap/ui/webc/common/thirdparty/base/StaticAreaItem.js +4 -25
- package/src/sap/ui/webc/common/thirdparty/base/SystemCSSVars.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/base/UI5Element.js +104 -246
- package/src/sap/ui/webc/common/thirdparty/base/UI5ElementMetadata.js +39 -84
- package/src/sap/ui/webc/common/thirdparty/base/animations/AnimationQueue.js +0 -11
- package/src/sap/ui/webc/common/thirdparty/base/animations/animate.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/animations/scroll.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/animations/slideDown.js +9 -10
- package/src/sap/ui/webc/common/thirdparty/base/animations/slideUp.js +4 -7
- package/src/sap/ui/webc/common/thirdparty/base/asset-registries/Icons.js +9 -34
- package/src/sap/ui/webc/common/thirdparty/base/asset-registries/Illustrations.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/asset-registries/LocaleData.js +36 -57
- package/src/sap/ui/webc/common/thirdparty/base/asset-registries/Themes.js +4 -27
- package/src/sap/ui/webc/common/thirdparty/base/asset-registries/i18n.js +12 -37
- package/src/sap/ui/webc/common/thirdparty/base/assets-meta/IconCollectionsAlias.js +0 -1
- package/src/sap/ui/webc/common/thirdparty/base/config/AnimationMode.js +0 -7
- package/src/sap/ui/webc/common/thirdparty/base/config/CalendarType.js +2 -7
- package/src/sap/ui/webc/common/thirdparty/base/config/FormatSettings.js +2 -4
- package/src/sap/ui/webc/common/thirdparty/base/config/Icons.js +3 -11
- package/src/sap/ui/webc/common/thirdparty/base/config/Language.js +4 -14
- package/src/sap/ui/webc/common/thirdparty/base/config/NoConflict.js +4 -14
- package/src/sap/ui/webc/common/thirdparty/base/config/RTL.js +2 -8
- package/src/sap/ui/webc/common/thirdparty/base/config/Theme.js +4 -15
- package/src/sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation.js +8 -72
- package/src/sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler.js +8 -23
- package/src/sap/ui/webc/common/thirdparty/base/delegate/ScrollEnablement.js +9 -34
- package/src/sap/ui/webc/common/thirdparty/base/features/F6Navigation.js +1 -20
- package/src/sap/ui/webc/common/thirdparty/base/features/OpenUI5Enablement.js +0 -17
- package/src/sap/ui/webc/common/thirdparty/base/features/OpenUI5Support.js +0 -32
- package/src/sap/ui/webc/common/thirdparty/base/generated/VersionInfo.js +1 -1
- package/src/sap/ui/webc/common/thirdparty/base/getSharedResource.js +1 -9
- package/src/sap/ui/webc/common/thirdparty/base/i18nBundle.js +4 -18
- package/src/sap/ui/webc/common/thirdparty/base/locale/Locale.js +0 -25
- package/src/sap/ui/webc/common/thirdparty/base/locale/RTLAwareRegistry.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/locale/applyDirection.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/locale/directionChange.js +2 -9
- package/src/sap/ui/webc/common/thirdparty/base/locale/getEffectiveDir.js +4 -9
- package/src/sap/ui/webc/common/thirdparty/base/locale/getLocale.js +3 -11
- package/src/sap/ui/webc/common/thirdparty/base/locale/languageChange.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/locale/nextFallbackLocale.js +4 -8
- package/src/sap/ui/webc/common/thirdparty/base/locale/normalizeLocale.js +8 -14
- package/src/sap/ui/webc/common/thirdparty/base/renderer/LitRenderer.js +0 -11
- package/src/sap/ui/webc/common/thirdparty/base/renderer/directives/style-map.js +7 -21
- package/src/sap/ui/webc/common/thirdparty/base/renderer/executeTemplate.js +1 -6
- package/src/sap/ui/webc/common/thirdparty/base/theming/CustomStyle.js +2 -16
- package/src/sap/ui/webc/common/thirdparty/base/theming/ThemeLoaded.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/theming/applyTheme.js +6 -21
- package/src/sap/ui/webc/common/thirdparty/base/theming/getConstructableStyle.js +1 -6
- package/src/sap/ui/webc/common/thirdparty/base/theming/getEffectiveLinksHrefs.js +0 -7
- package/src/sap/ui/webc/common/thirdparty/base/theming/getEffectiveStyle.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/theming/getStylesString.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/theming/getThemeDesignerTheme.js +4 -22
- package/src/sap/ui/webc/common/thirdparty/base/theming/preloadLinks.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/thirdparty/_merge.js +10 -20
- package/src/sap/ui/webc/common/thirdparty/base/thirdparty/isPlainObject.js +0 -6
- package/src/sap/ui/webc/common/thirdparty/base/thirdparty/merge.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/base/types/CSSColor.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/types/CSSSize.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/types/CalendarType.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/types/DataType.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/types/Float.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/types/Integer.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/types/InvisibleMessageMode.js +0 -6
- package/src/sap/ui/webc/common/thirdparty/base/types/ItemNavigationBehavior.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/types/PopupState.js +0 -8
- package/src/sap/ui/webc/common/thirdparty/base/types/ValueState.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/updateShadowRoot.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper.js +1 -9
- package/src/sap/ui/webc/common/thirdparty/base/util/Caret.js +0 -6
- package/src/sap/ui/webc/common/thirdparty/base/util/ColorConversion.js +29 -46
- package/src/sap/ui/webc/common/thirdparty/base/util/FetchHelper.js +0 -10
- package/src/sap/ui/webc/common/thirdparty/base/util/FocusableElements.js +2 -19
- package/src/sap/ui/webc/common/thirdparty/base/util/InvisibleMessage.js +3 -9
- package/src/sap/ui/webc/common/thirdparty/base/util/PopupUtils.js +0 -28
- package/src/sap/ui/webc/common/thirdparty/base/util/SlotsHelper.js +4 -15
- package/src/sap/ui/webc/common/thirdparty/base/util/StringHelper.js +0 -7
- package/src/sap/ui/webc/common/thirdparty/base/util/TabbableElements.js +0 -12
- package/src/sap/ui/webc/common/thirdparty/base/util/arraysAreEqual.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/util/clamp.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/createLinkInHead.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/createStyleInHead.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/debounce.js +1 -3
- package/src/sap/ui/webc/common/thirdparty/base/util/detectNavigatorLanguage.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/util/escapeRegex.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/findNodeOwner.js +0 -6
- package/src/sap/ui/webc/common/thirdparty/base/util/formatMessage.js +2 -7
- package/src/sap/ui/webc/common/thirdparty/base/util/generateHighlightedMarkup.js +9 -17
- package/src/sap/ui/webc/common/thirdparty/base/util/getActiveElement.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/util/getClassCopy.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/base/util/getDesigntimePropertyAsArray.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/getEffectiveContentDensity.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/getFileExtension.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/util/getNormalizedTarget.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/util/getSingletonElementInstance.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/base/util/isDefaultSlotProvided.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/isDescendantOf.js +0 -6
- package/src/sap/ui/webc/common/thirdparty/base/util/isElementInView.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/isNodeClickable.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/base/util/isNodeHidden.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/base/util/isNodeTabbable.js +0 -9
- package/src/sap/ui/webc/common/thirdparty/base/util/isValidPropertyName.js +1 -3
- package/src/sap/ui/webc/common/thirdparty/base/util/setToArray.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/base/util/whenDOMReady.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/icons/generated/json-imports/i18n.js +0 -52
- package/src/sap/ui/webc/common/thirdparty/icons/json-imports/Icons.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/icons-business-suite/json-imports/Icons.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/icons-tnt/json-imports/Icons.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/lit-html/directive-helpers.js +62 -70
- package/src/sap/ui/webc/common/thirdparty/lit-html/directive.js +11 -20
- package/src/sap/ui/webc/common/thirdparty/lit-html/directives/class-map.js +0 -10
- package/src/sap/ui/webc/common/thirdparty/lit-html/directives/if-defined.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/lit-html/directives/repeat.js +55 -71
- package/src/sap/ui/webc/common/thirdparty/lit-html/directives/unsafe-html.js +0 -4
- package/src/sap/ui/webc/common/thirdparty/lit-html/lit-html.js +96 -171
- package/src/sap/ui/webc/common/thirdparty/lit-html/static.js +34 -40
- package/src/sap/ui/webc/common/thirdparty/localization/DateFormat.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/localization/LocaleData.js +0 -2
- package/src/sap/ui/webc/common/thirdparty/localization/dates/CalendarDate.js +13 -56
- package/src/sap/ui/webc/common/thirdparty/localization/dates/ExtremeDates.js +0 -11
- package/src/sap/ui/webc/common/thirdparty/localization/dates/calculateWeekNumber.js +5 -8
- package/src/sap/ui/webc/common/thirdparty/localization/dates/getRoundedTimestamp.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/localization/dates/getTodayUTCTimestamp.js +0 -3
- package/src/sap/ui/webc/common/thirdparty/localization/dates/modifyDateBy.js +0 -9
- package/src/sap/ui/webc/common/thirdparty/localization/getCachedLocaleDataInstance.js +0 -5
- package/src/sap/ui/webc/common/thirdparty/localization/locale/getLocaleData.js +1 -6
- package/src/sap/ui/webc/common/thirdparty/theming/generated/json-imports/Themes.js +0 -16
- package/ui5.yaml +7 -7
- package/src/sap/ui/webc/common/thirdparty/icons-business-suite/main-milestone.js +0 -25
- package/src/sap/ui/webc/common/thirdparty/icons-business-suite/main-sequence.js +0 -25
@@ -6,43 +6,36 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UniversalDate = _interopRequireDefault(_UniversalDate);
|
9
|
-
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
|
12
10
|
class CalendarDate {
|
13
11
|
constructor() {
|
14
12
|
let aArgs = arguments,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
13
|
+
// eslint-disable-line
|
14
|
+
oJSDate,
|
15
|
+
oNow,
|
16
|
+
sCalendarType;
|
20
17
|
switch (aArgs.length) {
|
21
18
|
case 0:
|
22
19
|
// defaults to the current date
|
23
20
|
oNow = new Date();
|
24
21
|
return this.constructor(oNow.getFullYear(), oNow.getMonth(), oNow.getDate());
|
25
|
-
|
26
22
|
case 1: // CalendarDate
|
27
|
-
|
28
23
|
case 2:
|
29
24
|
// CalendarDate, sCalendarType
|
30
25
|
if (!(aArgs[0] instanceof CalendarDate)) {
|
31
26
|
throw new Error("Invalid arguments: the first argument must be of type sap.ui.unified.calendar.CalendarDate.");
|
32
27
|
}
|
33
|
-
|
34
|
-
|
28
|
+
sCalendarType = aArgs[1] ? aArgs[1] : aArgs[0]._oUDate.sCalendarType;
|
29
|
+
// Use source.valueOf() (returns the same point of time regardless calendar type) instead of
|
35
30
|
// source's getters to avoid non-gregorian Year, Month and Date may be used to construct a Gregorian date
|
31
|
+
oJSDate = new Date(aArgs[0].valueOf());
|
36
32
|
|
37
|
-
|
38
|
-
|
33
|
+
// Make this date really local. Now getters are safe.
|
39
34
|
oJSDate.setFullYear(oJSDate.getUTCFullYear(), oJSDate.getUTCMonth(), oJSDate.getUTCDate());
|
40
35
|
oJSDate.setHours(oJSDate.getUTCHours(), oJSDate.getUTCMinutes(), oJSDate.getUTCSeconds(), oJSDate.getUTCMilliseconds());
|
41
36
|
this._oUDate = createUniversalUTCDate(oJSDate, sCalendarType);
|
42
37
|
break;
|
43
|
-
|
44
38
|
case 3: // year, month, date
|
45
|
-
|
46
39
|
case 4:
|
47
40
|
// year, month, date, sCalendarType
|
48
41
|
checkNumericLike(aArgs[0], `Invalid year: ${aArgs[0]}`);
|
@@ -54,30 +47,24 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
54
47
|
if (aArgs[3]) {
|
55
48
|
sCalendarType = aArgs[3];
|
56
49
|
}
|
57
|
-
|
58
50
|
this._oUDate = createUniversalUTCDate(oJSDate, sCalendarType);
|
59
51
|
break;
|
60
|
-
|
61
52
|
default:
|
62
53
|
throw new Error(`${"Invalid arguments. Accepted arguments are: 1) oCalendarDate, (optional)calendarType" + "or 2) year, month, date, (optional) calendarType"}${aArgs}`);
|
63
54
|
}
|
64
55
|
}
|
65
|
-
|
66
56
|
getYear() {
|
67
57
|
return this._oUDate.getUTCFullYear();
|
68
58
|
}
|
69
|
-
|
70
59
|
setYear(year) {
|
71
60
|
checkNumericLike(year, `Invalid year: ${year}`);
|
72
|
-
|
73
61
|
this._oUDate.setUTCFullYear(year);
|
74
|
-
|
75
62
|
return this;
|
76
63
|
}
|
77
|
-
|
78
64
|
getMonth() {
|
79
65
|
return this._oUDate.getUTCMonth();
|
80
66
|
}
|
67
|
+
|
81
68
|
/**
|
82
69
|
* Sets the given month as ordinal month of the year.
|
83
70
|
* @param {int} month An integer between 0 and 11, representing the months January through December( or their
|
@@ -93,77 +80,60 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
93
80
|
* Other value will result in adding or subtracting days according to the given value.
|
94
81
|
* @returns {sap.ui.unified.calendar.CalendarDate} <code>this</code> for method chaining.
|
95
82
|
*/
|
96
|
-
|
97
|
-
|
98
83
|
setMonth(month, date) {
|
99
84
|
checkNumericLike(month, `Invalid month: ${month}`);
|
100
|
-
|
101
85
|
if (date || date === 0) {
|
102
86
|
checkNumericLike(date, `Invalid date: ${date}`);
|
103
|
-
|
104
87
|
this._oUDate.setUTCMonth(month, date);
|
105
88
|
} else {
|
106
89
|
this._oUDate.setUTCMonth(month);
|
107
90
|
}
|
108
|
-
|
109
91
|
return this;
|
110
92
|
}
|
111
|
-
|
112
93
|
getDate() {
|
113
94
|
return this._oUDate.getUTCDate();
|
114
95
|
}
|
115
|
-
|
116
96
|
setDate(date) {
|
117
97
|
checkNumericLike(date, `Invalid date: ${date}`);
|
118
|
-
|
119
98
|
this._oUDate.setUTCDate(date);
|
120
|
-
|
121
99
|
return this;
|
122
100
|
}
|
123
|
-
|
124
101
|
getDay() {
|
125
102
|
return this._oUDate.getUTCDay();
|
126
103
|
}
|
127
|
-
|
128
104
|
getCalendarType() {
|
129
105
|
return this._oUDate.sCalendarType;
|
130
106
|
}
|
131
|
-
|
132
107
|
isBefore(oCalendarDate) {
|
133
108
|
checkCalendarDate(oCalendarDate);
|
134
109
|
return this.valueOf() < oCalendarDate.valueOf();
|
135
110
|
}
|
136
|
-
|
137
111
|
isAfter(oCalendarDate) {
|
138
112
|
checkCalendarDate(oCalendarDate);
|
139
113
|
return this.valueOf() > oCalendarDate.valueOf();
|
140
114
|
}
|
141
|
-
|
142
115
|
isSameOrBefore(oCalendarDate) {
|
143
116
|
checkCalendarDate(oCalendarDate);
|
144
117
|
return this.valueOf() <= oCalendarDate.valueOf();
|
145
118
|
}
|
146
|
-
|
147
119
|
isSameOrAfter(oCalendarDate) {
|
148
120
|
checkCalendarDate(oCalendarDate);
|
149
121
|
return this.valueOf() >= oCalendarDate.valueOf();
|
150
122
|
}
|
151
|
-
|
152
123
|
isSame(oCalendarDate) {
|
153
124
|
checkCalendarDate(oCalendarDate);
|
154
125
|
return this.valueOf() === oCalendarDate.valueOf();
|
155
126
|
}
|
156
|
-
|
157
127
|
toLocalJSDate() {
|
158
128
|
// Use this._oUDate.getTime()(returns the same point of time regardless calendar type) instead of
|
159
129
|
// this._oUDate's getters to avoid non-gregorian Year, Month and Date to be used to construct a Gregorian date
|
160
|
-
const oLocalDate = new Date(this._oUDate.getTime());
|
130
|
+
const oLocalDate = new Date(this._oUDate.getTime());
|
161
131
|
|
132
|
+
// Make this date really local. Now getters are safe.
|
162
133
|
oLocalDate.setFullYear(oLocalDate.getUTCFullYear(), oLocalDate.getUTCMonth(), oLocalDate.getUTCDate());
|
163
134
|
oLocalDate.setHours(0, 0, 0, 0);
|
164
135
|
return oLocalDate;
|
165
136
|
}
|
166
|
-
|
167
137
|
toUTCJSDate() {
|
168
138
|
// Use this._oUDate.getTime()(returns the same point of time regardless calendar type) instead of
|
169
139
|
// this._oUDate's getters to avoid non-gregorian Year, Month and Date to be used to construct a Gregorian date
|
@@ -171,15 +141,12 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
171
141
|
oUTCDate.setUTCHours(0, 0, 0, 0);
|
172
142
|
return oUTCDate;
|
173
143
|
}
|
174
|
-
|
175
144
|
toString() {
|
176
145
|
return `${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth() + 1}/${this.getDate()}`;
|
177
146
|
}
|
178
|
-
|
179
147
|
valueOf() {
|
180
148
|
return this._oUDate.getTime();
|
181
149
|
}
|
182
|
-
|
183
150
|
static fromLocalJSDate(oJSDate, sCalendarType) {
|
184
151
|
// Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
|
185
152
|
// because Date object in the test is different than the Date object in the application (due to the iframe).
|
@@ -191,14 +158,11 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
191
158
|
if (!isValidDate(oJSDate)) {
|
192
159
|
throw new Error(`Date parameter must be a JavaScript Date object: [${oJSDate}].`);
|
193
160
|
}
|
194
|
-
|
195
161
|
return new CalendarDate(oJSDate.getFullYear(), oJSDate.getMonth(), oJSDate.getDate(), sCalendarType);
|
196
162
|
}
|
197
|
-
|
198
163
|
static fromTimestamp(iTimestamp, sCalendarType) {
|
199
164
|
const oCalDate = new CalendarDate(0, 0, 1);
|
200
165
|
let oUDate;
|
201
|
-
|
202
166
|
try {
|
203
167
|
oUDate = _UniversalDate.default.getInstance(new Date(iTimestamp), sCalendarType);
|
204
168
|
} catch (e) {
|
@@ -208,49 +172,42 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
208
172
|
oCalDate._oUDate = oUDate;
|
209
173
|
return oCalDate;
|
210
174
|
}
|
211
|
-
|
212
175
|
}
|
213
|
-
|
214
176
|
function createUniversalUTCDate(oDate, sCalendarType) {
|
215
177
|
if (sCalendarType) {
|
216
178
|
return _UniversalDate.default.getInstance(createUTCDate(oDate), sCalendarType);
|
217
179
|
}
|
218
|
-
|
219
180
|
return new _UniversalDate.default(createUTCDate(oDate).getTime());
|
220
181
|
}
|
182
|
+
|
221
183
|
/**
|
222
184
|
* Creates a JavaScript UTC Date corresponding to the given JavaScript Date.
|
223
185
|
* @param {Date} oDate JavaScript date object. Time related information is cut.
|
224
186
|
* @returns {Date} JavaScript date created from the date object, but this time considered as UTC date information.
|
225
187
|
*/
|
226
|
-
|
227
|
-
|
228
188
|
function createUTCDate(oDate) {
|
229
189
|
const oUTCDate = new Date(Date.UTC(0, 0, 1));
|
230
190
|
oUTCDate.setUTCFullYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
|
231
191
|
return oUTCDate;
|
232
192
|
}
|
233
|
-
|
234
193
|
function checkCalendarDate(oCalendarDate) {
|
235
194
|
if (!(oCalendarDate instanceof CalendarDate)) {
|
236
195
|
throw new Error(`Invalid calendar date: [${oCalendarDate}]. Expected: sap.ui.unified.calendar.CalendarDate`);
|
237
196
|
}
|
238
197
|
}
|
198
|
+
|
239
199
|
/**
|
240
200
|
* Verifies the given value is numeric like, i.e. 3, "3" and throws an error if it is not.
|
241
201
|
* @param {any} value The value of any type to check. If null or undefined, this method throws an error.
|
242
202
|
* @param {string} message The message to be used if an error is to be thrown
|
243
203
|
* @throws will throw an error if the value is null or undefined or is not like a number
|
244
204
|
*/
|
245
|
-
|
246
|
-
|
247
205
|
function checkNumericLike(value, message) {
|
248
206
|
if (value === undefined || value === Infinity || isNaN(value)) {
|
249
207
|
// eslint-disable-line
|
250
208
|
throw message;
|
251
209
|
}
|
252
210
|
}
|
253
|
-
|
254
211
|
var _default = CalendarDate;
|
255
212
|
_exports.default = _default;
|
256
213
|
});
|
@@ -6,14 +6,10 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
6
6
|
});
|
7
7
|
_exports.getMinCalendarDate = _exports.getMaxCalendarDate = void 0;
|
8
8
|
_CalendarDate = _interopRequireDefault(_CalendarDate);
|
9
|
-
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
|
12
10
|
const cache = new Map();
|
13
|
-
|
14
11
|
const getMinCalendarDate = primaryCalendarType => {
|
15
12
|
const key = `min ${primaryCalendarType}`;
|
16
|
-
|
17
13
|
if (!cache.has(key)) {
|
18
14
|
const minDate = new _CalendarDate.default(1, 0, 1, primaryCalendarType);
|
19
15
|
minDate.setYear(1);
|
@@ -21,15 +17,11 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
21
17
|
minDate.setDate(1);
|
22
18
|
cache.set(key, minDate);
|
23
19
|
}
|
24
|
-
|
25
20
|
return cache.get(key);
|
26
21
|
};
|
27
|
-
|
28
22
|
_exports.getMinCalendarDate = getMinCalendarDate;
|
29
|
-
|
30
23
|
const getMaxCalendarDate = primaryCalendarType => {
|
31
24
|
const key = `max ${primaryCalendarType}`;
|
32
|
-
|
33
25
|
if (!cache.has(key)) {
|
34
26
|
const maxDate = new _CalendarDate.default(1, 0, 1, primaryCalendarType);
|
35
27
|
maxDate.setYear(9999);
|
@@ -38,12 +30,9 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
38
30
|
tempDate.setDate(1);
|
39
31
|
tempDate.setMonth(tempDate.getMonth() + 1, 0);
|
40
32
|
maxDate.setDate(tempDate.getDate()); // 31st for Gregorian Calendar
|
41
|
-
|
42
33
|
cache.set(key, maxDate);
|
43
34
|
}
|
44
|
-
|
45
35
|
return cache.get(key);
|
46
36
|
};
|
47
|
-
|
48
37
|
_exports.getMaxCalendarDate = getMaxCalendarDate;
|
49
38
|
});
|
@@ -6,16 +6,15 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UniversalDate = _interopRequireDefault(_UniversalDate);
|
9
|
-
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
|
12
10
|
const calculateWeekNumber = (confFirstDayOfWeek, oDate, iYear, oLocale, oLocaleData) => {
|
13
11
|
let iWeekNum = 0;
|
14
12
|
let iWeekDay = 0;
|
15
|
-
const iFirstDayOfWeek = Number.isInteger(confFirstDayOfWeek) ? confFirstDayOfWeek : oLocaleData.getFirstDayOfWeek();
|
13
|
+
const iFirstDayOfWeek = Number.isInteger(confFirstDayOfWeek) ? confFirstDayOfWeek : oLocaleData.getFirstDayOfWeek();
|
14
|
+
|
15
|
+
// search Locale for containing "en-US", since sometimes
|
16
16
|
// when any user settings have been defined, subtag "sapufmt" is added to the locale name
|
17
17
|
// this is described inside sap.ui.core.Configuration file
|
18
|
-
|
19
18
|
if (oLocale && oLocale.getLanguage() === "en" && oLocale.getRegion() === "US") {
|
20
19
|
/*
|
21
20
|
* in US the week starts with Sunday
|
@@ -24,8 +23,9 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
24
23
|
*/
|
25
24
|
const oJanFirst = new _UniversalDate.default(oDate.getTime());
|
26
25
|
oJanFirst.setUTCFullYear(iYear, 0, 1);
|
27
|
-
iWeekDay = oJanFirst.getUTCDay();
|
26
|
+
iWeekDay = oJanFirst.getUTCDay();
|
28
27
|
|
28
|
+
// get the date for the same weekday like jan 1.
|
29
29
|
const oCheckDate = new _UniversalDate.default(oDate.getTime());
|
30
30
|
oCheckDate.setUTCDate(oCheckDate.getUTCDate() - oCheckDate.getUTCDay() + iWeekDay);
|
31
31
|
iWeekNum = Math.round((oCheckDate.getTime() - oJanFirst.getTime()) / 86400000 / 7) + 1;
|
@@ -41,7 +41,6 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
41
41
|
oFirstDayOfYear.setUTCMonth(0, 1);
|
42
42
|
iWeekDay = oFirstDayOfYear.getUTCDay();
|
43
43
|
let iAddDays = 0;
|
44
|
-
|
45
44
|
if (iWeekDay > 4) {
|
46
45
|
iAddDays = 7; // first day of year is after Thursday, so first Thursday is in the next week
|
47
46
|
}
|
@@ -50,10 +49,8 @@ sap.ui.define(["exports", "sap/ui/core/date/UniversalDate"], function (_exports,
|
|
50
49
|
oFirstThursday.setUTCDate(1 - iWeekDay + 4 + iAddDays);
|
51
50
|
iWeekNum = Math.round((oThursday.getTime() - oFirstThursday.getTime()) / 86400000 / 7) + 1;
|
52
51
|
}
|
53
|
-
|
54
52
|
return iWeekNum;
|
55
53
|
};
|
56
|
-
|
57
54
|
var _default = calculateWeekNumber;
|
58
55
|
_exports.default = _default;
|
59
56
|
});
|
@@ -5,7 +5,6 @@ sap.ui.define(["exports"], function (_exports) {
|
|
5
5
|
value: true
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
|
-
|
9
8
|
/**
|
10
9
|
* Returns a timestamp with only the year, month and day (with zero hours, minutes and seconds) and without 000 for milliseconds
|
11
10
|
* @param millisecondsUTC
|
@@ -15,11 +14,9 @@ sap.ui.define(["exports"], function (_exports) {
|
|
15
14
|
if (!millisecondsUTC) {
|
16
15
|
millisecondsUTC = new Date().getTime();
|
17
16
|
}
|
18
|
-
|
19
17
|
const rounded = millisecondsUTC - millisecondsUTC % (24 * 60 * 60 * 1000);
|
20
18
|
return rounded / 1000;
|
21
19
|
};
|
22
|
-
|
23
20
|
var _default = getRoundedTimestamp;
|
24
21
|
_exports.default = _default;
|
25
22
|
});
|
@@ -6,15 +6,12 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_CalendarDate = _interopRequireDefault(_CalendarDate);
|
9
|
-
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
|
12
10
|
/**
|
13
11
|
* Returns a UTC timestamp representing today
|
14
12
|
* @public
|
15
13
|
*/
|
16
14
|
const getTodayUTCTimestamp = primaryCalendarType => _CalendarDate.default.fromLocalJSDate(new Date(), primaryCalendarType).valueOf() / 1000;
|
17
|
-
|
18
15
|
var _default = getTodayUTCTimestamp;
|
19
16
|
_exports.default = _default;
|
20
17
|
});
|
@@ -6,9 +6,7 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_CalendarDate = _interopRequireDefault(_CalendarDate);
|
9
|
-
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
|
12
10
|
/**
|
13
11
|
* Adds or subtracts a given amount of days/months/years from a date.
|
14
12
|
* If minDate or maxDate are given, the result will be enforced within these limits
|
@@ -21,22 +19,18 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
21
19
|
*/
|
22
20
|
const modifyDateBy = (date, amount, unit, minDate = null, maxDate = null) => {
|
23
21
|
const newDate = new _CalendarDate.default(date);
|
24
|
-
|
25
22
|
if (unit === "day") {
|
26
23
|
newDate.setDate(date.getDate() + amount);
|
27
24
|
} else if (unit === "month") {
|
28
25
|
newDate.setMonth(date.getMonth() + amount);
|
29
26
|
const stillSameMonth = amount === -1 && newDate.getMonth() === date.getMonth(); // f.e. PageUp remained in the same month
|
30
|
-
|
31
27
|
const monthSkipped = amount === 1 && newDate.getMonth() - date.getMonth() > 1; // f.e. PageDown skipped a whole month
|
32
|
-
|
33
28
|
if (stillSameMonth || monthSkipped) {
|
34
29
|
// Select the last day of the month in any of these 2 scenarios
|
35
30
|
newDate.setDate(0);
|
36
31
|
}
|
37
32
|
} else {
|
38
33
|
newDate.setYear(date.getYear() + amount);
|
39
|
-
|
40
34
|
if (newDate.getMonth() !== date.getMonth()) {
|
41
35
|
// f.e. 29th Feb to next/prev year
|
42
36
|
newDate.setDate(0); // Select the last day of the month
|
@@ -46,14 +40,11 @@ sap.ui.define(["exports", "./CalendarDate"], function (_exports, _CalendarDate)
|
|
46
40
|
if (minDate && newDate.valueOf() < minDate.valueOf()) {
|
47
41
|
return new _CalendarDate.default(minDate);
|
48
42
|
}
|
49
|
-
|
50
43
|
if (maxDate && newDate.valueOf() > maxDate.valueOf()) {
|
51
44
|
return new _CalendarDate.default(maxDate);
|
52
45
|
}
|
53
|
-
|
54
46
|
return newDate;
|
55
47
|
};
|
56
|
-
|
57
48
|
var _default = modifyDateBy;
|
58
49
|
_exports.default = _default;
|
59
50
|
});
|
@@ -6,19 +6,14 @@ sap.ui.define(["exports", "./LocaleData"], function (_exports, _LocaleData) {
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_LocaleData = _interopRequireDefault(_LocaleData);
|
9
|
-
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
|
12
10
|
const cache = new Map();
|
13
|
-
|
14
11
|
const getCachedLocaleDataInstance = locale => {
|
15
12
|
if (!cache.has(locale)) {
|
16
13
|
cache.set(locale, _LocaleData.default.getInstance(locale));
|
17
14
|
}
|
18
|
-
|
19
15
|
return cache.get(locale);
|
20
16
|
};
|
21
|
-
|
22
17
|
var _default = getCachedLocaleDataInstance;
|
23
18
|
_exports.default = _default;
|
24
19
|
});
|
@@ -7,10 +7,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/asset-registries/L
|
|
7
7
|
_exports.default = void 0;
|
8
8
|
_getLocale = _interopRequireDefault(_getLocale);
|
9
9
|
_LocaleData2 = _interopRequireDefault(_LocaleData2);
|
10
|
-
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
12
|
-
|
13
11
|
const instances = new Map();
|
12
|
+
|
14
13
|
/**
|
15
14
|
* Fetches and returns а LocaleData object for the required locale
|
16
15
|
* For more information on this object's API, please see:
|
@@ -19,19 +18,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/asset-registries/L
|
|
19
18
|
* @param lang - if left empty, will use the configured/current locale
|
20
19
|
* @returns {LocaleData}
|
21
20
|
*/
|
22
|
-
|
23
21
|
const getLocaleData = async lang => {
|
24
22
|
const locale = (0, _getLocale.default)(lang);
|
25
23
|
const localeLang = locale.getLanguage();
|
26
|
-
|
27
24
|
if (!instances.has(localeLang)) {
|
28
25
|
await (0, _LocaleData.fetchCldr)(locale.getLanguage(), locale.getRegion(), locale.getScript());
|
29
26
|
instances.set(localeLang, _LocaleData2.default.getInstance(locale));
|
30
27
|
}
|
31
|
-
|
32
28
|
return instances.get(localeLang);
|
33
29
|
};
|
34
|
-
|
35
30
|
var _default = getLocaleData;
|
36
31
|
_exports.default = _default;
|
37
32
|
});
|
@@ -5,54 +5,38 @@ sap.ui.define(['require', "sap/ui/webc/common/thirdparty/base/asset-registries/T
|
|
5
5
|
switch (themeName) {
|
6
6
|
case "sap_belize":
|
7
7
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_belize/parameters-bundle.css.json"], resolve)))).default;
|
8
|
-
|
9
8
|
case "sap_belize_hcb":
|
10
9
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_belize_hcb/parameters-bundle.css.json"], resolve)))).default;
|
11
|
-
|
12
10
|
case "sap_belize_hcw":
|
13
11
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_belize_hcw/parameters-bundle.css.json"], resolve)))).default;
|
14
|
-
|
15
12
|
case "sap_fiori_3":
|
16
13
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_fiori_3/parameters-bundle.css.json"], resolve)))).default;
|
17
|
-
|
18
14
|
case "sap_fiori_3_dark":
|
19
15
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_fiori_3_dark/parameters-bundle.css.json"], resolve)))).default;
|
20
|
-
|
21
16
|
case "sap_fiori_3_hcb":
|
22
17
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json"], resolve)))).default;
|
23
|
-
|
24
18
|
case "sap_fiori_3_hcw":
|
25
19
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json"], resolve)))).default;
|
26
|
-
|
27
20
|
case "sap_horizon":
|
28
21
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_horizon/parameters-bundle.css.json"], resolve)))).default;
|
29
|
-
|
30
22
|
case "sap_horizon_dark":
|
31
23
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_horizon_dark/parameters-bundle.css.json"], resolve)))).default;
|
32
|
-
|
33
24
|
case "sap_horizon_exp":
|
34
25
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_horizon_exp/parameters-bundle.css.json"], resolve)))).default;
|
35
|
-
|
36
26
|
case "sap_horizon_hcb":
|
37
27
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_horizon_hcb/parameters-bundle.css.json"], resolve)))).default;
|
38
|
-
|
39
28
|
case "sap_horizon_hcw":
|
40
29
|
return (await Promise.resolve().then(() => new Promise(resolve => require(["../assets/themes/sap_horizon_hcw/parameters-bundle.css.json"], resolve)))).default;
|
41
|
-
|
42
30
|
default:
|
43
31
|
throw "unknown theme";
|
44
32
|
}
|
45
33
|
};
|
46
|
-
|
47
34
|
const loadAndCheck = async themeName => {
|
48
35
|
const data = await loadThemeProperties(themeName);
|
49
|
-
|
50
36
|
if (typeof data === "string" && data.endsWith(".json")) {
|
51
37
|
throw new Error(`[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);
|
52
38
|
}
|
53
|
-
|
54
39
|
return data;
|
55
40
|
};
|
56
|
-
|
57
41
|
["sap_belize", "sap_belize_hcb", "sap_belize_hcw", "sap_fiori_3", "sap_fiori_3_dark", "sap_fiori_3_hcb", "sap_fiori_3_hcw", "sap_horizon", "sap_horizon_dark", "sap_horizon_exp", "sap_horizon_hcb", "sap_horizon_hcw"].forEach(themeName => (0, _Themes.registerThemePropertiesLoader)("@ui5/webcomponents-theming", themeName, loadAndCheck));
|
58
42
|
});
|
package/ui5.yaml
CHANGED
@@ -62,7 +62,7 @@ customConfiguration:
|
|
62
62
|
"^@ui5\/webcomponents-base\/dist\/(.*?).js$": "sap/ui/webc/common/thirdparty/base/$1"
|
63
63
|
reverseAliases:
|
64
64
|
"^/resources/sap/ui/webc/common/thirdparty/base/(.*?)$": "@ui5/webcomponents-base/dist/$1"
|
65
|
-
inputPath: "
|
65
|
+
inputPath: "dist/"
|
66
66
|
outputPath: "src/sap/ui/webc/common/thirdparty/base/"
|
67
67
|
inputPathFilters:
|
68
68
|
- "**/*{.js,.json,.css}"
|
@@ -81,7 +81,7 @@ customConfiguration:
|
|
81
81
|
reverseAliases:
|
82
82
|
"^/resources/sap/ui/webc/common/thirdparty/theming/(.*?)$": "@ui5/webcomponents-theming/dist/$1"
|
83
83
|
outputPath: "src/sap/ui/webc/common/thirdparty/theming/"
|
84
|
-
inputPath: "
|
84
|
+
inputPath: "dist/"
|
85
85
|
inputPathFilters:
|
86
86
|
- "**/*{.js,.json,.css}"
|
87
87
|
- "!**/*-static.js"
|
@@ -91,7 +91,7 @@ customConfiguration:
|
|
91
91
|
"^@ui5\/webcomponents-localization\/dist\/(.*?).js$": "sap/ui/webc/common/thirdparty/localization/$1"
|
92
92
|
reverseAliases:
|
93
93
|
"^/resources/sap/ui/webc/common/thirdparty/localization/(.*?)$": "@ui5/webcomponents-localization/dist/$1"
|
94
|
-
inputPath: "
|
94
|
+
inputPath: "dist/"
|
95
95
|
outputPath: "src/sap/ui/webc/common/thirdparty/localization/"
|
96
96
|
inputPathFilters:
|
97
97
|
- "**/*{.js,.json,.css}"
|
@@ -106,7 +106,7 @@ customConfiguration:
|
|
106
106
|
"^@ui5\/webcomponents-icons\/dist\/(.*?).js$": "sap/ui/webc/common/thirdparty/icons/$1"
|
107
107
|
reverseAliases:
|
108
108
|
"^/resources/sap/ui/webc/common/thirdparty/icons/(.*?)$": "@ui5/webcomponents-icons/dist/$1"
|
109
|
-
inputPath: "
|
109
|
+
inputPath: "dist/"
|
110
110
|
outputPath: "src/sap/ui/webc/common/thirdparty/icons/"
|
111
111
|
inputPathFilters:
|
112
112
|
- "**/*{.js,.json,.css}"
|
@@ -117,7 +117,7 @@ customConfiguration:
|
|
117
117
|
"^@ui5\/webcomponents-icons-tnt\/dist\/(.*?).js$": "sap/ui/webc/common/thirdparty/icons-tnt/$1"
|
118
118
|
reverseAliases:
|
119
119
|
"^/resources/sap/ui/webc/common/thirdparty/icons-tnt/(.*?)$": "@ui5/webcomponents-icons-tnt/dist/$1"
|
120
|
-
inputPath: "
|
120
|
+
inputPath: "dist/"
|
121
121
|
outputPath: "src/sap/ui/webc/common/thirdparty/icons-tnt/"
|
122
122
|
inputPathFilters:
|
123
123
|
- "**/*{.js,.json,.css}"
|
@@ -128,7 +128,7 @@ customConfiguration:
|
|
128
128
|
"^@ui5\/webcomponents-icons-business-suite\/dist\/(.*?).js$": "sap/ui/webc/common/thirdparty/icons-business-suite/$1"
|
129
129
|
reverseAliases:
|
130
130
|
"^/resources/sap/ui/webc/common/thirdparty/icons-business-suite/(.*?)$": "@ui5/webcomponents-icons-business-suite/dist/$1"
|
131
|
-
inputPath: "
|
131
|
+
inputPath: "dist/"
|
132
132
|
outputPath: "src/sap/ui/webc/common/thirdparty/icons-business-suite/"
|
133
133
|
inputPathFilters:
|
134
134
|
- "**/*{.js,.json,.css}"
|
@@ -141,7 +141,7 @@ customConfiguration:
|
|
141
141
|
reverseAliases:
|
142
142
|
"^/resources/sap/ui/webc/common/thirdparty/lit-html/(.*?)$": "lit-html/$1"
|
143
143
|
"^/resources/sap/ui/webc/common/thirdparty/lit-html/lit-html$": "lit-html"
|
144
|
-
inputPath: "
|
144
|
+
inputPath: "/"
|
145
145
|
outputPath: "src/sap/ui/webc/common/thirdparty/lit-html/"
|
146
146
|
inputPathFilters:
|
147
147
|
- "lit-html.js"
|
@@ -1,25 +0,0 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/asset-registries/Icons"], function (_exports, _Icons) {
|
2
|
-
"use strict";
|
3
|
-
|
4
|
-
Object.defineProperty(_exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
_exports.pathData = _exports.ltr = _exports.default = _exports.accData = void 0;
|
8
|
-
const name = "main-milestone";
|
9
|
-
const pathData = "M490.043 203.602Q512 225.56 512 255.501T490.043 307.4L307.4 490.043q-20.96 20.959-51.899 20.959-13.973 0-26.947-4.99t-23.954-15.97L21.957 307.4Q0 286.44 0 255.5q0-29.942 21.957-51.899L204.6 20.96Q215.58 9.981 228.554 4.99T255.5 0q30.94 0 51.899 20.96zm-300.413-55.89h-28.944v230.55h28.944v-230.55zm171.664 1.996q-20.959 14.97-47.906 14.97-3.992 0-12.975-2.994l-27.945-6.986q-3.992-.998-7.985-2.994-8.982-1.996-11.976-1.996-18.963 0-37.926 11.976l-10.979 9.98v114.777q10.979-6.987 23.455-9.482t25.45-2.495q3.992 0 12.974 2.495t18.464 5.49 17.466 5.489 10.979 2.495q7.984 0 21.458-3.992t21.458-8.983l5.988-3.992V149.708z";
|
10
|
-
_exports.pathData = pathData;
|
11
|
-
const ltr = false;
|
12
|
-
_exports.ltr = ltr;
|
13
|
-
const accData = null;
|
14
|
-
_exports.accData = accData;
|
15
|
-
const collection = "business-suite";
|
16
|
-
const packageName = "@ui5/webcomponents-icons-business-suite";
|
17
|
-
(0, _Icons.registerIcon)(name, {
|
18
|
-
pathData,
|
19
|
-
ltr,
|
20
|
-
collection,
|
21
|
-
packageName
|
22
|
-
});
|
23
|
-
var _default = "main-milestone";
|
24
|
-
_exports.default = _default;
|
25
|
-
});
|
@@ -1,25 +0,0 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/asset-registries/Icons"], function (_exports, _Icons) {
|
2
|
-
"use strict";
|
3
|
-
|
4
|
-
Object.defineProperty(_exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
_exports.pathData = _exports.ltr = _exports.default = _exports.accData = void 0;
|
8
|
-
const name = "main-sequence";
|
9
|
-
const pathData = "M41 186h64q13 0 22.5 9t9.5 23v12h238v-12q0-14 9-23t23-9h64q13 0 22.5 9t9.5 23v64q0 14-9.5 23t-22.5 9h-64q-14 0-23-9t-9-23v-16H137v16q0 14-9.5 23t-22.5 9H41q-14 0-23-9t-9-23v-64q0-14 9-23t23-9z";
|
10
|
-
_exports.pathData = pathData;
|
11
|
-
const ltr = false;
|
12
|
-
_exports.ltr = ltr;
|
13
|
-
const accData = null;
|
14
|
-
_exports.accData = accData;
|
15
|
-
const collection = "business-suite";
|
16
|
-
const packageName = "@ui5/webcomponents-icons-business-suite";
|
17
|
-
(0, _Icons.registerIcon)(name, {
|
18
|
-
pathData,
|
19
|
-
ltr,
|
20
|
-
collection,
|
21
|
-
packageName
|
22
|
-
});
|
23
|
-
var _default = "main-sequence";
|
24
|
-
_exports.default = _default;
|
25
|
-
});
|