@pisell/materials 6.11.54 → 6.11.55

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.
Files changed (122) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +4 -4
  6. package/build/lowcode/view.js +4 -4
  7. package/es/components/PisellCards/index.d.ts +0 -1
  8. package/es/components/PisellFields/index.d.ts +0 -1
  9. package/es/components/PisellLayouts/index.d.ts +0 -1
  10. package/es/components/PisellMetrics/index.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +32 -21
  12. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +2 -0
  13. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +7 -3
  14. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +23 -0
  15. package/es/components/dataSourceComponents/dataSourceForm/serve.js +99 -0
  16. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +35 -20
  17. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +3 -0
  18. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  19. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  20. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +1 -1
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  24. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  25. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  26. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  27. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  28. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  29. package/es/components/dataSourceComponents/fields/index.d.ts +14 -15
  30. package/es/components/dataSourceComponents/hooks/useActions.js +1 -1
  31. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  32. package/es/components/date-picker/index.d.ts +0 -1
  33. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  34. package/es/components/pisellDatePicker/index.d.ts +0 -1
  35. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +4 -4
  36. package/es/components/pisellFloorMapLayout/components/ViewControls.js +2 -2
  37. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +3 -3
  38. package/es/components/pisellFloorMapLayout/types.d.ts +1 -1
  39. package/es/components/pisellModal/components/index.d.ts +0 -1
  40. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  41. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  42. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  43. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  44. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  45. package/es/components/table/Table/fields/index.d.ts +0 -1
  46. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  47. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  48. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  49. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  50. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  51. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  52. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  53. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  54. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  55. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  56. package/es/components/table/Table/utils.d.ts +1 -1
  57. package/es/locales/en-US.d.ts +1 -0
  58. package/es/locales/en-US.js +1 -0
  59. package/es/locales/zh-CN.d.ts +1 -0
  60. package/es/locales/zh-CN.js +1 -0
  61. package/es/locales/zh-TW.d.ts +1 -0
  62. package/es/locales/zh-TW.js +1 -0
  63. package/lib/components/PisellCards/index.d.ts +0 -1
  64. package/lib/components/PisellFields/index.d.ts +0 -1
  65. package/lib/components/PisellLayouts/index.d.ts +0 -1
  66. package/lib/components/PisellMetrics/index.d.ts +0 -1
  67. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +30 -14
  68. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +2 -0
  69. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +7 -3
  70. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +23 -0
  71. package/lib/components/dataSourceComponents/dataSourceForm/serve.js +69 -1
  72. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +8 -1
  73. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +3 -0
  74. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  75. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  76. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +1 -1
  77. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  78. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  79. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  80. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  81. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  82. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  83. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  84. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  85. package/lib/components/dataSourceComponents/fields/index.d.ts +14 -15
  86. package/lib/components/dataSourceComponents/hooks/useActions.js +1 -1
  87. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  88. package/lib/components/date-picker/index.d.ts +0 -1
  89. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  90. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  91. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +3 -3
  92. package/lib/components/pisellFloorMapLayout/components/ViewControls.js +2 -2
  93. package/lib/components/pisellFloorMapLayout/types.d.ts +1 -1
  94. package/lib/components/pisellModal/components/index.d.ts +0 -1
  95. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  96. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  97. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  98. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  99. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  100. package/lib/components/table/Table/fields/index.d.ts +0 -1
  101. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  102. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  103. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  104. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  105. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  106. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  107. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  108. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  109. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  110. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  111. package/lib/components/table/Table/utils.d.ts +1 -1
  112. package/lib/locales/en-US.d.ts +1 -0
  113. package/lib/locales/en-US.js +1 -0
  114. package/lib/locales/zh-CN.d.ts +1 -0
  115. package/lib/locales/zh-CN.js +1 -0
  116. package/lib/locales/zh-TW.d.ts +1 -0
  117. package/lib/locales/zh-TW.js +1 -0
  118. package/lowcode/data-source-form/meta.ts +53 -4
  119. package/lowcode/data-source-form/utils.ts +43 -5
  120. package/lowcode/data-source-table/meta.ts +51 -45
  121. package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
  122. package/package.json +3 -3
