/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */

var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var node_use_sets_exports = {};
__export(node_use_sets_exports, {
  ACTION_BUTTON_USES: () => ACTION_BUTTON_USES,
  COLLECTION_BLOCK_USES: () => COLLECTION_BLOCK_USES,
  CREATABLE_STANDALONE_FIELD_USES: () => CREATABLE_STANDALONE_FIELD_USES,
  FIELD_WRAPPER_USES: () => FIELD_WRAPPER_USES,
  JS_BLOCK_USES: () => JS_BLOCK_USES,
  STANDALONE_FIELD_NODE_USES: () => STANDALONE_FIELD_NODE_USES,
  STATIC_CONTENT_BLOCK_USES: () => STATIC_CONTENT_BLOCK_USES
});
module.exports = __toCommonJS(node_use_sets_exports);
var import_approval = require("./approval");
const COLLECTION_BLOCK_USES = /* @__PURE__ */ new Set([
  "TableBlockModel",
  "CalendarBlockModel",
  "TreeBlockModel",
  "KanbanBlockModel",
  "CreateFormModel",
  "EditFormModel",
  "FormBlockModel",
  "DetailsBlockModel",
  "FilterFormBlockModel",
  "ListBlockModel",
  "GridCardBlockModel",
  "MapBlockModel",
  "CommentsBlockModel",
  "RecordHistoryBlockModel",
  ...import_approval.APPROVAL_FORM_BLOCK_USES,
  ...import_approval.APPROVAL_DETAILS_BLOCK_USES
]);
const STATIC_CONTENT_BLOCK_USES = /* @__PURE__ */ new Set([
  "MarkdownBlockModel",
  "IframeBlockModel",
  "ChartBlockModel",
  "ActionPanelBlockModel",
  "JSBlockModel"
]);
const FIELD_WRAPPER_USES = /* @__PURE__ */ new Set([
  "FormItemModel",
  "FormAssociationItemModel",
  "DetailsItemModel",
  "FilterFormItemModel",
  "TableColumnModel",
  ...import_approval.APPROVAL_FIELD_WRAPPER_USES
]);
const CREATABLE_STANDALONE_FIELD_USES = /* @__PURE__ */ new Set(["JSColumnModel", "JSItemModel", "DividerItemModel"]);
const STANDALONE_FIELD_NODE_USES = /* @__PURE__ */ new Set([...CREATABLE_STANDALONE_FIELD_USES, "FormJSFieldItemModel"]);
const ACTION_BUTTON_USES = /* @__PURE__ */ new Set([
  "AddNewActionModel",
  "ViewActionModel",
  "EditActionModel",
  "PopupCollectionActionModel",
  "DeleteActionModel",
  "BulkDeleteActionModel",
  "BulkEditActionModel",
  "UpdateRecordActionModel",
  "BulkUpdateActionModel",
  "DuplicateActionModel",
  "AddChildActionModel",
  "FilterActionModel",
  "ExpandCollapseActionModel",
  "FormSubmitActionModel",
  "FilterFormSubmitActionModel",
  "FilterFormResetActionModel",
  "FilterFormCollapseActionModel",
  "RefreshActionModel",
  "LinkActionModel",
  "ExportActionModel",
  "ExportAttachmentActionModel",
  "ImportActionModel",
  "UploadActionModel",
  "TemplatePrintCollectionActionModel",
  "TemplatePrintRecordActionModel",
  "CollectionTriggerWorkflowActionModel",
  "RecordTriggerWorkflowActionModel",
  "FormTriggerWorkflowActionModel",
  "WorkbenchTriggerWorkflowActionModel",
  "MailSendActionModel",
  "JSCollectionActionModel",
  "JSRecordActionModel",
  "JSFormActionModel",
  "JSItemActionModel",
  "FilterFormJSActionModel",
  "JSActionModel",
  "AIEmployeeButtonModel",
  "CalendarTodayActionModel",
  "CalendarNavActionModel",
  "CalendarTitleActionModel",
  "CalendarViewSelectActionModel",
  "KanbanQuickCreateActionModel",
  "KanbanCardViewActionModel",
  "ApplyFormSubmitModel",
  "ApplyFormSaveDraftModel",
  "ApplyFormWithdrawModel",
  "ProcessFormApproveModel",
  "ProcessFormRejectModel",
  "ProcessFormReturnModel",
  "ProcessFormDelegateModel",
  "ProcessFormAddAssigneeModel"
]);
const JS_BLOCK_USES = /* @__PURE__ */ new Set(["JSBlockModel"]);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ACTION_BUTTON_USES,
  COLLECTION_BLOCK_USES,
  CREATABLE_STANDALONE_FIELD_USES,
  FIELD_WRAPPER_USES,
  JS_BLOCK_USES,
  STANDALONE_FIELD_NODE_USES,
  STATIC_CONTENT_BLOCK_USES
});
