@tachybase/plugin-block-presentation 1.3.20 → 1.3.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.
@@ -1,11 +1,9 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.3.20",
4
- "@tachybase/schema": "1.3.20",
3
+ "@tachybase/client": "1.3.22",
4
+ "@tachybase/schema": "1.3.39",
5
5
  "react-i18next": "15.2.0",
6
6
  "antd": "5.22.5",
7
- "@ant-design/icons": "5.3.7",
8
- "@tachybase/server": "1.3.20",
9
- "@tachybase/actions": "1.3.20",
10
- "@tachybase/database": "1.3.20"
7
+ "@ant-design/icons": "5.6.1",
8
+ "@tego/server": "1.3.39"
11
9
  };
@@ -1,2 +1,2 @@
1
- import { Context, Next } from '@tachybase/actions';
1
+ import { Context, Next } from '@tego/server';
2
2
  export declare function getHtml(ctx: Context, next: Next): Promise<void>;
@@ -1,3 +1,3 @@
1
- import { CollectionOptions } from '@tachybase/database';
1
+ import { CollectionOptions } from '@tego/server';
2
2
  declare const _default: CollectionOptions;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import { InstallOptions, Plugin } from '@tachybase/server';
1
+ import { InstallOptions, Plugin } from '@tego/server';
2
2
  export declare class IframeBlockPlugin extends Plugin {
3
3
  afterAdd(): void;
4
4
  beforeLoad(): void;
@@ -31,8 +31,8 @@ __export(plugin_exports, {
31
31
  default: () => plugin_default
32
32
  });
33
33
  module.exports = __toCommonJS(plugin_exports);
34
- var import_path = __toESM(require("path"));
35
- var import_server = require("@tachybase/server");
34
+ var import_node_path = __toESM(require("node:path"));
35
+ var import_server = require("@tego/server");
36
36
  var import_actions = require("./actions");
37
37
  class IframeBlockPlugin extends import_server.Plugin {
38
38
  afterAdd() {
@@ -40,7 +40,7 @@ class IframeBlockPlugin extends import_server.Plugin {
40
40
  beforeLoad() {
41
41
  }
42
42
  async load() {
43
- await this.importCollections(import_path.default.resolve(__dirname, "collections"));
43
+ await this.importCollections(import_node_path.default.resolve(__dirname, "collections"));
44
44
  this.app.actions({
45
45
  "iframeHtml:getHtml": import_actions.getHtml
46
46
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-block-presentation",
3
3
  "displayName": "Block: Presentation",
4
- "version": "1.3.20",
4
+ "version": "1.3.22",
5
5
  "description": "Create an card on the page to embed and display external web pages or content.",
6
6
  "keywords": [
7
7
  "Blocks"
@@ -10,23 +10,18 @@
10
10
  "main": "./dist/server/index.js",
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
- "@ant-design/icons": "~5.3.7",
13
+ "@ant-design/icons": "^5.6.1",
14
+ "@tachybase/schema": "^1.3.39",
15
+ "@tachybase/test": "^1.3.39",
16
+ "@tego/client": "^1.3.39",
17
+ "@tego/server": "^1.3.39",
14
18
  "antd": "5.22.5",
15
- "react": "^18.3.1",
16
- "react-i18next": "^15.2.0",
19
+ "react": "18.3.1",
20
+ "react-i18next": "15.2.0",
17
21
  "react-iframe": "~1.8.5",
18
- "@tachybase/schema": "1.3.20"
19
- },
20
- "peerDependencies": {
21
- "@tachybase/actions": "1.3.20",
22
- "@tachybase/client": "1.3.20",
23
- "@tachybase/server": "1.3.20",
24
- "@tachybase/database": "1.3.20",
25
- "@tachybase/test": "1.3.20"
22
+ "@tachybase/client": "1.3.22"
26
23
  },
27
24
  "description.zh-CN": "在页面上创建和管理,用于嵌入和展示外部网页或内容。",
28
25
  "displayName.zh-CN": "卡片:presentation",
29
- "scripts": {
30
- "build": "tachybase-build --no-dts @tachybase/plugin-block-presentation"
31
- }
26
+ "scripts": {}
32
27
  }