@tachybase/client 0.23.8-alpha.35 → 0.23.8-alpha.36
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/es/built-in/admin-layout/AdminLayout.mjs +2 -2
- package/es/built-in/admin-layout/AdminLayoutPlugin.d.ts +1 -1
- package/es/built-in/admin-layout/AdminLayoutPlugin.mjs +4 -4
- package/es/built-in/admin-layout/AdminProvider.mjs +2 -2
- package/lib/application/schema-initializer/hooks/index.js +2 -2
- package/lib/block-provider/hooks/index.js +2 -2
- package/lib/built-in/admin-layout/AdminLayout.js +2 -2
- package/lib/built-in/admin-layout/AdminLayoutPlugin.js +4 -4
- package/lib/built-in/admin-layout/AdminProvider.js +4 -4
- package/package.json +4 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__index_mjs__ from "./index.mjs";
|
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__AdminProvider_mjs__ from "./AdminProvider.mjs";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__InternalAdminLayout_mjs__ from "./InternalAdminLayout.mjs";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__NoticeArea_mjs__ from "./NoticeArea.mjs";
|
|
6
6
|
const AdminLayout = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)(__WEBPACK_EXTERNAL_MODULE__AdminProvider_mjs__.AdminProvider, {
|
|
7
7
|
children: [
|
|
8
8
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__NoticeArea_mjs__.NoticeArea, {}),
|
|
9
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(
|
|
9
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__InternalAdminLayout_mjs__.InternalAdminLayout, {
|
|
10
10
|
...props
|
|
11
11
|
})
|
|
12
12
|
]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__application_Plugin_mjs__ from "../../application/Plugin.mjs";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__schema_templates_SchemaTemplateManagerProvider_mjs__ from "../../schema-templates/SchemaTemplateManagerProvider.mjs";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__AdminLayout_mjs__ from "./AdminLayout.mjs";
|
|
4
|
-
class AdminLayoutPlugin extends
|
|
4
|
+
class AdminLayoutPlugin extends __WEBPACK_EXTERNAL_MODULE__application_Plugin_mjs__.Plugin {
|
|
5
5
|
async afterAdd() {
|
|
6
|
-
await this.app.pm.add(
|
|
6
|
+
await this.app.pm.add(__WEBPACK_EXTERNAL_MODULE__schema_templates_SchemaTemplateManagerProvider_mjs__.RemoteSchemaTemplateManagerPlugin);
|
|
7
7
|
}
|
|
8
8
|
async load() {
|
|
9
9
|
this.app.addComponents({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__application_NoticesManager_mjs__ from "../../application/NoticesManager.mjs";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../collection-manager/index.mjs";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__common_index_mjs__ from "../../common/index.mjs";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE__user_index_mjs__ from "../../user/index.mjs";
|
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE__variables_VariablesProvider_mjs__ from "../../variables/VariablesProvider.mjs";
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE__acl_index_mjs__ from "../acl/index.mjs";
|
|
9
|
-
const AdminProvider = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(
|
|
9
|
+
const AdminProvider = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__application_NoticesManager_mjs__.NoticeManagerProvider, {
|
|
10
10
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__common_index_mjs__.CurrentAppInfoProvider, {
|
|
11
11
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__user_index_mjs__.NavigateIfNotSignIn, {
|
|
12
12
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.RemoteCollectionManagerProvider, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
"../../../schema-component": function(module) {
|
|
3
|
+
"../../../schema-component?2c44": function(module) {
|
|
4
4
|
module.exports = require("../../../schema-component/index.js");
|
|
5
5
|
},
|
|
6
6
|
"../../hooks": function(module) {
|
|
@@ -83,7 +83,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
83
83
|
});
|
|
84
84
|
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react");
|
|
85
85
|
var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
86
|
-
var _schema_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../schema-component");
|
|
86
|
+
var _schema_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../schema-component?2c44");
|
|
87
87
|
var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../hooks");
|
|
88
88
|
var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../components");
|
|
89
89
|
var _components_SchemaInitializerButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../components/SchemaInitializerButton");
|
|
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
|
|
|
15
15
|
"../../filter-provider/utils": function(module) {
|
|
16
16
|
module.exports = require("../../filter-provider/utils.js");
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"../../../schema-component?8d08": function(module) {
|
|
19
19
|
module.exports = require("../../index.js");
|
|
20
20
|
},
|
|
21
21
|
"../../record-provider": function(module) {
|
|
@@ -229,7 +229,7 @@ var lodash_omit__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/ __webpack_r
|
|
|
229
229
|
var react_i18next__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("react-i18next");
|
|
230
230
|
var react_router_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("react-router-dom");
|
|
231
231
|
var react_to_print__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("react-to-print");
|
|
232
|
-
var ___WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("
|
|
232
|
+
var ___WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../schema-component?8d08");
|
|
233
233
|
var _api_client__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../api-client");
|
|
234
234
|
var _built_in_dynamic_page_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../built-in/dynamic-page/utils");
|
|
235
235
|
var _collection_manager__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../collection-manager");
|
|
@@ -30,13 +30,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30
30
|
});
|
|
31
31
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
32
32
|
require("react");
|
|
33
|
-
const external_index_js_namespaceObject = require("./index.js");
|
|
34
33
|
const external_AdminProvider_js_namespaceObject = require("./AdminProvider.js");
|
|
34
|
+
const external_InternalAdminLayout_js_namespaceObject = require("./InternalAdminLayout.js");
|
|
35
35
|
const external_NoticeArea_js_namespaceObject = require("./NoticeArea.js");
|
|
36
36
|
const AdminLayout = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_AdminProvider_js_namespaceObject.AdminProvider, {
|
|
37
37
|
children: [
|
|
38
38
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_NoticeArea_js_namespaceObject.NoticeArea, {}),
|
|
39
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
39
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_InternalAdminLayout_js_namespaceObject.InternalAdminLayout, {
|
|
40
40
|
...props
|
|
41
41
|
})
|
|
42
42
|
]
|
|
@@ -28,12 +28,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
__webpack_require__.d(__webpack_exports__, {
|
|
29
29
|
AdminLayoutPlugin: ()=>AdminLayoutPlugin
|
|
30
30
|
});
|
|
31
|
-
const
|
|
32
|
-
const
|
|
31
|
+
const Plugin_js_namespaceObject = require("../../application/Plugin.js");
|
|
32
|
+
const SchemaTemplateManagerProvider_js_namespaceObject = require("../../schema-templates/SchemaTemplateManagerProvider.js");
|
|
33
33
|
const external_AdminLayout_js_namespaceObject = require("./AdminLayout.js");
|
|
34
|
-
class AdminLayoutPlugin extends
|
|
34
|
+
class AdminLayoutPlugin extends Plugin_js_namespaceObject.Plugin {
|
|
35
35
|
async afterAdd() {
|
|
36
|
-
await this.app.pm.add(
|
|
36
|
+
await this.app.pm.add(SchemaTemplateManagerProvider_js_namespaceObject.RemoteSchemaTemplateManagerPlugin);
|
|
37
37
|
}
|
|
38
38
|
async load() {
|
|
39
39
|
this.app.addComponents({
|
|
@@ -43,17 +43,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
43
43
|
});
|
|
44
44
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
45
45
|
require("react");
|
|
46
|
-
const
|
|
47
|
-
const
|
|
46
|
+
const NoticesManager_js_namespaceObject = require("../../application/NoticesManager.js");
|
|
47
|
+
const index_js_namespaceObject = require("../../collection-manager/index.js");
|
|
48
48
|
const external_common_index_js_namespaceObject = require("../../common/index.js");
|
|
49
49
|
const external_user_index_js_namespaceObject = require("../../user/index.js");
|
|
50
50
|
const VariablesProvider_js_namespaceObject = require("../../variables/VariablesProvider.js");
|
|
51
51
|
var VariablesProvider_js_default = /*#__PURE__*/ __webpack_require__.n(VariablesProvider_js_namespaceObject);
|
|
52
52
|
const external_acl_index_js_namespaceObject = require("../acl/index.js");
|
|
53
|
-
const AdminProvider = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
53
|
+
const AdminProvider = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(NoticesManager_js_namespaceObject.NoticeManagerProvider, {
|
|
54
54
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_common_index_js_namespaceObject.CurrentAppInfoProvider, {
|
|
55
55
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_user_index_js_namespaceObject.NavigateIfNotSignIn, {
|
|
56
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
56
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_js_namespaceObject.RemoteCollectionManagerProvider, {
|
|
57
57
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VariablesProvider_js_default(), {
|
|
58
58
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_acl_index_js_namespaceObject.ACLRolesCheckProvider, {
|
|
59
59
|
children: props.children
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/client",
|
|
3
|
-
"version": "0.23.8-alpha.
|
|
3
|
+
"version": "0.23.8-alpha.36",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"sanitize-html": "2.14.0",
|
|
67
67
|
"use-deep-compare-effect": "^1.8.1",
|
|
68
68
|
"@tachybase/components": "0.23.8",
|
|
69
|
-
"@tachybase/utils": "0.23.8",
|
|
70
|
-
"@tachybase/sdk": "0.23.8",
|
|
71
69
|
"@tachybase/schema": "0.23.8",
|
|
72
70
|
"@tachybase/evaluators": "0.23.8",
|
|
73
|
-
"@tachybase/requirejs": "0.23.8"
|
|
71
|
+
"@tachybase/requirejs": "0.23.8",
|
|
72
|
+
"@tachybase/sdk": "0.23.8",
|
|
73
|
+
"@tachybase/utils": "0.23.8"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@testing-library/react": "^14.3.1",
|