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,SAAS,gBAAgB,GACvB,EAAI,QACF,cAAc,QAAQ,KAAK,QAAS,CAClC,MACA,SACA,UACA,MACA,OACA,SACA,MACA,SACA,SACA,OACA,gBACA,mBAGN,CAlBA,WAAW,YAAa,QAAQ,eAAgB,OAAO,SAmBvD,OAAO,gBAAiB,mBACxB,IAAI,YAAc","file":"/npm/@nocobase/actions@1.9.21/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@nocobase/actions@1.9.21/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n * This file is part of the NocoBase (R) project.\n * Copyright (c) 2020-2024 NocoBase Co., Ltd.\n * Authors: NocoBase Team.\n *\n * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.\n * For more information, please refer to: https://www.nocobase.com/agreement.\n */\n\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar src_exports = {};\n__export(src_exports, {\n  default: () => src_default,\n  registerActions: () => registerActions,\n  utils: () => utils\n});\nmodule.exports = __toCommonJS(src_exports);\nvar import_lodash = __toESM(require(\"lodash\"));\nvar actions = __toESM(require(\"./actions\"));\nvar utils = __toESM(require(\"./utils\"));\n__reExport(src_exports, require(\"./constants\"), module.exports);\nfunction registerActions(api) {\n  api.actions(\n    import_lodash.default.pick(actions, [\n      \"add\",\n      \"create\",\n      \"destroy\",\n      \"get\",\n      \"list\",\n      \"remove\",\n      \"set\",\n      \"toggle\",\n      \"update\",\n      \"move\",\n      \"firstOrCreate\",\n      \"updateOrCreate\"\n    ])\n  );\n}\n__name(registerActions, \"registerActions\");\nvar src_default = actions;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  registerActions,\n  utils,\n  ...require(\"./constants\")\n});\n"]}