sample-piral 0.14.21-beta.4078 → 0.14.22
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/app/{index.7c40d9.js → index.4a25dc.js} +328 -1428
- package/app/index.4a25dc.js.map +1 -0
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +7 -7
- package/app/index.7c40d9.js.map +0 -1
|
@@ -3196,81 +3196,6 @@ function SetLayout(_ref) {
|
|
|
3196
3196
|
|
|
3197
3197
|
/***/ }),
|
|
3198
3198
|
|
|
3199
|
-
/***/ "../../framework/piral-core/esm/components/SetProvider.js":
|
|
3200
|
-
/*!****************************************************************!*\
|
|
3201
|
-
!*** ../../framework/piral-core/esm/components/SetProvider.js ***!
|
|
3202
|
-
\****************************************************************/
|
|
3203
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3204
|
-
|
|
3205
|
-
"use strict";
|
|
3206
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3207
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3208
|
-
/* harmony export */ "SetProvider": () => (/* binding */ SetProvider)
|
|
3209
|
-
/* harmony export */ });
|
|
3210
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
3211
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
3212
|
-
|
|
3213
|
-
/**
|
|
3214
|
-
* The component capable of setting a global provider at mounting.
|
|
3215
|
-
*/
|
|
3216
|
-
|
|
3217
|
-
function SetProvider(_ref) {
|
|
3218
|
-
var provider = _ref.provider;
|
|
3219
|
-
|
|
3220
|
-
var _useGlobalStateContex = (0,_hooks__WEBPACK_IMPORTED_MODULE_0__.useGlobalStateContext)(),
|
|
3221
|
-
includeProvider = _useGlobalStateContex.includeProvider;
|
|
3222
|
-
|
|
3223
|
-
(0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useSetter)(function () {
|
|
3224
|
-
return provider && includeProvider(provider);
|
|
3225
|
-
}); // tslint:disable-next-line:no-null-keyword
|
|
3226
|
-
|
|
3227
|
-
return null;
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
/***/ }),
|
|
3231
|
-
|
|
3232
|
-
/***/ "../../framework/piral-core/esm/components/SetRedirect.js":
|
|
3233
|
-
/*!****************************************************************!*\
|
|
3234
|
-
!*** ../../framework/piral-core/esm/components/SetRedirect.js ***!
|
|
3235
|
-
\****************************************************************/
|
|
3236
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3237
|
-
|
|
3238
|
-
"use strict";
|
|
3239
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3240
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3241
|
-
/* harmony export */ "SetRedirect": () => (/* binding */ SetRedirect)
|
|
3242
|
-
/* harmony export */ });
|
|
3243
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
3244
|
-
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
3245
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
3246
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
/**
|
|
3251
|
-
* The component capable of setting a global redirect route at mounting.
|
|
3252
|
-
*/
|
|
3253
|
-
|
|
3254
|
-
function SetRedirect(_ref) {
|
|
3255
|
-
var from = _ref.from,
|
|
3256
|
-
to = _ref.to;
|
|
3257
|
-
|
|
3258
|
-
var _useGlobalStateContex = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useGlobalStateContext)(),
|
|
3259
|
-
setRoute = _useGlobalStateContex.setRoute;
|
|
3260
|
-
|
|
3261
|
-
(0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useSetter)(function () {
|
|
3262
|
-
return setRoute(from, function () {
|
|
3263
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.Redirect, {
|
|
3264
|
-
to: to
|
|
3265
|
-
});
|
|
3266
|
-
});
|
|
3267
|
-
}); // tslint:disable-next-line:no-null-keyword
|
|
3268
|
-
|
|
3269
|
-
return null;
|
|
3270
|
-
}
|
|
3271
|
-
|
|
3272
|
-
/***/ }),
|
|
3273
|
-
|
|
3274
3199
|
/***/ "../../framework/piral-core/esm/components/SetRoute.js":
|
|
3275
3200
|
/*!*************************************************************!*\
|
|
3276
3201
|
!*** ../../framework/piral-core/esm/components/SetRoute.js ***!
|
|
@@ -3424,91 +3349,6 @@ var PiralLayout = getPiralComponent('Layout');
|
|
|
3424
3349
|
*/
|
|
3425
3350
|
|
|
3426
3351
|
var PiralDebug = getPiralComponent('Debug');
|
|
3427
|
-
|
|
3428
|
-
/***/ }),
|
|
3429
|
-
|
|
3430
|
-
/***/ "../../framework/piral-core/esm/components/index.js":
|
|
3431
|
-
/*!**********************************************************!*\
|
|
3432
|
-
!*** ../../framework/piral-core/esm/components/index.js ***!
|
|
3433
|
-
\**********************************************************/
|
|
3434
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3435
|
-
|
|
3436
|
-
"use strict";
|
|
3437
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3438
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3439
|
-
/* harmony export */ "PiralDebug": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralDebug),
|
|
3440
|
-
/* harmony export */ "PiralError": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralError),
|
|
3441
|
-
/* harmony export */ "PiralLayout": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralLayout),
|
|
3442
|
-
/* harmony export */ "PiralLoadingIndicator": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralLoadingIndicator),
|
|
3443
|
-
/* harmony export */ "PiralRouteSwitch": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralRouteSwitch),
|
|
3444
|
-
/* harmony export */ "PiralRouter": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralRouter),
|
|
3445
|
-
/* harmony export */ "getPiralComponent": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.getPiralComponent),
|
|
3446
|
-
/* harmony export */ "DefaultErrorInfo": () => (/* reexport safe */ _DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_1__.DefaultErrorInfo),
|
|
3447
|
-
/* harmony export */ "DefaultLayout": () => (/* reexport safe */ _DefaultLayout__WEBPACK_IMPORTED_MODULE_2__.DefaultLayout),
|
|
3448
|
-
/* harmony export */ "DefaultLoadingIndicator": () => (/* reexport safe */ _DefaultLoader__WEBPACK_IMPORTED_MODULE_3__.DefaultLoadingIndicator),
|
|
3449
|
-
/* harmony export */ "DefaultRouter": () => (/* reexport safe */ _DefaultRouter__WEBPACK_IMPORTED_MODULE_4__.DefaultRouter),
|
|
3450
|
-
/* harmony export */ "DefaultRouteSwitch": () => (/* reexport safe */ _DefaultRouteSwitch__WEBPACK_IMPORTED_MODULE_5__.DefaultRouteSwitch),
|
|
3451
|
-
/* harmony export */ "ErrorBoundary": () => (/* reexport safe */ _ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__.ErrorBoundary),
|
|
3452
|
-
/* harmony export */ "ExtensionSlot": () => (/* reexport safe */ _ExtensionSlot__WEBPACK_IMPORTED_MODULE_7__.ExtensionSlot),
|
|
3453
|
-
/* harmony export */ "Mediator": () => (/* reexport safe */ _Mediator__WEBPACK_IMPORTED_MODULE_8__.Mediator),
|
|
3454
|
-
/* harmony export */ "PiralRoutes": () => (/* reexport safe */ _PiralRoutes__WEBPACK_IMPORTED_MODULE_9__.PiralRoutes),
|
|
3455
|
-
/* harmony export */ "PiralView": () => (/* reexport safe */ _PiralView__WEBPACK_IMPORTED_MODULE_10__.PiralView),
|
|
3456
|
-
/* harmony export */ "PortalRenderer": () => (/* reexport safe */ _PortalRenderer__WEBPACK_IMPORTED_MODULE_11__.PortalRenderer),
|
|
3457
|
-
/* harmony export */ "ResponsiveLayout": () => (/* reexport safe */ _ResponsiveLayout__WEBPACK_IMPORTED_MODULE_12__.ResponsiveLayout),
|
|
3458
|
-
/* harmony export */ "SetComponent": () => (/* reexport safe */ _SetComponent__WEBPACK_IMPORTED_MODULE_13__.SetComponent),
|
|
3459
|
-
/* harmony export */ "SetError": () => (/* reexport safe */ _SetError__WEBPACK_IMPORTED_MODULE_14__.SetError),
|
|
3460
|
-
/* harmony export */ "SetErrors": () => (/* reexport safe */ _SetErrors__WEBPACK_IMPORTED_MODULE_15__.SetErrors),
|
|
3461
|
-
/* harmony export */ "SetLayout": () => (/* reexport safe */ _SetLayout__WEBPACK_IMPORTED_MODULE_16__.SetLayout),
|
|
3462
|
-
/* harmony export */ "SetProvider": () => (/* reexport safe */ _SetProvider__WEBPACK_IMPORTED_MODULE_17__.SetProvider),
|
|
3463
|
-
/* harmony export */ "SetRedirect": () => (/* reexport safe */ _SetRedirect__WEBPACK_IMPORTED_MODULE_18__.SetRedirect),
|
|
3464
|
-
/* harmony export */ "SetRoute": () => (/* reexport safe */ _SetRoute__WEBPACK_IMPORTED_MODULE_19__.SetRoute),
|
|
3465
|
-
/* harmony export */ "SwitchErrorInfo": () => (/* reexport safe */ _SwitchErrorInfo__WEBPACK_IMPORTED_MODULE_20__.SwitchErrorInfo),
|
|
3466
|
-
/* harmony export */ "wrapComponent": () => (/* reexport safe */ _wrapComponent__WEBPACK_IMPORTED_MODULE_21__.wrapComponent)
|
|
3467
|
-
/* harmony export */ });
|
|
3468
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/components.js");
|
|
3469
|
-
/* harmony import */ var _DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DefaultErrorInfo */ "../../framework/piral-core/esm/components/DefaultErrorInfo.js");
|
|
3470
|
-
/* harmony import */ var _DefaultLayout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DefaultLayout */ "../../framework/piral-core/esm/components/DefaultLayout.js");
|
|
3471
|
-
/* harmony import */ var _DefaultLoader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./DefaultLoader */ "../../framework/piral-core/esm/components/DefaultLoader.js");
|
|
3472
|
-
/* harmony import */ var _DefaultRouter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./DefaultRouter */ "../../framework/piral-core/esm/components/DefaultRouter.js");
|
|
3473
|
-
/* harmony import */ var _DefaultRouteSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./DefaultRouteSwitch */ "../../framework/piral-core/esm/components/DefaultRouteSwitch.js");
|
|
3474
|
-
/* harmony import */ var _ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ErrorBoundary */ "../../framework/piral-core/esm/components/ErrorBoundary.js");
|
|
3475
|
-
/* harmony import */ var _ExtensionSlot__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ExtensionSlot */ "../../framework/piral-core/esm/components/ExtensionSlot.js");
|
|
3476
|
-
/* harmony import */ var _Mediator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Mediator */ "../../framework/piral-core/esm/components/Mediator.js");
|
|
3477
|
-
/* harmony import */ var _PiralRoutes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./PiralRoutes */ "../../framework/piral-core/esm/components/PiralRoutes.js");
|
|
3478
|
-
/* harmony import */ var _PiralView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./PiralView */ "../../framework/piral-core/esm/components/PiralView.js");
|
|
3479
|
-
/* harmony import */ var _PortalRenderer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./PortalRenderer */ "../../framework/piral-core/esm/components/PortalRenderer.js");
|
|
3480
|
-
/* harmony import */ var _ResponsiveLayout__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ResponsiveLayout */ "../../framework/piral-core/esm/components/ResponsiveLayout.js");
|
|
3481
|
-
/* harmony import */ var _SetComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./SetComponent */ "../../framework/piral-core/esm/components/SetComponent.js");
|
|
3482
|
-
/* harmony import */ var _SetError__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./SetError */ "../../framework/piral-core/esm/components/SetError.js");
|
|
3483
|
-
/* harmony import */ var _SetErrors__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./SetErrors */ "../../framework/piral-core/esm/components/SetErrors.js");
|
|
3484
|
-
/* harmony import */ var _SetLayout__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./SetLayout */ "../../framework/piral-core/esm/components/SetLayout.js");
|
|
3485
|
-
/* harmony import */ var _SetProvider__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./SetProvider */ "../../framework/piral-core/esm/components/SetProvider.js");
|
|
3486
|
-
/* harmony import */ var _SetRedirect__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./SetRedirect */ "../../framework/piral-core/esm/components/SetRedirect.js");
|
|
3487
|
-
/* harmony import */ var _SetRoute__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./SetRoute */ "../../framework/piral-core/esm/components/SetRoute.js");
|
|
3488
|
-
/* harmony import */ var _SwitchErrorInfo__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./SwitchErrorInfo */ "../../framework/piral-core/esm/components/SwitchErrorInfo.js");
|
|
3489
|
-
/* harmony import */ var _wrapComponent__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./wrapComponent */ "../../framework/piral-core/esm/components/wrapComponent.js");
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
3352
|
|
|
3513
3353
|
/***/ }),
|
|
3514
3354
|
|
|
@@ -3685,7 +3525,7 @@ function createInstance() {
|
|
|
3685
3525
|
var createApi = apiFactory(context, usedPlugins);
|
|
3686
3526
|
var root = createApi({
|
|
3687
3527
|
name: 'root',
|
|
3688
|
-
version: "0.14.
|
|
3528
|
+
version: "0.14.22" || 0,
|
|
3689
3529
|
spec: ''
|
|
3690
3530
|
});
|
|
3691
3531
|
var options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -3875,38 +3715,6 @@ function useGlobalState(select) {
|
|
|
3875
3715
|
});
|
|
3876
3716
|
}
|
|
3877
3717
|
|
|
3878
|
-
/***/ }),
|
|
3879
|
-
|
|
3880
|
-
/***/ "../../framework/piral-core/esm/hooks/index.js":
|
|
3881
|
-
/*!*****************************************************!*\
|
|
3882
|
-
!*** ../../framework/piral-core/esm/hooks/index.js ***!
|
|
3883
|
-
\*****************************************************/
|
|
3884
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3885
|
-
|
|
3886
|
-
"use strict";
|
|
3887
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3888
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3889
|
-
/* harmony export */ "useAction": () => (/* reexport safe */ _action__WEBPACK_IMPORTED_MODULE_0__.useAction),
|
|
3890
|
-
/* harmony export */ "useActions": () => (/* reexport safe */ _actions__WEBPACK_IMPORTED_MODULE_1__.useActions),
|
|
3891
|
-
/* harmony export */ "useGlobalState": () => (/* reexport safe */ _globalState__WEBPACK_IMPORTED_MODULE_2__.useGlobalState),
|
|
3892
|
-
/* harmony export */ "useGlobalStateContext": () => (/* reexport safe */ _globalState__WEBPACK_IMPORTED_MODULE_2__.useGlobalStateContext),
|
|
3893
|
-
/* harmony export */ "useMedia": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_3__.useMedia),
|
|
3894
|
-
/* harmony export */ "useSetter": () => (/* reexport safe */ _setter__WEBPACK_IMPORTED_MODULE_4__.useSetter),
|
|
3895
|
-
/* harmony export */ "useSharedData": () => (/* reexport safe */ _sharedData__WEBPACK_IMPORTED_MODULE_5__.useSharedData)
|
|
3896
|
-
/* harmony export */ });
|
|
3897
|
-
/* harmony import */ var _action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./action */ "../../framework/piral-core/esm/hooks/action.js");
|
|
3898
|
-
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ "../../framework/piral-core/esm/hooks/actions.js");
|
|
3899
|
-
/* harmony import */ var _globalState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./globalState */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
3900
|
-
/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./media */ "../../framework/piral-core/esm/hooks/media.js");
|
|
3901
|
-
/* harmony import */ var _setter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./setter */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
3902
|
-
/* harmony import */ var _sharedData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./sharedData */ "../../framework/piral-core/esm/hooks/sharedData.js");
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
3718
|
/***/ }),
|
|
3911
3719
|
|
|
3912
3720
|
/***/ "../../framework/piral-core/esm/hooks/media.js":
|
|
@@ -4002,144 +3810,6 @@ function useSetter(cb) {
|
|
|
4002
3810
|
useEffect(cb, _utils_helpers__WEBPACK_IMPORTED_MODULE_1__.none);
|
|
4003
3811
|
}
|
|
4004
3812
|
|
|
4005
|
-
/***/ }),
|
|
4006
|
-
|
|
4007
|
-
/***/ "../../framework/piral-core/esm/hooks/sharedData.js":
|
|
4008
|
-
/*!**********************************************************!*\
|
|
4009
|
-
!*** ../../framework/piral-core/esm/hooks/sharedData.js ***!
|
|
4010
|
-
\**********************************************************/
|
|
4011
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4012
|
-
|
|
4013
|
-
"use strict";
|
|
4014
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4015
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4016
|
-
/* harmony export */ "useSharedData": () => (/* binding */ useSharedData)
|
|
4017
|
-
/* harmony export */ });
|
|
4018
|
-
/* harmony import */ var _globalState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globalState */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
4019
|
-
|
|
4020
|
-
function useSharedData(s) {
|
|
4021
|
-
var select = s || function (m) {
|
|
4022
|
-
return m;
|
|
4023
|
-
};
|
|
4024
|
-
|
|
4025
|
-
return (0,_globalState__WEBPACK_IMPORTED_MODULE_0__.useGlobalState)(function (s) {
|
|
4026
|
-
return select(s.data);
|
|
4027
|
-
});
|
|
4028
|
-
}
|
|
4029
|
-
|
|
4030
|
-
/***/ }),
|
|
4031
|
-
|
|
4032
|
-
/***/ "../../framework/piral-core/esm/index.js":
|
|
4033
|
-
/*!***********************************************!*\
|
|
4034
|
-
!*** ../../framework/piral-core/esm/index.js ***!
|
|
4035
|
-
\***********************************************/
|
|
4036
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4037
|
-
|
|
4038
|
-
"use strict";
|
|
4039
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4040
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4041
|
-
/* harmony export */ "createInstance": () => (/* reexport safe */ _createInstance__WEBPACK_IMPORTED_MODULE_0__.createInstance),
|
|
4042
|
-
/* harmony export */ "Piral": () => (/* reexport safe */ _Piral__WEBPACK_IMPORTED_MODULE_1__.Piral),
|
|
4043
|
-
/* harmony export */ "createPiletOptions": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.createPiletOptions),
|
|
4044
|
-
/* harmony export */ "DefaultErrorInfo": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.DefaultErrorInfo),
|
|
4045
|
-
/* harmony export */ "DefaultLayout": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.DefaultLayout),
|
|
4046
|
-
/* harmony export */ "DefaultLoadingIndicator": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.DefaultLoadingIndicator),
|
|
4047
|
-
/* harmony export */ "DefaultRouteSwitch": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.DefaultRouteSwitch),
|
|
4048
|
-
/* harmony export */ "DefaultRouter": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.DefaultRouter),
|
|
4049
|
-
/* harmony export */ "ErrorBoundary": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.ErrorBoundary),
|
|
4050
|
-
/* harmony export */ "ExtensionSlot": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.ExtensionSlot),
|
|
4051
|
-
/* harmony export */ "Mediator": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.Mediator),
|
|
4052
|
-
/* harmony export */ "PiralDebug": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralDebug),
|
|
4053
|
-
/* harmony export */ "PiralError": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralError),
|
|
4054
|
-
/* harmony export */ "PiralLayout": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralLayout),
|
|
4055
|
-
/* harmony export */ "PiralLoadingIndicator": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralLoadingIndicator),
|
|
4056
|
-
/* harmony export */ "PiralRouteSwitch": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralRouteSwitch),
|
|
4057
|
-
/* harmony export */ "PiralRouter": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralRouter),
|
|
4058
|
-
/* harmony export */ "PiralRoutes": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralRoutes),
|
|
4059
|
-
/* harmony export */ "PiralView": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PiralView),
|
|
4060
|
-
/* harmony export */ "PortalRenderer": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.PortalRenderer),
|
|
4061
|
-
/* harmony export */ "ResponsiveLayout": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.ResponsiveLayout),
|
|
4062
|
-
/* harmony export */ "SetComponent": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetComponent),
|
|
4063
|
-
/* harmony export */ "SetError": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetError),
|
|
4064
|
-
/* harmony export */ "SetErrors": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetErrors),
|
|
4065
|
-
/* harmony export */ "SetLayout": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetLayout),
|
|
4066
|
-
/* harmony export */ "SetProvider": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetProvider),
|
|
4067
|
-
/* harmony export */ "SetRedirect": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetRedirect),
|
|
4068
|
-
/* harmony export */ "SetRoute": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SetRoute),
|
|
4069
|
-
/* harmony export */ "SwitchErrorInfo": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.SwitchErrorInfo),
|
|
4070
|
-
/* harmony export */ "getPiralComponent": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.getPiralComponent),
|
|
4071
|
-
/* harmony export */ "wrapComponent": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.wrapComponent),
|
|
4072
|
-
/* harmony export */ "useAction": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useAction),
|
|
4073
|
-
/* harmony export */ "useActions": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useActions),
|
|
4074
|
-
/* harmony export */ "useGlobalState": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useGlobalState),
|
|
4075
|
-
/* harmony export */ "useGlobalStateContext": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useGlobalStateContext),
|
|
4076
|
-
/* harmony export */ "useMedia": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useMedia),
|
|
4077
|
-
/* harmony export */ "useSetter": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useSetter),
|
|
4078
|
-
/* harmony export */ "useSharedData": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_4__.useSharedData),
|
|
4079
|
-
/* harmony export */ "StateContext": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_5__.StateContext),
|
|
4080
|
-
/* harmony export */ "createActions": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_5__.createActions),
|
|
4081
|
-
/* harmony export */ "createGlobalState": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_5__.createGlobalState),
|
|
4082
|
-
/* harmony export */ "includeActions": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_5__.includeActions),
|
|
4083
|
-
/* harmony export */ "withApi": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_5__.withApi),
|
|
4084
|
-
/* harmony export */ "appendItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.appendItem),
|
|
4085
|
-
/* harmony export */ "appendItems": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.appendItems),
|
|
4086
|
-
/* harmony export */ "attachDomPortal": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.attachDomPortal),
|
|
4087
|
-
/* harmony export */ "buildName": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.buildName),
|
|
4088
|
-
/* harmony export */ "changeDomPortal": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.changeDomPortal),
|
|
4089
|
-
/* harmony export */ "compare": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.compare),
|
|
4090
|
-
/* harmony export */ "convertComponent": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.convertComponent),
|
|
4091
|
-
/* harmony export */ "cookie": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.cookie),
|
|
4092
|
-
/* harmony export */ "createDataOptions": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.createDataOptions),
|
|
4093
|
-
/* harmony export */ "createDataView": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.createDataView),
|
|
4094
|
-
/* harmony export */ "defaultBreakpoints": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.defaultBreakpoints),
|
|
4095
|
-
/* harmony export */ "defaultLayouts": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.defaultLayouts),
|
|
4096
|
-
/* harmony export */ "defaultRender": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.defaultRender),
|
|
4097
|
-
/* harmony export */ "excludeItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.excludeItem),
|
|
4098
|
-
/* harmony export */ "excludeOn": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.excludeOn),
|
|
4099
|
-
/* harmony export */ "generateId": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.generateId),
|
|
4100
|
-
/* harmony export */ "getCurrentLayout": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.getCurrentLayout),
|
|
4101
|
-
/* harmony export */ "getDataExpiration": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.getDataExpiration),
|
|
4102
|
-
/* harmony export */ "includeItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.includeItem),
|
|
4103
|
-
/* harmony export */ "none": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.none),
|
|
4104
|
-
/* harmony export */ "noop": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.noop),
|
|
4105
|
-
/* harmony export */ "prependItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.prependItem),
|
|
4106
|
-
/* harmony export */ "prependItems": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.prependItems),
|
|
4107
|
-
/* harmony export */ "reactifyContent": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.reactifyContent),
|
|
4108
|
-
/* harmony export */ "removeIndicator": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.removeIndicator),
|
|
4109
|
-
/* harmony export */ "removeNested": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.removeNested),
|
|
4110
|
-
/* harmony export */ "renderInDom": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.renderInDom),
|
|
4111
|
-
/* harmony export */ "replaceOrAddItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.replaceOrAddItem),
|
|
4112
|
-
/* harmony export */ "storage": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.storage),
|
|
4113
|
-
/* harmony export */ "toExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.toExtension),
|
|
4114
|
-
/* harmony export */ "tryParseJson": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.tryParseJson),
|
|
4115
|
-
/* harmony export */ "updateKey": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.updateKey),
|
|
4116
|
-
/* harmony export */ "withAll": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withAll),
|
|
4117
|
-
/* harmony export */ "withExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withExtension),
|
|
4118
|
-
/* harmony export */ "withKey": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withKey),
|
|
4119
|
-
/* harmony export */ "withPage": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withPage),
|
|
4120
|
-
/* harmony export */ "withProvider": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withProvider),
|
|
4121
|
-
/* harmony export */ "withRootExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withRootExtension),
|
|
4122
|
-
/* harmony export */ "withRoute": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withRoute),
|
|
4123
|
-
/* harmony export */ "withoutExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withoutExtension),
|
|
4124
|
-
/* harmony export */ "withoutKey": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withoutKey),
|
|
4125
|
-
/* harmony export */ "withoutPage": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withoutPage)
|
|
4126
|
-
/* harmony export */ });
|
|
4127
|
-
/* harmony import */ var _createInstance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createInstance */ "../../framework/piral-core/esm/createInstance.js");
|
|
4128
|
-
/* harmony import */ var _Piral__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Piral */ "../../framework/piral-core/esm/Piral.js");
|
|
4129
|
-
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers */ "../../framework/piral-core/esm/helpers.js");
|
|
4130
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/index.js");
|
|
4131
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks */ "../../framework/piral-core/esm/hooks/index.js");
|
|
4132
|
-
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./state */ "../../framework/piral-core/esm/state/index.js");
|
|
4133
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils */ "../../framework/piral-core/esm/utils/index.js");
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
3813
|
/***/ }),
|
|
4144
3814
|
|
|
4145
3815
|
/***/ "../../framework/piral-core/esm/modules/api.js":
|
|
@@ -4302,7 +3972,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4302
3972
|
/* harmony export */ "defaultModuleRequester": () => (/* binding */ defaultModuleRequester)
|
|
4303
3973
|
/* harmony export */ });
|
|
4304
3974
|
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/utils.js");
|
|
4305
|
-
/* harmony import */ var
|
|
3975
|
+
/* harmony import */ var _dependencies_codegen__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../dependencies.codegen */ "../../framework/piral-core/dependencies.codegen");
|
|
4306
3976
|
|
|
4307
3977
|
|
|
4308
3978
|
/**
|
|
@@ -4312,26 +3982,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4312
3982
|
|
|
4313
3983
|
var globalDependencies = {};
|
|
4314
3984
|
|
|
4315
|
-
if (
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
if ((0,piral_base__WEBPACK_IMPORTED_MODULE_0__.isfunc)(fillDependencies)) {
|
|
4319
|
-
fillDependencies(globalDependencies);
|
|
4320
|
-
} else {
|
|
4321
|
-
// fall back to the default list if the codegen is invalid / not supported
|
|
4322
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_1__.__assign)(globalDependencies, {
|
|
4323
|
-
react: __webpack_require__(/*! react */ "../../../node_modules/react/index.js"),
|
|
4324
|
-
'react-dom': __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js"),
|
|
4325
|
-
'react-router': __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js"),
|
|
4326
|
-
'react-router-dom': __webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js"),
|
|
4327
|
-
history: __webpack_require__(/*! history */ "../../../node_modules/history/esm/history.js"),
|
|
4328
|
-
tslib: __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js"),
|
|
4329
|
-
'path-to-regexp': __webpack_require__(/*! path-to-regexp */ "../../../node_modules/path-to-regexp/index.js"),
|
|
4330
|
-
'@libre/atom': __webpack_require__(/*! @libre/atom */ "../../../node_modules/@libre/atom/dist/index.esm.js"),
|
|
4331
|
-
'@dbeining/react-atom': __webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js")
|
|
4332
|
-
});
|
|
4333
|
-
}
|
|
4334
|
-
} else {}
|
|
3985
|
+
if ((0,piral_base__WEBPACK_IMPORTED_MODULE_0__.isfunc)(_dependencies_codegen__WEBPACK_IMPORTED_MODULE_1__["default"])) {
|
|
3986
|
+
(0,_dependencies_codegen__WEBPACK_IMPORTED_MODULE_1__["default"])(globalDependencies);
|
|
3987
|
+
}
|
|
4335
3988
|
/**
|
|
4336
3989
|
* The default dependency selector, which just returns the provided
|
|
4337
3990
|
* dependencies.
|
|
@@ -4661,32 +4314,6 @@ function createGlobalState() {
|
|
|
4661
4314
|
return _dbeining_react_atom__WEBPACK_IMPORTED_MODULE_5__.Atom.of(extend(defaultState, customState));
|
|
4662
4315
|
}
|
|
4663
4316
|
|
|
4664
|
-
/***/ }),
|
|
4665
|
-
|
|
4666
|
-
/***/ "../../framework/piral-core/esm/state/index.js":
|
|
4667
|
-
/*!*****************************************************!*\
|
|
4668
|
-
!*** ../../framework/piral-core/esm/state/index.js ***!
|
|
4669
|
-
\*****************************************************/
|
|
4670
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4671
|
-
|
|
4672
|
-
"use strict";
|
|
4673
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4674
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4675
|
-
/* harmony export */ "createActions": () => (/* reexport safe */ _createActions__WEBPACK_IMPORTED_MODULE_0__.createActions),
|
|
4676
|
-
/* harmony export */ "includeActions": () => (/* reexport safe */ _createActions__WEBPACK_IMPORTED_MODULE_0__.includeActions),
|
|
4677
|
-
/* harmony export */ "createGlobalState": () => (/* reexport safe */ _createGlobalState__WEBPACK_IMPORTED_MODULE_1__.createGlobalState),
|
|
4678
|
-
/* harmony export */ "StateContext": () => (/* reexport safe */ _stateContext__WEBPACK_IMPORTED_MODULE_2__.StateContext),
|
|
4679
|
-
/* harmony export */ "withApi": () => (/* reexport safe */ _withApi__WEBPACK_IMPORTED_MODULE_3__.withApi)
|
|
4680
|
-
/* harmony export */ });
|
|
4681
|
-
/* harmony import */ var _createActions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createActions */ "../../framework/piral-core/esm/state/createActions.js");
|
|
4682
|
-
/* harmony import */ var _createGlobalState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createGlobalState */ "../../framework/piral-core/esm/state/createGlobalState.js");
|
|
4683
|
-
/* harmony import */ var _stateContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./stateContext */ "../../framework/piral-core/esm/state/stateContext.js");
|
|
4684
|
-
/* harmony import */ var _withApi__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./withApi */ "../../framework/piral-core/esm/state/withApi.js");
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
4317
|
/***/ }),
|
|
4691
4318
|
|
|
4692
4319
|
/***/ "../../framework/piral-core/esm/state/stateContext.js":
|
|
@@ -4768,53 +4395,6 @@ function withApi(context, component, piral, errorType) {
|
|
|
4768
4395
|
|
|
4769
4396
|
/***/ }),
|
|
4770
4397
|
|
|
4771
|
-
/***/ "../../framework/piral-core/esm/utils/compare.js":
|
|
4772
|
-
/*!*******************************************************!*\
|
|
4773
|
-
!*** ../../framework/piral-core/esm/utils/compare.js ***!
|
|
4774
|
-
\*******************************************************/
|
|
4775
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4776
|
-
|
|
4777
|
-
"use strict";
|
|
4778
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4779
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4780
|
-
/* harmony export */ "compare": () => (/* binding */ compare)
|
|
4781
|
-
/* harmony export */ });
|
|
4782
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4783
|
-
|
|
4784
|
-
function compareObjects(a, b) {
|
|
4785
|
-
for (var i in a) {
|
|
4786
|
-
if (!(i in b)) {
|
|
4787
|
-
return false;
|
|
4788
|
-
}
|
|
4789
|
-
}
|
|
4790
|
-
|
|
4791
|
-
for (var _i in b) {
|
|
4792
|
-
if (!compare(a[_i], b[_i])) {
|
|
4793
|
-
return false;
|
|
4794
|
-
}
|
|
4795
|
-
}
|
|
4796
|
-
|
|
4797
|
-
return true;
|
|
4798
|
-
}
|
|
4799
|
-
|
|
4800
|
-
function compare(a, b) {
|
|
4801
|
-
if (a !== b) {
|
|
4802
|
-
var ta = _typeof(a);
|
|
4803
|
-
|
|
4804
|
-
var tb = _typeof(b);
|
|
4805
|
-
|
|
4806
|
-
if (ta === tb && ta === 'object' && a && b) {
|
|
4807
|
-
return compareObjects(a, b);
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
|
-
return false;
|
|
4811
|
-
}
|
|
4812
|
-
|
|
4813
|
-
return true;
|
|
4814
|
-
}
|
|
4815
|
-
|
|
4816
|
-
/***/ }),
|
|
4817
|
-
|
|
4818
4398
|
/***/ "../../framework/piral-core/esm/utils/data.js":
|
|
4819
4399
|
/*!****************************************************!*\
|
|
4820
4400
|
!*** ../../framework/piral-core/esm/utils/data.js ***!
|
|
@@ -5162,81 +4742,6 @@ function tryParseJson(content) {
|
|
|
5162
4742
|
}
|
|
5163
4743
|
}
|
|
5164
4744
|
|
|
5165
|
-
/***/ }),
|
|
5166
|
-
|
|
5167
|
-
/***/ "../../framework/piral-core/esm/utils/index.js":
|
|
5168
|
-
/*!*****************************************************!*\
|
|
5169
|
-
!*** ../../framework/piral-core/esm/utils/index.js ***!
|
|
5170
|
-
\*****************************************************/
|
|
5171
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5172
|
-
|
|
5173
|
-
"use strict";
|
|
5174
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5175
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5176
|
-
/* harmony export */ "compare": () => (/* reexport safe */ _compare__WEBPACK_IMPORTED_MODULE_0__.compare),
|
|
5177
|
-
/* harmony export */ "createDataOptions": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.createDataOptions),
|
|
5178
|
-
/* harmony export */ "createDataView": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.createDataView),
|
|
5179
|
-
/* harmony export */ "getDataExpiration": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.getDataExpiration),
|
|
5180
|
-
/* harmony export */ "reactifyContent": () => (/* reexport safe */ _extension__WEBPACK_IMPORTED_MODULE_2__.reactifyContent),
|
|
5181
|
-
/* harmony export */ "toExtension": () => (/* reexport safe */ _extension__WEBPACK_IMPORTED_MODULE_2__.toExtension),
|
|
5182
|
-
/* harmony export */ "attachDomPortal": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.attachDomPortal),
|
|
5183
|
-
/* harmony export */ "changeDomPortal": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.changeDomPortal),
|
|
5184
|
-
/* harmony export */ "convertComponent": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.convertComponent),
|
|
5185
|
-
/* harmony export */ "renderInDom": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.renderInDom),
|
|
5186
|
-
/* harmony export */ "buildName": () => (/* reexport safe */ _guid__WEBPACK_IMPORTED_MODULE_4__.buildName),
|
|
5187
|
-
/* harmony export */ "generateId": () => (/* reexport safe */ _guid__WEBPACK_IMPORTED_MODULE_4__.generateId),
|
|
5188
|
-
/* harmony export */ "appendItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.appendItem),
|
|
5189
|
-
/* harmony export */ "appendItems": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.appendItems),
|
|
5190
|
-
/* harmony export */ "excludeItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.excludeItem),
|
|
5191
|
-
/* harmony export */ "excludeOn": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.excludeOn),
|
|
5192
|
-
/* harmony export */ "includeItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.includeItem),
|
|
5193
|
-
/* harmony export */ "none": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.none),
|
|
5194
|
-
/* harmony export */ "noop": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.noop),
|
|
5195
|
-
/* harmony export */ "prependItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.prependItem),
|
|
5196
|
-
/* harmony export */ "prependItems": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.prependItems),
|
|
5197
|
-
/* harmony export */ "removeIndicator": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.removeIndicator),
|
|
5198
|
-
/* harmony export */ "removeNested": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.removeNested),
|
|
5199
|
-
/* harmony export */ "replaceOrAddItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.replaceOrAddItem),
|
|
5200
|
-
/* harmony export */ "tryParseJson": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.tryParseJson),
|
|
5201
|
-
/* harmony export */ "updateKey": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.updateKey),
|
|
5202
|
-
/* harmony export */ "withKey": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.withKey),
|
|
5203
|
-
/* harmony export */ "withoutKey": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.withoutKey),
|
|
5204
|
-
/* harmony export */ "defaultBreakpoints": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_6__.defaultBreakpoints),
|
|
5205
|
-
/* harmony export */ "defaultLayouts": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_6__.defaultLayouts),
|
|
5206
|
-
/* harmony export */ "getCurrentLayout": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_6__.getCurrentLayout),
|
|
5207
|
-
/* harmony export */ "defaultRender": () => (/* reexport safe */ _react__WEBPACK_IMPORTED_MODULE_7__.defaultRender),
|
|
5208
|
-
/* harmony export */ "withAll": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withAll),
|
|
5209
|
-
/* harmony export */ "withExtension": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withExtension),
|
|
5210
|
-
/* harmony export */ "withPage": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withPage),
|
|
5211
|
-
/* harmony export */ "withProvider": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withProvider),
|
|
5212
|
-
/* harmony export */ "withRootExtension": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withRootExtension),
|
|
5213
|
-
/* harmony export */ "withRoute": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withRoute),
|
|
5214
|
-
/* harmony export */ "withoutExtension": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withoutExtension),
|
|
5215
|
-
/* harmony export */ "withoutPage": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withoutPage),
|
|
5216
|
-
/* harmony export */ "cookie": () => (/* reexport safe */ _storage__WEBPACK_IMPORTED_MODULE_9__.cookie),
|
|
5217
|
-
/* harmony export */ "storage": () => (/* reexport safe */ _storage__WEBPACK_IMPORTED_MODULE_9__.storage)
|
|
5218
|
-
/* harmony export */ });
|
|
5219
|
-
/* harmony import */ var _compare__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./compare */ "../../framework/piral-core/esm/utils/compare.js");
|
|
5220
|
-
/* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./data */ "../../framework/piral-core/esm/utils/data.js");
|
|
5221
|
-
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./extension */ "../../framework/piral-core/esm/utils/extension.js");
|
|
5222
|
-
/* harmony import */ var _foreign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foreign */ "../../framework/piral-core/esm/utils/foreign.js");
|
|
5223
|
-
/* harmony import */ var _guid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./guid */ "../../framework/piral-core/esm/utils/guid.js");
|
|
5224
|
-
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
5225
|
-
/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./media */ "../../framework/piral-core/esm/utils/media.js");
|
|
5226
|
-
/* harmony import */ var _react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./react */ "../../framework/piral-core/esm/utils/react.js");
|
|
5227
|
-
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./state */ "../../framework/piral-core/esm/utils/state.js");
|
|
5228
|
-
/* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./storage */ "../../framework/piral-core/esm/utils/storage.js");
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
4745
|
/***/ }),
|
|
5241
4746
|
|
|
5242
4747
|
/***/ "../../framework/piral-core/esm/utils/media.js":
|
|
@@ -5615,58 +5120,6 @@ function getAppInstance() {
|
|
|
5615
5120
|
|
|
5616
5121
|
/***/ }),
|
|
5617
5122
|
|
|
5618
|
-
/***/ "../../framework/piral/esm/hooks/index.js":
|
|
5619
|
-
/*!************************************************!*\
|
|
5620
|
-
!*** ../../framework/piral/esm/hooks/index.js ***!
|
|
5621
|
-
\************************************************/
|
|
5622
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5623
|
-
|
|
5624
|
-
"use strict";
|
|
5625
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5626
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5627
|
-
/* harmony export */ "useLockBodyScroll": () => (/* reexport safe */ _lockBodyScroll__WEBPACK_IMPORTED_MODULE_0__.useLockBodyScroll),
|
|
5628
|
-
/* harmony export */ "useOnClickOutside": () => (/* reexport safe */ _onClickOutside__WEBPACK_IMPORTED_MODULE_1__.useOnClickOutside),
|
|
5629
|
-
/* harmony export */ "useOnScreenVisible": () => (/* reexport safe */ _onScreenVisible__WEBPACK_IMPORTED_MODULE_2__.useOnScreenVisible)
|
|
5630
|
-
/* harmony export */ });
|
|
5631
|
-
/* harmony import */ var _lockBodyScroll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lockBodyScroll */ "../../framework/piral/esm/hooks/lockBodyScroll.js");
|
|
5632
|
-
/* harmony import */ var _onClickOutside__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./onClickOutside */ "../../framework/piral/esm/hooks/onClickOutside.js");
|
|
5633
|
-
/* harmony import */ var _onScreenVisible__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./onScreenVisible */ "../../framework/piral/esm/hooks/onScreenVisible.js");
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
/***/ }),
|
|
5639
|
-
|
|
5640
|
-
/***/ "../../framework/piral/esm/hooks/lockBodyScroll.js":
|
|
5641
|
-
/*!*********************************************************!*\
|
|
5642
|
-
!*** ../../framework/piral/esm/hooks/lockBodyScroll.js ***!
|
|
5643
|
-
\*********************************************************/
|
|
5644
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5645
|
-
|
|
5646
|
-
"use strict";
|
|
5647
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5648
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5649
|
-
/* harmony export */ "useLockBodyScroll": () => (/* binding */ useLockBodyScroll)
|
|
5650
|
-
/* harmony export */ });
|
|
5651
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
5652
|
-
|
|
5653
|
-
/**
|
|
5654
|
-
* Hook that locks scrolling on the main document.
|
|
5655
|
-
* Useful for preventing the standard scrolling in context of
|
|
5656
|
-
* a modal dialog.
|
|
5657
|
-
*/
|
|
5658
|
-
|
|
5659
|
-
function useLockBodyScroll() {
|
|
5660
|
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {
|
|
5661
|
-
document.body.style.overflow = 'hidden';
|
|
5662
|
-
return function () {
|
|
5663
|
-
document.body.style.overflow = 'visible';
|
|
5664
|
-
};
|
|
5665
|
-
}, []);
|
|
5666
|
-
}
|
|
5667
|
-
|
|
5668
|
-
/***/ }),
|
|
5669
|
-
|
|
5670
5123
|
/***/ "../../framework/piral/esm/hooks/onClickOutside.js":
|
|
5671
5124
|
/*!*********************************************************!*\
|
|
5672
5125
|
!*** ../../framework/piral/esm/hooks/onClickOutside.js ***!
|
|
@@ -5704,252 +5157,6 @@ function useOnClickOutside(ref, handler) {
|
|
|
5704
5157
|
}, [handler]);
|
|
5705
5158
|
}
|
|
5706
5159
|
|
|
5707
|
-
/***/ }),
|
|
5708
|
-
|
|
5709
|
-
/***/ "../../framework/piral/esm/hooks/onScreenVisible.js":
|
|
5710
|
-
/*!**********************************************************!*\
|
|
5711
|
-
!*** ../../framework/piral/esm/hooks/onScreenVisible.js ***!
|
|
5712
|
-
\**********************************************************/
|
|
5713
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5714
|
-
|
|
5715
|
-
"use strict";
|
|
5716
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5717
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5718
|
-
/* harmony export */ "useOnScreenVisible": () => (/* binding */ useOnScreenVisible)
|
|
5719
|
-
/* harmony export */ });
|
|
5720
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
5721
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5722
|
-
|
|
5723
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5724
|
-
|
|
5725
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5726
|
-
|
|
5727
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
5728
|
-
|
|
5729
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
5730
|
-
|
|
5731
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
/**
|
|
5735
|
-
* Hook that detects if a reference element within the main document is
|
|
5736
|
-
* visible.
|
|
5737
|
-
* Useful for performing some animation or triggering certain actions (e.g.,
|
|
5738
|
-
* loading data for infinity scrolling) when an element appears or is close
|
|
5739
|
-
* to appear on screen.
|
|
5740
|
-
* @param ref The reference element to be visible.
|
|
5741
|
-
* @param rootMargin The tolerance level to the reference element.
|
|
5742
|
-
*/
|
|
5743
|
-
|
|
5744
|
-
function useOnScreenVisible(ref) {
|
|
5745
|
-
var rootMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0px';
|
|
5746
|
-
|
|
5747
|
-
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
5748
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
5749
|
-
isIntersecting = _useState2[0],
|
|
5750
|
-
setIntersecting = _useState2[1];
|
|
5751
|
-
|
|
5752
|
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
5753
|
-
var observer = new IntersectionObserver(function (_ref) {
|
|
5754
|
-
var _ref2 = _slicedToArray(_ref, 1),
|
|
5755
|
-
entry = _ref2[0];
|
|
5756
|
-
|
|
5757
|
-
return setIntersecting(entry.isIntersecting);
|
|
5758
|
-
}, {
|
|
5759
|
-
rootMargin: rootMargin
|
|
5760
|
-
});
|
|
5761
|
-
|
|
5762
|
-
if (ref.current) {
|
|
5763
|
-
observer.observe(ref.current);
|
|
5764
|
-
}
|
|
5765
|
-
|
|
5766
|
-
return function () {
|
|
5767
|
-
return observer.unobserve(ref.current);
|
|
5768
|
-
};
|
|
5769
|
-
}, []);
|
|
5770
|
-
return isIntersecting;
|
|
5771
|
-
}
|
|
5772
|
-
|
|
5773
|
-
/***/ }),
|
|
5774
|
-
|
|
5775
|
-
/***/ "../../framework/piral/esm/hydrate.js":
|
|
5776
|
-
/*!********************************************!*\
|
|
5777
|
-
!*** ../../framework/piral/esm/hydrate.js ***!
|
|
5778
|
-
\********************************************/
|
|
5779
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5780
|
-
|
|
5781
|
-
"use strict";
|
|
5782
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5783
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5784
|
-
/* harmony export */ "hydrateInstance": () => (/* binding */ hydrateInstance)
|
|
5785
|
-
/* harmony export */ });
|
|
5786
|
-
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");
|
|
5787
|
-
/* harmony import */ var _run__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./run */ "../../framework/piral/esm/run.js");
|
|
5788
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "../../framework/piral/esm/utils/options.js");
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
/**
|
|
5793
|
-
* Sets up a new Piral instance and hydrates it using the provided options.
|
|
5794
|
-
* @param options The options to use when setting up the Piral instance.
|
|
5795
|
-
* @example
|
|
5796
|
-
```ts
|
|
5797
|
-
import { hydrateInstance } from 'piral';
|
|
5798
|
-
hydrateInstance();
|
|
5799
|
-
```
|
|
5800
|
-
*/
|
|
5801
|
-
|
|
5802
|
-
function hydrateInstance(options) {
|
|
5803
|
-
return (0,_run__WEBPACK_IMPORTED_MODULE_1__.runInstance)(function (app, selector) {
|
|
5804
|
-
return (0,react_dom__WEBPACK_IMPORTED_MODULE_0__.hydrate)(app, (0,_utils__WEBPACK_IMPORTED_MODULE_2__.getContainer)(selector));
|
|
5805
|
-
}, options);
|
|
5806
|
-
}
|
|
5807
|
-
|
|
5808
|
-
/***/ }),
|
|
5809
|
-
|
|
5810
|
-
/***/ "../../framework/piral/esm/index.js":
|
|
5811
|
-
/*!******************************************!*\
|
|
5812
|
-
!*** ../../framework/piral/esm/index.js ***!
|
|
5813
|
-
\******************************************/
|
|
5814
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5815
|
-
|
|
5816
|
-
"use strict";
|
|
5817
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5818
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5819
|
-
/* harmony export */ "DefaultErrorInfo": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.DefaultErrorInfo),
|
|
5820
|
-
/* harmony export */ "DefaultLayout": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.DefaultLayout),
|
|
5821
|
-
/* harmony export */ "DefaultLoadingIndicator": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.DefaultLoadingIndicator),
|
|
5822
|
-
/* harmony export */ "DefaultRouteSwitch": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.DefaultRouteSwitch),
|
|
5823
|
-
/* harmony export */ "DefaultRouter": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.DefaultRouter),
|
|
5824
|
-
/* harmony export */ "ErrorBoundary": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.ErrorBoundary),
|
|
5825
|
-
/* harmony export */ "ExtensionSlot": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.ExtensionSlot),
|
|
5826
|
-
/* harmony export */ "Mediator": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.Mediator),
|
|
5827
|
-
/* harmony export */ "Piral": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.Piral),
|
|
5828
|
-
/* harmony export */ "PiralDebug": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralDebug),
|
|
5829
|
-
/* harmony export */ "PiralError": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralError),
|
|
5830
|
-
/* harmony export */ "PiralLayout": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralLayout),
|
|
5831
|
-
/* harmony export */ "PiralLoadingIndicator": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralLoadingIndicator),
|
|
5832
|
-
/* harmony export */ "PiralRouteSwitch": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralRouteSwitch),
|
|
5833
|
-
/* harmony export */ "PiralRouter": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralRouter),
|
|
5834
|
-
/* harmony export */ "PiralRoutes": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralRoutes),
|
|
5835
|
-
/* harmony export */ "PiralView": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PiralView),
|
|
5836
|
-
/* harmony export */ "PortalRenderer": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.PortalRenderer),
|
|
5837
|
-
/* harmony export */ "ResponsiveLayout": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.ResponsiveLayout),
|
|
5838
|
-
/* harmony export */ "SetComponent": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetComponent),
|
|
5839
|
-
/* harmony export */ "SetError": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetError),
|
|
5840
|
-
/* harmony export */ "SetErrors": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetErrors),
|
|
5841
|
-
/* harmony export */ "SetLayout": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetLayout),
|
|
5842
|
-
/* harmony export */ "SetProvider": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetProvider),
|
|
5843
|
-
/* harmony export */ "SetRedirect": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetRedirect),
|
|
5844
|
-
/* harmony export */ "SetRoute": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SetRoute),
|
|
5845
|
-
/* harmony export */ "StateContext": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.StateContext),
|
|
5846
|
-
/* harmony export */ "SwitchErrorInfo": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.SwitchErrorInfo),
|
|
5847
|
-
/* harmony export */ "appendItem": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.appendItem),
|
|
5848
|
-
/* harmony export */ "appendItems": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.appendItems),
|
|
5849
|
-
/* harmony export */ "attachDomPortal": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.attachDomPortal),
|
|
5850
|
-
/* harmony export */ "buildName": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.buildName),
|
|
5851
|
-
/* harmony export */ "changeDomPortal": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.changeDomPortal),
|
|
5852
|
-
/* harmony export */ "compare": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.compare),
|
|
5853
|
-
/* harmony export */ "convertComponent": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.convertComponent),
|
|
5854
|
-
/* harmony export */ "cookie": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.cookie),
|
|
5855
|
-
/* harmony export */ "createActions": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.createActions),
|
|
5856
|
-
/* harmony export */ "createDataOptions": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.createDataOptions),
|
|
5857
|
-
/* harmony export */ "createDataView": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.createDataView),
|
|
5858
|
-
/* harmony export */ "createGlobalState": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.createGlobalState),
|
|
5859
|
-
/* harmony export */ "createInstance": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.createInstance),
|
|
5860
|
-
/* harmony export */ "createPiletOptions": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.createPiletOptions),
|
|
5861
|
-
/* harmony export */ "defaultBreakpoints": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.defaultBreakpoints),
|
|
5862
|
-
/* harmony export */ "defaultLayouts": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.defaultLayouts),
|
|
5863
|
-
/* harmony export */ "defaultRender": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.defaultRender),
|
|
5864
|
-
/* harmony export */ "excludeItem": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.excludeItem),
|
|
5865
|
-
/* harmony export */ "excludeOn": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.excludeOn),
|
|
5866
|
-
/* harmony export */ "generateId": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.generateId),
|
|
5867
|
-
/* harmony export */ "getCurrentLayout": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentLayout),
|
|
5868
|
-
/* harmony export */ "getDataExpiration": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.getDataExpiration),
|
|
5869
|
-
/* harmony export */ "getPiralComponent": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.getPiralComponent),
|
|
5870
|
-
/* harmony export */ "includeActions": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.includeActions),
|
|
5871
|
-
/* harmony export */ "includeItem": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.includeItem),
|
|
5872
|
-
/* harmony export */ "none": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.none),
|
|
5873
|
-
/* harmony export */ "noop": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.noop),
|
|
5874
|
-
/* harmony export */ "prependItem": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.prependItem),
|
|
5875
|
-
/* harmony export */ "prependItems": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.prependItems),
|
|
5876
|
-
/* harmony export */ "reactifyContent": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.reactifyContent),
|
|
5877
|
-
/* harmony export */ "removeIndicator": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.removeIndicator),
|
|
5878
|
-
/* harmony export */ "removeNested": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.removeNested),
|
|
5879
|
-
/* harmony export */ "renderInDom": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.renderInDom),
|
|
5880
|
-
/* harmony export */ "replaceOrAddItem": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.replaceOrAddItem),
|
|
5881
|
-
/* harmony export */ "storage": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.storage),
|
|
5882
|
-
/* harmony export */ "toExtension": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.toExtension),
|
|
5883
|
-
/* harmony export */ "tryParseJson": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.tryParseJson),
|
|
5884
|
-
/* harmony export */ "updateKey": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.updateKey),
|
|
5885
|
-
/* harmony export */ "useAction": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useAction),
|
|
5886
|
-
/* harmony export */ "useActions": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useActions),
|
|
5887
|
-
/* harmony export */ "useGlobalState": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useGlobalState),
|
|
5888
|
-
/* harmony export */ "useGlobalStateContext": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useGlobalStateContext),
|
|
5889
|
-
/* harmony export */ "useMedia": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useMedia),
|
|
5890
|
-
/* harmony export */ "useSetter": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useSetter),
|
|
5891
|
-
/* harmony export */ "useSharedData": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.useSharedData),
|
|
5892
|
-
/* harmony export */ "withAll": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withAll),
|
|
5893
|
-
/* harmony export */ "withApi": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withApi),
|
|
5894
|
-
/* harmony export */ "withExtension": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withExtension),
|
|
5895
|
-
/* harmony export */ "withKey": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withKey),
|
|
5896
|
-
/* harmony export */ "withPage": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withPage),
|
|
5897
|
-
/* harmony export */ "withProvider": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withProvider),
|
|
5898
|
-
/* harmony export */ "withRootExtension": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withRootExtension),
|
|
5899
|
-
/* harmony export */ "withRoute": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withRoute),
|
|
5900
|
-
/* harmony export */ "withoutExtension": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withoutExtension),
|
|
5901
|
-
/* harmony export */ "withoutKey": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withoutKey),
|
|
5902
|
-
/* harmony export */ "withoutPage": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.withoutPage),
|
|
5903
|
-
/* harmony export */ "wrapComponent": () => (/* reexport safe */ piral_core__WEBPACK_IMPORTED_MODULE_0__.wrapComponent),
|
|
5904
|
-
/* harmony export */ "Dashboard": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.Dashboard),
|
|
5905
|
-
/* harmony export */ "Languages": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.Languages),
|
|
5906
|
-
/* harmony export */ "Menu": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.Menu),
|
|
5907
|
-
/* harmony export */ "Modals": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.Modals),
|
|
5908
|
-
/* harmony export */ "Notifications": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.Notifications),
|
|
5909
|
-
/* harmony export */ "PiralDashboardContainer": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardContainer),
|
|
5910
|
-
/* harmony export */ "PiralDashboardTile": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardTile),
|
|
5911
|
-
/* harmony export */ "PiralLanguagesPicker": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralLanguagesPicker),
|
|
5912
|
-
/* harmony export */ "PiralMenuContainer": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralMenuContainer),
|
|
5913
|
-
/* harmony export */ "PiralMenuItem": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralMenuItem),
|
|
5914
|
-
/* harmony export */ "PiralModalsDialog": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralModalsDialog),
|
|
5915
|
-
/* harmony export */ "PiralModalsHost": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralModalsHost),
|
|
5916
|
-
/* harmony export */ "PiralNotificationsHost": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralNotificationsHost),
|
|
5917
|
-
/* harmony export */ "PiralNotificationsToast": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.PiralNotificationsToast),
|
|
5918
|
-
/* harmony export */ "createDashboardApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createDashboardApi),
|
|
5919
|
-
/* harmony export */ "createFeedsApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createFeedsApi),
|
|
5920
|
-
/* harmony export */ "createLocaleApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createLocaleApi),
|
|
5921
|
-
/* harmony export */ "createMenuApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createMenuApi),
|
|
5922
|
-
/* harmony export */ "createModalsApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createModalsApi),
|
|
5923
|
-
/* harmony export */ "createNotificationsApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createNotificationsApi),
|
|
5924
|
-
/* harmony export */ "createStandardApi": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.createStandardApi),
|
|
5925
|
-
/* harmony export */ "getUserLocale": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.getUserLocale),
|
|
5926
|
-
/* harmony export */ "setupLocalizer": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.setupLocalizer),
|
|
5927
|
-
/* harmony export */ "useDynamicLanguage": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.useDynamicLanguage),
|
|
5928
|
-
/* harmony export */ "useFeed": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.useFeed),
|
|
5929
|
-
/* harmony export */ "useTranslate": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.useTranslate),
|
|
5930
|
-
/* harmony export */ "withFeed": () => (/* reexport safe */ piral_ext__WEBPACK_IMPORTED_MODULE_1__.withFeed),
|
|
5931
|
-
/* harmony export */ "createPiral": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_2__.createPiral),
|
|
5932
|
-
/* harmony export */ "extendPiralApi": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_2__.extendPiralApi),
|
|
5933
|
-
/* harmony export */ "useLockBodyScroll": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_3__.useLockBodyScroll),
|
|
5934
|
-
/* harmony export */ "useOnClickOutside": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_3__.useOnClickOutside),
|
|
5935
|
-
/* harmony export */ "useOnScreenVisible": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_3__.useOnScreenVisible),
|
|
5936
|
-
/* harmony export */ "hydrateInstance": () => (/* reexport safe */ _hydrate__WEBPACK_IMPORTED_MODULE_4__.hydrateInstance),
|
|
5937
|
-
/* harmony export */ "renderInstance": () => (/* reexport safe */ _render__WEBPACK_IMPORTED_MODULE_5__.renderInstance)
|
|
5938
|
-
/* harmony export */ });
|
|
5939
|
-
/* harmony import */ var piral_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-core */ "../../framework/piral-core/esm/index.js");
|
|
5940
|
-
/* harmony import */ var piral_ext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! piral-ext */ "../../plugins/piral-ext/esm/index.js");
|
|
5941
|
-
/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./api */ "../../framework/piral/esm/api.js");
|
|
5942
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks */ "../../framework/piral/esm/hooks/index.js");
|
|
5943
|
-
/* harmony import */ var _hydrate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hydrate */ "../../framework/piral/esm/hydrate.js");
|
|
5944
|
-
/* harmony import */ var _render__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./render */ "../../framework/piral/esm/render.js");
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
5160
|
/***/ }),
|
|
5954
5161
|
|
|
5955
5162
|
/***/ "../../framework/piral/esm/render.js":
|
|
@@ -6199,23 +5406,6 @@ function createAuthApi() {
|
|
|
6199
5406
|
};
|
|
6200
5407
|
}
|
|
6201
5408
|
|
|
6202
|
-
/***/ }),
|
|
6203
|
-
|
|
6204
|
-
/***/ "../../plugins/piral-auth/esm/index.js":
|
|
6205
|
-
/*!*********************************************!*\
|
|
6206
|
-
!*** ../../plugins/piral-auth/esm/index.js ***!
|
|
6207
|
-
\*********************************************/
|
|
6208
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6209
|
-
|
|
6210
|
-
"use strict";
|
|
6211
|
-
__webpack_require__.r(__webpack_exports__);
|
|
6212
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6213
|
-
/* harmony export */ "createAuthApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createAuthApi)
|
|
6214
|
-
/* harmony export */ });
|
|
6215
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-auth/esm/create.js");
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
5409
|
/***/ }),
|
|
6220
5410
|
|
|
6221
5411
|
/***/ "../../plugins/piral-dashboard/esm/Dashboard.js":
|
|
@@ -6477,30 +5667,6 @@ var DefaultTile = function DefaultTile(props) {
|
|
|
6477
5667
|
return (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.defaultRender)(props.children);
|
|
6478
5668
|
};
|
|
6479
5669
|
|
|
6480
|
-
/***/ }),
|
|
6481
|
-
|
|
6482
|
-
/***/ "../../plugins/piral-dashboard/esm/index.js":
|
|
6483
|
-
/*!**************************************************!*\
|
|
6484
|
-
!*** ../../plugins/piral-dashboard/esm/index.js ***!
|
|
6485
|
-
\**************************************************/
|
|
6486
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6487
|
-
|
|
6488
|
-
"use strict";
|
|
6489
|
-
__webpack_require__.r(__webpack_exports__);
|
|
6490
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6491
|
-
/* harmony export */ "createDashboardApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createDashboardApi),
|
|
6492
|
-
/* harmony export */ "PiralDashboardContainer": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardContainer),
|
|
6493
|
-
/* harmony export */ "PiralDashboardTile": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardTile),
|
|
6494
|
-
/* harmony export */ "Dashboard": () => (/* reexport safe */ _Dashboard__WEBPACK_IMPORTED_MODULE_2__.Dashboard)
|
|
6495
|
-
/* harmony export */ });
|
|
6496
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-dashboard/esm/create.js");
|
|
6497
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "../../plugins/piral-dashboard/esm/components.js");
|
|
6498
|
-
/* harmony import */ var _Dashboard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Dashboard */ "../../plugins/piral-dashboard/esm/Dashboard.js");
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
5670
|
/***/ }),
|
|
6505
5671
|
|
|
6506
5672
|
/***/ "../../plugins/piral-ext/esm/create.js":
|
|
@@ -6548,102 +5714,6 @@ function createStandardApi() {
|
|
|
6548
5714
|
return [locale !== false && (0,piral_translate__WEBPACK_IMPORTED_MODULE_0__.createLocaleApi)(locale), dashboard !== false && (0,piral_dashboard__WEBPACK_IMPORTED_MODULE_1__.createDashboardApi)(dashboard), menu !== false && (0,piral_menu__WEBPACK_IMPORTED_MODULE_2__.createMenuApi)(menu), notifications !== false && (0,piral_notifications__WEBPACK_IMPORTED_MODULE_3__.createNotificationsApi)(notifications), modals !== false && (0,piral_modals__WEBPACK_IMPORTED_MODULE_4__.createModalsApi)(modals), feeds !== false && (0,piral_feeds__WEBPACK_IMPORTED_MODULE_5__.createFeedsApi)(feeds)].filter(Boolean);
|
|
6549
5715
|
}
|
|
6550
5716
|
|
|
6551
|
-
/***/ }),
|
|
6552
|
-
|
|
6553
|
-
/***/ "../../plugins/piral-ext/esm/index.js":
|
|
6554
|
-
/*!********************************************!*\
|
|
6555
|
-
!*** ../../plugins/piral-ext/esm/index.js ***!
|
|
6556
|
-
\********************************************/
|
|
6557
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6558
|
-
|
|
6559
|
-
"use strict";
|
|
6560
|
-
__webpack_require__.r(__webpack_exports__);
|
|
6561
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6562
|
-
/* harmony export */ "createStandardApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createStandardApi),
|
|
6563
|
-
/* harmony export */ "Dashboard": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.Dashboard),
|
|
6564
|
-
/* harmony export */ "Languages": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.Languages),
|
|
6565
|
-
/* harmony export */ "Menu": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.Menu),
|
|
6566
|
-
/* harmony export */ "Modals": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.Modals),
|
|
6567
|
-
/* harmony export */ "Notifications": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.Notifications),
|
|
6568
|
-
/* harmony export */ "PiralDashboardContainer": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardContainer),
|
|
6569
|
-
/* harmony export */ "PiralDashboardTile": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardTile),
|
|
6570
|
-
/* harmony export */ "PiralLanguagesPicker": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralLanguagesPicker),
|
|
6571
|
-
/* harmony export */ "PiralMenuContainer": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralMenuContainer),
|
|
6572
|
-
/* harmony export */ "PiralMenuItem": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralMenuItem),
|
|
6573
|
-
/* harmony export */ "PiralModalsDialog": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralModalsDialog),
|
|
6574
|
-
/* harmony export */ "PiralModalsHost": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralModalsHost),
|
|
6575
|
-
/* harmony export */ "PiralNotificationsHost": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralNotificationsHost),
|
|
6576
|
-
/* harmony export */ "PiralNotificationsToast": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.PiralNotificationsToast),
|
|
6577
|
-
/* harmony export */ "createDashboardApi": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.createDashboardApi),
|
|
6578
|
-
/* harmony export */ "createFeedsApi": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.createFeedsApi),
|
|
6579
|
-
/* harmony export */ "createLocaleApi": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.createLocaleApi),
|
|
6580
|
-
/* harmony export */ "createMenuApi": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.createMenuApi),
|
|
6581
|
-
/* harmony export */ "createModalsApi": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.createModalsApi),
|
|
6582
|
-
/* harmony export */ "createNotificationsApi": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.createNotificationsApi),
|
|
6583
|
-
/* harmony export */ "getUserLocale": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.getUserLocale),
|
|
6584
|
-
/* harmony export */ "setupLocalizer": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.setupLocalizer),
|
|
6585
|
-
/* harmony export */ "useDynamicLanguage": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.useDynamicLanguage),
|
|
6586
|
-
/* harmony export */ "useFeed": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.useFeed),
|
|
6587
|
-
/* harmony export */ "useTranslate": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.useTranslate),
|
|
6588
|
-
/* harmony export */ "withFeed": () => (/* reexport safe */ _libs__WEBPACK_IMPORTED_MODULE_1__.withFeed)
|
|
6589
|
-
/* harmony export */ });
|
|
6590
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-ext/esm/create.js");
|
|
6591
|
-
/* harmony import */ var _libs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./libs */ "../../plugins/piral-ext/esm/libs.js");
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
/***/ }),
|
|
6597
|
-
|
|
6598
|
-
/***/ "../../plugins/piral-ext/esm/libs.js":
|
|
6599
|
-
/*!*******************************************!*\
|
|
6600
|
-
!*** ../../plugins/piral-ext/esm/libs.js ***!
|
|
6601
|
-
\*******************************************/
|
|
6602
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6603
|
-
|
|
6604
|
-
"use strict";
|
|
6605
|
-
__webpack_require__.r(__webpack_exports__);
|
|
6606
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6607
|
-
/* harmony export */ "Languages": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.Languages),
|
|
6608
|
-
/* harmony export */ "PiralLanguagesPicker": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.PiralLanguagesPicker),
|
|
6609
|
-
/* harmony export */ "createLocaleApi": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.createLocaleApi),
|
|
6610
|
-
/* harmony export */ "getUserLocale": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.getUserLocale),
|
|
6611
|
-
/* harmony export */ "setupLocalizer": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.setupLocalizer),
|
|
6612
|
-
/* harmony export */ "useDynamicLanguage": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.useDynamicLanguage),
|
|
6613
|
-
/* harmony export */ "useTranslate": () => (/* reexport safe */ piral_translate__WEBPACK_IMPORTED_MODULE_0__.useTranslate),
|
|
6614
|
-
/* harmony export */ "Dashboard": () => (/* reexport safe */ piral_dashboard__WEBPACK_IMPORTED_MODULE_1__.Dashboard),
|
|
6615
|
-
/* harmony export */ "PiralDashboardContainer": () => (/* reexport safe */ piral_dashboard__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardContainer),
|
|
6616
|
-
/* harmony export */ "PiralDashboardTile": () => (/* reexport safe */ piral_dashboard__WEBPACK_IMPORTED_MODULE_1__.PiralDashboardTile),
|
|
6617
|
-
/* harmony export */ "createDashboardApi": () => (/* reexport safe */ piral_dashboard__WEBPACK_IMPORTED_MODULE_1__.createDashboardApi),
|
|
6618
|
-
/* harmony export */ "createFeedsApi": () => (/* reexport safe */ piral_feeds__WEBPACK_IMPORTED_MODULE_2__.createFeedsApi),
|
|
6619
|
-
/* harmony export */ "useFeed": () => (/* reexport safe */ piral_feeds__WEBPACK_IMPORTED_MODULE_2__.useFeed),
|
|
6620
|
-
/* harmony export */ "withFeed": () => (/* reexport safe */ piral_feeds__WEBPACK_IMPORTED_MODULE_2__.withFeed),
|
|
6621
|
-
/* harmony export */ "Menu": () => (/* reexport safe */ piral_menu__WEBPACK_IMPORTED_MODULE_3__.Menu),
|
|
6622
|
-
/* harmony export */ "PiralMenuContainer": () => (/* reexport safe */ piral_menu__WEBPACK_IMPORTED_MODULE_3__.PiralMenuContainer),
|
|
6623
|
-
/* harmony export */ "PiralMenuItem": () => (/* reexport safe */ piral_menu__WEBPACK_IMPORTED_MODULE_3__.PiralMenuItem),
|
|
6624
|
-
/* harmony export */ "createMenuApi": () => (/* reexport safe */ piral_menu__WEBPACK_IMPORTED_MODULE_3__.createMenuApi),
|
|
6625
|
-
/* harmony export */ "Modals": () => (/* reexport safe */ piral_modals__WEBPACK_IMPORTED_MODULE_4__.Modals),
|
|
6626
|
-
/* harmony export */ "PiralModalsDialog": () => (/* reexport safe */ piral_modals__WEBPACK_IMPORTED_MODULE_4__.PiralModalsDialog),
|
|
6627
|
-
/* harmony export */ "PiralModalsHost": () => (/* reexport safe */ piral_modals__WEBPACK_IMPORTED_MODULE_4__.PiralModalsHost),
|
|
6628
|
-
/* harmony export */ "createModalsApi": () => (/* reexport safe */ piral_modals__WEBPACK_IMPORTED_MODULE_4__.createModalsApi),
|
|
6629
|
-
/* harmony export */ "Notifications": () => (/* reexport safe */ piral_notifications__WEBPACK_IMPORTED_MODULE_5__.Notifications),
|
|
6630
|
-
/* harmony export */ "PiralNotificationsHost": () => (/* reexport safe */ piral_notifications__WEBPACK_IMPORTED_MODULE_5__.PiralNotificationsHost),
|
|
6631
|
-
/* harmony export */ "PiralNotificationsToast": () => (/* reexport safe */ piral_notifications__WEBPACK_IMPORTED_MODULE_5__.PiralNotificationsToast),
|
|
6632
|
-
/* harmony export */ "createNotificationsApi": () => (/* reexport safe */ piral_notifications__WEBPACK_IMPORTED_MODULE_5__.createNotificationsApi)
|
|
6633
|
-
/* harmony export */ });
|
|
6634
|
-
/* harmony import */ var piral_translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-translate */ "../../plugins/piral-translate/esm/index.js");
|
|
6635
|
-
/* harmony import */ var piral_dashboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! piral-dashboard */ "../../plugins/piral-dashboard/esm/index.js");
|
|
6636
|
-
/* harmony import */ var piral_feeds__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral-feeds */ "../../plugins/piral-feeds/esm/index.js");
|
|
6637
|
-
/* harmony import */ var piral_menu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! piral-menu */ "../../plugins/piral-menu/esm/index.js");
|
|
6638
|
-
/* harmony import */ var piral_modals__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral-modals */ "../../plugins/piral-modals/esm/index.js");
|
|
6639
|
-
/* harmony import */ var piral_notifications__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! piral-notifications */ "../../plugins/piral-notifications/esm/index.js");
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
5717
|
/***/ }),
|
|
6648
5718
|
|
|
6649
5719
|
/***/ "../../plugins/piral-feeds/esm/actions.js":
|
|
@@ -6825,29 +5895,6 @@ function createFeedsApi() {
|
|
|
6825
5895
|
};
|
|
6826
5896
|
}
|
|
6827
5897
|
|
|
6828
|
-
/***/ }),
|
|
6829
|
-
|
|
6830
|
-
/***/ "../../plugins/piral-feeds/esm/index.js":
|
|
6831
|
-
/*!**********************************************!*\
|
|
6832
|
-
!*** ../../plugins/piral-feeds/esm/index.js ***!
|
|
6833
|
-
\**********************************************/
|
|
6834
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6835
|
-
|
|
6836
|
-
"use strict";
|
|
6837
|
-
__webpack_require__.r(__webpack_exports__);
|
|
6838
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6839
|
-
/* harmony export */ "createFeedsApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createFeedsApi),
|
|
6840
|
-
/* harmony export */ "useFeed": () => (/* reexport safe */ _useFeed__WEBPACK_IMPORTED_MODULE_1__.useFeed),
|
|
6841
|
-
/* harmony export */ "withFeed": () => (/* reexport safe */ _withFeed__WEBPACK_IMPORTED_MODULE_2__.withFeed)
|
|
6842
|
-
/* harmony export */ });
|
|
6843
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-feeds/esm/create.js");
|
|
6844
|
-
/* harmony import */ var _useFeed__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useFeed */ "../../plugins/piral-feeds/esm/useFeed.js");
|
|
6845
|
-
/* harmony import */ var _withFeed__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./withFeed */ "../../plugins/piral-feeds/esm/withFeed.js");
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
5898
|
/***/ }),
|
|
6852
5899
|
|
|
6853
5900
|
/***/ "../../plugins/piral-feeds/esm/useFeed.js":
|
|
@@ -7263,30 +6310,6 @@ var DefaultItem = function DefaultItem(props) {
|
|
|
7263
6310
|
return (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.defaultRender)(props.children);
|
|
7264
6311
|
};
|
|
7265
6312
|
|
|
7266
|
-
/***/ }),
|
|
7267
|
-
|
|
7268
|
-
/***/ "../../plugins/piral-menu/esm/index.js":
|
|
7269
|
-
/*!*********************************************!*\
|
|
7270
|
-
!*** ../../plugins/piral-menu/esm/index.js ***!
|
|
7271
|
-
\*********************************************/
|
|
7272
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7273
|
-
|
|
7274
|
-
"use strict";
|
|
7275
|
-
__webpack_require__.r(__webpack_exports__);
|
|
7276
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7277
|
-
/* harmony export */ "createMenuApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createMenuApi),
|
|
7278
|
-
/* harmony export */ "PiralMenuContainer": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralMenuContainer),
|
|
7279
|
-
/* harmony export */ "PiralMenuItem": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralMenuItem),
|
|
7280
|
-
/* harmony export */ "Menu": () => (/* reexport safe */ _Menu__WEBPACK_IMPORTED_MODULE_2__.Menu)
|
|
7281
|
-
/* harmony export */ });
|
|
7282
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-menu/esm/create.js");
|
|
7283
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "../../plugins/piral-menu/esm/components.js");
|
|
7284
|
-
/* harmony import */ var _Menu__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Menu */ "../../plugins/piral-menu/esm/Menu.js");
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
6313
|
/***/ }),
|
|
7291
6314
|
|
|
7292
6315
|
/***/ "../../plugins/piral-modals/esm/Modals.js":
|
|
@@ -7611,30 +6634,6 @@ var DefaultDialog = function DefaultDialog(props) {
|
|
|
7611
6634
|
return (0,piral_core__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(props.children);
|
|
7612
6635
|
};
|
|
7613
6636
|
|
|
7614
|
-
/***/ }),
|
|
7615
|
-
|
|
7616
|
-
/***/ "../../plugins/piral-modals/esm/index.js":
|
|
7617
|
-
/*!***********************************************!*\
|
|
7618
|
-
!*** ../../plugins/piral-modals/esm/index.js ***!
|
|
7619
|
-
\***********************************************/
|
|
7620
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7621
|
-
|
|
7622
|
-
"use strict";
|
|
7623
|
-
__webpack_require__.r(__webpack_exports__);
|
|
7624
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7625
|
-
/* harmony export */ "createModalsApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createModalsApi),
|
|
7626
|
-
/* harmony export */ "PiralModalsDialog": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralModalsDialog),
|
|
7627
|
-
/* harmony export */ "PiralModalsHost": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralModalsHost),
|
|
7628
|
-
/* harmony export */ "Modals": () => (/* reexport safe */ _Modals__WEBPACK_IMPORTED_MODULE_2__.Modals)
|
|
7629
|
-
/* harmony export */ });
|
|
7630
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-modals/esm/create.js");
|
|
7631
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "../../plugins/piral-modals/esm/components.js");
|
|
7632
|
-
/* harmony import */ var _Modals__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Modals */ "../../plugins/piral-modals/esm/Modals.js");
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
6637
|
/***/ }),
|
|
7639
6638
|
|
|
7640
6639
|
/***/ "../../plugins/piral-notifications/esm/Notifications.js":
|
|
@@ -7894,30 +6893,6 @@ var DefaultToast = function DefaultToast(_ref) {
|
|
|
7894
6893
|
return (0,piral_core__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(children);
|
|
7895
6894
|
};
|
|
7896
6895
|
|
|
7897
|
-
/***/ }),
|
|
7898
|
-
|
|
7899
|
-
/***/ "../../plugins/piral-notifications/esm/index.js":
|
|
7900
|
-
/*!******************************************************!*\
|
|
7901
|
-
!*** ../../plugins/piral-notifications/esm/index.js ***!
|
|
7902
|
-
\******************************************************/
|
|
7903
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7904
|
-
|
|
7905
|
-
"use strict";
|
|
7906
|
-
__webpack_require__.r(__webpack_exports__);
|
|
7907
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7908
|
-
/* harmony export */ "createNotificationsApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createNotificationsApi),
|
|
7909
|
-
/* harmony export */ "PiralNotificationsHost": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralNotificationsHost),
|
|
7910
|
-
/* harmony export */ "PiralNotificationsToast": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralNotificationsToast),
|
|
7911
|
-
/* harmony export */ "Notifications": () => (/* reexport safe */ _Notifications__WEBPACK_IMPORTED_MODULE_2__.Notifications)
|
|
7912
|
-
/* harmony export */ });
|
|
7913
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-notifications/esm/create.js");
|
|
7914
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "../../plugins/piral-notifications/esm/components.js");
|
|
7915
|
-
/* harmony import */ var _Notifications__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Notifications */ "../../plugins/piral-notifications/esm/Notifications.js");
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
6896
|
/***/ }),
|
|
7922
6897
|
|
|
7923
6898
|
/***/ "../../plugins/piral-search/esm/Search.js":
|
|
@@ -8375,37 +7350,6 @@ var DefaultInput = function DefaultInput(props) {
|
|
|
8375
7350
|
});
|
|
8376
7351
|
};
|
|
8377
7352
|
|
|
8378
|
-
/***/ }),
|
|
8379
|
-
|
|
8380
|
-
/***/ "../../plugins/piral-search/esm/index.js":
|
|
8381
|
-
/*!***********************************************!*\
|
|
8382
|
-
!*** ../../plugins/piral-search/esm/index.js ***!
|
|
8383
|
-
\***********************************************/
|
|
8384
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8385
|
-
|
|
8386
|
-
"use strict";
|
|
8387
|
-
__webpack_require__.r(__webpack_exports__);
|
|
8388
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8389
|
-
/* harmony export */ "createSearchApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_0__.createSearchApi),
|
|
8390
|
-
/* harmony export */ "PiralSearchContainer": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralSearchContainer),
|
|
8391
|
-
/* harmony export */ "PiralSearchInput": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralSearchInput),
|
|
8392
|
-
/* harmony export */ "PiralSearchResult": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_1__.PiralSearchResult),
|
|
8393
|
-
/* harmony export */ "SearchInput": () => (/* reexport safe */ _SearchInput__WEBPACK_IMPORTED_MODULE_2__.SearchInput),
|
|
8394
|
-
/* harmony export */ "Search": () => (/* reexport safe */ _Search__WEBPACK_IMPORTED_MODULE_3__.Search),
|
|
8395
|
-
/* harmony export */ "useSearch": () => (/* reexport safe */ _useSearch__WEBPACK_IMPORTED_MODULE_4__.useSearch)
|
|
8396
|
-
/* harmony export */ });
|
|
8397
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create */ "../../plugins/piral-search/esm/create.js");
|
|
8398
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "../../plugins/piral-search/esm/components.js");
|
|
8399
|
-
/* harmony import */ var _SearchInput__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SearchInput */ "../../plugins/piral-search/esm/SearchInput.js");
|
|
8400
|
-
/* harmony import */ var _Search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Search */ "../../plugins/piral-search/esm/Search.js");
|
|
8401
|
-
/* harmony import */ var _useSearch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./useSearch */ "../../plugins/piral-search/esm/useSearch.js");
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
7353
|
/***/ }),
|
|
8410
7354
|
|
|
8411
7355
|
/***/ "../../plugins/piral-search/esm/useDebounce.js":
|
|
@@ -8860,37 +7804,6 @@ function useTranslate() {
|
|
|
8860
7804
|
return translate;
|
|
8861
7805
|
}
|
|
8862
7806
|
|
|
8863
|
-
/***/ }),
|
|
8864
|
-
|
|
8865
|
-
/***/ "../../plugins/piral-translate/esm/index.js":
|
|
8866
|
-
/*!**************************************************!*\
|
|
8867
|
-
!*** ../../plugins/piral-translate/esm/index.js ***!
|
|
8868
|
-
\**************************************************/
|
|
8869
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8870
|
-
|
|
8871
|
-
"use strict";
|
|
8872
|
-
__webpack_require__.r(__webpack_exports__);
|
|
8873
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8874
|
-
/* harmony export */ "PiralLanguagesPicker": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.PiralLanguagesPicker),
|
|
8875
|
-
/* harmony export */ "createLocaleApi": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_1__.createLocaleApi),
|
|
8876
|
-
/* harmony export */ "setupLocalizer": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_1__.setupLocalizer),
|
|
8877
|
-
/* harmony export */ "getUserLocale": () => (/* reexport safe */ _current__WEBPACK_IMPORTED_MODULE_2__.getUserLocale),
|
|
8878
|
-
/* harmony export */ "useDynamicLanguage": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_3__.useDynamicLanguage),
|
|
8879
|
-
/* harmony export */ "useTranslate": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_3__.useTranslate),
|
|
8880
|
-
/* harmony export */ "Languages": () => (/* reexport safe */ _Languages__WEBPACK_IMPORTED_MODULE_4__.Languages)
|
|
8881
|
-
/* harmony export */ });
|
|
8882
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components */ "../../plugins/piral-translate/esm/components.js");
|
|
8883
|
-
/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./create */ "../../plugins/piral-translate/esm/create.js");
|
|
8884
|
-
/* harmony import */ var _current__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./current */ "../../plugins/piral-translate/esm/current.js");
|
|
8885
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks */ "../../plugins/piral-translate/esm/hooks.js");
|
|
8886
|
-
/* harmony import */ var _Languages__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Languages */ "../../plugins/piral-translate/esm/Languages.js");
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
7807
|
/***/ }),
|
|
8895
7808
|
|
|
8896
7809
|
/***/ "../../plugins/piral-translate/esm/localize.js":
|
|
@@ -9561,12 +8474,12 @@ function installPiralDebug(options) {
|
|
|
9561
8474
|
debug: debugApiVersion,
|
|
9562
8475
|
instance: {
|
|
9563
8476
|
name: "sample-piral",
|
|
9564
|
-
version: "0.14.
|
|
8477
|
+
version: "0.14.22",
|
|
9565
8478
|
dependencies: "reactstrap,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
|
|
9566
8479
|
},
|
|
9567
8480
|
build: {
|
|
9568
|
-
date: "2022-04-
|
|
9569
|
-
cli: "0.14.
|
|
8481
|
+
date: "2022-04-25T16:11:16.048Z",
|
|
8482
|
+
cli: "0.14.22",
|
|
9570
8483
|
compat: "0.14"
|
|
9571
8484
|
},
|
|
9572
8485
|
pilets: {
|
|
@@ -10019,26 +8932,6 @@ function withEmulatorPilets(requestPilets, options) {
|
|
|
10019
8932
|
};
|
|
10020
8933
|
}
|
|
10021
8934
|
|
|
10022
|
-
/***/ }),
|
|
10023
|
-
|
|
10024
|
-
/***/ "../../utilities/piral-debug-utils/esm/index.js":
|
|
10025
|
-
/*!******************************************************!*\
|
|
10026
|
-
!*** ../../utilities/piral-debug-utils/esm/index.js ***!
|
|
10027
|
-
\******************************************************/
|
|
10028
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10029
|
-
|
|
10030
|
-
"use strict";
|
|
10031
|
-
__webpack_require__.r(__webpack_exports__);
|
|
10032
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10033
|
-
/* harmony export */ "installPiralDebug": () => (/* reexport safe */ _debug__WEBPACK_IMPORTED_MODULE_0__.installPiralDebug),
|
|
10034
|
-
/* harmony export */ "withEmulatorPilets": () => (/* reexport safe */ _emulator__WEBPACK_IMPORTED_MODULE_1__.withEmulatorPilets)
|
|
10035
|
-
/* harmony export */ });
|
|
10036
|
-
/* harmony import */ var _debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./debug */ "../../utilities/piral-debug-utils/esm/debug.js");
|
|
10037
|
-
/* harmony import */ var _emulator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./emulator */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
8935
|
/***/ }),
|
|
10043
8936
|
|
|
10044
8937
|
/***/ "../../utilities/piral-debug-utils/esm/state.js":
|
|
@@ -10146,20 +9039,17 @@ function useDebugState(select) {
|
|
|
10146
9039
|
/*!*************************************************!*\
|
|
10147
9040
|
!*** ../../framework/piral-core/debug-pilet.ts ***!
|
|
10148
9041
|
\*************************************************/
|
|
10149
|
-
/***/ ((__unused_webpack_module,
|
|
9042
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10150
9043
|
|
|
10151
9044
|
"use strict";
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
exports.integrate = void 0;
|
|
10158
|
-
|
|
10159
|
-
var piral_debug_utils_1 = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/index.js");
|
|
9045
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9046
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9047
|
+
/* harmony export */ "integrate": () => (/* binding */ integrate)
|
|
9048
|
+
/* harmony export */ });
|
|
9049
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
10160
9050
|
|
|
10161
9051
|
function integrate(context, options) {
|
|
10162
|
-
options.fetchPilets = (0,
|
|
9052
|
+
options.fetchPilets = (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.withEmulatorPilets)(options.fetchPilets, {
|
|
10163
9053
|
injectPilet: context.injectPilet,
|
|
10164
9054
|
createApi: options.createApi,
|
|
10165
9055
|
loadPilet: options.loadPilet,
|
|
@@ -10173,19 +9063,22 @@ function integrate(context, options) {
|
|
|
10173
9063
|
});
|
|
10174
9064
|
}
|
|
10175
9065
|
|
|
10176
|
-
exports.integrate = integrate;
|
|
10177
|
-
|
|
10178
9066
|
/***/ }),
|
|
10179
9067
|
|
|
10180
9068
|
/***/ "../../framework/piral-core/debug-piral.ts":
|
|
10181
9069
|
/*!*************************************************!*\
|
|
10182
9070
|
!*** ../../framework/piral-core/debug-piral.ts ***!
|
|
10183
9071
|
\*************************************************/
|
|
10184
|
-
/***/ ((__unused_webpack_module,
|
|
9072
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10185
9073
|
|
|
10186
9074
|
"use strict";
|
|
10187
|
-
|
|
10188
|
-
|
|
9075
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9076
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9077
|
+
/* harmony export */ "integrate": () => (/* binding */ integrate)
|
|
9078
|
+
/* harmony export */ });
|
|
9079
|
+
/* harmony import */ var _dbeining_react_atom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js");
|
|
9080
|
+
/* harmony import */ var _dbeining_react_atom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_dbeining_react_atom__WEBPACK_IMPORTED_MODULE_1__);
|
|
9081
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/debug.js");
|
|
10189
9082
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10190
9083
|
|
|
10191
9084
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -10198,18 +9091,11 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
10198
9091
|
|
|
10199
9092
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
10200
9093
|
|
|
10201
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10202
|
-
value: true
|
|
10203
|
-
}));
|
|
10204
|
-
exports.integrate = void 0;
|
|
10205
|
-
|
|
10206
|
-
var react_atom_1 = __webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js");
|
|
10207
9094
|
|
|
10208
|
-
var piral_debug_utils_1 = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/index.js");
|
|
10209
9095
|
|
|
10210
9096
|
function integrate(context, options) {
|
|
10211
9097
|
var debug = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
10212
|
-
(0,
|
|
9098
|
+
(0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiralDebug)(Object.assign(Object.assign({}, debug), {
|
|
10213
9099
|
createApi: options.createApi,
|
|
10214
9100
|
loadPilet: options.loadPilet,
|
|
10215
9101
|
injectPilet: context.injectPilet,
|
|
@@ -10258,7 +9144,7 @@ function integrate(context, options) {
|
|
|
10258
9144
|
})
|
|
10259
9145
|
});
|
|
10260
9146
|
});
|
|
10261
|
-
(0,
|
|
9147
|
+
(0,_dbeining_react_atom__WEBPACK_IMPORTED_MODULE_1__.addChangeHandler)(context.state, 'debugging', function (_ref) {
|
|
10262
9148
|
var previous = _ref.previous,
|
|
10263
9149
|
current = _ref.current;
|
|
10264
9150
|
var pilets = current.modules !== previous.modules;
|
|
@@ -10276,26 +9162,22 @@ function integrate(context, options) {
|
|
|
10276
9162
|
}));
|
|
10277
9163
|
}
|
|
10278
9164
|
|
|
10279
|
-
exports.integrate = integrate;
|
|
10280
|
-
|
|
10281
9165
|
/***/ }),
|
|
10282
9166
|
|
|
10283
9167
|
/***/ "./src/components/LanguageIcon.tsx":
|
|
10284
9168
|
/*!*****************************************!*\
|
|
10285
9169
|
!*** ./src/components/LanguageIcon.tsx ***!
|
|
10286
9170
|
\*****************************************/
|
|
10287
|
-
/***/ ((__unused_webpack_module,
|
|
9171
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10288
9172
|
|
|
10289
9173
|
"use strict";
|
|
9174
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9175
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9176
|
+
/* harmony export */ "LanguageIcon": () => (/* binding */ LanguageIcon)
|
|
9177
|
+
/* harmony export */ });
|
|
9178
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10290
9179
|
|
|
10291
9180
|
|
|
10292
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10293
|
-
value: true
|
|
10294
|
-
}));
|
|
10295
|
-
exports.LanguageIcon = void 0;
|
|
10296
|
-
|
|
10297
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10298
|
-
|
|
10299
9181
|
function getLanguageUrl(language) {
|
|
10300
9182
|
switch (language) {
|
|
10301
9183
|
case 'de':
|
|
@@ -10309,26 +9191,31 @@ function getLanguageUrl(language) {
|
|
|
10309
9191
|
var LanguageIcon = function LanguageIcon(_ref) {
|
|
10310
9192
|
var language = _ref.language;
|
|
10311
9193
|
var url = getLanguageUrl(language);
|
|
10312
|
-
return
|
|
9194
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10313
9195
|
src: url,
|
|
10314
9196
|
title: language,
|
|
10315
9197
|
className: "language-icon"
|
|
10316
9198
|
});
|
|
10317
9199
|
};
|
|
10318
9200
|
|
|
10319
|
-
exports.LanguageIcon = LanguageIcon;
|
|
10320
|
-
|
|
10321
9201
|
/***/ }),
|
|
10322
9202
|
|
|
10323
9203
|
/***/ "./src/components/LanguagePicker.tsx":
|
|
10324
9204
|
/*!*******************************************!*\
|
|
10325
9205
|
!*** ./src/components/LanguagePicker.tsx ***!
|
|
10326
9206
|
\*******************************************/
|
|
10327
|
-
/***/ ((__unused_webpack_module,
|
|
9207
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10328
9208
|
|
|
10329
9209
|
"use strict";
|
|
10330
|
-
|
|
10331
|
-
|
|
9210
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9211
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9212
|
+
/* harmony export */ "LanguagePicker": () => (/* binding */ LanguagePicker)
|
|
9213
|
+
/* harmony export */ });
|
|
9214
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
9215
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/hooks.js");
|
|
9216
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral */ "../../framework/piral/esm/hooks/onClickOutside.js");
|
|
9217
|
+
/* harmony import */ var _LanguageIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LanguageIcon */ "./src/components/LanguageIcon.tsx");
|
|
9218
|
+
/* harmony import */ var _language__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../language */ "./src/language.ts");
|
|
10332
9219
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10333
9220
|
|
|
10334
9221
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -10341,130 +9228,122 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
10341
9228
|
|
|
10342
9229
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10343
9230
|
|
|
10344
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10345
|
-
value: true
|
|
10346
|
-
}));
|
|
10347
|
-
exports.LanguagePicker = void 0;
|
|
10348
9231
|
|
|
10349
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10350
|
-
|
|
10351
|
-
var piral_1 = __webpack_require__(/*! piral */ "../../framework/piral/esm/index.js");
|
|
10352
9232
|
|
|
10353
|
-
var LanguageIcon_1 = __webpack_require__(/*! ./LanguageIcon */ "./src/components/LanguageIcon.tsx");
|
|
10354
9233
|
|
|
10355
|
-
var language_1 = __webpack_require__(/*! ../language */ "./src/language.ts");
|
|
10356
9234
|
|
|
10357
9235
|
var LanguagePicker = function LanguagePicker(_ref) {
|
|
10358
9236
|
var selected = _ref.selected,
|
|
10359
9237
|
available = _ref.available;
|
|
10360
9238
|
|
|
10361
|
-
var _React$useState =
|
|
9239
|
+
var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
10362
9240
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
10363
9241
|
open = _React$useState2[0],
|
|
10364
9242
|
setOpen = _React$useState2[1];
|
|
10365
9243
|
|
|
10366
|
-
var
|
|
10367
|
-
|
|
10368
|
-
language =
|
|
10369
|
-
setLanguage =
|
|
9244
|
+
var _useDynamicLanguage = (0,piral__WEBPACK_IMPORTED_MODULE_3__.useDynamicLanguage)(selected, _language__WEBPACK_IMPORTED_MODULE_2__.loadLanguage),
|
|
9245
|
+
_useDynamicLanguage2 = _slicedToArray(_useDynamicLanguage, 2),
|
|
9246
|
+
language = _useDynamicLanguage2[0],
|
|
9247
|
+
setLanguage = _useDynamicLanguage2[1];
|
|
10370
9248
|
|
|
10371
|
-
var container =
|
|
10372
|
-
var translate = (0,
|
|
10373
|
-
(0,
|
|
9249
|
+
var container = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
|
|
9250
|
+
var translate = (0,piral__WEBPACK_IMPORTED_MODULE_3__.useTranslate)();
|
|
9251
|
+
(0,piral__WEBPACK_IMPORTED_MODULE_4__.useOnClickOutside)(container, function () {
|
|
10374
9252
|
return setOpen(false);
|
|
10375
9253
|
});
|
|
10376
|
-
return
|
|
9254
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10377
9255
|
className: "language-picker",
|
|
10378
9256
|
ref: container
|
|
10379
|
-
},
|
|
9257
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10380
9258
|
className: "current",
|
|
10381
9259
|
onClick: function onClick() {
|
|
10382
9260
|
return setOpen(!open);
|
|
10383
9261
|
}
|
|
10384
|
-
},
|
|
9262
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_LanguageIcon__WEBPACK_IMPORTED_MODULE_1__.LanguageIcon, {
|
|
10385
9263
|
language: language
|
|
10386
|
-
})),
|
|
9264
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul", {
|
|
10387
9265
|
className: open ? 'open' : 'closed'
|
|
10388
9266
|
}, available.map(function (lang) {
|
|
10389
|
-
return
|
|
9267
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", {
|
|
10390
9268
|
key: lang,
|
|
10391
9269
|
onClick: function onClick() {
|
|
10392
9270
|
return setLanguage(lang);
|
|
10393
9271
|
}
|
|
10394
|
-
},
|
|
9272
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_LanguageIcon__WEBPACK_IMPORTED_MODULE_1__.LanguageIcon, {
|
|
10395
9273
|
language: lang
|
|
10396
|
-
}), " ",
|
|
9274
|
+
}), " ", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, translate(lang)));
|
|
10397
9275
|
})));
|
|
10398
9276
|
};
|
|
10399
9277
|
|
|
10400
|
-
exports.LanguagePicker = LanguagePicker;
|
|
10401
|
-
|
|
10402
9278
|
/***/ }),
|
|
10403
9279
|
|
|
10404
9280
|
/***/ "./src/components/Layout.tsx":
|
|
10405
9281
|
/*!***********************************!*\
|
|
10406
9282
|
!*** ./src/components/Layout.tsx ***!
|
|
10407
9283
|
\***********************************/
|
|
10408
|
-
/***/ ((__unused_webpack_module,
|
|
9284
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10409
9285
|
|
|
10410
9286
|
"use strict";
|
|
9287
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9288
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9289
|
+
/* harmony export */ "Layout": () => (/* binding */ Layout)
|
|
9290
|
+
/* harmony export */ });
|
|
9291
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
9292
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! piral */ "../../plugins/piral-menu/esm/Menu.js");
|
|
9293
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral */ "../../plugins/piral-notifications/esm/Notifications.js");
|
|
9294
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! piral */ "../../plugins/piral-modals/esm/Modals.js");
|
|
9295
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/Languages.js");
|
|
9296
|
+
/* harmony import */ var piral_search__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/Search.js");
|
|
9297
|
+
/* harmony import */ var _MenuToggle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MenuToggle */ "./src/components/MenuToggle.tsx");
|
|
9298
|
+
/* harmony import */ var _User__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./User */ "./src/components/User.tsx");
|
|
10411
9299
|
|
|
10412
9300
|
|
|
10413
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10414
|
-
value: true
|
|
10415
|
-
}));
|
|
10416
|
-
exports.Layout = void 0;
|
|
10417
|
-
|
|
10418
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10419
|
-
|
|
10420
|
-
var piral_1 = __webpack_require__(/*! piral */ "../../framework/piral/esm/index.js");
|
|
10421
|
-
|
|
10422
|
-
var piral_search_1 = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/index.js");
|
|
10423
9301
|
|
|
10424
|
-
var MenuToggle_1 = __webpack_require__(/*! ./MenuToggle */ "./src/components/MenuToggle.tsx");
|
|
10425
9302
|
|
|
10426
|
-
var User_1 = __webpack_require__(/*! ./User */ "./src/components/User.tsx");
|
|
10427
9303
|
|
|
10428
9304
|
var Layout = function Layout(_ref) {
|
|
10429
9305
|
var children = _ref.children;
|
|
10430
|
-
return
|
|
9306
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10431
9307
|
className: "app-container"
|
|
10432
|
-
},
|
|
9308
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10433
9309
|
className: "app-menu"
|
|
10434
|
-
},
|
|
9310
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10435
9311
|
className: "app-menu-content"
|
|
10436
|
-
},
|
|
9312
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_3__.Menu, {
|
|
10437
9313
|
type: "general"
|
|
10438
|
-
}),
|
|
9314
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_3__.Menu, {
|
|
10439
9315
|
type: "admin"
|
|
10440
|
-
}))),
|
|
9316
|
+
}))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_4__.Notifications, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_5__.Modals, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10441
9317
|
className: "app-header"
|
|
10442
|
-
},
|
|
9318
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10443
9319
|
className: "app-title"
|
|
10444
|
-
},
|
|
9320
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_MenuToggle__WEBPACK_IMPORTED_MODULE_1__.MenuToggle, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("h1", null, "Piral Sample")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral_search__WEBPACK_IMPORTED_MODULE_6__.Search, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_3__.Menu, {
|
|
10445
9321
|
type: "header"
|
|
10446
|
-
}),
|
|
9322
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_7__.Languages, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_User__WEBPACK_IMPORTED_MODULE_2__.User, null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10447
9323
|
className: "app-content"
|
|
10448
|
-
}, children),
|
|
9324
|
+
}, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10449
9325
|
className: "app-footer"
|
|
10450
|
-
},
|
|
9326
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral__WEBPACK_IMPORTED_MODULE_3__.Menu, {
|
|
10451
9327
|
type: "footer"
|
|
10452
9328
|
})));
|
|
10453
9329
|
};
|
|
10454
9330
|
|
|
10455
|
-
exports.Layout = Layout;
|
|
10456
|
-
|
|
10457
9331
|
/***/ }),
|
|
10458
9332
|
|
|
10459
9333
|
/***/ "./src/components/MenuToggle.tsx":
|
|
10460
9334
|
/*!***************************************!*\
|
|
10461
9335
|
!*** ./src/components/MenuToggle.tsx ***!
|
|
10462
9336
|
\***************************************/
|
|
10463
|
-
/***/ ((__unused_webpack_module,
|
|
9337
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10464
9338
|
|
|
10465
9339
|
"use strict";
|
|
10466
|
-
|
|
10467
|
-
|
|
9340
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9341
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9342
|
+
/* harmony export */ "MenuToggle": () => (/* binding */ MenuToggle)
|
|
9343
|
+
/* harmony export */ });
|
|
9344
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
9345
|
+
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
9346
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/components/utils.ts");
|
|
10468
9347
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10469
9348
|
|
|
10470
9349
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -10477,26 +9356,18 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
10477
9356
|
|
|
10478
9357
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10479
9358
|
|
|
10480
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10481
|
-
value: true
|
|
10482
|
-
}));
|
|
10483
|
-
exports.MenuToggle = void 0;
|
|
10484
|
-
|
|
10485
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10486
9359
|
|
|
10487
|
-
var react_router_1 = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
10488
9360
|
|
|
10489
|
-
var utils_1 = __webpack_require__(/*! ./utils */ "./src/components/utils.ts");
|
|
10490
9361
|
|
|
10491
|
-
|
|
9362
|
+
var MenuToggle = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.withRouter)(function (_ref) {
|
|
10492
9363
|
var history = _ref.history;
|
|
10493
9364
|
|
|
10494
|
-
var _React$useState =
|
|
9365
|
+
var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
10495
9366
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
10496
9367
|
active = _React$useState2[0],
|
|
10497
9368
|
setActive = _React$useState2[1];
|
|
10498
9369
|
|
|
10499
|
-
|
|
9370
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function () {
|
|
10500
9371
|
var node = document.querySelector('.app-menu');
|
|
10501
9372
|
|
|
10502
9373
|
if (active) {
|
|
@@ -10509,15 +9380,15 @@ exports.MenuToggle = (0, react_router_1.withRouter)(function (_ref) {
|
|
|
10509
9380
|
return active && setActive(false);
|
|
10510
9381
|
});
|
|
10511
9382
|
}, [active]);
|
|
10512
|
-
return
|
|
10513
|
-
className: (0,
|
|
9383
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", {
|
|
9384
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.withClass)('hamburger hamburger--arrow', active && 'is-active'),
|
|
10514
9385
|
type: "button",
|
|
10515
9386
|
onClick: function onClick() {
|
|
10516
9387
|
return setActive(!active);
|
|
10517
9388
|
}
|
|
10518
|
-
},
|
|
9389
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", {
|
|
10519
9390
|
className: "hamburger-box"
|
|
10520
|
-
},
|
|
9391
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", {
|
|
10521
9392
|
className: "hamburger-inner"
|
|
10522
9393
|
})));
|
|
10523
9394
|
});
|
|
@@ -10528,11 +9399,17 @@ exports.MenuToggle = (0, react_router_1.withRouter)(function (_ref) {
|
|
|
10528
9399
|
/*!*********************************!*\
|
|
10529
9400
|
!*** ./src/components/User.tsx ***!
|
|
10530
9401
|
\*********************************/
|
|
10531
|
-
/***/ ((__unused_webpack_module,
|
|
9402
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10532
9403
|
|
|
10533
9404
|
"use strict";
|
|
10534
|
-
|
|
10535
|
-
|
|
9405
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9406
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9407
|
+
/* harmony export */ "User": () => (/* binding */ User)
|
|
9408
|
+
/* harmony export */ });
|
|
9409
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
9410
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
9411
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! piral */ "../../framework/piral/esm/hooks/onClickOutside.js");
|
|
9412
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/components/utils.ts");
|
|
10536
9413
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10537
9414
|
|
|
10538
9415
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -10545,93 +9422,88 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
10545
9422
|
|
|
10546
9423
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10547
9424
|
|
|
10548
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10549
|
-
value: true
|
|
10550
|
-
}));
|
|
10551
|
-
exports.User = void 0;
|
|
10552
9425
|
|
|
10553
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10554
|
-
|
|
10555
|
-
var piral_1 = __webpack_require__(/*! piral */ "../../framework/piral/esm/index.js");
|
|
10556
9426
|
|
|
10557
|
-
var utils_1 = __webpack_require__(/*! ./utils */ "./src/components/utils.ts");
|
|
10558
9427
|
|
|
10559
9428
|
var User = function User() {
|
|
10560
|
-
var _React$useState =
|
|
9429
|
+
var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__.useState(false),
|
|
10561
9430
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
10562
9431
|
open = _React$useState2[0],
|
|
10563
9432
|
setOpen = _React$useState2[1];
|
|
10564
9433
|
|
|
10565
|
-
var currentUser = (0,
|
|
9434
|
+
var currentUser = (0,piral__WEBPACK_IMPORTED_MODULE_2__.useGlobalState)(function (m) {
|
|
10566
9435
|
return m.user;
|
|
10567
9436
|
});
|
|
10568
|
-
var menuItems = (0,
|
|
9437
|
+
var menuItems = (0,piral__WEBPACK_IMPORTED_MODULE_2__.useGlobalState)(function (m) {
|
|
10569
9438
|
return m.registry.menuItems;
|
|
10570
9439
|
});
|
|
10571
9440
|
var itemNames = Object.keys(menuItems).filter(function (m) {
|
|
10572
9441
|
return menuItems[m].settings.type === 'user';
|
|
10573
9442
|
});
|
|
10574
|
-
var container =
|
|
9443
|
+
var container = react__WEBPACK_IMPORTED_MODULE_0__.useRef(undefined);
|
|
10575
9444
|
var image = currentUser ? __webpack_require__(/*! ../images/male.png */ "./src/images/male.png") : __webpack_require__(/*! ../images/female.png */ "./src/images/female.png");
|
|
10576
|
-
var items = itemNames.length > 0 &&
|
|
9445
|
+
var items = itemNames.length > 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", {
|
|
10577
9446
|
className: "sep"
|
|
10578
9447
|
}), itemNames.map(function (name) {
|
|
10579
9448
|
var Component = menuItems[name].component;
|
|
10580
|
-
return
|
|
9449
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
|
|
10581
9450
|
key: name
|
|
10582
9451
|
});
|
|
10583
9452
|
}));
|
|
10584
|
-
(0,
|
|
9453
|
+
(0,piral__WEBPACK_IMPORTED_MODULE_3__.useOnClickOutside)(container, function () {
|
|
10585
9454
|
return setOpen(false);
|
|
10586
9455
|
});
|
|
10587
|
-
return
|
|
10588
|
-
className: (0,
|
|
9456
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
9457
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.withClass)('app-user', open && 'is-open'),
|
|
10589
9458
|
ref: container
|
|
10590
|
-
},
|
|
9459
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10591
9460
|
className: "app-user-avatar",
|
|
10592
9461
|
onClick: function onClick() {
|
|
10593
9462
|
return setOpen(!open);
|
|
10594
9463
|
}
|
|
10595
|
-
},
|
|
9464
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10596
9465
|
src: image,
|
|
10597
9466
|
alt: "Profile Image"
|
|
10598
|
-
})),
|
|
9467
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul", {
|
|
10599
9468
|
className: "app-user-details"
|
|
10600
|
-
}, currentUser ?
|
|
9469
|
+
}, currentUser ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", {
|
|
10601
9470
|
className: "user-name"
|
|
10602
|
-
}, "Name"), currentUser.firstName, " ", currentUser.lastName), items,
|
|
9471
|
+
}, "Name"), currentUser.firstName, " ", currentUser.lastName), items, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", {
|
|
10603
9472
|
className: "sep"
|
|
10604
|
-
}),
|
|
9473
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
10605
9474
|
href: "#"
|
|
10606
|
-
}, "Logout"))) :
|
|
9475
|
+
}, "Logout"))) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
10607
9476
|
href: ""
|
|
10608
9477
|
}, "Login")), items)));
|
|
10609
9478
|
};
|
|
10610
9479
|
|
|
10611
|
-
exports.User = User;
|
|
10612
|
-
|
|
10613
9480
|
/***/ }),
|
|
10614
9481
|
|
|
10615
9482
|
/***/ "./src/components/index.ts":
|
|
10616
9483
|
/*!*********************************!*\
|
|
10617
9484
|
!*** ./src/components/index.ts ***!
|
|
10618
9485
|
\*********************************/
|
|
10619
|
-
/***/ ((__unused_webpack_module,
|
|
9486
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10620
9487
|
|
|
10621
9488
|
"use strict";
|
|
9489
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9490
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9491
|
+
/* harmony export */ "MenuToggle": () => (/* reexport safe */ _MenuToggle__WEBPACK_IMPORTED_MODULE_0__.MenuToggle),
|
|
9492
|
+
/* harmony export */ "User": () => (/* reexport safe */ _User__WEBPACK_IMPORTED_MODULE_1__.User),
|
|
9493
|
+
/* harmony export */ "LanguageIcon": () => (/* reexport safe */ _LanguageIcon__WEBPACK_IMPORTED_MODULE_2__.LanguageIcon),
|
|
9494
|
+
/* harmony export */ "LanguagePicker": () => (/* reexport safe */ _LanguagePicker__WEBPACK_IMPORTED_MODULE_3__.LanguagePicker),
|
|
9495
|
+
/* harmony export */ "Layout": () => (/* reexport safe */ _Layout__WEBPACK_IMPORTED_MODULE_4__.Layout)
|
|
9496
|
+
/* harmony export */ });
|
|
9497
|
+
/* harmony import */ var _MenuToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MenuToggle */ "./src/components/MenuToggle.tsx");
|
|
9498
|
+
/* harmony import */ var _User__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./User */ "./src/components/User.tsx");
|
|
9499
|
+
/* harmony import */ var _LanguageIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LanguageIcon */ "./src/components/LanguageIcon.tsx");
|
|
9500
|
+
/* harmony import */ var _LanguagePicker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LanguagePicker */ "./src/components/LanguagePicker.tsx");
|
|
9501
|
+
/* harmony import */ var _Layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Layout */ "./src/components/Layout.tsx");
|
|
9502
|
+
|
|
10622
9503
|
|
|
10623
9504
|
|
|
10624
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10625
|
-
value: true
|
|
10626
|
-
}));
|
|
10627
9505
|
|
|
10628
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
10629
9506
|
|
|
10630
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./MenuToggle */ "./src/components/MenuToggle.tsx"), exports);
|
|
10631
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./User */ "./src/components/User.tsx"), exports);
|
|
10632
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LanguageIcon */ "./src/components/LanguageIcon.tsx"), exports);
|
|
10633
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LanguagePicker */ "./src/components/LanguagePicker.tsx"), exports);
|
|
10634
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Layout */ "./src/components/Layout.tsx"), exports);
|
|
10635
9507
|
|
|
10636
9508
|
/***/ }),
|
|
10637
9509
|
|
|
@@ -10639,16 +9511,13 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tsli
|
|
|
10639
9511
|
/*!*********************************!*\
|
|
10640
9512
|
!*** ./src/components/utils.ts ***!
|
|
10641
9513
|
\*********************************/
|
|
10642
|
-
/***/ ((__unused_webpack_module,
|
|
9514
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10643
9515
|
|
|
10644
9516
|
"use strict";
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
}));
|
|
10650
|
-
exports.withClass = void 0;
|
|
10651
|
-
|
|
9517
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9518
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9519
|
+
/* harmony export */ "withClass": () => (/* binding */ withClass)
|
|
9520
|
+
/* harmony export */ });
|
|
10652
9521
|
function withClass(baseClass, optional) {
|
|
10653
9522
|
if (!optional || typeof optional !== 'string') {
|
|
10654
9523
|
return baseClass;
|
|
@@ -10657,23 +9526,19 @@ function withClass(baseClass, optional) {
|
|
|
10657
9526
|
return "".concat(baseClass, " ").concat(optional);
|
|
10658
9527
|
}
|
|
10659
9528
|
|
|
10660
|
-
exports.withClass = withClass;
|
|
10661
|
-
|
|
10662
9529
|
/***/ }),
|
|
10663
9530
|
|
|
10664
9531
|
/***/ "./src/language.ts":
|
|
10665
9532
|
/*!*************************!*\
|
|
10666
9533
|
!*** ./src/language.ts ***!
|
|
10667
9534
|
\*************************/
|
|
10668
|
-
/***/ ((__unused_webpack_module,
|
|
9535
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10669
9536
|
|
|
10670
9537
|
"use strict";
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
}));
|
|
10676
|
-
exports.loadLanguage = void 0;
|
|
9538
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9539
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9540
|
+
/* harmony export */ "loadLanguage": () => (/* binding */ loadLanguage)
|
|
9541
|
+
/* harmony export */ });
|
|
10677
9542
|
var languages = {
|
|
10678
9543
|
en: 'English',
|
|
10679
9544
|
de: 'Deutsch'
|
|
@@ -10710,148 +9575,144 @@ function loadLanguage(language, data) {
|
|
|
10710
9575
|
});
|
|
10711
9576
|
}
|
|
10712
9577
|
|
|
10713
|
-
exports.loadLanguage = loadLanguage;
|
|
10714
|
-
|
|
10715
9578
|
/***/ }),
|
|
10716
9579
|
|
|
10717
9580
|
/***/ "./src/layout.tsx":
|
|
10718
9581
|
/*!************************!*\
|
|
10719
9582
|
!*** ./src/layout.tsx ***!
|
|
10720
9583
|
\************************/
|
|
10721
|
-
/***/ ((__unused_webpack_module,
|
|
9584
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10722
9585
|
|
|
10723
9586
|
"use strict";
|
|
9587
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9588
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9589
|
+
/* harmony export */ "errors": () => (/* binding */ errors),
|
|
9590
|
+
/* harmony export */ "layout": () => (/* binding */ layout)
|
|
9591
|
+
/* harmony export */ });
|
|
9592
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
9593
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/hooks.js");
|
|
9594
|
+
/* harmony import */ var piral_search__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/SearchInput.js");
|
|
9595
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "./src/components/index.ts");
|
|
9596
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./src/utils.ts");
|
|
10724
9597
|
|
|
10725
9598
|
|
|
10726
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10727
|
-
value: true
|
|
10728
|
-
}));
|
|
10729
|
-
exports.layout = exports.errors = void 0;
|
|
10730
|
-
|
|
10731
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10732
|
-
|
|
10733
|
-
var piral_1 = __webpack_require__(/*! piral */ "../../framework/piral/esm/index.js");
|
|
10734
|
-
|
|
10735
|
-
var piral_search_1 = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/index.js");
|
|
10736
9599
|
|
|
10737
|
-
var components_1 = __webpack_require__(/*! ./components */ "./src/components/index.ts");
|
|
10738
9600
|
|
|
10739
|
-
var utils_1 = __webpack_require__(/*! ./utils */ "./src/utils.ts");
|
|
10740
9601
|
|
|
10741
|
-
|
|
9602
|
+
var errors = {
|
|
10742
9603
|
menu: function menu() {
|
|
10743
|
-
return
|
|
9604
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null);
|
|
10744
9605
|
},
|
|
10745
9606
|
extension: function extension() {
|
|
10746
|
-
return
|
|
9607
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null);
|
|
10747
9608
|
},
|
|
10748
9609
|
feed: function feed(_ref) {
|
|
10749
9610
|
var error = _ref.error;
|
|
10750
|
-
return
|
|
9611
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10751
9612
|
className: "pi-error"
|
|
10752
|
-
},
|
|
9613
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10753
9614
|
src: __webpack_require__(/*! ./images/error.svg */ "./src/images/error.svg"),
|
|
10754
9615
|
alt: "Error"
|
|
10755
|
-
}),
|
|
9616
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10756
9617
|
className: "pi-title"
|
|
10757
|
-
}, "Data Unavailable"),
|
|
9618
|
+
}, "Data Unavailable"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10758
9619
|
className: "pi-description"
|
|
10759
|
-
}, "The demanded data has not been found. Please contact support to resolve this issue."),
|
|
9620
|
+
}, "The demanded data has not been found. Please contact support to resolve this issue."), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10760
9621
|
className: "pi-details"
|
|
10761
9622
|
}, error));
|
|
10762
9623
|
},
|
|
10763
9624
|
loading: function loading() {
|
|
10764
|
-
return
|
|
9625
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10765
9626
|
className: "pi-center"
|
|
10766
|
-
},
|
|
9627
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10767
9628
|
className: "pi-error"
|
|
10768
|
-
},
|
|
9629
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10769
9630
|
src: __webpack_require__(/*! ./images/error.svg */ "./src/images/error.svg"),
|
|
10770
9631
|
alt: "Error"
|
|
10771
|
-
}),
|
|
9632
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10772
9633
|
className: "pi-title"
|
|
10773
|
-
}, "Something Went Wrong"),
|
|
9634
|
+
}, "Something Went Wrong"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10774
9635
|
className: "pi-description"
|
|
10775
9636
|
}, "An error occured during the loading process. Try refreshing or come back later.")));
|
|
10776
9637
|
},
|
|
10777
9638
|
not_found: function not_found() {
|
|
10778
|
-
return
|
|
9639
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10779
9640
|
className: "pi-error"
|
|
10780
|
-
},
|
|
9641
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10781
9642
|
src: __webpack_require__(/*! ./images/not-found.svg */ "./src/images/not-found.svg"),
|
|
10782
9643
|
alt: "Not Found"
|
|
10783
|
-
}),
|
|
9644
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10784
9645
|
className: "pi-title"
|
|
10785
|
-
}, "Page Not Found"),
|
|
9646
|
+
}, "Page Not Found"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10786
9647
|
className: "pi-description"
|
|
10787
9648
|
}, "The provided URL does not map to a page. Please contact support to resolve this issue."));
|
|
10788
9649
|
},
|
|
10789
9650
|
page: function page() {
|
|
10790
|
-
return
|
|
9651
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10791
9652
|
className: "pi-error"
|
|
10792
|
-
},
|
|
9653
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10793
9654
|
src: __webpack_require__(/*! ./images/error.svg */ "./src/images/error.svg"),
|
|
10794
9655
|
alt: "Error"
|
|
10795
|
-
}),
|
|
9656
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10796
9657
|
className: "pi-title"
|
|
10797
|
-
}, "Page Crashed"),
|
|
9658
|
+
}, "Page Crashed"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10798
9659
|
className: "pi-description"
|
|
10799
9660
|
}, "Sorry for the inconvenience. We try to resolve the issue as soon as possible."));
|
|
10800
9661
|
},
|
|
10801
9662
|
modal: function modal(_ref2) {
|
|
10802
9663
|
var onClose = _ref2.onClose;
|
|
10803
|
-
return
|
|
9664
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10804
9665
|
className: "pi-error"
|
|
10805
|
-
},
|
|
9666
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10806
9667
|
src: __webpack_require__(/*! ./images/error.svg */ "./src/images/error.svg"),
|
|
10807
9668
|
alt: "Error"
|
|
10808
|
-
}),
|
|
9669
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10809
9670
|
className: "pi-title"
|
|
10810
|
-
}, "Dialog Crashed"),
|
|
9671
|
+
}, "Dialog Crashed"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10811
9672
|
className: "pi-description"
|
|
10812
|
-
},
|
|
9673
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", null, "Sorry for the inconvenience. We try to resolve the issue as soon as possible."), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", {
|
|
10813
9674
|
className: "btn btn-primary",
|
|
10814
9675
|
onClick: onClose
|
|
10815
9676
|
}, "Close")));
|
|
10816
9677
|
},
|
|
10817
9678
|
tile: function tile() {
|
|
10818
|
-
return
|
|
9679
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10819
9680
|
className: "pi-error"
|
|
10820
|
-
},
|
|
9681
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10821
9682
|
className: "pi-title"
|
|
10822
|
-
}, "Tile Crashed"),
|
|
9683
|
+
}, "Tile Crashed"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10823
9684
|
className: "pi-description"
|
|
10824
9685
|
}, "Sorry for the inconvenience."));
|
|
10825
9686
|
},
|
|
10826
9687
|
unknown: function unknown() {
|
|
10827
|
-
return
|
|
9688
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10828
9689
|
className: "pi-error"
|
|
10829
|
-
},
|
|
9690
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", {
|
|
10830
9691
|
src: __webpack_require__(/*! ./images/error.svg */ "./src/images/error.svg"),
|
|
10831
9692
|
alt: "Error"
|
|
10832
|
-
}),
|
|
9693
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10833
9694
|
className: "pi-title"
|
|
10834
|
-
}, "Unknown Error"),
|
|
9695
|
+
}, "Unknown Error"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10835
9696
|
className: "pi-description"
|
|
10836
9697
|
}, "An unknown error occured."));
|
|
10837
9698
|
}
|
|
10838
9699
|
};
|
|
10839
|
-
|
|
10840
|
-
Layout:
|
|
10841
|
-
LanguagesPicker:
|
|
9700
|
+
var layout = {
|
|
9701
|
+
Layout: _components__WEBPACK_IMPORTED_MODULE_1__.Layout,
|
|
9702
|
+
LanguagesPicker: _components__WEBPACK_IMPORTED_MODULE_1__.LanguagePicker,
|
|
10842
9703
|
LoadingIndicator: function LoadingIndicator() {
|
|
10843
|
-
return
|
|
9704
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10844
9705
|
className: "pi-center"
|
|
10845
|
-
},
|
|
9706
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10846
9707
|
className: "pi-spinner"
|
|
10847
9708
|
}, "Loading"));
|
|
10848
9709
|
},
|
|
10849
9710
|
DashboardContainer: function DashboardContainer(_ref3) {
|
|
10850
9711
|
var children = _ref3.children;
|
|
10851
|
-
var translate = (0,
|
|
10852
|
-
return
|
|
9712
|
+
var translate = (0,piral__WEBPACK_IMPORTED_MODULE_3__.useTranslate)();
|
|
9713
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10853
9714
|
className: "pi-content"
|
|
10854
|
-
},
|
|
9715
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("h1", null, translate('sample')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10855
9716
|
className: "pi-dashboard"
|
|
10856
9717
|
}, children));
|
|
10857
9718
|
},
|
|
@@ -10859,40 +9720,40 @@ exports.layout = {
|
|
|
10859
9720
|
var children = _ref4.children,
|
|
10860
9721
|
rows = _ref4.rows,
|
|
10861
9722
|
columns = _ref4.columns;
|
|
10862
|
-
return
|
|
10863
|
-
className: (0,
|
|
9723
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
9724
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.getTileClass)(columns, rows)
|
|
10864
9725
|
}, children);
|
|
10865
9726
|
},
|
|
10866
9727
|
MenuContainer: function MenuContainer(_ref5) {
|
|
10867
9728
|
var children = _ref5.children;
|
|
10868
|
-
return
|
|
9729
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10869
9730
|
className: "pi-menu"
|
|
10870
9731
|
}, children);
|
|
10871
9732
|
},
|
|
10872
9733
|
MenuItem: function MenuItem(_ref6) {
|
|
10873
9734
|
var children = _ref6.children;
|
|
10874
|
-
return
|
|
9735
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10875
9736
|
className: "pi-item"
|
|
10876
9737
|
}, children);
|
|
10877
9738
|
},
|
|
10878
9739
|
SearchContainer: function SearchContainer(_ref7) {
|
|
10879
9740
|
var loading = _ref7.loading,
|
|
10880
9741
|
children = _ref7.children;
|
|
10881
|
-
return
|
|
9742
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10882
9743
|
className: "pi-search"
|
|
10883
|
-
},
|
|
9744
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(piral_search__WEBPACK_IMPORTED_MODULE_4__.SearchInput, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10884
9745
|
className: "pi-details"
|
|
10885
|
-
}, children, loading &&
|
|
9746
|
+
}, children, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10886
9747
|
className: "pi-center"
|
|
10887
|
-
},
|
|
9748
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10888
9749
|
className: "pi-spinner"
|
|
10889
9750
|
}))));
|
|
10890
9751
|
},
|
|
10891
9752
|
SearchInput: function SearchInput(_ref8) {
|
|
10892
9753
|
var setValue = _ref8.setValue,
|
|
10893
9754
|
value = _ref8.value;
|
|
10894
|
-
var translate = (0,
|
|
10895
|
-
return
|
|
9755
|
+
var translate = (0,piral__WEBPACK_IMPORTED_MODULE_3__.useTranslate)();
|
|
9756
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", {
|
|
10896
9757
|
type: "search",
|
|
10897
9758
|
required: true,
|
|
10898
9759
|
placeholder: translate('search'),
|
|
@@ -10904,13 +9765,13 @@ exports.layout = {
|
|
|
10904
9765
|
},
|
|
10905
9766
|
SearchResult: function SearchResult(_ref9) {
|
|
10906
9767
|
var children = _ref9.children;
|
|
10907
|
-
return
|
|
9768
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10908
9769
|
className: "pi-item"
|
|
10909
9770
|
}, children);
|
|
10910
9771
|
},
|
|
10911
9772
|
NotificationsHost: function NotificationsHost(_ref10) {
|
|
10912
9773
|
var children = _ref10.children;
|
|
10913
|
-
return
|
|
9774
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10914
9775
|
className: "pi-notifications"
|
|
10915
9776
|
}, children);
|
|
10916
9777
|
},
|
|
@@ -10918,15 +9779,15 @@ exports.layout = {
|
|
|
10918
9779
|
var options = _ref11.options,
|
|
10919
9780
|
onClose = _ref11.onClose,
|
|
10920
9781
|
children = _ref11.children;
|
|
10921
|
-
return
|
|
9782
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10922
9783
|
className: "pi-item ".concat(options.type)
|
|
10923
|
-
},
|
|
9784
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10924
9785
|
className: "pi-details"
|
|
10925
|
-
}, options.title &&
|
|
9786
|
+
}, options.title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10926
9787
|
className: "pi-title"
|
|
10927
|
-
}, options.title),
|
|
9788
|
+
}, options.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10928
9789
|
className: "pi-description"
|
|
10929
|
-
}, children)),
|
|
9790
|
+
}, children)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10930
9791
|
className: "pi-close",
|
|
10931
9792
|
onClick: onClose
|
|
10932
9793
|
}));
|
|
@@ -10934,7 +9795,7 @@ exports.layout = {
|
|
|
10934
9795
|
ModalsHost: function ModalsHost(_ref12) {
|
|
10935
9796
|
var children = _ref12.children,
|
|
10936
9797
|
open = _ref12.open;
|
|
10937
|
-
|
|
9798
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function () {
|
|
10938
9799
|
var body = document.body;
|
|
10939
9800
|
|
|
10940
9801
|
if (open) {
|
|
@@ -10947,13 +9808,13 @@ exports.layout = {
|
|
|
10947
9808
|
window.scrollTo(0, offset);
|
|
10948
9809
|
}
|
|
10949
9810
|
}, [open]);
|
|
10950
|
-
return
|
|
9811
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10951
9812
|
className: "pi-modal"
|
|
10952
9813
|
}, children);
|
|
10953
9814
|
},
|
|
10954
9815
|
ModalsDialog: function ModalsDialog(_ref13) {
|
|
10955
9816
|
var children = _ref13.children;
|
|
10956
|
-
return
|
|
9817
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
10957
9818
|
className: "pi-modal-dialog"
|
|
10958
9819
|
}, children);
|
|
10959
9820
|
}
|
|
@@ -10965,18 +9826,16 @@ exports.layout = {
|
|
|
10965
9826
|
/*!******************************!*\
|
|
10966
9827
|
!*** ./src/parts/footer.tsx ***!
|
|
10967
9828
|
\******************************/
|
|
10968
|
-
/***/ ((__unused_webpack_module,
|
|
9829
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10969
9830
|
|
|
10970
9831
|
"use strict";
|
|
9832
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9833
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9834
|
+
/* harmony export */ "setupFooter": () => (/* binding */ setupFooter)
|
|
9835
|
+
/* harmony export */ });
|
|
9836
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10971
9837
|
|
|
10972
9838
|
|
|
10973
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
10974
|
-
value: true
|
|
10975
|
-
}));
|
|
10976
|
-
exports.setupFooter = void 0;
|
|
10977
|
-
|
|
10978
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
10979
|
-
|
|
10980
9839
|
function attach(element) {
|
|
10981
9840
|
return {
|
|
10982
9841
|
settings: {
|
|
@@ -10989,39 +9848,36 @@ function attach(element) {
|
|
|
10989
9848
|
}
|
|
10990
9849
|
|
|
10991
9850
|
function setupFooter() {
|
|
10992
|
-
return [attach(
|
|
9851
|
+
return [attach( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
10993
9852
|
href: "https://smapiot.com/legal/imprint/",
|
|
10994
9853
|
target: "_blank"
|
|
10995
|
-
}, "Imprint")), attach(
|
|
9854
|
+
}, "Imprint")), attach( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
10996
9855
|
href: "https://smapiot.com/legal/privacy/",
|
|
10997
9856
|
target: "_blank"
|
|
10998
|
-
}, "Data Privacy")), attach(
|
|
9857
|
+
}, "Data Privacy")), attach( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", {
|
|
10999
9858
|
href: "https://smapiot.com/legal/disclaimer/",
|
|
11000
9859
|
target: "_blank"
|
|
11001
9860
|
}, "Legal Disclaimer"))];
|
|
11002
9861
|
}
|
|
11003
9862
|
|
|
11004
|
-
exports.setupFooter = setupFooter;
|
|
11005
|
-
|
|
11006
9863
|
/***/ }),
|
|
11007
9864
|
|
|
11008
9865
|
/***/ "./src/parts/index.tsx":
|
|
11009
9866
|
/*!*****************************!*\
|
|
11010
9867
|
!*** ./src/parts/index.tsx ***!
|
|
11011
9868
|
\*****************************/
|
|
11012
|
-
/***/ ((__unused_webpack_module,
|
|
9869
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11013
9870
|
|
|
11014
9871
|
"use strict";
|
|
9872
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9873
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9874
|
+
/* harmony export */ "setupFooter": () => (/* reexport safe */ _footer__WEBPACK_IMPORTED_MODULE_0__.setupFooter),
|
|
9875
|
+
/* harmony export */ "setupMenu": () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_1__.setupMenu)
|
|
9876
|
+
/* harmony export */ });
|
|
9877
|
+
/* harmony import */ var _footer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./footer */ "./src/parts/footer.tsx");
|
|
9878
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./menu */ "./src/parts/menu.tsx");
|
|
11015
9879
|
|
|
11016
9880
|
|
|
11017
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
11018
|
-
value: true
|
|
11019
|
-
}));
|
|
11020
|
-
|
|
11021
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
11022
|
-
|
|
11023
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./footer */ "./src/parts/footer.tsx"), exports);
|
|
11024
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./menu */ "./src/parts/menu.tsx"), exports);
|
|
11025
9881
|
|
|
11026
9882
|
/***/ }),
|
|
11027
9883
|
|
|
@@ -11029,19 +9885,17 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tsli
|
|
|
11029
9885
|
/*!****************************!*\
|
|
11030
9886
|
!*** ./src/parts/menu.tsx ***!
|
|
11031
9887
|
\****************************/
|
|
11032
|
-
/***/ ((__unused_webpack_module,
|
|
9888
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11033
9889
|
|
|
11034
9890
|
"use strict";
|
|
9891
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9892
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9893
|
+
/* harmony export */ "setupMenu": () => (/* binding */ setupMenu)
|
|
9894
|
+
/* harmony export */ });
|
|
9895
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
9896
|
+
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");
|
|
11035
9897
|
|
|
11036
9898
|
|
|
11037
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
11038
|
-
value: true
|
|
11039
|
-
}));
|
|
11040
|
-
exports.setupMenu = void 0;
|
|
11041
|
-
|
|
11042
|
-
var React = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
11043
|
-
|
|
11044
|
-
var react_router_dom_1 = __webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");
|
|
11045
9899
|
|
|
11046
9900
|
function attach(element) {
|
|
11047
9901
|
return {
|
|
@@ -11055,31 +9909,26 @@ function attach(element) {
|
|
|
11055
9909
|
}
|
|
11056
9910
|
|
|
11057
9911
|
function setupMenu() {
|
|
11058
|
-
return [attach(
|
|
9912
|
+
return [attach( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, {
|
|
11059
9913
|
to: "/"
|
|
11060
|
-
}, "Home")), attach(
|
|
9914
|
+
}, "Home")), attach( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, {
|
|
11061
9915
|
to: "/error"
|
|
11062
9916
|
}, "Not Found"))];
|
|
11063
9917
|
}
|
|
11064
9918
|
|
|
11065
|
-
exports.setupMenu = setupMenu;
|
|
11066
|
-
|
|
11067
9919
|
/***/ }),
|
|
11068
9920
|
|
|
11069
9921
|
/***/ "./src/utils.ts":
|
|
11070
9922
|
/*!**********************!*\
|
|
11071
9923
|
!*** ./src/utils.ts ***!
|
|
11072
9924
|
\**********************/
|
|
11073
|
-
/***/ ((__unused_webpack_module,
|
|
9925
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11074
9926
|
|
|
11075
9927
|
"use strict";
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
}));
|
|
11081
|
-
exports.getTileClass = void 0;
|
|
11082
|
-
|
|
9928
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9929
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9930
|
+
/* harmony export */ "getTileClass": () => (/* binding */ getTileClass)
|
|
9931
|
+
/* harmony export */ });
|
|
11083
9932
|
function getTileClass(cols, rows) {
|
|
11084
9933
|
var baseCls = 'pi-tile';
|
|
11085
9934
|
|
|
@@ -11096,8 +9945,6 @@ function getTileClass(cols, rows) {
|
|
|
11096
9945
|
return baseCls;
|
|
11097
9946
|
}
|
|
11098
9947
|
|
|
11099
|
-
exports.getTileClass = getTileClass;
|
|
11100
|
-
|
|
11101
9948
|
/***/ }),
|
|
11102
9949
|
|
|
11103
9950
|
/***/ "../../../node_modules/call-bind/callBound.js":
|
|
@@ -14139,11 +12986,38 @@ module.exports = function isArguments(value) {
|
|
|
14139
12986
|
/*!*******************************************************!*\
|
|
14140
12987
|
!*** ../../framework/piral-core/dependencies.codegen ***!
|
|
14141
12988
|
\*******************************************************/
|
|
14142
|
-
/***/ ((
|
|
12989
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12990
|
+
|
|
12991
|
+
"use strict";
|
|
12992
|
+
var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
|
|
12993
|
+
var react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache;
|
|
12994
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12995
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12996
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
12997
|
+
/* harmony export */ });
|
|
12998
|
+
/* harmony import */ var reactstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! reactstrap */ "../../../node_modules/reactstrap/es/index.js");
|
|
12999
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
13000
|
+
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");
|
|
13001
|
+
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
13002
|
+
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");
|
|
13003
|
+
/* harmony import */ var history__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! history */ "../../../node_modules/history/esm/history.js");
|
|
13004
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
13005
|
+
/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! path-to-regexp */ "../../../node_modules/path-to-regexp/index.js");
|
|
13006
|
+
/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(path_to_regexp__WEBPACK_IMPORTED_MODULE_2__);
|
|
13007
|
+
/* harmony import */ var _libre_atom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @libre/atom */ "../../../node_modules/@libre/atom/dist/index.esm.js");
|
|
13008
|
+
/* harmony import */ var _dbeining_react_atom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js");
|
|
13009
|
+
/* harmony import */ var _dbeining_react_atom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_dbeining_react_atom__WEBPACK_IMPORTED_MODULE_9__);
|
|
13010
|
+
|
|
13011
|
+
|
|
13012
|
+
|
|
14143
13013
|
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
13014
|
+
|
|
13015
|
+
|
|
13016
|
+
|
|
13017
|
+
|
|
13018
|
+
|
|
13019
|
+
|
|
13020
|
+
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(deps) {deps['sample-piral']={};deps["reactstrap"]=reactstrap__WEBPACK_IMPORTED_MODULE_3__;deps["reactstrap@8.10.0"]=reactstrap__WEBPACK_IMPORTED_MODULE_3__;deps["react"]=/*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2)));deps["react@17.0.2"]=/*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2)));deps["react-dom"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-dom@17.0.2"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-router"]=react_router__WEBPACK_IMPORTED_MODULE_4__;deps["react-router@5.2.1"]=react_router__WEBPACK_IMPORTED_MODULE_4__;deps["react-router-dom"]=react_router_dom__WEBPACK_IMPORTED_MODULE_5__;deps["react-router-dom@5.3.0"]=react_router_dom__WEBPACK_IMPORTED_MODULE_5__;deps["history"]=history__WEBPACK_IMPORTED_MODULE_6__;deps["history@4.10.1"]=history__WEBPACK_IMPORTED_MODULE_6__;deps["tslib"]=tslib__WEBPACK_IMPORTED_MODULE_7__;deps["tslib@2.3.1"]=tslib__WEBPACK_IMPORTED_MODULE_7__;deps["path-to-regexp"]=path_to_regexp__WEBPACK_IMPORTED_MODULE_2__;deps["path-to-regexp@1.8.0"]=path_to_regexp__WEBPACK_IMPORTED_MODULE_2__;deps["@libre/atom"]=_libre_atom__WEBPACK_IMPORTED_MODULE_8__;deps["@libre/atom@1.3.3"]=_libre_atom__WEBPACK_IMPORTED_MODULE_8__;deps["@dbeining/react-atom"]=_dbeining_react_atom__WEBPACK_IMPORTED_MODULE_9__;deps["@dbeining/react-atom@4.1.21"]=_dbeining_react_atom__WEBPACK_IMPORTED_MODULE_9__}
|
|
14147
13021
|
|
|
14148
13022
|
/***/ }),
|
|
14149
13023
|
|
|
@@ -80836,6 +79710,36 @@ function _setPrototypeOf(o, p) {
|
|
|
80836
79710
|
/******/ };
|
|
80837
79711
|
/******/ })();
|
|
80838
79712
|
/******/
|
|
79713
|
+
/******/ /* webpack/runtime/create fake namespace object */
|
|
79714
|
+
/******/ (() => {
|
|
79715
|
+
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
79716
|
+
/******/ var leafPrototypes;
|
|
79717
|
+
/******/ // create a fake namespace object
|
|
79718
|
+
/******/ // mode & 1: value is a module id, require it
|
|
79719
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
79720
|
+
/******/ // mode & 4: return value when already ns object
|
|
79721
|
+
/******/ // mode & 16: return value when it's Promise-like
|
|
79722
|
+
/******/ // mode & 8|1: behave like require
|
|
79723
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
79724
|
+
/******/ if(mode & 1) value = this(value);
|
|
79725
|
+
/******/ if(mode & 8) return value;
|
|
79726
|
+
/******/ if(typeof value === 'object' && value) {
|
|
79727
|
+
/******/ if((mode & 4) && value.__esModule) return value;
|
|
79728
|
+
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
79729
|
+
/******/ }
|
|
79730
|
+
/******/ var ns = Object.create(null);
|
|
79731
|
+
/******/ __webpack_require__.r(ns);
|
|
79732
|
+
/******/ var def = {};
|
|
79733
|
+
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
79734
|
+
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
79735
|
+
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
79736
|
+
/******/ }
|
|
79737
|
+
/******/ def['default'] = () => (value);
|
|
79738
|
+
/******/ __webpack_require__.d(ns, def);
|
|
79739
|
+
/******/ return ns;
|
|
79740
|
+
/******/ };
|
|
79741
|
+
/******/ })();
|
|
79742
|
+
/******/
|
|
80839
79743
|
/******/ /* webpack/runtime/define property getters */
|
|
80840
79744
|
/******/ (() => {
|
|
80841
79745
|
/******/ // define getter functions for harmony exports
|
|
@@ -80915,12 +79819,19 @@ var update = _tooling_piral_cli_webpack5_node_modules_style_loader_dist_runtime_
|
|
|
80915
79819
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
80916
79820
|
(() => {
|
|
80917
79821
|
"use strict";
|
|
80918
|
-
var exports = __webpack_exports__;
|
|
80919
79822
|
/*!***********************!*\
|
|
80920
79823
|
!*** ./src/index.tsx ***!
|
|
80921
79824
|
\***********************/
|
|
80922
|
-
|
|
80923
|
-
|
|
79825
|
+
__webpack_require__.r(__webpack_exports__);
|
|
79826
|
+
/* harmony import */ var bootstrap_dist_css_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bootstrap/dist/css/bootstrap.min.css */ "../../../node_modules/bootstrap/dist/css/bootstrap.min.css");
|
|
79827
|
+
/* harmony import */ var piral_polyfills__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! piral/polyfills */ "../../framework/piral/polyfills.js");
|
|
79828
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral */ "../../framework/piral/esm/render.js");
|
|
79829
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/create.js");
|
|
79830
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/current.js");
|
|
79831
|
+
/* harmony import */ var piral_auth__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! piral-auth */ "../../plugins/piral-auth/esm/create.js");
|
|
79832
|
+
/* harmony import */ var piral_search__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/create.js");
|
|
79833
|
+
/* harmony import */ var _parts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./parts */ "./src/parts/index.tsx");
|
|
79834
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./layout */ "./src/layout.tsx");
|
|
80924
79835
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
80925
79836
|
|
|
80926
79837
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -80933,38 +79844,27 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
80933
79844
|
|
|
80934
79845
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
80935
79846
|
|
|
80936
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
80937
|
-
value: true
|
|
80938
|
-
}));
|
|
80939
|
-
|
|
80940
|
-
__webpack_require__(/*! bootstrap/dist/css/bootstrap.min.css */ "../../../node_modules/bootstrap/dist/css/bootstrap.min.css");
|
|
80941
79847
|
|
|
80942
|
-
__webpack_require__(/*! piral/polyfills */ "../../framework/piral/polyfills.js");
|
|
80943
79848
|
|
|
80944
|
-
var piral_1 = __webpack_require__(/*! piral */ "../../framework/piral/esm/index.js");
|
|
80945
79849
|
|
|
80946
|
-
var piral_auth_1 = __webpack_require__(/*! piral-auth */ "../../plugins/piral-auth/esm/index.js");
|
|
80947
79850
|
|
|
80948
|
-
var piral_search_1 = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/index.js");
|
|
80949
79851
|
|
|
80950
|
-
var parts_1 = __webpack_require__(/*! ./parts */ "./src/parts/index.tsx");
|
|
80951
79852
|
|
|
80952
|
-
var layout_1 = __webpack_require__(/*! ./layout */ "./src/layout.tsx");
|
|
80953
79853
|
|
|
80954
|
-
(0,
|
|
79854
|
+
(0,piral__WEBPACK_IMPORTED_MODULE_4__.renderInstance)({
|
|
80955
79855
|
settings: {
|
|
80956
|
-
locale: (0,
|
|
80957
|
-
language:
|
|
79856
|
+
locale: (0,piral__WEBPACK_IMPORTED_MODULE_5__.setupLocalizer)({
|
|
79857
|
+
language: piral__WEBPACK_IMPORTED_MODULE_6__.getUserLocale,
|
|
80958
79858
|
messages: {
|
|
80959
79859
|
de: {},
|
|
80960
79860
|
en: {}
|
|
80961
79861
|
}
|
|
80962
79862
|
}),
|
|
80963
79863
|
menu: {
|
|
80964
|
-
items: [].concat(_toConsumableArray((0,
|
|
79864
|
+
items: [].concat(_toConsumableArray((0,_parts__WEBPACK_IMPORTED_MODULE_2__.setupMenu)()), _toConsumableArray((0,_parts__WEBPACK_IMPORTED_MODULE_2__.setupFooter)()))
|
|
80965
79865
|
}
|
|
80966
79866
|
},
|
|
80967
|
-
plugins: [(0,
|
|
79867
|
+
plugins: [(0,piral_auth__WEBPACK_IMPORTED_MODULE_7__.createAuthApi)(), (0,piral_search__WEBPACK_IMPORTED_MODULE_8__.createSearchApi)()],
|
|
80968
79868
|
requestPilets: function requestPilets() {
|
|
80969
79869
|
return fetch('https://feed.piral.cloud/api/v1/pilet/sample').then(function (res) {
|
|
80970
79870
|
return res.json();
|
|
@@ -80972,11 +79872,11 @@ var layout_1 = __webpack_require__(/*! ./layout */ "./src/layout.tsx");
|
|
|
80972
79872
|
return res.items;
|
|
80973
79873
|
});
|
|
80974
79874
|
},
|
|
80975
|
-
layout:
|
|
80976
|
-
errors:
|
|
79875
|
+
layout: _layout__WEBPACK_IMPORTED_MODULE_3__.layout,
|
|
79876
|
+
errors: _layout__WEBPACK_IMPORTED_MODULE_3__.errors
|
|
80977
79877
|
});
|
|
80978
79878
|
})();
|
|
80979
79879
|
|
|
80980
79880
|
/******/ })()
|
|
80981
79881
|
;
|
|
80982
|
-
//# sourceMappingURL=index.
|
|
79882
|
+
//# sourceMappingURL=index.4a25dc.js.map
|