@tachybase/plugin-block-kanban 1.3.20 → 1.3.22

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.
@@ -1,4 +1,4 @@
1
- (function(ge,M){typeof exports=="object"&&typeof module!="undefined"?M(exports,require("react/jsx-runtime"),require("react"),require("@tachybase/client"),require("@tachybase/schema"),require("antd"),require("@tachybase/components"),require("@ant-design/icons"),require("react-i18next")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@tachybase/client","@tachybase/schema","antd","@tachybase/components","@ant-design/icons","react-i18next"],M):(ge=typeof globalThis!="undefined"?globalThis:ge||self,M(ge["@tachybase/plugin-block-kanban"]={},ge.jsxRuntime,ge.react,ge["@tachybase/client"],ge["@tachybase/schema"],ge.antd,ge["@tachybase/components"],ge["@ant-design/icons"],ge["react-i18next"]))})(this,function(ge,M,_,q,Ce,Lr,Kt,Qt,yr){"use strict";var O1=Object.defineProperty,T1=Object.defineProperties;var A1=Object.getOwnPropertyDescriptors;var ya=Object.getOwnPropertySymbols;var Tm=Object.prototype.hasOwnProperty,Am=Object.prototype.propertyIsEnumerable;var Om=(ge,M,_)=>M in ge?O1(ge,M,{enumerable:!0,configurable:!0,writable:!0,value:_}):ge[M]=_,ee=(ge,M)=>{for(var _ in M||(M={}))Tm.call(M,_)&&Om(ge,_,M[_]);if(ya)for(var _ of ya(M))Am.call(M,_)&&Om(ge,_,M[_]);return ge},ce=(ge,M)=>T1(ge,A1(M));var Sa=(ge,M)=>{var _={};for(var q in ge)Tm.call(ge,q)&&M.indexOf(q)<0&&(_[q]=ge[q]);if(ge!=null&&ya)for(var q of ya(ge))M.indexOf(q)<0&&Am.call(ge,q)&&(_[q]=ge[q]);return _};var Zr=(ge,M,_)=>new Promise((q,Ce)=>{var Lr=yr=>{try{Qt(_.next(yr))}catch(Nt){Ce(Nt)}},Kt=yr=>{try{Qt(_.throw(yr))}catch(Nt){Ce(Nt)}},Qt=yr=>yr.done?q(yr.value):Promise.resolve(yr.value).then(Lr,Kt);Qt((_=_.apply(ge,M)).next())});function Nt(t,n){return Nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,l){return o.__proto__=l,o},Nt(t,n)}function uc(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,Nt(t,n)}function ae(){return ae=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var l in o)({}).hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},ae.apply(null,arguments)}function An(t){"@babel/helpers - typeof";return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},An(t)}function Mm(t,n){if(An(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var l=o.call(t,n);if(An(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function Bm(t){var n=Mm(t,"string");return An(n)=="symbol"?n:n+""}function Fm(t,n,o){return(n=Bm(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}function sc(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,l)}return o}function cc(t){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?sc(Object(o),!0).forEach(function(l){Fm(t,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):sc(Object(o)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(o,l))})}return t}function tr(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var dc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),fc=function(){return Math.random().toString(36).substring(7).split("").join(".")},pc={INIT:"@@redux/INIT"+fc(),REPLACE:"@@redux/REPLACE"+fc()};function _m(t){if(typeof t!="object"||t===null)return!1;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function vc(t,n,o){var l;if(typeof n=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(tr(0));if(typeof n=="function"&&typeof o=="undefined"&&(o=n,n=void 0),typeof o!="undefined"){if(typeof o!="function")throw new Error(tr(1));return o(vc)(t,n)}if(typeof t!="function")throw new Error(tr(2));var s=t,c=n,f=[],p=f,v=!1;function y(){p===f&&(p=f.slice())}function S(){if(v)throw new Error(tr(3));return c}function m(P){if(typeof P!="function")throw new Error(tr(4));if(v)throw new Error(tr(5));var I=!0;return y(),p.push(P),function(){if(I){if(v)throw new Error(tr(6));I=!1,y();var N=p.indexOf(P);p.splice(N,1),f=null}}}function h(P){if(!_m(P))throw new Error(tr(7));if(typeof P.type=="undefined")throw new Error(tr(8));if(v)throw new Error(tr(9));try{v=!0,c=s(c,P)}finally{v=!1}for(var I=f=p,E=0;E<I.length;E++){var N=I[E];N()}return P}function C(P){if(typeof P!="function")throw new Error(tr(10));s=P,h({type:pc.REPLACE})}function b(){var P,I=m;return P={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(tr(11));function B(){N.next&&N.next(S())}B();var F=I(B);return{unsubscribe:F}}},P[dc]=function(){return this},P}return h({type:pc.INIT}),l={dispatch:h,subscribe:m,getState:S,replaceReducer:C},l[dc]=b,l}function gc(t,n){return function(){return n(t.apply(this,arguments))}}function mc(t,n){if(typeof t=="function")return gc(t,n);if(typeof t!="object"||t===null)throw new Error(tr(16));var o={};for(var l in t){var s=t[l];typeof s=="function"&&(o[l]=gc(s,n))}return o}function hc(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.length===0?function(l){return l}:n.length===1?n[0]:n.reduce(function(l,s){return function(){return l(s.apply(void 0,arguments))}})}function Lm(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return function(l){return function(){var s=l.apply(void 0,arguments),c=function(){throw new Error(tr(15))},f={getState:s.getState,dispatch:function(){return c.apply(void 0,arguments)}},p=n.map(function(v){return v(f)});return c=hc.apply(void 0,p)(s.dispatch),cc(cc({},s),{},{dispatch:c})}}}var Ai=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ca(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var yc=_.createContext(null);function Rm(t){t()}var Sc=Rm,zm=function(n){return Sc=n},Gm=function(){return Sc};function jm(){var t=Gm(),n=null,o=null;return{clear:function(){n=null,o=null},notify:function(){t(function(){for(var s=n;s;)s.callback(),s=s.next})},get:function(){for(var s=[],c=n;c;)s.push(c),c=c.next;return s},subscribe:function(s){var c=!0,f=o={callback:s,next:null,prev:o};return f.prev?f.prev.next=f:n=f,function(){!c||n===null||(c=!1,f.next?f.next.prev=f.prev:o=f.prev,f.prev?f.prev.next=f.next:n=f.next)}}}}var Cc={notify:function(){},get:function(){return[]}};function wc(t,n){var o,l=Cc;function s(m){return v(),l.subscribe(m)}function c(){l.notify()}function f(){S.onStateChange&&S.onStateChange()}function p(){return!!o}function v(){o||(o=n?n.addNestedSub(f):t.subscribe(f),l=jm())}function y(){o&&(o(),o=void 0,l.clear(),l=Cc)}var S={addNestedSub:s,notifyNestedSubs:c,handleChangeWrapper:f,isSubscribed:p,trySubscribe:v,tryUnsubscribe:y,getListeners:function(){return l}};return S}var bc=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?_.useLayoutEffect:_.useEffect;function Um(t){var n=t.store,o=t.context,l=t.children,s=_.useMemo(function(){var p=wc(n);return{store:n,subscription:p}},[n]),c=_.useMemo(function(){return n.getState()},[n]);bc(function(){var p=s.subscription;return p.onStateChange=p.notifyNestedSubs,p.trySubscribe(),c!==n.getState()&&p.notifyNestedSubs(),function(){p.tryUnsubscribe(),p.onStateChange=null}},[s,c]);var f=o||yc;return _.createElement(f.Provider,{value:s},l)}function et(){return et=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var l in o)({}).hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},et.apply(null,arguments)}function Mi(t,n){if(t==null)return{};var o={};for(var l in t)if({}.hasOwnProperty.call(t,l)){if(n.indexOf(l)!==-1)continue;o[l]=t[l]}return o}var wa={exports:{}},Se={};/** @license React v16.13.1
1
+ (function(ge,M){typeof exports=="object"&&typeof module!="undefined"?M(exports,require("react/jsx-runtime"),require("react"),require("@tachybase/client"),require("@tachybase/schema"),require("antd"),require("@tego/client"),require("@ant-design/icons"),require("react-i18next")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@tachybase/client","@tachybase/schema","antd","@tego/client","@ant-design/icons","react-i18next"],M):(ge=typeof globalThis!="undefined"?globalThis:ge||self,M(ge["@tachybase/plugin-block-kanban"]={},ge.jsxRuntime,ge.react,ge["@tachybase/client"],ge["@tachybase/schema"],ge.antd,ge["@tego/client"],ge["@ant-design/icons"],ge["react-i18next"]))})(this,function(ge,M,_,q,Ce,Lr,Kt,Qt,yr){"use strict";var O1=Object.defineProperty,T1=Object.defineProperties;var A1=Object.getOwnPropertyDescriptors;var ya=Object.getOwnPropertySymbols;var Tm=Object.prototype.hasOwnProperty,Am=Object.prototype.propertyIsEnumerable;var Om=(ge,M,_)=>M in ge?O1(ge,M,{enumerable:!0,configurable:!0,writable:!0,value:_}):ge[M]=_,ee=(ge,M)=>{for(var _ in M||(M={}))Tm.call(M,_)&&Om(ge,_,M[_]);if(ya)for(var _ of ya(M))Am.call(M,_)&&Om(ge,_,M[_]);return ge},ce=(ge,M)=>T1(ge,A1(M));var Sa=(ge,M)=>{var _={};for(var q in ge)Tm.call(ge,q)&&M.indexOf(q)<0&&(_[q]=ge[q]);if(ge!=null&&ya)for(var q of ya(ge))M.indexOf(q)<0&&Am.call(ge,q)&&(_[q]=ge[q]);return _};var Zr=(ge,M,_)=>new Promise((q,Ce)=>{var Lr=yr=>{try{Qt(_.next(yr))}catch(Nt){Ce(Nt)}},Kt=yr=>{try{Qt(_.throw(yr))}catch(Nt){Ce(Nt)}},Qt=yr=>yr.done?q(yr.value):Promise.resolve(yr.value).then(Lr,Kt);Qt((_=_.apply(ge,M)).next())});function Nt(t,n){return Nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,l){return o.__proto__=l,o},Nt(t,n)}function uc(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,Nt(t,n)}function ae(){return ae=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var l in o)({}).hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},ae.apply(null,arguments)}function An(t){"@babel/helpers - typeof";return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},An(t)}function Mm(t,n){if(An(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var l=o.call(t,n);if(An(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function Bm(t){var n=Mm(t,"string");return An(n)=="symbol"?n:n+""}function Fm(t,n,o){return(n=Bm(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}function sc(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,l)}return o}function cc(t){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?sc(Object(o),!0).forEach(function(l){Fm(t,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):sc(Object(o)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(o,l))})}return t}function tr(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var dc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),fc=function(){return Math.random().toString(36).substring(7).split("").join(".")},pc={INIT:"@@redux/INIT"+fc(),REPLACE:"@@redux/REPLACE"+fc()};function _m(t){if(typeof t!="object"||t===null)return!1;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function vc(t,n,o){var l;if(typeof n=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(tr(0));if(typeof n=="function"&&typeof o=="undefined"&&(o=n,n=void 0),typeof o!="undefined"){if(typeof o!="function")throw new Error(tr(1));return o(vc)(t,n)}if(typeof t!="function")throw new Error(tr(2));var s=t,c=n,f=[],p=f,v=!1;function y(){p===f&&(p=f.slice())}function S(){if(v)throw new Error(tr(3));return c}function m(P){if(typeof P!="function")throw new Error(tr(4));if(v)throw new Error(tr(5));var I=!0;return y(),p.push(P),function(){if(I){if(v)throw new Error(tr(6));I=!1,y();var N=p.indexOf(P);p.splice(N,1),f=null}}}function h(P){if(!_m(P))throw new Error(tr(7));if(typeof P.type=="undefined")throw new Error(tr(8));if(v)throw new Error(tr(9));try{v=!0,c=s(c,P)}finally{v=!1}for(var I=f=p,E=0;E<I.length;E++){var N=I[E];N()}return P}function C(P){if(typeof P!="function")throw new Error(tr(10));s=P,h({type:pc.REPLACE})}function b(){var P,I=m;return P={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(tr(11));function B(){N.next&&N.next(S())}B();var F=I(B);return{unsubscribe:F}}},P[dc]=function(){return this},P}return h({type:pc.INIT}),l={dispatch:h,subscribe:m,getState:S,replaceReducer:C},l[dc]=b,l}function gc(t,n){return function(){return n(t.apply(this,arguments))}}function mc(t,n){if(typeof t=="function")return gc(t,n);if(typeof t!="object"||t===null)throw new Error(tr(16));var o={};for(var l in t){var s=t[l];typeof s=="function"&&(o[l]=gc(s,n))}return o}function hc(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.length===0?function(l){return l}:n.length===1?n[0]:n.reduce(function(l,s){return function(){return l(s.apply(void 0,arguments))}})}function Lm(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return function(l){return function(){var s=l.apply(void 0,arguments),c=function(){throw new Error(tr(15))},f={getState:s.getState,dispatch:function(){return c.apply(void 0,arguments)}},p=n.map(function(v){return v(f)});return c=hc.apply(void 0,p)(s.dispatch),cc(cc({},s),{},{dispatch:c})}}}var Ai=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ca(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var yc=_.createContext(null);function Rm(t){t()}var Sc=Rm,zm=function(n){return Sc=n},Gm=function(){return Sc};function jm(){var t=Gm(),n=null,o=null;return{clear:function(){n=null,o=null},notify:function(){t(function(){for(var s=n;s;)s.callback(),s=s.next})},get:function(){for(var s=[],c=n;c;)s.push(c),c=c.next;return s},subscribe:function(s){var c=!0,f=o={callback:s,next:null,prev:o};return f.prev?f.prev.next=f:n=f,function(){!c||n===null||(c=!1,f.next?f.next.prev=f.prev:o=f.prev,f.prev?f.prev.next=f.next:n=f.next)}}}}var Cc={notify:function(){},get:function(){return[]}};function wc(t,n){var o,l=Cc;function s(m){return v(),l.subscribe(m)}function c(){l.notify()}function f(){S.onStateChange&&S.onStateChange()}function p(){return!!o}function v(){o||(o=n?n.addNestedSub(f):t.subscribe(f),l=jm())}function y(){o&&(o(),o=void 0,l.clear(),l=Cc)}var S={addNestedSub:s,notifyNestedSubs:c,handleChangeWrapper:f,isSubscribed:p,trySubscribe:v,tryUnsubscribe:y,getListeners:function(){return l}};return S}var bc=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?_.useLayoutEffect:_.useEffect;function Um(t){var n=t.store,o=t.context,l=t.children,s=_.useMemo(function(){var p=wc(n);return{store:n,subscription:p}},[n]),c=_.useMemo(function(){return n.getState()},[n]);bc(function(){var p=s.subscription;return p.onStateChange=p.notifyNestedSubs,p.trySubscribe(),c!==n.getState()&&p.notifyNestedSubs(),function(){p.tryUnsubscribe(),p.onStateChange=null}},[s,c]);var f=o||yc;return _.createElement(f.Provider,{value:s},l)}function et(){return et=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var l in o)({}).hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},et.apply(null,arguments)}function Mi(t,n){if(t==null)return{};var o={};for(var l in t)if({}.hasOwnProperty.call(t,l)){if(n.indexOf(l)!==-1)continue;o[l]=t[l]}return o}var wa={exports:{}},Se={};/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -1,12 +1,12 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.3.20",
4
- "@tachybase/schema": "1.3.20",
5
- "@ant-design/icons": "5.5.2",
3
+ "@tachybase/client": "1.3.22",
4
+ "@tachybase/schema": "1.3.39",
5
+ "@ant-design/icons": "5.6.1",
6
6
  "antd": "5.22.5",
7
7
  "react-i18next": "15.2.0",
8
- "@tachybase/components": "1.3.20",
8
+ "@tego/client": "1.3.39",
9
9
  "lodash": "4.17.21",
10
- "@tachybase/server": "1.3.20",
11
- "@tachybase/test": "1.3.20"
10
+ "@tego/server": "1.3.39",
11
+ "@tachybase/test": "1.3.39"
12
12
  };
@@ -1,4 +1,4 @@
1
- import { InstallOptions, Plugin } from '@tachybase/server';
1
+ import { InstallOptions, Plugin } from '@tego/server';
2
2
  export declare class PluginKanbanServer extends Plugin {
3
3
  afterAdd(): void;
4
4
  beforeLoad(): void;
@@ -21,7 +21,7 @@ __export(plugin_exports, {
21
21
  default: () => plugin_default
22
22
  });
23
23
  module.exports = __toCommonJS(plugin_exports);
24
- var import_server = require("@tachybase/server");
24
+ var import_server = require("@tego/server");
25
25
  class PluginKanbanServer extends import_server.Plugin {
26
26
  afterAdd() {
27
27
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-block-kanban",
3
3
  "displayName": "Block: Kanban",
4
- "version": "1.3.20",
4
+ "version": "1.3.22",
5
5
  "description": "Provides kanban block.",
6
6
  "keywords": [
7
7
  "Blocks"
@@ -10,22 +10,18 @@
10
10
  "main": "dist/server/index.js",
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
- "@ant-design/icons": "^5.5.2",
13
+ "@ant-design/icons": "^5.6.1",
14
+ "@tachybase/schema": "^1.3.39",
15
+ "@tachybase/test": "^1.3.39",
16
+ "@tego/client": "^1.3.39",
17
+ "@tego/server": "^1.3.39",
14
18
  "antd": "5.22.5",
15
19
  "lodash": "4.17.21",
16
20
  "react-beautiful-dnd": "^13.1.1",
17
- "react-i18next": "^15.2.0",
18
- "@tachybase/components": "1.3.20",
19
- "@tachybase/schema": "1.3.20"
20
- },
21
- "peerDependencies": {
22
- "@tachybase/client": "1.3.20",
23
- "@tachybase/server": "1.3.20",
24
- "@tachybase/test": "1.3.20"
21
+ "react-i18next": "15.2.0",
22
+ "@tachybase/client": "1.3.22"
25
23
  },
26
24
  "description.zh-CN": "提供看板卡片。",
27
25
  "displayName.zh-CN": "卡片:看板",
28
- "scripts": {
29
- "build": "tachybase-build --no-dts @tachybase/plugin-block-kanban"
30
- }
26
+ "scripts": {}
31
27
  }