piral-ext 0.13.6 → 0.14.0-alpha.3152
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/esm/create.js +2 -3
- package/esm/create.js.map +1 -1
- package/lib/create.js +14 -15
- package/lib/create.js.map +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/libs.js +7 -7
- package/lib/libs.js.map +1 -1
- package/package.json +10 -10
package/esm/create.js
CHANGED
@@ -8,9 +8,8 @@ import { createFeedsApi } from 'piral-feeds';
|
|
8
8
|
* Creates an array including all standard APIs from piral-ext.
|
9
9
|
* @param settings Customizes the standard plugin settings.
|
10
10
|
*/
|
11
|
-
export function createStandardApi(settings) {
|
12
|
-
|
13
|
-
var _a = settings.locale, locale = _a === void 0 ? undefined : _a, _b = settings.dashboard, dashboard = _b === void 0 ? undefined : _b, _c = settings.menu, menu = _c === void 0 ? undefined : _c, _d = settings.notifications, notifications = _d === void 0 ? undefined : _d, _e = settings.modals, modals = _e === void 0 ? undefined : _e, _f = settings.feeds, feeds = _f === void 0 ? undefined : _f;
|
11
|
+
export function createStandardApi(settings = {}) {
|
12
|
+
const { locale = undefined, dashboard = undefined, menu = undefined, notifications = undefined, modals = undefined, feeds = undefined, } = settings;
|
14
13
|
return [
|
15
14
|
locale !== false && createLocaleApi(locale),
|
16
15
|
dashboard !== false && createDashboardApi(dashboard),
|
package/esm/create.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAC,
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAC,WAA6B,EAAE;IAC/D,MAAM,EACJ,MAAM,GAAG,SAAS,EAClB,SAAS,GAAG,SAAS,EACrB,IAAI,GAAG,SAAS,EAChB,aAAa,GAAG,SAAS,EACzB,MAAM,GAAG,SAAS,EAClB,KAAK,GAAG,SAAS,GAClB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,MAAM,KAAK,KAAK,IAAI,eAAe,CAAC,MAAM,CAAC;QAC3C,SAAS,KAAK,KAAK,IAAI,kBAAkB,CAAC,SAAS,CAAC;QACpD,IAAI,KAAK,KAAK,IAAI,aAAa,CAAC,IAAI,CAAC;QACrC,aAAa,KAAK,KAAK,IAAI,sBAAsB,CAAC,aAAa,CAAC;QAChE,MAAM,KAAK,KAAK,IAAI,eAAe,CAAC,MAAM,CAAC;QAC3C,KAAK,KAAK,KAAK,IAAI,cAAc,CAAC,KAAK,CAAC;KACzC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACpB,CAAC"}
|
package/lib/create.js
CHANGED
@@ -1,26 +1,25 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.createStandardApi = void 0;
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
const piral_translate_1 = require("piral-translate");
|
5
|
+
const piral_dashboard_1 = require("piral-dashboard");
|
6
|
+
const piral_menu_1 = require("piral-menu");
|
7
|
+
const piral_notifications_1 = require("piral-notifications");
|
8
|
+
const piral_modals_1 = require("piral-modals");
|
9
|
+
const piral_feeds_1 = require("piral-feeds");
|
10
10
|
/**
|
11
11
|
* Creates an array including all standard APIs from piral-ext.
|
12
12
|
* @param settings Customizes the standard plugin settings.
|
13
13
|
*/
|
14
|
-
function createStandardApi(settings) {
|
15
|
-
|
16
|
-
var _a = settings.locale, locale = _a === void 0 ? undefined : _a, _b = settings.dashboard, dashboard = _b === void 0 ? undefined : _b, _c = settings.menu, menu = _c === void 0 ? undefined : _c, _d = settings.notifications, notifications = _d === void 0 ? undefined : _d, _e = settings.modals, modals = _e === void 0 ? undefined : _e, _f = settings.feeds, feeds = _f === void 0 ? undefined : _f;
|
14
|
+
function createStandardApi(settings = {}) {
|
15
|
+
const { locale = undefined, dashboard = undefined, menu = undefined, notifications = undefined, modals = undefined, feeds = undefined, } = settings;
|
17
16
|
return [
|
18
|
-
locale !== false && piral_translate_1.createLocaleApi(locale),
|
19
|
-
dashboard !== false && piral_dashboard_1.createDashboardApi(dashboard),
|
20
|
-
menu !== false && piral_menu_1.createMenuApi(menu),
|
21
|
-
notifications !== false && piral_notifications_1.createNotificationsApi(notifications),
|
22
|
-
modals !== false && piral_modals_1.createModalsApi(modals),
|
23
|
-
feeds !== false && piral_feeds_1.createFeedsApi(feeds),
|
17
|
+
locale !== false && (0, piral_translate_1.createLocaleApi)(locale),
|
18
|
+
dashboard !== false && (0, piral_dashboard_1.createDashboardApi)(dashboard),
|
19
|
+
menu !== false && (0, piral_menu_1.createMenuApi)(menu),
|
20
|
+
notifications !== false && (0, piral_notifications_1.createNotificationsApi)(notifications),
|
21
|
+
modals !== false && (0, piral_modals_1.createModalsApi)(modals),
|
22
|
+
feeds !== false && (0, piral_feeds_1.createFeedsApi)(feeds),
|
24
23
|
].filter(Boolean);
|
25
24
|
}
|
26
25
|
exports.createStandardApi = createStandardApi;
|
package/lib/create.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAClD,qDAAqD;AACrD,2CAA2C;AAC3C,6DAA6D;AAC7D,+CAA+C;AAC/C,6CAA6C;AAG7C;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,WAA6B,EAAE;IAC/D,MAAM,EACJ,MAAM,GAAG,SAAS,EAClB,SAAS,GAAG,SAAS,EACrB,IAAI,GAAG,SAAS,EAChB,aAAa,GAAG,SAAS,EACzB,MAAM,GAAG,SAAS,EAClB,KAAK,GAAG,SAAS,GAClB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,MAAM,KAAK,KAAK,IAAI,IAAA,iCAAe,EAAC,MAAM,CAAC;QAC3C,SAAS,KAAK,KAAK,IAAI,IAAA,oCAAkB,EAAC,SAAS,CAAC;QACpD,IAAI,KAAK,KAAK,IAAI,IAAA,0BAAa,EAAC,IAAI,CAAC;QACrC,aAAa,KAAK,KAAK,IAAI,IAAA,4CAAsB,EAAC,aAAa,CAAC;QAChE,MAAM,KAAK,KAAK,IAAI,IAAA,8BAAe,EAAC,MAAM,CAAC;QAC3C,KAAK,KAAK,KAAK,IAAI,IAAA,4BAAc,EAAC,KAAK,CAAC;KACzC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACpB,CAAC;AAlBD,8CAkBC"}
|
package/lib/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
|
4
|
-
tslib_1.__exportStar(require("./create"), exports);
|
5
|
-
tslib_1.__exportStar(require("./libs"), exports);
|
6
|
-
tslib_1.__exportStar(require("./types"), exports);
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
(0, tslib_1.__exportStar)(require("./create"), exports);
|
5
|
+
(0, tslib_1.__exportStar)(require("./libs"), exports);
|
6
|
+
(0, tslib_1.__exportStar)(require("./types"), exports);
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,sDAAuB;AACvB,uDAAwB"}
|
package/lib/libs.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
|
4
|
-
tslib_1.__exportStar(require("piral-translate"), exports);
|
5
|
-
tslib_1.__exportStar(require("piral-dashboard"), exports);
|
6
|
-
tslib_1.__exportStar(require("piral-feeds"), exports);
|
7
|
-
tslib_1.__exportStar(require("piral-menu"), exports);
|
8
|
-
tslib_1.__exportStar(require("piral-modals"), exports);
|
9
|
-
tslib_1.__exportStar(require("piral-notifications"), exports);
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
(0, tslib_1.__exportStar)(require("piral-translate"), exports);
|
5
|
+
(0, tslib_1.__exportStar)(require("piral-dashboard"), exports);
|
6
|
+
(0, tslib_1.__exportStar)(require("piral-feeds"), exports);
|
7
|
+
(0, tslib_1.__exportStar)(require("piral-menu"), exports);
|
8
|
+
(0, tslib_1.__exportStar)(require("piral-modals"), exports);
|
9
|
+
(0, tslib_1.__exportStar)(require("piral-notifications"), exports);
|
10
10
|
//# sourceMappingURL=libs.js.map
|
package/lib/libs.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"libs.js","sourceRoot":"","sources":["../src/libs.ts"],"names":[],"mappings":";;;AAAA
|
1
|
+
{"version":3,"file":"libs.js","sourceRoot":"","sources":["../src/libs.ts"],"names":[],"mappings":";;;AAAA,+DAAgC;AAChC,+DAAgC;AAChC,2DAA4B;AAC5B,0DAA2B;AAC3B,4DAA6B;AAC7B,mEAAoC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "piral-ext",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.14.0-alpha.3152",
|
4
4
|
"description": "Set of standard plugins with component definitions for extending piral-core.",
|
5
5
|
"keywords": [
|
6
6
|
"piral",
|
@@ -40,18 +40,18 @@
|
|
40
40
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
43
|
-
"piral-core": "^0.
|
43
|
+
"piral-core": "^0.14.0-alpha.3152"
|
44
44
|
},
|
45
45
|
"peerDependencies": {
|
46
|
-
"piral-core": "0.
|
46
|
+
"piral-core": "0.14.x"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"piral-dashboard": "^0.
|
50
|
-
"piral-feeds": "^0.
|
51
|
-
"piral-menu": "^0.
|
52
|
-
"piral-modals": "^0.
|
53
|
-
"piral-notifications": "^0.
|
54
|
-
"piral-translate": "^0.
|
49
|
+
"piral-dashboard": "^0.14.0-alpha.3152",
|
50
|
+
"piral-feeds": "^0.14.0-alpha.3152",
|
51
|
+
"piral-menu": "^0.14.0-alpha.3152",
|
52
|
+
"piral-modals": "^0.14.0-alpha.3152",
|
53
|
+
"piral-notifications": "^0.14.0-alpha.3152",
|
54
|
+
"piral-translate": "^0.14.0-alpha.3152"
|
55
55
|
},
|
56
|
-
"gitHead": "
|
56
|
+
"gitHead": "4ad88a8b8bcdee17f22e7e1e2e8feb41df6210e5"
|
57
57
|
}
|