@blocklet/pages-kit 0.5.18 → 0.5.20

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,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.18",
3
+ "version": "0.5.20",
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",
@@ -170,8 +171,8 @@
170
171
  "react-router-dom": "^6.16.0"
171
172
  },
172
173
  "devDependencies": {
173
- "@arcblock/ux": "^2.13.41",
174
- "@blocklet/ai-runtime": "^0.4.270",
174
+ "@arcblock/ux": "^2.13.47",
175
+ "@blocklet/ai-runtime": "^0.4.271",
175
176
  "@blocklet/js-sdk": "^1.16.43",
176
177
  "@blocklet/sdk": "^1.16.43",
177
178
  "@emotion/cache": "^11.13.1",