@kne/form-creator 0.1.6 → 0.1.7

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.
@@ -442,7 +442,7 @@ const createFieldId = () => `field_${Date.now()}_${Math.random().toString(36).sl
442
442
  /** 生成可编辑的默认数据标识,如 field_xxxx / col_xxxx */
443
443
  const createDataKey = (prefix = 'field') => `${prefix}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 6)}`;
444
444
  const isAutoDataKey = (value, prefix = 'field') => new RegExp(`^${prefix}_[a-z0-9]+_[a-z0-9]+$`, 'i').test(String(value || '').trim());
445
- const MAX_BLOCK_DEPTH = 5;
445
+ const MAX_BLOCK_DEPTH = 14;
446
446
  const createEmptyColumn = () => ({
447
447
  title: '',
448
448
  name: createDataKey('col'),