nocobase/packages/core/client/src/index.ts

33 lines
959 B
TypeScript
Raw Normal View History

2022-03-09 12:58:11 +00:00
import './global.less';
2021-12-06 13:23:34 +00:00
export * from './acl';
export * from './antd-config-provider';
export * from './api-client';
export * from './appInfo';
2022-01-20 10:19:59 +00:00
export * from './application';
export * from './async-data-provider';
feat(auth): support custom authentication (#2007) * feat(auth): init auth package & collection * feat(auth): register * feat(auth): use authenticator * feat(auth): mapRoles * feat(auth): refactor * feat(auth): base auth class * feat(auth): add plugin * chore(auth): test * chore(auth): add test cases * feat(auth): authenticators pane * chore(auth): custom hook useAuthTypes * feat(auth): authenticator pane * chore(auth): store options schema using context * feat(auth): signInPage provider * feat(auth): signUpPage provider * chore(auth): solve build errors * chore(auth): add dependency * chore(auth): remove dependency cycles * chore(auth): add plugin-auth to preset * chore(auth): fix test * feat(auth): authenticator enable status * fix(test): fix test using new authentication * feat(auth): migration, set up basic auth * chore(auth): can set options ui by component * fix(test): workflow manunal.test * fix(test): typo * feat(auth): support multi-language * chore(auth): imporve code * chore(auth): hide button if no configuration * chore(auth): readme * chore(auth): remove allowSignup prop * chore(auth): move configure pane to edit form * fix(auth): jwt options bug * feat(auth): init sms-auth * chore(auth): at least authenticator required * chore(auth): add test * feat(auth): support sms auth * fix(auth): fix test * chore(auth): move findOrCreateUser to AuthModel * chore(auth): history compatible processing * feat(auth): support SAML auth * chore(auth): saml auth list * chore(saml-auth): improve ui * Merge branch 'main' into feat/authentication * chore(auth): improve code * fix(saml-auth): fix bug * fix(saml-auth): fix saml options * chore(saml-auth): compatible processing && ut * fix(auth): signin page bug * chore(auth): saml compatible processing * feat(auth): oidc-auth * fix(oidc-auth): bug * fix(oidc-auth): bug * fix(auth): fix test * chore(auth): filter enabled authenticator * chore(oidc): add field map * chore(auth): update readme * docs(auth): create sms-auth readme * feat(auth): allow signup config * test(auth): fix test * feat(auth): allow saml and oidc use http * chore(oidc-auth): extends timeout * docs(auth): update readme * feat(auth): support sort * docs(saml): update readme * feat(auth): support sort all authenticator * Merge branch 'main' into feat/authentication * Merge branch 'main' into feat/authentication * feat: improve code * docs(auth): add doc * Merge branch 'main' into feat/authentication * chore: update yarn.lock * feat: improve code * chore(acl): write role to acl if it exists in database and not found … (#2001) * chore(acl): write role to acl if it exists in database and not found in acl * fix: test * fix: eager load with nested association (#2002) * chore: upgrade vitest * chore: edit * refactor: auth class * fix: set options * chore(acl): write role to acl if it exists in database and not found … (#2001) * chore(acl): write role to acl if it exists in database and not found in acl * fix: test * fix: eager load with nested association (#2002) * chore: upgrade vitest * chore: add migrations * test: fix api-client test * chore: add sms-auth * feat: avoid no permission after auth type disabled * fix: translation --------- Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 15:46:42 +00:00
export * from './auth';
export * from './block-provider';
2022-01-29 09:30:40 +00:00
export * from './board';
export * from './china-region';
export * from './collection-manager';
export * from './document-title';
export * from './filter-provider';
feat: formula plugin (#1344) * fix: transaction cannot be rolled back because it has been finished with state: rollback * fix(plugin-system-settings): convert array to json * fix(collection-manager): o2m is array type * fix: missing RefreshActionInitializer * fix(collection-manger): incorrect scope key parameter * fix: can't access pages without permission via url (#826) * feat(database): add sequence field type (#779) * feat(database): add serialString field type * feat(database): add serial string type field ui (skip ci) * test(feat/database): test field options * docs: demo * fix(database): fix array table field behavior * fix(database): fix serial type interface ui * fix(database): add match logic for patterns changes * fix(database): fix serial type query last bug in mysql * refactor(database): refactor last record logic * chore: revert modification on unnecessary file * refactor(database): rename serialString type to sequence Co-authored-by: chenos <chenlinxh@gmail.com> * added Russian translation (#840) * Russian translation * Add files via upload Add RU locale into index.ts Bugs fixed in the ru_RU.ts * Update index.ts Correct lines 4 and 8 * feat: update option must have filter or filterByTk (#847) * feat: update option must have filter or filterByTk * fix: typo * fix: typo * feat(core/cache): support cache (#876) * feat(core/cache): support cache * build(create-nocobase-app): remove --cache-store-package cli option * perf(core/cache): modify default cache config and remove unnecessary logic code * fix: slow join query issued by appends field in find method of repository (#845) * fix: slow join query issue by appends field in repository.find * feat: handle appending query in multiple relation repository * feat: handle appending query in single relation repository Co-authored-by: chenos <chenlinxh@gmail.com> * fix: sort parameter is missing (#849) * fix: 审计日志翻页sort丢失 * fix: 审计日志翻页sort丢失 * fix: 审计日志翻页sort丢失 Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103> * fix(formula): support integer and fix NaN error (#879) * fix(formula): support integer and fix NaN error * style(formula-input): remove debugger * fix(database): fix the index name too long error * feat(collection-manager): inverse fields can be configured (#883) * feat: inverse field * feat: improve code * feat: translations * fix: required * fix: run test by jest (#891) * fix: unable to submit form during file upload (#892) * fix(client/block-select-collection): fix select collection menu view error (#889) * fix(client/block-select-collection): fix too many collection menu view error * fix(client/relate-collection-field-menu): fix relate collection field menu view too long error * fix(client/record-picker): support record-picker show format DataPicker (#888) * fix(client/record-picker): support record-picker show format DataPicker * fix(client/record-picker): undefined judgment and when change field's label refresh format in time * feat: improve signin and signup page components * feat(plugin-workflow): add concat calculator (#894) * fix: single relation repository appends query issue (#901) * fix: appends merge includes (#905) * fix: build error * fix(client): tab pane initializers for create form block * fix: version judgment is not accurate * fix: sync collection field default value (#907) * feat: limit database identifier (#908) * fix: cannot read properties of undefined (reading 'target') * fix: appends merge now using primary key (#911) * fix: appends merge now using primary key * chore: console.log * fix: unbind on error throwing (#914) * feat: create with array of values (#912) * feat: create with array of values * chore: console.log * chore: debug * fix(client/route-switch): skip sub routes * Feat: plugin workflow collection field (#919) * feat(plugin-workflow): use Collectionfield component to render form * fix(plugin-workflow): fix association types value assigning in nodes * fix: missing menuItemGroupCss * fix: multiple = false * chore(versions): 😊 publish v0.7.5-alpha.1 (#920) * fix(plugin-workflow): temp disable validation of collection field in node (#928) * fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926) * Feat/plugin workflow collection field (#934) * feat(plugin-workflow): support association constant simple input * fix(plugin-workflow): remove useless code * fix(plugin-workflow): add req context to processor (#936) * fix(plugin-workflow): avoid revision with ghost nodes (#941) * fix(plugin-workflow): fix collection fieldset component (#942) * feat(useSignup): customize success message * feat: changed with associations (#943) * feat: changed with associations * fix: test error * fix: test error * fix: test * fix(plugin-workflow): fix schedule trigger bug (#949) * fix(plugin-workflow): skip time based test (#951) * fix(plugin-workflow): test changedWithAssociations() (#950) * fix(plugin-workflow): test changedWithAssociations() * fix: toChangedWithAssociations * fix(plugin-workflow): add test cases Co-authored-by: chenos <chenlinxh@gmail.com> * feat: docker optimizing (#948) * chore: feat/docker-optimizing * feat: docker nginx gzip config * feat: ui schema cache (#877) * feat(core/cache): support cache * perf(plugins/ui-schema-storage): cache schema * refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action * fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache prevent jsonSchema and properties cache override each other * test(plugins/ui-schema-storage): add ui_schema repository with cache test * build(create-nocobase-app): remove create-nocobase cli's cache-store-package option * test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false * fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix Co-authored-by: chenos <chenlinxh@gmail.com> * feat: add filter action to collection table (#953) * feat: 数据表支持筛选 * feat: 数据表支持筛选 * feat: 数据表支持筛选 * feat: 数据表支持筛选 * fix: format code Co-authored-by: chenos <chenlinxh@gmail.com> * fix: default value of VERDACCIO_URL * feat: add Dockerfile.official * refactor(plugin-file-manager): move client code into plugin folder and enable path config (#913) * Turkish language (#939) * Türkçe dil dosyası eklendi. Turkish language added * Türkçe dil düzenlemesi. Turkish language edit. * fix: cannot find name 'antdTrTR' * chore(versions): 😊 publish v0.7.6-alpha.2 (#954) * Turkish readme (#955) * Türkçe dil dosyası eklendi. Turkish language added * Türkçe Açıklama sayfası. Turkish readme file added * Turkish language link added * turkish language link added * fix: update readme * fix(plugin-workflow): fix constant schedule trigger time (#956) * feat: push ali docker registry (#957) * feat: push ali docker registry * fix: add VERDACCIO_URL * fix: env * fix: add VERDACCIO_URL to env * fix: update VERDACCIO_URL * fix: arg VERDACCIO_URL * fix: update Dockerfile.official * fix: build-args * fix: network: host * fix: ci * fix: verdaccio:10104 * Update branch-docker-ci.yml * Update branch-docker-ci.yml * Update branch-docker-ci.yml * Update branch-docker-ci.yml * Update branch-docker-ci.yml * Update branch-docker-ci.yml * Update branch-docker-ci.yml * feat: push acr Co-authored-by: ChengLei Shao <chareice@live.com> * feat: api service * fix: api services * feat(file-manager): support tencent cos (#958) * feat: support tencent cos * feat: normalize * chore: update env example * test: add cos * Revert "feat: normalize" This reverts commit 371880013c20b4cb4174ffaa15e0157acc5306c3. * feat: normalize * feat: tengxun to tencent * chore: fix missing deps * fix: locale * fix: locale cos * fix(database/formula-field): when formula's field caculate result is 0 it alse will be save (#962) * fix: lerna ERR! EUNCOMMIT M yarn.lock * fix: driver-opts: network=host * fix(ci): add verdaccio service * chore(versions): 😊 publish v0.7.7-alpha.1 (#963) * fix(plugin-workflow): fix workflow update action (#964) * fix(ci): yarn config set network-timeout 600000 * fix: empty logic operator filter (#961) * chore: fix incorrect deps (#970) * feat: support show lunar day (#972) * feat: support show lunar day * fix: update yarn.lock * fix: types error Co-authored-by: Dunqing <dengqing0821@gmail.com> * fix(ci): remove platforms * chore: improve ci (#976) * test: ci * fix: ci error * fix: on pull_request * fix: paths * fix: paths 'packages/**' * feat: support show lunar day in week and day (#977) Co-authored-by: qing <qing@imideMacBook-Air.local> * fix(client/formula): set cursor focus on input (#959) * fix(client/formula): set cursor focus on input * fix(client/formula): when formula field name has contains the other one will case FormulaError refactor partial implementation * fix(client/table-selector-provider): make data range config effective (#960) * fix(client/table-selector-provider): make data range config effective * fix(client/table-selector): fix when save data range config filter lose * fix(client/upload): fix upload mutiple files always uploading status (#974) * Update README.md * Update README.zh-CN.md * Update README.tr-TR.md * feat(calendar): support for add/remove repeats events (#988) * feat(calendar): support for adding repeats * feat: support delete events * fix: has many same x-action * feat: update better logic * fix: exclude is not an array * fix: handle parse cron error * feat: support every_week, every_month, every_year * fix(calendar): events cannot support moment (#1017) * fix(calendar): events cannot support moment * fix: avoid manipulating raw values * feat: add excel function field (#906) * feat: add excel function field * fix: translations * fix: documentation * chore: remove console log * chore: moved generation of parser to helper function; feat: added GET_DEEP function * chore: improve tokenisation for when there are similar names; * chore: move helper to utils * fix: import from @nocobase/utils/client * feat: integration as a plugin * fix: remove excel function interface * fix: locale * fix: error * refactor: formula plugin * fix: improve code * feat: update docs * fix: error * fix: update deps * fix: remove formula * fix: bigint & test * fix: result * fix: double data type * fix: maximum call stack size exceeded * fix: improve code * fix: improve code * feat(cli): quickstart * Revert "feat(cli): quickstart" This reverts commit 99ad54afb6785c9180c46dd3e9e01e25da368218. * fix: precision * fix: migration Co-authored-by: Michael DeGiovanni <m.degiovanni@gmail.com>
2023-01-10 01:48:46 +00:00
export * from './formula';
2022-01-20 10:19:59 +00:00
export * from './i18n';
export * from './icon';
export * from './plugin-manager';
export * from './pm';
2022-04-10 07:03:43 +00:00
export * from './powered-by';
2022-01-20 10:19:59 +00:00
export * from './record-provider';
export * from './route-switch';
export * from './schema-component';
export * from './schema-initializer';
2022-02-19 17:22:10 +00:00
export * from './schema-settings';
export * from './schema-templates';
feat: support List and Grid Card block (#1753) * feat: support details block * feat: rename to list * fix: imports * feat: improve list block * feat: support title hidden * fix: showTitle default value * feat: support table column actions * feat: support appendsOnDemand * feat: reuse same schema items * feat: shouldn't display pagination when pages only one * feat: block order * feat: support card list * fix: appends on demand * fix: remove unused code * fix: params * fix: improve default pageSize * feat: improve performance * feat: add title designer * feat: improve huge performance * fix: better key * feat: improve schema perf * feat: improve initializer * fix: improve grid perf * fix: avoid haven't properties * feat: support automatic run service when params changed * fix: revert params * fix: grid col width * refactor: improve CardList performance * fix: initializer related * feat: i18n supports * fix: improve get schema * fix: create new form * fix: revert code * feat: css improve * fix: i18n copy * refactor: the CardList rename to GridCard * feat: remove AssociationFilter item * fix: edit and view data is incorrect * feat: remove bulk actions * feat: improve action bar * feat: supports configuration of columns with different screen sizes * fix: incorrect place to save the template * feat: keep height in all card * fix: remove console * fix: rename * refactor: improve GridCard implementation * feat: support import/export actions * fix: remove padding when actions is empty * fix: remove incorrect import * fix: remove unused props * fix: action place * feat: improve column count * refactor: remove appendsOnDemand, and use useAssociationNames instated it * fix: incorrect component --------- Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 01:05:47 +00:00
export * from './schema-items';
2022-02-09 15:37:12 +00:00
export * from './settings-form';
export * from './system-settings';
2022-02-05 09:06:33 +00:00
export * from './user';
export * from './hooks';