@tachybase/plugin-field-sequence 0.23.20 → 0.23.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,19 +1,19 @@
1
- (function(n,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("@tachybase/client"),require("react/jsx-runtime"),require("react"),require("@tachybase/components"),require("@tachybase/schema"),require("@tachybase/utils/client"),require("antd"),require("react-i18next")):typeof define=="function"&&define.amd?define(["exports","@tachybase/client","react/jsx-runtime","react","@tachybase/components","@tachybase/schema","@tachybase/utils/client","antd","react-i18next"],e):(n=typeof globalThis!="undefined"?globalThis:n||self,e(n["@tachybase/plugin-field-sequence"]={},n["@tachybase/client"],n.jsxRuntime,n.react,n["@tachybase/components"],n["@tachybase/schema"],n["@tachybase/utils"],n.antd,n["react-i18next"]))})(this,function(n,e,t,F,u,y,I,d,m){"use strict";var V=Object.defineProperty,Y=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var q=(n,e,t)=>e in n?V(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,h=(n,e)=>{for(var t in e||(e={}))z.call(e,t)&&q(n,t,e[t]);if(T)for(var t of T(e))B.call(e,t)&&q(n,t,e[t]);return n},S=(n,e)=>Y(n,w(e));var l=(n,e,t)=>q(n,typeof e!="symbol"?e+"":e,t);var A=(n,e,t)=>new Promise((F,u)=>{var y=m=>{try{d(t.next(m))}catch(r){u(r)}},I=m=>{try{d(t.throw(m))}catch(r){u(r)}},d=m=>m.done?F(m.value):Promise.resolve(m.value).then(y,I);d((t=t.apply(n,e)).next())});const r="field-sequence";function j(o,a={}){return e.i18n.t(o,S(h({},a),{ns:r}))}function O(o){const a=e.useCompile(),{setValuesIn:i}=y.useForm(),c=u.ArrayTable.useIndex();return y.useFormEffects(()=>{y.onFieldValueChange(`patterns.${c}.type`,s=>{i(`patterns.${c}.options`,{})})}),t.jsx(d.Select,S(h({popupMatchSelectWidth:!1},o),{children:Object.keys(v).map(s=>t.jsx(d.Select.Option,{value:s,children:a(v[s].title)},s))}))}function P(){const o=e.useCompile(),{values:a}=y.useForm(),i=u.ArrayTable.useIndex(),{type:c,options:s}=a.patterns[i],x=v[c];return t.jsx("div",{className:e.css`
1
+ (function(n,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("@tachybase/client"),require("react/jsx-runtime"),require("react"),require("@tachybase/components"),require("@tachybase/schema"),require("@tachybase/utils/client"),require("antd"),require("react-i18next")):typeof define=="function"&&define.amd?define(["exports","@tachybase/client","react/jsx-runtime","react","@tachybase/components","@tachybase/schema","@tachybase/utils/client","antd","react-i18next"],e):(n=typeof globalThis!="undefined"?globalThis:n||self,e(n["@tachybase/plugin-field-sequence"]={},n["@tachybase/client"],n.jsxRuntime,n.react,n["@tachybase/components"],n["@tachybase/schema"],n["@tachybase/utils"],n.antd,n["react-i18next"]))})(this,function(n,e,t,S,u,f,F,d,m){"use strict";var V=Object.defineProperty,w=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var q=(n,e,t)=>e in n?V(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,h=(n,e)=>{for(var t in e||(e={}))B.call(e,t)&&q(n,t,e[t]);if(A)for(var t of A(e))E.call(e,t)&&q(n,t,e[t]);return n},I=(n,e)=>w(n,z(e));var l=(n,e,t)=>q(n,typeof e!="symbol"?e+"":e,t);var j=(n,e,t)=>new Promise((S,u)=>{var f=m=>{try{d(t.next(m))}catch(r){u(r)}},F=m=>{try{d(t.throw(m))}catch(r){u(r)}},d=m=>m.done?S(m.value):Promise.resolve(m.value).then(f,F);d((t=t.apply(n,e)).next())});const r="field-sequence";function M(o,a={}){return e.i18n.t(o,I(h({},a),{ns:[r,"core"]}))}function C(o){return e.tval(o,{ns:[r,"core"]})}function O(o){const a=e.useCompile(),{setValuesIn:i}=f.useForm(),c=u.ArrayTable.useIndex();return f.useFormEffects(()=>{f.onFieldValueChange(`patterns.${c}.type`,s=>{i(`patterns.${c}.options`,{})})}),t.jsx(d.Select,I(h({popupMatchSelectWidth:!1},o),{children:Object.keys(v).map(s=>t.jsx(d.Select.Option,{value:s,children:a(v[s].title)},s))}))}function P(){const o=e.useCompile(),{values:a}=f.useForm(),i=u.ArrayTable.useIndex(),{type:c,options:s}=a.patterns[i],x=v[c];return t.jsx("div",{className:e.css`
2
2
  display: flex;
3
3
  gap: 1em;
4
4
  flex-wrap: wrap;
5
- `,children:Object.keys(s).filter(p=>typeof s[p]!="undefined"&&x.optionRenders[p]).map(p=>{const g=x.optionRenders[p],{title:f}=x.fieldset[p];return g?t.jsxs("dl",{className:e.css`
5
+ `,children:Object.keys(s).filter(p=>typeof s[p]!="undefined"&&x.optionRenders[p]).map(p=>{const g=x.optionRenders[p],{title:y}=x.fieldset[p];return g?t.jsxs("dl",{className:e.css`
6
6
  margin: 0;
7
7
  padding: 0;
8
- `,children:[t.jsx("dt",{children:o(f)}),t.jsx("dd",{className:e.css`
8
+ `,children:[t.jsx("dt",{children:o(y)}),t.jsx("dd",{className:e.css`
9
9
  margin-bottom: 0;
10
- `,children:t.jsx(g,{value:s[p]},p)})]},p):null})})}const v={string:{title:`{{t("Fixed text", { ns: "${r}" })}}`,optionRenders:{value(o={value:""}){return t.jsx("code",{children:o.value})}},fieldset:{value:{type:"string",title:`{{t("Text content", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"Input"}}},integer:{title:`{{t("Autoincrement", { ns: "${r}" })}}`,optionRenders:{digits:function({value:a}){return t.jsx("code",{children:a})},start:function({value:a}){return t.jsx("code",{children:a})},cycle:e.Cron.ReadPretty},fieldset:{digits:{type:"number",title:`{{t("Digits", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{min:1,max:10},required:!0,default:1,"x-reactions":{target:"start",fulfill:{schema:{"x-component-props.max":"{{ 10 ** $self.value - 1 }}"}}}},start:{type:"number",title:`{{t("Start from", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{min:0},required:!0,default:0},cycle:{type:"string",title:`{{t("Reset cycle", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component"({value:o,onChange:a}){const i=[{label:"No reset",value:0},{label:"Daily",value:1,cron:"0 0 * * *"},{label:"Every Monday",value:2,cron:"0 0 * * 1"},{label:"Monthly",value:3,cron:"0 0 1 * *"},{label:"Yearly",value:4,cron:"0 0 1 1 *"},{label:"Customize",value:5,cron:"* * * * *"}],c=typeof o=="undefined"?i[0]:i.find(s=>s.cron==o)||i[5];return t.jsxs("fieldset",{children:[t.jsx(d.Select,{value:c.value,onChange:s=>a(i[s].cron),children:i.map(s=>t.jsx(d.Select.Option,{value:s.value,children:j(s.label)},s.value))}),c.value===5?t.jsx(e.Cron,{value:o,onChange:a,clearButton:!1}):null]})},default:null}}},date:{title:`{{t("Date", { ns: "${r}" })}}`,optionRenders:{format(o={value:"YYYYMMDD"}){return t.jsx("code",{children:o.value})}}}};function C(){const{t:o}=m.useTranslation(),a=e.useCompile(),i=F.useContext(y.SchemaOptionsContext),{values:c,setValuesIn:s}=y.useForm(),x=u.ArrayTable.useIndex(),{type:p,options:g}=c.patterns[x],f=v[p],{token:D}=e.useToken();return f!=null&&f.fieldset?t.jsx(d.Button,{type:"link",onClick:()=>{u.FormDrawer({title:a(f.title),zIndex:D.zIndexPopupBase+1e3},()=>t.jsxs(u.FormLayout,{layout:"vertical",children:[t.jsx(e.SchemaComponentOptions,{scope:i.scope,components:i.components,children:t.jsx(e.SchemaComponent,{schema:{type:"object","x-component":"fieldset",properties:f.fieldset}})}),t.jsx(u.FormButtonGroup,{className:e.css`
10
+ `,children:t.jsx(g,{value:s[p]},p)})]},p):null})})}const v={string:{title:`{{t("Fixed text", { ns: "${r}" })}}`,optionRenders:{value(o={value:""}){return t.jsx("code",{children:o.value})}},fieldset:{value:{type:"string",title:`{{t("Text content", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"Input"}}},integer:{title:`{{t("Autoincrement", { ns: "${r}" })}}`,optionRenders:{digits:function({value:a}){return t.jsx("code",{children:a})},start:function({value:a}){return t.jsx("code",{children:a})},cycle:e.Cron.ReadPretty},fieldset:{digits:{type:"number",title:`{{t("Digits", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{min:1,max:10},required:!0,default:1,"x-reactions":{target:"start",fulfill:{schema:{"x-component-props.max":"{{ 10 ** $self.value - 1 }}"}}}},start:{type:"number",title:`{{t("Start from", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{min:0},required:!0,default:0},cycle:{type:"string",title:`{{t("Reset cycle", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component"({value:o,onChange:a}){const i=[{label:"No reset",value:0},{label:"Daily",value:1,cron:"0 0 * * *"},{label:"Every Monday",value:2,cron:"0 0 * * 1"},{label:"Monthly",value:3,cron:"0 0 1 * *"},{label:"Yearly",value:4,cron:"0 0 1 1 *"},{label:"Customize",value:5,cron:"* * * * *"}],c=typeof o=="undefined"?i[0]:i.find(s=>s.cron===o)||i[5];return t.jsxs("fieldset",{children:[t.jsx(d.Select,{value:c.value,onChange:s=>a(i[s].cron),children:i.map(s=>t.jsx(d.Select.Option,{value:s.value,children:M(s.label)},s.value))}),c.value===5?t.jsx(e.Cron,{value:o,onChange:a,clearButton:!1}):null]})},default:null}}},date:{title:C("Date"),optionRenders:{format(o={value:"YYYYMMDD"}){return t.jsx("code",{children:o.value})}},fieldset:{format:{type:"string",title:C("Date format"),"x-decorator":"FormItem","x-component":"Input",default:"YYYYMMDD"}}}};function $(){const{t:o}=m.useTranslation(),a=e.useCompile(),i=S.useContext(f.SchemaOptionsContext),{values:c,setValuesIn:s}=f.useForm(),x=u.ArrayTable.useIndex(),{type:p,options:g}=c.patterns[x],y=v[p],{token:Y}=e.useToken();return y!=null&&y.fieldset?t.jsx(d.Button,{type:"link",onClick:()=>{u.FormDrawer({title:a(y.title),zIndex:Y.zIndexPopupBase+1e3},()=>t.jsxs(u.FormLayout,{layout:"vertical",children:[t.jsx(e.SchemaComponentOptions,{scope:i.scope,components:i.components,children:t.jsx(e.SchemaComponent,{schema:{type:"object","x-component":"fieldset",properties:y.fieldset}})}),t.jsx(u.FormButtonGroup,{className:e.css`
11
11
  justify-content: flex-end;
12
- `,children:t.jsx(u.Submit,{onSubmit:b=>b,children:o("Submit")})})]})).open({initialValues:g}).then(b=>{s(`patterns.${x}`,{type:p,options:h({},b)})}).catch(b=>{I.error(b)})},children:o("Configure")}):null}class M extends e.CollectionFieldInterface{constructor(){super(...arguments);l(this,"name","sequence");l(this,"type","object");l(this,"group","advanced");l(this,"order",3);l(this,"title",`{{t("Sequence", { ns: "${r}" })}}`);l(this,"description",`{{t("Automatically generate codes based on configured rules, supporting combinations of dates, numbers, and text.", { ns: "${r}" })}}`);l(this,"sortable",!0);l(this,"default",{type:"sequence",uiSchema:{type:"string","x-component":"Input","x-component-props":{}}});l(this,"availableTypes",["string"]);l(this,"hasDefaultValue",!1);l(this,"filterable",{operators:e.interfacesProperties.operators.string});l(this,"titleUsable",!0);l(this,"properties",S(h({},e.interfacesProperties.defaultProps),{unique:e.interfacesProperties.unique,patterns:{type:"array",title:`{{t("Sequence rules", { ns: "${r}" })}}`,required:!0,"x-decorator":"FormItem","x-component":"ArrayTable",items:{type:"object",properties:{sort:{type:"void","x-component":"ArrayTable.Column","x-component-props":{width:50,title:"",align:"center"},properties:{sort:{type:"void","x-component":"ArrayTable.SortHandle"}}},type:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:`{{t("Type", { ns: "${r}" })}}`},properties:{type:{type:"string",name:"type",required:!0,"x-decorator":"FormItem","x-component":O}}},options:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:`{{t("Rule content", { ns: "${r}" })}}`},properties:{options:{type:"object",name:"options","x-component":P}}},operations:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:`{{t("Operations", { ns: "${r}" })}}`,dataIndex:"operations",fixed:"right",className:e.css`
12
+ `,children:t.jsx(u.Submit,{onSubmit:b=>b,children:o("Submit")})})]})).open({initialValues:g}).then(b=>{s(`patterns.${x}`,{type:p,options:h({},b)})}).catch(b=>{F.error(b)})},children:o("Configure")}):null}class D extends e.CollectionFieldInterface{constructor(){super(...arguments);l(this,"name","sequence");l(this,"type","object");l(this,"group","advanced");l(this,"order",3);l(this,"title",`{{t("Sequence", { ns: "${r}" })}}`);l(this,"description",`{{t("Automatically generate codes based on configured rules, supporting combinations of dates, numbers, and text.", { ns: "${r}" })}}`);l(this,"sortable",!0);l(this,"default",{type:"sequence",uiSchema:{type:"string","x-component":"Input","x-component-props":{}}});l(this,"availableTypes",["string"]);l(this,"hasDefaultValue",!1);l(this,"filterable",{operators:e.interfacesProperties.operators.string});l(this,"titleUsable",!0);l(this,"properties",I(h({},e.interfacesProperties.defaultProps),{unique:e.interfacesProperties.unique,patterns:{type:"array",title:`{{t("Sequence rules", { ns: "${r}" })}}`,required:!0,"x-decorator":"FormItem","x-component":"ArrayTable",items:{type:"object",properties:{sort:{type:"void","x-component":"ArrayTable.Column","x-component-props":{width:50,title:"",align:"center"},properties:{sort:{type:"void","x-component":"ArrayTable.SortHandle"}}},type:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:`{{t("Type", { ns: "${r}" })}}`},properties:{type:{type:"string",name:"type",required:!0,"x-decorator":"FormItem","x-component":O}}},options:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:`{{t("Rule content", { ns: "${r}" })}}`},properties:{options:{type:"object",name:"options","x-component":P}}},operations:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:`{{t("Operations", { ns: "${r}" })}}`,dataIndex:"operations",fixed:"right",className:e.css`
13
13
  > *:not(:last-child) {
14
14
  margin-right: 0.5em;
15
15
  }
16
16
  button {
17
17
  padding: 0;
18
18
  }
19
- `},properties:{config:{type:"void",properties:{options:{type:"object","x-component":C}}},remove:{type:"void","x-component":"ArrayTable.Remove"}}}}},properties:{add:{type:"void","x-component":"ArrayTable.Addition","x-component-props":{defaultValue:{type:"integer",options:{digits:1,start:0}}},title:`{{t("Add rule", { ns: "${r}" })}}`}}},inputable:{type:"boolean",title:`{{t("Inputable", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"Checkbox"},match:{type:"boolean",title:`{{t("Match rules", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"Checkbox","x-reactions":{dependencies:["inputable"],fulfill:{state:{value:"{{$deps[0] && $self.value}}",visible:"{{$deps[0] === true}}"}}}}}))}schemaInitialize(i,{block:c,field:s}){return c==="Form"&&Object.assign(i["x-component-props"],{disabled:!s.inputable}),i}}const N=o=>t.jsx(e.SchemaComponentOptions,{components:{RuleConfigForm:C},children:o.children});class $ extends e.Plugin{load(){return A(this,null,function*(){this.app.use(N),this.app.dataSourceManager.addFieldInterfaces([M])})}}n.SequenceFieldPlugin=$,n.default=$,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
19
+ `},properties:{config:{type:"void",properties:{options:{type:"object","x-component":$}}},remove:{type:"void","x-component":"ArrayTable.Remove"}}}}},properties:{add:{type:"void","x-component":"ArrayTable.Addition","x-component-props":{defaultValue:{type:"integer",options:{digits:1,start:0}}},title:`{{t("Add rule", { ns: "${r}" })}}`}}},inputable:{type:"boolean",title:`{{t("Inputable", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"Checkbox"},match:{type:"boolean",title:`{{t("Match rules", { ns: "${r}" })}}`,"x-decorator":"FormItem","x-component":"Checkbox","x-reactions":{dependencies:["inputable"],fulfill:{state:{value:"{{$deps[0] && $self.value}}",visible:"{{$deps[0] === true}}"}}}}}))}schemaInitialize(i,{block:c,field:s}){return c==="Form"&&Object.assign(i["x-component-props"],{disabled:!s.inputable}),i}}const N=o=>t.jsx(e.SchemaComponentOptions,{components:{RuleConfigForm:$},children:o.children});class T extends e.Plugin{load(){return j(this,null,function*(){this.app.use(N),this.app.dataSourceManager.addFieldInterfaces([D])})}}n.SequenceFieldPlugin=T,n.default=T,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,3 +1,4 @@
1
1
  export declare const NAMESPACE = "field-sequence";
2
2
  export declare function lang(key: string, options?: {}): string;
3
- export declare function usePluginTranslation(): import("react-i18next").UseTranslationResponse<"field-sequence", undefined>;
3
+ export declare function usePluginTranslation(): import("react-i18next").UseTranslationResponse<[string, string], undefined>;
4
+ export declare function tval(str: string): string;
@@ -1,13 +1,13 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.20",
4
- "@tachybase/components": "0.23.20",
5
- "@tachybase/schema": "0.23.20",
6
- "@tachybase/utils": "0.23.20",
3
+ "@tachybase/client": "0.23.22",
4
+ "@tachybase/components": "0.23.22",
5
+ "@tachybase/schema": "0.23.22",
6
+ "@tachybase/utils": "0.23.22",
7
7
  "antd": "5.22.5",
8
8
  "react-i18next": "15.2.0",
9
- "@tachybase/server": "0.23.20",
10
- "@tachybase/database": "0.23.20",
9
+ "@tachybase/server": "0.23.22",
10
+ "@tachybase/database": "0.23.22",
11
11
  "dayjs": "1.11.13",
12
12
  "lodash": "4.17.21"
13
13
  };
@@ -1 +1 @@
1
- {"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2024-12-29T06:00:13.632Z"}
1
+ {"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2024-12-30T04:24:32.752Z"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-field-sequence",
3
3
  "displayName": "Collection field: Sequence",
4
- "version": "0.23.20",
4
+ "version": "0.23.22",
5
5
  "description": "Automatically generate codes based on configured rules, supporting combinations of dates, numbers, and text.",
6
6
  "keywords": [
7
7
  "Collection fields"
@@ -17,17 +17,17 @@
17
17
  "react": "~18.3.1",
18
18
  "react-i18next": "^15.2.0",
19
19
  "react-js-cron": "^3.2.0",
20
- "@tachybase/components": "0.23.20",
21
- "@tachybase/schema": "0.23.20"
20
+ "@tachybase/components": "0.23.22",
21
+ "@tachybase/schema": "0.23.22"
22
22
  },
23
23
  "peerDependencies": {
24
- "@tachybase/actions": "0.23.20",
25
- "@tachybase/client": "0.23.20",
26
- "@tachybase/database": "0.23.20",
27
- "@tachybase/module-collection": "0.23.20",
28
- "@tachybase/test": "0.23.20",
29
- "@tachybase/server": "0.23.20",
30
- "@tachybase/utils": "0.23.20"
24
+ "@tachybase/actions": "0.23.22",
25
+ "@tachybase/module-collection": "0.23.22",
26
+ "@tachybase/server": "0.23.22",
27
+ "@tachybase/test": "0.23.22",
28
+ "@tachybase/client": "0.23.22",
29
+ "@tachybase/utils": "0.23.22",
30
+ "@tachybase/database": "0.23.22"
31
31
  },
32
32
  "description.zh-CN": "根据配置的规则自动生成编码,支持日期、数字、文本的组合。",
33
33
  "displayName.zh-CN": "数据表字段:自动编码",