@blocklet/pages-kit 0.5.17 → 0.5.19

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.
@@ -43,4 +43,5 @@ export declare const BuiltinModules: {
43
43
  '@blocklet/pages-kit/builtin/uploader': {};
44
44
  '@blocklet/pages-kit/builtin/color-picker': {};
45
45
  '@blocklet/pages-kit/builtin/markdown/index': {};
46
+ '@blocklet/pages-kit/builtin/event-bus': {};
46
47
  };
@@ -1,5 +1,6 @@
1
1
  import { CustomComponent } from '../types/core';
2
2
  import { State } from '../types/state';
3
+ export declare const sanitize: any;
3
4
  export declare function componentUMDName({ componentId }: {
4
5
  componentId: string;
5
6
  }): string;
@@ -24,7 +25,7 @@ export declare const RenderNestedComponent = "__RENDER_NESTED_COMPONENT__";
24
25
  export declare function safeJSONParse(value: string | Record<string, any>): any;
25
26
  export declare function safeYamlParse(value: string | Record<string, any>): any;
26
27
  export declare const initDynamicParsePropertyValueHandlers: () => Promise<Record<string, any>>;
27
- export declare function parsePropertyValue(property: NonNullable<CustomComponent['properties']>[string]['data'], value: any, { locale, defaultLocale, propertyHandlers, }: {
28
+ export declare function parsePropertyValue(property: NonNullable<CustomComponent['properties']>[string]['data'], inputValue: any, { locale, defaultLocale, propertyHandlers, }: {
28
29
  locale?: string;
29
30
  defaultLocale?: string;
30
31
  propertyHandlers?: Record<string, (value: any) => any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.5.17",
3
+ "version": "0.5.19",
4
4
  "description": "Pages Kit components and utils for blocklet(s)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -100,11 +100,12 @@
100
100
  "url": "git+https://github.com/blocklet/pages-kit.git"
101
101
  },
102
102
  "dependencies": {
103
- "@arcblock/did-connect": "^2.13.41",
104
- "@blocklet/ai-kit": "^0.1.76",
103
+ "@arcblock/did-connect": "^2.13.47",
104
+ "@blocklet/ai-kit": "^0.1.78",
105
105
  "@blocklet/js-sdk": "^1.16.43",
106
106
  "@blocklet/sdk": "^1.16.43",
107
- "@blocklet/uploader": "^0.1.91",
107
+ "@blocklet/uploader": "^0.1.93",
108
+ "@blocklet/xss": "^0.1.36",
108
109
  "@faker-js/faker": "^9.0.3",
109
110
  "@iconify-icons/tabler": "^1.2.95",
110
111
  "@iconify/react": "^5.0.2",
@@ -127,6 +128,7 @@
127
128
  "jsonata": "^2.0.5",
128
129
  "lodash": "^4.17.21",
129
130
  "material-ui-popup-state": "^5.1.2",
131
+ "mitt": "^3.0.1",
130
132
  "nanoid": "^3.3.7",
131
133
  "node-fetch": "^2.7.0",
132
134
  "react-best-gradient-color-picker": "^3.0.14",
@@ -169,8 +171,8 @@
169
171
  "react-router-dom": "^6.16.0"
170
172
  },
171
173
  "devDependencies": {
172
- "@arcblock/ux": "^2.13.41",
173
- "@blocklet/ai-runtime": "^0.4.270",
174
+ "@arcblock/ux": "^2.13.47",
175
+ "@blocklet/ai-runtime": "^0.4.271",
174
176
  "@blocklet/js-sdk": "^1.16.43",
175
177
  "@blocklet/sdk": "^1.16.43",
176
178
  "@emotion/cache": "^11.13.1",