@steedos-widgets/amis-lib 6.10.28 → 6.10.29

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/dist/index.esm.js CHANGED
@@ -10421,7 +10421,7 @@ async function getObjectRelatedListsMiniSchema(objectApiName){
10421
10421
  * @Author: baozhoutao@steedos.com
10422
10422
  * @Date: 2022-07-05 15:55:39
10423
10423
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
10424
- * @LastEditTime: 2025-12-04 14:03:00
10424
+ * @LastEditTime: 2025-12-04 23:20:29
10425
10425
  * @Description:
10426
10426
  */
10427
10427
 
@@ -10707,6 +10707,10 @@ async function getViewSchema(objectName, recordId, ctx) {
10707
10707
 
10708
10708
  function isListViewSupported(listView) {
10709
10709
  if(listView.type === "calendar" || listView.type === "timeline"){
10710
+ var isEnterprise = window.Builder?.settings.platform && ["platform-standard", "platform-enterprise", "platform-professional"].includes(window.Builder.settings.platform.product);
10711
+ if (!isEnterprise) {
10712
+ return false;
10713
+ }
10710
10714
  return listView.type === "timeline" ? (!!window.BuilderFullCalendarScheduler) : (!!window.BuilderFullCalendar || !!window.BuilderFullCalendarScheduler);
10711
10715
  }
10712
10716
  return true;
@@ -14553,7 +14557,7 @@ function uuidv4() {
14553
14557
  * @Author: 殷亮辉 yinlianghui@hotoa.com
14554
14558
  * @Date: 2023-11-15 09:50:22
14555
14559
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
14556
- * @LastEditTime: 2025-09-01 15:40:28
14560
+ * @LastEditTime: 2025-12-04 22:52:15
14557
14561
  */
14558
14562
 
14559
14563
  /**
@@ -16154,10 +16158,11 @@ const getAmisInputTableSchema = async (props) => {
16154
16158
  "visible": props.$schema.visible,
16155
16159
  "hiddenOn": props.$schema.hiddenOn,
16156
16160
  "hidden": props.$schema.hidden,
16161
+ "requiredOn": props.$schema.requiredOn,
16157
16162
  "required": props.required,
16158
16163
  className,
16159
16164
  };
16160
- // console.log("===schema===", schema);
16165
+ // console.log("=inputtable==schema===", schema);
16161
16166
  return schema;
16162
16167
  };
16163
16168