@@ -385,6 +385,7 @@ declare const _default: {
385
385
  'pisell-record-view-unavailable': string;
386
386
  'pisell-data-source-form-required-message': string;
387
387
  'pisell-data-source-form-scope-message': string;
388
+ 'pisell-data-source-form-scene-request-id-message': string;
388
389
  'pisell-data-source-form-email-message': string;
389
390
  'pisell-data-source-form-domain-message': string;
390
391
  'pisell-data-source-form-url-message': string;
@@ -428,6 +428,7 @@ var zh_CN_default = {
428
428
  "pisell-record-view-unavailable": "不可用",
429
429
  "pisell-data-source-form-required-message": "该字段为必填项",
430
430
  "pisell-data-source-form-scope-message": "未指定设置的scope参数",
431
+ "pisell-data-source-form-scene-request-id-message": "未指定设备设置的 sceneRequestId",
431
432
  "pisell-data-source-form-email-message": "请输入有效的电子邮件地址",
432
433
  "pisell-data-source-form-domain-message": "请输入有效的域名",
433
434
  "pisell-data-source-form-url-message": "请输入正确的网址",
@@ -385,6 +385,7 @@ declare const _default: {
385
385
  'pisell-record-view-unavailable': string;
386
386
  'pisell-data-source-form-required-message': string;
387
387
  'pisell-data-source-form-scope-message': string;
388
+ 'pisell-data-source-form-scene-request-id-message': string;
388
389
  'pisell-data-source-form-email-message': string;
389
390
  'pisell-data-source-form-domain-message': string;
390
391
  'pisell-data-source-form-url-message': string;
@@ -429,6 +429,7 @@ var zh_TW_default = {
429
429
  "pisell-record-view-unavailable": "不可用",
430
430
  "pisell-data-source-form-required-message": "該字段為必填項",
431
431
  "pisell-data-source-form-scope-message": "未指定設置的scope參數",
432
+ "pisell-data-source-form-scene-request-id-message": "未指定設備設置的 sceneRequestId",
432
433
  "pisell-data-source-form-email-message": "請輸入有效的電子郵件地址",
433
434
  "pisell-data-source-form-domain-message": "請輸入有效的域名",
434
435
  "pisell-data-source-form-url-message": "請輸入正確的網址",
@@ -117,29 +117,30 @@ const dataSourceForm: MetaType = {
117
117
 
118
118
  if (hasGroupInfo) {
119
119
  // 按group分组
120
- const groupedFields = new Map<string, { groupTitle: string; items: any[] }>();
120
+ const groupedFields = new Map<string, { groupTitle: any; groupDescription: any; items: any[] }>();
121
121
 
122
122
  value.item.fields.forEach((field: any) => {
123
123
  const groupId = field._groupId;
124
124
  if (!groupedFields.has(groupId)) {
125
125
  groupedFields.set(groupId, {
126
126
  groupTitle: field._groupTitle,
127
+ groupDescription: field._groupDescription,
127
128
  items: []
128
129
  });
129
130
  }
130
131
  // 移除group标记,避免污染
131
- const { _groupId, _groupTitle, ...cleanField } = field;
132
+ const { _groupId, _groupTitle, _groupDescription, ...cleanField } = field;
132
133
  groupedFields.get(groupId)!.items.push(cleanField);
133
134
  });
134
135
 
135
136
  // 为每个group创建一个FormGroup
136
- groupedFields.forEach(({ groupTitle, items }) => {
137
+ groupedFields.forEach(({ groupTitle, groupDescription, items }) => {
137
138
  const childrenSchemas = fields2ChildrenSchemas(
138
139
  items,
139
140
  target.getProps().getPropValue('renderMode')
140
141
  );
141
142
  formGroupSchemas.push(
142
- createFormGroup(childrenSchemas, groupTitle)
143
+ createFormGroup(childrenSchemas, groupTitle, groupDescription)
143
144
  );
144
145
  });
145
146
  } else {
@@ -206,6 +207,49 @@ const dataSourceForm: MetaType = {
206
207
  },
207
208
  },
208
209
  },
210
+ {
211
+ name: 'scene',
212
+ title: {
213
+ label: {
214
+ type: 'i18n',
215
+ 'en-US': 'Scene',
216
+ 'zh-CN': '场景',
217
+ },
218
+ tip: {
219
+ type: 'i18n',
220
+ 'en-US': 'Only support: template, profile, instance',
221
+ 'zh-CN': '仅支持: template, profile, instance',
222
+ }
223
+ },
224
+ defaultValue: {
225
+ "type": "JSExpression",
226
+ "value": "this.props?.scene",
227
+ },
228
+ condition(target: any) {
229
+ return !!target.getProps().getPropValue('dataSource')?.fromDeviceSettingMeta;
230
+ },
231
+ setter: 'StringSetter',
232
+ supportVariable: true,
233
+ },
234
+ {
235
+ name: 'sceneRequestId',
236
+ title: {
237
+ label: {
238
+ type: 'i18n',
239
+ 'en-US': 'Scene request id',
240
+ 'zh-CN': '场景请求 ID',
241
+ },
242
+ },
243
+ defaultValue: {
244
+ "type": "JSExpression",
245
+ "value": "this.props?.sceneRequestId"
246
+ },
247
+ condition(target: any) {
248
+ return !!target.getProps().getPropValue('dataSource')?.fromDeviceSettingMeta;
249
+ },
250
+ setter: 'StringSetter',
251
+ supportVariable: true,
252
+ },
209
253
  {
210
254
  title: '字段',
211
255
  display: 'entry',
@@ -1055,6 +1099,11 @@ const dataSourceForm: MetaType = {
1055
1099
  template:
1056
1100
  "onDataSourceFinish(values,result,${extParams}){\n// 数据源提交成功\nconsole.log('onDataSourceFinish',values,result);}",
1057
1101
  },
1102
+ {
1103
+ name: 'onDataSourceLoaded',
1104
+ template:
1105
+ "onDataSourceLoaded(values,rawResult,${extParams}){\n// 数据源加载完成\nconsole.log('onDataSourceLoaded',values,rawResult);}",
1106
+ }
1058
1107
  ],
1059
1108
  },
1060
1109
  advanced: {
@@ -35,14 +35,48 @@ type UiSchema = {
35
35
  type: 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
36
36
  };
37
37
 
38
+ /**
39
+ * 将 MultiLanguageText 对象转为平台可解析的 i18n 格式
40
+ * MultiLanguageText: { en, 'zh-CN', 'zh-HK', ja, pt, original }
41
+ * i18n 格式: { type: 'i18n', en, 'zh-CN', 'zh-HK', ... }
42
+ *
43
+ * 规则:
44
+ * - 所有语言字段(含 original)均为空 → 返回 '',避免低代码 i18n 图标被误亮
45
+ * - 仅有 original 有值,其它翻译为空 → 返回纯字符串 original,正常显示但不绑定 i18n
46
+ * - 有任意真实翻译 → 返回 i18n 对象,缺失的语言用 original 兜底
47
+ */
48
+ const I18N_LANG_KEYS = ['en', 'zh-CN', 'zh-HK', 'ja', 'pt'];
49
+
50
+ const toI18nProp = (value: any): any => {
51
+ if (!value) return value;
52
+ if (typeof value === 'string') return value;
53
+ if (typeof value === 'object' && value.type === 'i18n') return value;
54
+ if (typeof value === 'object') {
55
+ const original = value.original || '';
56
+ const hasRealTranslation = I18N_LANG_KEYS.some((key) => !!value[key]);
57
+
58
+ if (!hasRealTranslation) {
59
+ return original;
60
+ }
61
+
62
+ const i18nResult: Record<string, any> = { type: 'i18n' };
63
+ I18N_LANG_KEYS.forEach((key) => {
64
+ i18nResult[key] = value[key] || original || '';
65
+ });
66
+ return i18nResult;
67
+ }
68
+ return value;
69
+ };
70
+
38
71
  // 创建表单组
39
- export const createFormGroup = (children: any[], groupTitle?: string) => {
72
+ export const createFormGroup = (children: any[], groupTitle?: any, groupDescription?: any) => {
40
73
  return {
41
74
  children,
42
75
  componentName: 'FormGroup',
43
76
  title: '分组',
44
77
  props: {
45
- title: groupTitle || 'Group',
78
+ title: toI18nProp(groupTitle) || 'Group',
79
+ description: toI18nProp(groupDescription) || '',
46
80
  showTitle: true,
47
81
  showDescription: true,
48
82
  showBackgroundColor: true,
@@ -150,8 +184,9 @@ export const createFormItemSchema = (
150
184
  'x-component-props': xProps,
151
185
  'x-pattern': xPattern,
152
186
  'x-display': xDisplay,
187
+ 'x-description': xDescription,
153
188
  type,
154
- } = uiSchema;
189
+ } = uiSchema as any;
155
190
  let cptTitle = undefined;
156
191
 
157
192
  // 根据 x-pattern 和 x-display 确定 renderMode
@@ -185,7 +220,7 @@ export const createFormItemSchema = (
185
220
  // 构建 props: 先设置默认值,再用 x-component-props 覆盖,最后设置 renderMode
186
221
  let props: Record<string, any> = {
187
222
  // 默认值
188
- label: title,
223
+ label: toI18nProp(title),
189
224
  name,
190
225
  allowClear: true,
191
226
  placeholder: {
@@ -198,6 +233,8 @@ export const createFormItemSchema = (
198
233
  ...xProps,
199
234
  // renderMode 最终计算结果(综合了所有来源)
200
235
  renderMode,
236
+ // 辅助说明文字(来自 registry item 的 description),转为 i18n 格式
237
+ ...(xDescription ? { extra: toI18nProp(xDescription) } : {}),
201
238
  };
202
239
 
203
240
  // 如果 x-component-props 中存在 required 字段,额外添加 requiredobj
@@ -733,7 +770,8 @@ export const getDataSourceVariables = (target: any) => {
733
770
  };
734
771
 
735
772
  export const getCurrentValueVariables = (target: any) => {
736
- if (target?.getProps()?.getPropValue('_variables')?.dataSourceValue?.fromSettingMeta) {
773
+ const ds = target?.getProps()?.getPropValue('_variables')?.dataSourceValue;
774
+ if (ds?.fromSettingMeta || ds?.fromDeviceSettingMeta) {
737
775
  return [];
738
776
  }
739
777
 
@@ -81,60 +81,66 @@ const dataSourceTable = {
81
81
  return target.getProps().setPropValue('dataSource', '');
82
82
  }
83
83
 
84
+ const setBatchVariablesFunc = () => {
85
+ setBatchVariables(target, [
86
+ {
87
+ label: 'currentFields',
88
+ value: value.item.fields,
89
+ },
90
+ {
91
+ label: 'dataSourceVariables',
92
+ value: [
93
+ {
94
+ label: '当前数据表',
95
+ value: genDataSourceValueKey(target, 'currentDataSource'),
96
+ item: value.item,
97
+ isVariable: true,
98
+ },
99
+ ],
100
+ },
101
+ {
102
+ label: 'dataSourceTitle',
103
+ value: value.title,
104
+ },
105
+ {
106
+ label: 'currentValueVariables',
107
+ value: [
108
+ {
109
+ label: '当前行数据',
110
+ value: genDataSourceValueKey(target, 'currentRecord'),
111
+ },
112
+ ],
113
+ },
114
+ ]);
115
+ }
116
+
117
+ setBatchVariablesFunc();
118
+
84
119
  // 如果重新选择选择数据源,则清空表格
85
120
  if (value.isSelect) {
86
121
  resetTableProps(target);
87
- }
88
122
 
89
- const columns = fields2Columns(value.item.fields);
123
+ setBatchVariablesFunc();
90
124
 
91
- target.getProps().setPropValue('columns', columns);
92
- target.getProps().setPropValue('title', value.title);
125
+ const columns = fields2Columns(value.item.fields);
93
126
 
94
- setBatchVariables(target, [
95
- {
96
- label: 'currentFields',
97
- value: value.item.fields,
98
- },
99
- {
100
- label: 'dataSourceVariables',
101
- value: [
102
- {
103
- label: '当前数据表',
104
- value: genDataSourceValueKey(target, 'currentDataSource'),
105
- item: value.item,
106
- isVariable: true,
107
- },
108
- ],
109
- },
110
- {
111
- label: 'dataSourceTitle',
112
- value: value.title,
113
- },
114
- {
115
- label: 'currentValueVariables',
116
- value: [
117
- {
118
- label: '当前行数据',
119
- value: genDataSourceValueKey(target, 'currentRecord'),
120
- },
121
- ],
122
- },
123
- ]);
127
+ target.getProps().setPropValue('columns', columns);
128
+ target.getProps().setPropValue('title', value.title);
124
129
 
125
- // 生成默认操作列和标题行按钮
126
- setDefaultOperationAndTitleButtons(target);
130
+ // 生成默认操作列和标题行按钮
131
+ setDefaultOperationAndTitleButtons(target);
127
132
 
128
- if (
129
- !['pisell2-api', 'mypisell-api'].includes(
130
- value.item.headerDataSource
131
- )
132
- ) {
133
- // 生成默认搜索筛选
134
- setDefaultSearchFilter(target, value.item.fields);
133
+ if (
134
+ !['pisell2-api', 'mypisell-api'].includes(
135
+ value.item.headerDataSource
136
+ )
137
+ ) {
138
+ // 生成默认搜索筛选
139
+ setDefaultSearchFilter(target, value.item.fields);
135
140
 
136
- // 生成默认排序
137
- setDefaultSort(target, value.item.fields);
141
+ // 生成默认排序
142
+ setDefaultSort(target, value.item.fields);
143
+ }
138
144
  }
139
145
 
140
146
  return target.getProps().setPropValue('dataSource', value.item);
@@ -9,7 +9,7 @@ const PisellRecordBoardCalendarViewMeta: ComponentMetadata = {
9
9
  "devMode": "proCode",
10
10
  "npm": {
11
11
  "package": "@pisell/materials",
12
- "version": "6.11.52",
12
+ "version": "6.11.54",
13
13
  "exportName": "PisellRecordBoardCalendarView",
14
14
  "main": "src/index.tsx",
15
15
  "destructuring": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.11.54",
3
+ "version": "6.11.55",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -98,9 +98,9 @@
98
98
  "swiper": "^8.4.7",
99
99
  "antd-mobile": "^5.38.1",
100
100
  "vod-js-sdk-v6": "^1.4.11",
101
- "@pisell/icon": "0.0.11",
102
101
  "@pisell/date-picker": "3.0.8",
103
- "@pisell/utils": "3.0.2"
102
+ "@pisell/utils": "3.0.2",
103
+ "@pisell/icon": "0.0.11"
104
104
  },
105
105
  "peerDependencies": {
106
106
  "react": "^18.0.0",