@livetiles/reach-components-react 0.4.0-preview.249 → 0.4.0-preview.251
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/en.async.esm.esm.js +1 -0
- package/index.d.ts +6 -1
- package/index.esm2.js +22 -8
- package/index.umd.js +23 -8
- package/package.json +1 -1
package/en.async.esm.esm.js
CHANGED
|
@@ -1214,6 +1214,7 @@ var en = {
|
|
|
1214
1214
|
"Customization.applicationLogo.dialog.example.appBar": "App bar (large screens)",
|
|
1215
1215
|
"Customization.applicationLogo.dialog.example.sidePanel": "Side panel overlay (small screens)",
|
|
1216
1216
|
"Customization.applicationLogo.dialog.example.email": "Emails",
|
|
1217
|
+
"Customization.applicationLogo.dialog.example.signIn": "Sign-in dialog",
|
|
1217
1218
|
"Customization.applicationLogoError": "Failed to save the application logo",
|
|
1218
1219
|
"Customization.applicationLogoResetError": "Failed to reset the application logo",
|
|
1219
1220
|
"Customization.favicon": "Favicon",
|
package/index.d.ts
CHANGED
|
@@ -233,7 +233,6 @@ interface BaseSubscription {
|
|
|
233
233
|
contact: Account;
|
|
234
234
|
theme: Theme;
|
|
235
235
|
defaultLanguage: string;
|
|
236
|
-
logoUrl: string;
|
|
237
236
|
faviconUrl?: string;
|
|
238
237
|
navigation: NavigationNode[];
|
|
239
238
|
regionSettings?: RegionSettings;
|
|
@@ -242,6 +241,12 @@ interface BaseSubscription {
|
|
|
242
241
|
hasUnreadItems: boolean;
|
|
243
242
|
pageTrackingInfo: PageTrackingInfo;
|
|
244
243
|
termsAndConditionsHash?: string;
|
|
244
|
+
logoInfo: LogoInfo;
|
|
245
|
+
}
|
|
246
|
+
interface LogoInfo {
|
|
247
|
+
smallUrl?: string;
|
|
248
|
+
largeUrl?: string;
|
|
249
|
+
isLegacyLogo?: boolean;
|
|
245
250
|
}
|
|
246
251
|
interface PageTrackingInfo {
|
|
247
252
|
type: string;
|
package/index.esm2.js
CHANGED
|
@@ -51003,6 +51003,13 @@ var AudienceMatchMode;
|
|
|
51003
51003
|
AudienceMatchMode[AudienceMatchMode["AnyGroupAndAnyProperty"] = 1] = "AnyGroupAndAnyProperty";
|
|
51004
51004
|
})(AudienceMatchMode || (AudienceMatchMode = {}));
|
|
51005
51005
|
|
|
51006
|
+
var LogoSize;
|
|
51007
|
+
|
|
51008
|
+
(function (LogoSize) {
|
|
51009
|
+
LogoSize["large"] = "large";
|
|
51010
|
+
LogoSize["small"] = "small";
|
|
51011
|
+
})(LogoSize || (LogoSize = {}));
|
|
51012
|
+
|
|
51006
51013
|
var LinkDirectoryResultType;
|
|
51007
51014
|
|
|
51008
51015
|
(function (LinkDirectoryResultType) {
|
|
@@ -87474,9 +87481,9 @@ var AuthenticationContextProvider = function AuthenticationContextProvider(_a) {
|
|
|
87474
87481
|
}), void 0);
|
|
87475
87482
|
};
|
|
87476
87483
|
|
|
87477
|
-
var version$1 = "0.4.0-preview.
|
|
87478
|
-
var buildId = "
|
|
87479
|
-
var commitId = "
|
|
87484
|
+
var version$1 = "0.4.0-preview.251";
|
|
87485
|
+
var buildId = "99412";
|
|
87486
|
+
var commitId = "2c420a50db30d1346c56bdc22b51519deb34be2e";
|
|
87480
87487
|
var isCustomerBuild = false;
|
|
87481
87488
|
var buildInfo = {
|
|
87482
87489
|
version: version$1,
|
|
@@ -138194,12 +138201,20 @@ var PublishingDateFilter = function PublishingDateFilter() {
|
|
|
138194
138201
|
}), void 0);
|
|
138195
138202
|
|
|
138196
138203
|
function handleStartDateChange(dateTime) {
|
|
138204
|
+
if (!dateTime || (filter === null || filter === void 0 ? void 0 : filter.afterDate) === dateTime) {
|
|
138205
|
+
return;
|
|
138206
|
+
}
|
|
138207
|
+
|
|
138197
138208
|
onChange(__assign$g(__assign$g({}, filter), {
|
|
138198
138209
|
afterDate: dateTime
|
|
138199
138210
|
}));
|
|
138200
138211
|
}
|
|
138201
138212
|
|
|
138202
138213
|
function handleEndDateChange(dateTime) {
|
|
138214
|
+
if (!dateTime || (filter === null || filter === void 0 ? void 0 : filter.beforeDate) === dateTime) {
|
|
138215
|
+
return;
|
|
138216
|
+
}
|
|
138217
|
+
|
|
138203
138218
|
onChange(__assign$g(__assign$g({}, filter), {
|
|
138204
138219
|
beforeDate: dateTime
|
|
138205
138220
|
}));
|
|
@@ -138217,14 +138232,11 @@ var PublishingDateFilter = function PublishingDateFilter() {
|
|
|
138217
138232
|
return undefined;
|
|
138218
138233
|
}
|
|
138219
138234
|
|
|
138220
|
-
var start = format(new Date(filter.afterDate), 'P');
|
|
138221
|
-
var end = format(new Date(filter.beforeDate), 'P');
|
|
138222
|
-
|
|
138223
138235
|
if (!filter.afterDate) {
|
|
138224
138236
|
return jsxs(Fragment, {
|
|
138225
138237
|
children: [jsx$1(FormattedMessage$1, {
|
|
138226
138238
|
id: "FilterPanel.publishingDateBefore"
|
|
138227
|
-
}, void 0), "\u00A0",
|
|
138239
|
+
}, void 0), "\u00A0", format(new Date(filter.beforeDate), 'P'), "\u00A0"]
|
|
138228
138240
|
}, void 0);
|
|
138229
138241
|
}
|
|
138230
138242
|
|
|
@@ -138232,10 +138244,12 @@ var PublishingDateFilter = function PublishingDateFilter() {
|
|
|
138232
138244
|
return jsxs(Fragment, {
|
|
138233
138245
|
children: [jsx$1(FormattedMessage$1, {
|
|
138234
138246
|
id: "FilterPanel.publishingDateAfter"
|
|
138235
|
-
}, void 0), "\u00A0",
|
|
138247
|
+
}, void 0), "\u00A0", format(new Date(filter.afterDate), 'P'), "\u00A0"]
|
|
138236
138248
|
}, void 0);
|
|
138237
138249
|
}
|
|
138238
138250
|
|
|
138251
|
+
var start = format(new Date(filter.afterDate), 'P');
|
|
138252
|
+
var end = format(new Date(filter.beforeDate), 'P');
|
|
138239
138253
|
return jsxs(Fragment, {
|
|
138240
138254
|
children: [start, " - ", end, "\u00A0"]
|
|
138241
138255
|
}, void 0);
|
package/index.umd.js
CHANGED
|
@@ -50859,6 +50859,13 @@
|
|
|
50859
50859
|
AudienceMatchMode[AudienceMatchMode["AnyGroupAndAnyProperty"] = 1] = "AnyGroupAndAnyProperty";
|
|
50860
50860
|
})(AudienceMatchMode || (AudienceMatchMode = {}));
|
|
50861
50861
|
|
|
50862
|
+
var LogoSize;
|
|
50863
|
+
|
|
50864
|
+
(function (LogoSize) {
|
|
50865
|
+
LogoSize["large"] = "large";
|
|
50866
|
+
LogoSize["small"] = "small";
|
|
50867
|
+
})(LogoSize || (LogoSize = {}));
|
|
50868
|
+
|
|
50862
50869
|
var LinkDirectoryResultType;
|
|
50863
50870
|
|
|
50864
50871
|
(function (LinkDirectoryResultType) {
|
|
@@ -87330,9 +87337,9 @@
|
|
|
87330
87337
|
}), void 0);
|
|
87331
87338
|
};
|
|
87332
87339
|
|
|
87333
|
-
var version$1 = "0.4.0-preview.
|
|
87334
|
-
var buildId = "
|
|
87335
|
-
var commitId = "
|
|
87340
|
+
var version$1 = "0.4.0-preview.251";
|
|
87341
|
+
var buildId = "99412";
|
|
87342
|
+
var commitId = "2c420a50db30d1346c56bdc22b51519deb34be2e";
|
|
87336
87343
|
var isCustomerBuild = false;
|
|
87337
87344
|
var buildInfo = {
|
|
87338
87345
|
version: version$1,
|
|
@@ -138066,12 +138073,20 @@
|
|
|
138066
138073
|
}), void 0);
|
|
138067
138074
|
|
|
138068
138075
|
function handleStartDateChange(dateTime) {
|
|
138076
|
+
if (!dateTime || (filter === null || filter === void 0 ? void 0 : filter.afterDate) === dateTime) {
|
|
138077
|
+
return;
|
|
138078
|
+
}
|
|
138079
|
+
|
|
138069
138080
|
onChange(__assign$g(__assign$g({}, filter), {
|
|
138070
138081
|
afterDate: dateTime
|
|
138071
138082
|
}));
|
|
138072
138083
|
}
|
|
138073
138084
|
|
|
138074
138085
|
function handleEndDateChange(dateTime) {
|
|
138086
|
+
if (!dateTime || (filter === null || filter === void 0 ? void 0 : filter.beforeDate) === dateTime) {
|
|
138087
|
+
return;
|
|
138088
|
+
}
|
|
138089
|
+
|
|
138075
138090
|
onChange(__assign$g(__assign$g({}, filter), {
|
|
138076
138091
|
beforeDate: dateTime
|
|
138077
138092
|
}));
|
|
@@ -138089,14 +138104,11 @@
|
|
|
138089
138104
|
return undefined;
|
|
138090
138105
|
}
|
|
138091
138106
|
|
|
138092
|
-
var start = format(new Date(filter.afterDate), 'P');
|
|
138093
|
-
var end = format(new Date(filter.beforeDate), 'P');
|
|
138094
|
-
|
|
138095
138107
|
if (!filter.afterDate) {
|
|
138096
138108
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
138097
138109
|
children: [jsxRuntime.jsx(FormattedMessage$1, {
|
|
138098
138110
|
id: "FilterPanel.publishingDateBefore"
|
|
138099
|
-
}, void 0), "\u00A0",
|
|
138111
|
+
}, void 0), "\u00A0", format(new Date(filter.beforeDate), 'P'), "\u00A0"]
|
|
138100
138112
|
}, void 0);
|
|
138101
138113
|
}
|
|
138102
138114
|
|
|
@@ -138104,10 +138116,12 @@
|
|
|
138104
138116
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
138105
138117
|
children: [jsxRuntime.jsx(FormattedMessage$1, {
|
|
138106
138118
|
id: "FilterPanel.publishingDateAfter"
|
|
138107
|
-
}, void 0), "\u00A0",
|
|
138119
|
+
}, void 0), "\u00A0", format(new Date(filter.afterDate), 'P'), "\u00A0"]
|
|
138108
138120
|
}, void 0);
|
|
138109
138121
|
}
|
|
138110
138122
|
|
|
138123
|
+
var start = format(new Date(filter.afterDate), 'P');
|
|
138124
|
+
var end = format(new Date(filter.beforeDate), 'P');
|
|
138111
138125
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
138112
138126
|
children: [start, " - ", end, "\u00A0"]
|
|
138113
138127
|
}, void 0);
|
|
@@ -157455,6 +157469,7 @@
|
|
|
157455
157469
|
"Customization.applicationLogo.dialog.example.appBar": "App bar (large screens)",
|
|
157456
157470
|
"Customization.applicationLogo.dialog.example.sidePanel": "Side panel overlay (small screens)",
|
|
157457
157471
|
"Customization.applicationLogo.dialog.example.email": "Emails",
|
|
157472
|
+
"Customization.applicationLogo.dialog.example.signIn": "Sign-in dialog",
|
|
157458
157473
|
"Customization.applicationLogoError": "Failed to save the application logo",
|
|
157459
157474
|
"Customization.applicationLogoResetError": "Failed to reset the application logo",
|
|
157460
157475
|
"Customization.favicon": "Favicon",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livetiles/reach-components-react",
|
|
3
3
|
"description": "Provides React components to consume LiveTiles Reach data",
|
|
4
|
-
"version": "0.4.0-preview.
|
|
4
|
+
"version": "0.4.0-preview.251",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"react": "^16.14.0 || ^17",
|
|
7
7
|
"react-dom": "^16.14.0 || ^17",
|