@strapi/content-type-builder 0.0.0 → 5.0.0-beta.6
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.
- package/README.md +1 -1
- package/dist/_chunks/ListView-BG19KtnI.js +963 -0
- package/dist/_chunks/ListView-BG19KtnI.js.map +1 -0
- package/dist/_chunks/ListView-C-9-V_FI.mjs +957 -0
- package/dist/_chunks/ListView-C-9-V_FI.mjs.map +1 -0
- package/dist/_chunks/ar-BYDB75EB.mjs +51 -0
- package/dist/_chunks/ar-BYDB75EB.mjs.map +1 -0
- package/dist/_chunks/ar-OCxhAFUy.js +51 -0
- package/dist/_chunks/ar-OCxhAFUy.js.map +1 -0
- package/dist/_chunks/cs-ChL4LaFY.mjs +139 -0
- package/dist/_chunks/cs-ChL4LaFY.mjs.map +1 -0
- package/dist/_chunks/cs-Ci3js5EC.js +139 -0
- package/dist/_chunks/cs-Ci3js5EC.js.map +1 -0
- package/dist/_chunks/de-DnlblIOh.js +193 -0
- package/dist/_chunks/de-DnlblIOh.js.map +1 -0
- package/dist/_chunks/de-DsHQNzp2.mjs +193 -0
- package/dist/_chunks/de-DsHQNzp2.mjs.map +1 -0
- package/dist/_chunks/dk-BC7NAQR2.mjs +183 -0
- package/dist/_chunks/dk-BC7NAQR2.mjs.map +1 -0
- package/dist/_chunks/dk-D3XnOjYz.js +183 -0
- package/dist/_chunks/dk-D3XnOjYz.js.map +1 -0
- package/dist/_chunks/en-BbczxQBr.mjs +216 -0
- package/dist/_chunks/en-BbczxQBr.mjs.map +1 -0
- package/dist/_chunks/en-BnToboMV.js +216 -0
- package/dist/_chunks/en-BnToboMV.js.map +1 -0
- package/dist/_chunks/es-BE_zx2_w.mjs +183 -0
- package/dist/_chunks/es-BE_zx2_w.mjs.map +1 -0
- package/dist/_chunks/es-DL8lez9W.js +183 -0
- package/dist/_chunks/es-DL8lez9W.js.map +1 -0
- package/dist/_chunks/fr-DnTxugIo.js +75 -0
- package/dist/_chunks/fr-DnTxugIo.js.map +1 -0
- package/dist/_chunks/fr-lU_OMJma.mjs +75 -0
- package/dist/_chunks/fr-lU_OMJma.mjs.map +1 -0
- package/dist/_chunks/id-DYuTgqcc.js +166 -0
- package/dist/_chunks/id-DYuTgqcc.js.map +1 -0
- package/dist/_chunks/id-W1sKBFEw.mjs +166 -0
- package/dist/_chunks/id-W1sKBFEw.mjs.map +1 -0
- package/dist/_chunks/index-BfUcwV-B.js +1211 -0
- package/dist/_chunks/index-BfUcwV-B.js.map +1 -0
- package/dist/_chunks/index-BtxPpV-M.mjs +6843 -0
- package/dist/_chunks/index-BtxPpV-M.mjs.map +1 -0
- package/dist/_chunks/index-CBlX4byY.mjs +1185 -0
- package/dist/_chunks/index-CBlX4byY.mjs.map +1 -0
- package/dist/_chunks/index-ClkMXXk0.js +6881 -0
- package/dist/_chunks/index-ClkMXXk0.js.map +1 -0
- package/dist/_chunks/it-D04lb2Wc.mjs +167 -0
- package/dist/_chunks/it-D04lb2Wc.mjs.map +1 -0
- package/dist/_chunks/it-DS4sM3km.js +167 -0
- package/dist/_chunks/it-DS4sM3km.js.map +1 -0
- package/dist/_chunks/ja-BHLK_2_g.mjs +50 -0
- package/dist/_chunks/ja-BHLK_2_g.mjs.map +1 -0
- package/dist/_chunks/ja-BjouJgZf.js +50 -0
- package/dist/_chunks/ja-BjouJgZf.js.map +1 -0
- package/dist/_chunks/ko-D_71Pdfn.js +183 -0
- package/dist/_chunks/ko-D_71Pdfn.js.map +1 -0
- package/dist/_chunks/ko-DoNsXHXA.mjs +183 -0
- package/dist/_chunks/ko-DoNsXHXA.mjs.map +1 -0
- package/dist/_chunks/ms-BtGFDB9t.mjs +163 -0
- package/dist/_chunks/ms-BtGFDB9t.mjs.map +1 -0
- package/dist/_chunks/ms-Re1pSHmx.js +163 -0
- package/dist/_chunks/ms-Re1pSHmx.js.map +1 -0
- package/dist/_chunks/nl-BaTAuelQ.mjs +156 -0
- package/dist/_chunks/nl-BaTAuelQ.mjs.map +1 -0
- package/dist/_chunks/nl-DQjrDEw0.js +156 -0
- package/dist/_chunks/nl-DQjrDEw0.js.map +1 -0
- package/dist/_chunks/pl-BGwXgwH7.js +193 -0
- package/dist/_chunks/pl-BGwXgwH7.js.map +1 -0
- package/dist/_chunks/pl-CP2Zgp01.mjs +193 -0
- package/dist/_chunks/pl-CP2Zgp01.mjs.map +1 -0
- package/dist/_chunks/pt-BR-CCQGwXs0.mjs +193 -0
- package/dist/_chunks/pt-BR-CCQGwXs0.mjs.map +1 -0
- package/dist/_chunks/pt-BR-DPd5nRnl.js +193 -0
- package/dist/_chunks/pt-BR-DPd5nRnl.js.map +1 -0
- package/dist/_chunks/pt-CJoUDTHQ.js +51 -0
- package/dist/_chunks/pt-CJoUDTHQ.js.map +1 -0
- package/dist/_chunks/pt-DMeTMW2x.mjs +51 -0
- package/dist/_chunks/pt-DMeTMW2x.mjs.map +1 -0
- package/dist/_chunks/ru-C8A_4j0w.js +168 -0
- package/dist/_chunks/ru-C8A_4j0w.js.map +1 -0
- package/dist/_chunks/ru-DGSjru5m.mjs +168 -0
- package/dist/_chunks/ru-DGSjru5m.mjs.map +1 -0
- package/dist/_chunks/sk-DVK4HfSC.mjs +167 -0
- package/dist/_chunks/sk-DVK4HfSC.mjs.map +1 -0
- package/dist/_chunks/sk-raWRcmPT.js +167 -0
- package/dist/_chunks/sk-raWRcmPT.js.map +1 -0
- package/dist/_chunks/sv-BGb12eW3.mjs +202 -0
- package/dist/_chunks/sv-BGb12eW3.mjs.map +1 -0
- package/dist/_chunks/sv-BNN71SFE.js +202 -0
- package/dist/_chunks/sv-BNN71SFE.js.map +1 -0
- package/dist/_chunks/th--u3VqsON.mjs +164 -0
- package/dist/_chunks/th--u3VqsON.mjs.map +1 -0
- package/dist/_chunks/th-C83Bb_kR.js +164 -0
- package/dist/_chunks/th-C83Bb_kR.js.map +1 -0
- package/dist/_chunks/tr-BW20CfcO.js +179 -0
- package/dist/_chunks/tr-BW20CfcO.js.map +1 -0
- package/dist/_chunks/tr-DsUerr-c.mjs +179 -0
- package/dist/_chunks/tr-DsUerr-c.mjs.map +1 -0
- package/dist/_chunks/uk-Bx5IlOKX.mjs +164 -0
- package/dist/_chunks/uk-Bx5IlOKX.mjs.map +1 -0
- package/dist/_chunks/uk-VwB0oiuV.js +164 -0
- package/dist/_chunks/uk-VwB0oiuV.js.map +1 -0
- package/dist/_chunks/zh-BiOCwPJu.js +202 -0
- package/dist/_chunks/zh-BiOCwPJu.js.map +1 -0
- package/dist/_chunks/zh-CsUDN13W.mjs +202 -0
- package/dist/_chunks/zh-CsUDN13W.mjs.map +1 -0
- package/dist/_chunks/zh-Hans-CLTLm_nt.js +147 -0
- package/dist/_chunks/zh-Hans-CLTLm_nt.js.map +1 -0
- package/dist/_chunks/zh-Hans-Cc0M5PXr.mjs +147 -0
- package/dist/_chunks/zh-Hans-Cc0M5PXr.mjs.map +1 -0
- package/dist/admin/index.js +4 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/admin/index.mjs +5 -0
- package/dist/admin/index.mjs.map +1 -0
- package/dist/admin/src/components/AllowedTypesSelect.d.ts +9 -0
- package/dist/admin/src/components/AttributeIcon.d.ts +9 -0
- package/dist/admin/src/components/AttributeOptions/AttributeList.d.ts +6 -0
- package/dist/admin/src/components/AttributeOptions/AttributeOption.d.ts +11 -0
- package/dist/admin/src/components/AttributeOptions/AttributeOptions.d.ts +13 -0
- package/dist/admin/src/components/AttributeOptions/CustomFieldOption.d.ts +22 -0
- package/dist/admin/src/components/AttributeOptions/CustomFieldsList.d.ts +1 -0
- package/dist/admin/src/components/AttributeOptions/EmptyAttributes.d.ts +2 -0
- package/dist/admin/src/components/AttributeOptions/OptionBoxWrapper.d.ts +1 -0
- package/dist/admin/src/components/AutoReloadOverlayBlocker.d.ts +25 -0
- package/dist/admin/src/components/BooleanDefaultValueSelect.d.ts +20 -0
- package/dist/admin/src/components/BooleanRadioGroup.d.ts +8 -0
- package/dist/admin/src/components/BoxWrapper.d.ts +1 -0
- package/dist/admin/src/components/CheckboxWithNumberField.d.ts +11 -0
- package/dist/admin/src/components/ComponentCard/ComponentCard.d.ts +10 -0
- package/dist/admin/src/components/ComponentCard/ComponentIcon/ComponentIcon.d.ts +7 -0
- package/dist/admin/src/components/ComponentCard/ComponentIcon/index.d.ts +1 -0
- package/dist/admin/src/components/ComponentCard/index.d.ts +1 -0
- package/dist/admin/src/components/ComponentList.d.ts +10 -0
- package/dist/admin/src/components/ContentTypeBuilderNav/ContentTypeBuilderNav.d.ts +1 -0
- package/dist/admin/src/components/ContentTypeBuilderNav/useContentTypeBuilderMenu.d.ts +18 -0
- package/dist/admin/src/components/ContentTypeRadioGroup.d.ts +15 -0
- package/dist/admin/src/components/CustomRadioGroup/CustomRadioGroup.d.ts +15 -0
- package/dist/admin/src/components/CustomRadioGroup/Styles.d.ts +2 -0
- package/dist/admin/src/components/CustomRadioGroup/index.d.ts +1 -0
- package/dist/admin/src/components/DataManagerProvider/DataManagerProvider.d.ts +6 -0
- package/dist/admin/src/components/DataManagerProvider/constants.d.ts +17 -0
- package/dist/admin/src/components/DataManagerProvider/reducer.d.ts +12 -0
- package/dist/admin/src/components/DataManagerProvider/selectors.d.ts +17 -0
- package/dist/admin/src/components/DataManagerProvider/utils/cleanData.d.ts +23 -0
- package/dist/admin/src/components/DataManagerProvider/utils/createDataObject.d.ts +2 -0
- package/dist/admin/src/components/DataManagerProvider/utils/createModifiedDataSchema.d.ts +6 -0
- package/dist/admin/src/components/DataManagerProvider/utils/formatSchemas.d.ts +6 -0
- package/dist/admin/src/components/DataManagerProvider/utils/retrieveComponentsFromSchema.d.ts +4 -0
- package/dist/admin/src/components/DataManagerProvider/utils/retrieveComponentsThatHaveComponents.d.ts +4 -0
- package/dist/admin/src/components/DataManagerProvider/utils/retrieveNestedComponents.d.ts +1 -0
- package/dist/admin/src/components/DataManagerProvider/utils/retrieveSpecificInfoFromComponents.d.ts +1 -0
- package/dist/admin/src/components/DataManagerProvider/utils/serverRestartWatcher.d.ts +6 -0
- package/dist/admin/src/components/DataManagerProvider/utils/validateSchema.d.ts +1 -0
- package/dist/admin/src/components/DisplayedType.d.ts +7 -0
- package/dist/admin/src/components/DraftAndPublishToggle.d.ts +27 -0
- package/dist/admin/src/components/DynamicZoneList.d.ts +10 -0
- package/dist/admin/src/components/FormModal/FormModal.d.ts +1 -0
- package/dist/admin/src/components/FormModal/attributes/advancedForm.d.ts +416 -0
- package/dist/admin/src/components/FormModal/attributes/attributeOptions.d.ts +90 -0
- package/dist/admin/src/components/FormModal/attributes/baseForm.d.ts +376 -0
- package/dist/admin/src/components/FormModal/attributes/commonBaseForm.d.ts +17 -0
- package/dist/admin/src/components/FormModal/attributes/form.d.ts +792 -0
- package/dist/admin/src/components/FormModal/attributes/nameField.d.ts +12 -0
- package/dist/admin/src/components/FormModal/attributes/types.d.ts +325 -0
- package/dist/admin/src/components/FormModal/attributes/validation/common.d.ts +29 -0
- package/dist/admin/src/components/FormModal/category/createCategorySchema.d.ts +5 -0
- package/dist/admin/src/components/FormModal/category/form.d.ts +20 -0
- package/dist/admin/src/components/FormModal/category/regex.d.ts +1 -0
- package/dist/admin/src/components/FormModal/component/componentField.d.ts +20 -0
- package/dist/admin/src/components/FormModal/component/componentForm.d.ts +25 -0
- package/dist/admin/src/components/FormModal/component/createComponentSchema.d.ts +10 -0
- package/dist/admin/src/components/FormModal/constants.d.ts +12 -0
- package/dist/admin/src/components/FormModal/contentType/contentTypeForm.d.ts +116 -0
- package/dist/admin/src/components/FormModal/contentType/createContentTypeSchema.d.ts +24 -0
- package/dist/admin/src/components/FormModal/dynamiczoneForm.d.ts +68 -0
- package/dist/admin/src/components/FormModal/forms/forms.d.ts +207 -0
- package/dist/admin/src/components/FormModal/forms/utils/addItemsToFormSection.d.ts +38 -0
- package/dist/admin/src/components/FormModal/forms/utils/createCollectionName.d.ts +2 -0
- package/dist/admin/src/components/FormModal/forms/utils/getUsedAttributeNames.d.ts +11 -0
- package/dist/admin/src/components/FormModal/reducer.d.ts +4 -0
- package/dist/admin/src/components/FormModal/selectors.d.ts +16 -0
- package/dist/admin/src/components/FormModal/utils/canEditContentType.d.ts +18 -0
- package/dist/admin/src/components/FormModal/utils/createUid.d.ts +4 -0
- package/dist/admin/src/components/FormModal/utils/customFieldDefaultOptionsReducer.d.ts +1 -0
- package/dist/admin/src/components/FormModal/utils/getAttributesToDisplay.d.ts +3 -0
- package/dist/admin/src/components/FormModal/utils/getFormInputNames.d.ts +1 -0
- package/dist/admin/src/components/FormModal/utils/relations.d.ts +4 -0
- package/dist/admin/src/components/FormModalEndActions.d.ts +42 -0
- package/dist/admin/src/components/FormModalHeader.d.ts +18 -0
- package/dist/admin/src/components/FormModalNavigationProvider/FormModalNavigationProvider.d.ts +22 -0
- package/dist/admin/src/components/FormModalNavigationProvider/constants.d.ts +16 -0
- package/dist/admin/src/components/FormModalSubHeader.d.ts +22 -0
- package/dist/admin/src/components/GenericInputs.d.ts +57 -0
- package/dist/admin/src/components/IconPicker/IconPicker.d.ts +13 -0
- package/dist/admin/src/components/IconPicker/constants.d.ts +5 -0
- package/dist/admin/src/components/IconPicker/index.d.ts +1 -0
- package/dist/admin/src/components/List.d.ts +18 -0
- package/dist/admin/src/components/ListRow.d.ts +20 -0
- package/dist/admin/src/components/NestedFooter.d.ts +9 -0
- package/dist/admin/src/components/PluginIcon.d.ts +1 -0
- package/dist/admin/src/components/PluralName.d.ts +22 -0
- package/dist/admin/src/components/Relation/Relation.d.ts +9 -0
- package/dist/admin/src/components/Relation/RelationField/RelationField.d.ts +13 -0
- package/dist/admin/src/components/Relation/RelationField/RelationTargetPicker/RelationTargetPicker.d.ts +6 -0
- package/dist/admin/src/components/Relation/RelationNaturePicker/Components.d.ts +48 -0
- package/dist/admin/src/components/Relation/RelationNaturePicker/RelationNaturePicker.d.ts +8 -0
- package/dist/admin/src/components/SelectCategory.d.ts +19 -0
- package/dist/admin/src/components/SelectComponent.d.ts +19 -0
- package/dist/admin/src/components/SelectComponents.d.ts +19 -0
- package/dist/admin/src/components/SelectDateType.d.ts +38 -0
- package/dist/admin/src/components/SelectNumber.d.ts +42 -0
- package/dist/admin/src/components/SingularName.d.ts +17 -0
- package/dist/admin/src/components/TabForm.d.ts +9 -0
- package/dist/admin/src/components/TextareaEnum.d.ts +20 -0
- package/dist/admin/src/components/Tr.d.ts +6 -0
- package/dist/admin/src/components/UpperFirst.d.ts +3 -0
- package/dist/admin/src/constants.d.ts +6 -0
- package/dist/admin/src/contexts/DataManagerContext.d.ts +41 -0
- package/dist/admin/src/contexts/FormModalNavigationContext.d.ts +38 -0
- package/dist/admin/src/hooks/useDataManager.d.ts +1 -0
- package/dist/admin/src/hooks/useFormModalNavigation.d.ts +1 -0
- package/dist/admin/src/icons/Curve.d.ts +5 -0
- package/dist/admin/src/index.d.ts +16 -0
- package/dist/admin/src/pages/App/index.d.ts +2 -0
- package/dist/admin/src/pages/ListView/LinkToCMSettingsView.d.ts +10 -0
- package/dist/admin/src/pages/ListView/ListView.d.ts +2 -0
- package/dist/admin/src/pages/RecursivePath/RecursivePath.d.ts +1 -0
- package/dist/admin/src/pluginId.d.ts +1 -0
- package/dist/admin/src/reducers.d.ts +3 -0
- package/dist/admin/src/types.d.ts +57 -0
- package/dist/admin/src/utils/findAttribute.d.ts +2 -0
- package/dist/admin/src/utils/formAPI.d.ts +1 -0
- package/dist/admin/src/utils/getAttributeDisplayedType.d.ts +1 -0
- package/dist/admin/src/utils/getRelationType.d.ts +6 -0
- package/dist/admin/src/utils/getTrad.d.ts +1 -0
- package/dist/admin/src/utils/getYupInnerErrors.d.ts +7 -0
- package/dist/admin/src/utils/index.d.ts +2 -0
- package/dist/admin/src/utils/isAllowedContentTypesForRelations.d.ts +2 -0
- package/dist/admin/src/utils/makeUnique.d.ts +2 -0
- package/dist/admin/src/utils/nameToSlug.d.ts +1 -0
- package/dist/admin/src/utils/prefixPluginTranslations.d.ts +3 -0
- package/dist/admin/src/utils/startsWithANumber.d.ts +1 -0
- package/dist/admin/src/utils/toRegressedEnumValue.d.ts +1 -0
- package/dist/server/index.js +2312 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/index.mjs +2291 -0
- package/dist/server/index.mjs.map +1 -0
- package/dist/server/src/bootstrap.d.ts +6 -0
- package/dist/server/src/bootstrap.d.ts.map +1 -0
- package/dist/server/src/config.d.ts +6 -0
- package/dist/server/src/config.d.ts.map +1 -0
- package/dist/server/src/controllers/builder.d.ts +6 -0
- package/dist/server/src/controllers/builder.d.ts.map +1 -0
- package/dist/server/src/controllers/component-categories.d.ts +7 -0
- package/dist/server/src/controllers/component-categories.d.ts.map +1 -0
- package/dist/server/src/controllers/components.d.ts +38 -0
- package/dist/server/src/controllers/components.d.ts.map +1 -0
- package/dist/server/src/controllers/content-types.d.ts +10 -0
- package/dist/server/src/controllers/content-types.d.ts.map +1 -0
- package/dist/server/src/controllers/index.d.ts +25 -0
- package/dist/server/src/controllers/index.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/common.d.ts +25 -0
- package/dist/server/src/controllers/validation/common.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/component-category.d.ts +5 -0
- package/dist/server/src/controllers/validation/component-category.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/component.d.ts +25 -0
- package/dist/server/src/controllers/validation/component.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/content-type.d.ts +36 -0
- package/dist/server/src/controllers/validation/content-type.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/data-transform.d.ts +4 -0
- package/dist/server/src/controllers/validation/data-transform.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/model-schema.d.ts +12 -0
- package/dist/server/src/controllers/validation/model-schema.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/relations.d.ts +16 -0
- package/dist/server/src/controllers/validation/relations.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/types.d.ts +9 -0
- package/dist/server/src/controllers/validation/types.d.ts.map +1 -0
- package/dist/server/src/index.d.ts +68 -0
- package/dist/server/src/index.d.ts.map +1 -0
- package/dist/server/src/routes/admin.d.ts +18 -0
- package/dist/server/src/routes/admin.d.ts.map +1 -0
- package/dist/server/src/routes/content-api.d.ts +10 -0
- package/dist/server/src/routes/content-api.d.ts.map +1 -0
- package/dist/server/src/routes/index.d.ts +28 -0
- package/dist/server/src/routes/index.d.ts.map +1 -0
- package/dist/server/src/services/api-handler.d.ts +15 -0
- package/dist/server/src/services/api-handler.d.ts.map +1 -0
- package/dist/server/src/services/builder.d.ts +5 -0
- package/dist/server/src/services/builder.d.ts.map +1 -0
- package/dist/server/src/services/component-categories.d.ts +13 -0
- package/dist/server/src/services/component-categories.d.ts.map +1 -0
- package/dist/server/src/services/components.d.ts +54 -0
- package/dist/server/src/services/components.d.ts.map +1 -0
- package/dist/server/src/services/constants.d.ts +19 -0
- package/dist/server/src/services/constants.d.ts.map +1 -0
- package/dist/server/src/services/content-types.d.ts +60 -0
- package/dist/server/src/services/content-types.d.ts.map +1 -0
- package/dist/server/src/services/index.d.ts +14 -0
- package/dist/server/src/services/index.d.ts.map +1 -0
- package/dist/server/src/services/schema-builder/component-builder.d.ts +39 -0
- package/dist/server/src/services/schema-builder/component-builder.d.ts.map +1 -0
- package/dist/server/src/services/schema-builder/content-type-builder.d.ts +38 -0
- package/dist/server/src/services/schema-builder/content-type-builder.d.ts.map +1 -0
- package/dist/server/src/services/schema-builder/index.d.ts +78 -0
- package/dist/server/src/services/schema-builder/index.d.ts.map +1 -0
- package/dist/server/src/services/schema-builder/schema-handler.d.ts +36 -0
- package/dist/server/src/services/schema-builder/schema-handler.d.ts.map +1 -0
- package/dist/server/src/utils/attributes.d.ts +192 -0
- package/dist/server/src/utils/attributes.d.ts.map +1 -0
- package/dist/server/src/utils/helpers.d.ts +3 -0
- package/dist/server/src/utils/helpers.d.ts.map +1 -0
- package/dist/server/src/utils/index.d.ts +15 -0
- package/dist/server/src/utils/index.d.ts.map +1 -0
- package/dist/server/src/utils/typeguards.d.ts +3 -0
- package/dist/server/src/utils/typeguards.d.ts.map +1 -0
- package/package.json +91 -3
- package/strapi-server.js +3 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
const configurations = "配置設定";
|
|
2
|
+
const from = "從";
|
|
3
|
+
const zh = {
|
|
4
|
+
"attribute.boolean": "布林值",
|
|
5
|
+
"attribute.boolean.description": "好或不好、1 或 0、是或否",
|
|
6
|
+
"attribute.component": "元件",
|
|
7
|
+
"attribute.component.description": "組合欄位值以便重複使用",
|
|
8
|
+
"attribute.customField": "自訂欄位",
|
|
9
|
+
"attribute.date": "日期",
|
|
10
|
+
"attribute.date.description": "時間選擇器,可選擇日期及時間",
|
|
11
|
+
"attribute.datetime": "日期和時間",
|
|
12
|
+
"attribute.dynamiczone": "動態配置",
|
|
13
|
+
"attribute.dynamiczone.description": "動態選擇元件及編輯其內容",
|
|
14
|
+
"attribute.email": "電子郵件地址",
|
|
15
|
+
"attribute.email.description": "驗證格式過的電子郵件欄位",
|
|
16
|
+
"attribute.enumeration": "列舉",
|
|
17
|
+
"attribute.enumeration.description": "列舉設定值並可擇一為值",
|
|
18
|
+
"attribute.json": "JSON",
|
|
19
|
+
"attribute.json.description": "JSON 資料格式",
|
|
20
|
+
"attribute.media": "媒體",
|
|
21
|
+
"attribute.media.description": "圖片、影片等檔案",
|
|
22
|
+
"attribute.null": " ",
|
|
23
|
+
"attribute.number": "數字",
|
|
24
|
+
"attribute.number.description": "數字 (正整數、浮點數、小數)",
|
|
25
|
+
"attribute.password": "密碼",
|
|
26
|
+
"attribute.password.description": "加密過的密碼欄位",
|
|
27
|
+
"attribute.relation": "關聯",
|
|
28
|
+
"attribute.relation.description": "指向其他集合類型",
|
|
29
|
+
"attribute.richtext": "多文本格式",
|
|
30
|
+
"attribute.richtext.description": "多文本格式編輯器",
|
|
31
|
+
"attribute.text": "文字",
|
|
32
|
+
"attribute.text.description": "短的標題或長的描述文字",
|
|
33
|
+
"attribute.time": "時間",
|
|
34
|
+
"attribute.timestamp": "時間戳記",
|
|
35
|
+
"attribute.uid": "UID",
|
|
36
|
+
"attribute.uid.description": "唯一識別碼",
|
|
37
|
+
"button.attributes.add.another": "新增欄位",
|
|
38
|
+
"button.component.add": "新增元件",
|
|
39
|
+
"button.component.create": "建立新元件",
|
|
40
|
+
"button.model.create": "建立新的集合類型",
|
|
41
|
+
"button.single-types.create": "建立新的單一類型",
|
|
42
|
+
"component.repeatable": "(可重複的)",
|
|
43
|
+
"components.SelectComponents.displayed-value": " 已選擇 {number, plural, =0 {# components} 一個 {# component} 其他 {# components}}",
|
|
44
|
+
"components.componentSelect.no-component-available": "你已經加入了所有可以加入的元件",
|
|
45
|
+
"components.componentSelect.no-component-available.with-search": "搜尋不到符合的元件",
|
|
46
|
+
"components.componentSelect.value-component": "{number} 個元件被選取 (輸入搜尋元件)",
|
|
47
|
+
"components.componentSelect.value-components": "{number} 個元件被選取",
|
|
48
|
+
configurations,
|
|
49
|
+
"contentType.apiId-plural.description": "複數 API ID",
|
|
50
|
+
"contentType.apiId-plural.label": "API ID (複數)",
|
|
51
|
+
"contentType.apiId-singular.description": "UID 用於產生 API 路徑和資料庫資料表/集合的 UID",
|
|
52
|
+
"contentType.apiId-singular.label": "API ID (單數)",
|
|
53
|
+
"contentType.collectionName.description": "使用於當內容集合名稱與資料集合名稱不同時",
|
|
54
|
+
"contentType.collectionName.label": "集合名稱",
|
|
55
|
+
"contentType.displayName.label": "顯示名稱",
|
|
56
|
+
"contentType.kind.change.warning": "你變更了內容類型:API 將會被重置 (路由器、控制器、和服務將會被覆寫)。",
|
|
57
|
+
"error.attributeName.reserved-name": "這個欄位名稱不可以在此內容類型內被使用,有可能會破壞其他功能",
|
|
58
|
+
"error.contentType.pluralName-used": "此數值不能與單數相同",
|
|
59
|
+
"error.contentType.singularName-used": "此數值不能與複數相同",
|
|
60
|
+
"error.contentTypeName.reserved-name": "這個內容類型名稱不可以在此專案內被使用,有可能會破壞其他功能",
|
|
61
|
+
"error.validation.enum-duplicate": "不允取重複的值",
|
|
62
|
+
"error.validation.enum-empty-string": "不允許空字串",
|
|
63
|
+
"error.validation.enum-regex": "有一個以上的數值無效。數值在首個數字前應先有英文字母。",
|
|
64
|
+
"error.validation.minSupMax": "Can't be superior",
|
|
65
|
+
"error.validation.positive": "必須為正數",
|
|
66
|
+
"error.validation.regex": "不合法的正規式",
|
|
67
|
+
"error.validation.relation.targetAttribute-taken": "該欄位名稱已被使用",
|
|
68
|
+
"form.attribute.component.option.add": "新增元件",
|
|
69
|
+
"form.attribute.component.option.create": "建立新元件",
|
|
70
|
+
"form.attribute.component.option.create.description": "一個可以跨元件及類型引用的元件, 可以在任何地方被引用",
|
|
71
|
+
"form.attribute.component.option.repeatable": "可重複的元件",
|
|
72
|
+
"form.attribute.component.option.repeatable.description": "適用於陣列,清單,標籤類型元件",
|
|
73
|
+
"form.attribute.component.option.reuse-existing": "使用一個已建立的元件",
|
|
74
|
+
"form.attribute.component.option.reuse-existing.description": "可複用元件已建立,可以協助你在不同的內容型別間保持資料一致性",
|
|
75
|
+
"form.attribute.component.option.single": "單一元件",
|
|
76
|
+
"form.attribute.component.option.single.description": "適用於組合型欄位群,如:完整地址,基本完整資訊 ......等",
|
|
77
|
+
"form.attribute.item.customColumnName": "自訂欄位名稱",
|
|
78
|
+
"form.attribute.item.customColumnName.description": "將資料庫欄位名稱以更易懂的格式重新命名,對 API 回應很有用。",
|
|
79
|
+
"form.attribute.item.date.type.date": "date (例如:01/01/{currentYear})",
|
|
80
|
+
"form.attribute.item.date.type.datetime": "datetime (例如:01/01/{currentYear} 00:00 AM)",
|
|
81
|
+
"form.attribute.item.date.type.time": "time (例如:00:00 AM)",
|
|
82
|
+
"form.attribute.item.defineRelation.fieldName": "欄位名稱",
|
|
83
|
+
"form.attribute.item.enumeration.graphql": "GraphQL 名稱覆寫",
|
|
84
|
+
"form.attribute.item.enumeration.graphql.description": "可以讓您覆寫 GraphQL 的預設名稱",
|
|
85
|
+
"form.attribute.item.enumeration.placeholder": "例:\n早上\n中午\n晚上",
|
|
86
|
+
"form.attribute.item.enumeration.rules": "值 (格式為一行一個值)",
|
|
87
|
+
"form.attribute.item.maximum": "最大數值",
|
|
88
|
+
"form.attribute.item.maximumLength": "最大長度",
|
|
89
|
+
"form.attribute.item.minimum": "最小數值",
|
|
90
|
+
"form.attribute.item.minimumLength": "最小長度",
|
|
91
|
+
"form.attribute.item.number.type": "數字格式",
|
|
92
|
+
"form.attribute.item.number.type.biginteger": "大整數 (例如:123456789)",
|
|
93
|
+
"form.attribute.item.number.type.decimal": "浮點數 (decimal) (例: 2.22)",
|
|
94
|
+
"form.attribute.item.number.type.float": "浮點數 (float) (例: 3.33333333)",
|
|
95
|
+
"form.attribute.item.number.type.integer": "整數 (例: 10)",
|
|
96
|
+
"form.attribute.item.privateField": "隱密欄位",
|
|
97
|
+
"form.attribute.item.privateField.description": "該欄位不會被顯示在 API 的回傳資料中",
|
|
98
|
+
"form.attribute.item.requiredField": "必填欄位",
|
|
99
|
+
"form.attribute.item.requiredField.description": "如果這個欄位留空,您將不能建立項目。",
|
|
100
|
+
"form.attribute.item.text.regex": "正規式",
|
|
101
|
+
"form.attribute.item.text.regex.description": "文本正規表達式",
|
|
102
|
+
"form.attribute.item.uniqueField": "唯一欄位",
|
|
103
|
+
"form.attribute.item.uniqueField.description": "如果已存在的項目有一模一樣的內容,您將不能建立項目。",
|
|
104
|
+
"form.attribute.media.allowed-types": "選擇合法的多媒體類型",
|
|
105
|
+
"form.attribute.media.allowed-types.option-files": "檔案",
|
|
106
|
+
"form.attribute.media.allowed-types.option-images": "圖片",
|
|
107
|
+
"form.attribute.media.allowed-types.option-videos": "影片",
|
|
108
|
+
"form.attribute.media.option.multiple": "複數多媒體",
|
|
109
|
+
"form.attribute.media.option.multiple.description": "適用於輪撥模組或多檔案下載",
|
|
110
|
+
"form.attribute.media.option.single": "單一多媒體",
|
|
111
|
+
"form.attribute.media.option.single.description": "適用於大頭貼或背景圖",
|
|
112
|
+
"form.attribute.settings.default": "預設值",
|
|
113
|
+
"form.attribute.text.option.long-text": "長文字",
|
|
114
|
+
"form.attribute.text.option.long-text.description": "適用於描述及自傳內容,但無法被精準搜尋",
|
|
115
|
+
"form.attribute.text.option.short-text": "短文字",
|
|
116
|
+
"form.attribute.text.option.short-text.description": "適用於標題,名稱,連結且可以被精準搜尋",
|
|
117
|
+
"form.button.add-components-to-dynamiczone": "新增元件至動態配置",
|
|
118
|
+
"form.button.add-field": "新增欄位",
|
|
119
|
+
"form.button.add-first-field-to-created-component": "新增元件的第一個欄位",
|
|
120
|
+
"form.button.add.field.to.collectionType": "新增其他欄位於此集合類型",
|
|
121
|
+
"form.button.add.field.to.component": "新增其他欄位於此元件",
|
|
122
|
+
"form.button.add.field.to.contentType": "新增其他欄位於此內容類型",
|
|
123
|
+
"form.button.add.field.to.singleType": "新增其他欄位於此單一類型",
|
|
124
|
+
"form.button.cancel": "取消",
|
|
125
|
+
"form.button.collection-type.description": "適用於複數實例,如議題文章、產品、貼文......等",
|
|
126
|
+
"form.button.collection-type.name": "集合型別",
|
|
127
|
+
"form.button.configure-component": "配置元件",
|
|
128
|
+
"form.button.configure-view": "配置畫面",
|
|
129
|
+
"form.button.select-component": "選擇一個元件",
|
|
130
|
+
"form.button.single-type.description": "適用於單一實例,如首頁、關於 ...... 等",
|
|
131
|
+
"form.button.single-type.name": "單一型別",
|
|
132
|
+
from,
|
|
133
|
+
"listView.headerLayout.description": "建立您的內容的資料結構",
|
|
134
|
+
"menu.section.components.name": "元件",
|
|
135
|
+
"menu.section.models.name": "集合型別",
|
|
136
|
+
"menu.section.single-types.name": "單一型別",
|
|
137
|
+
"modalForm.attribute.form.base.name.description": "欄位名稱不允許空白",
|
|
138
|
+
"modalForm.attribute.form.base.name.placeholder": "例如:slug、seo網址、canonical網址",
|
|
139
|
+
"modalForm.attribute.target-field": "關聯目標欄位",
|
|
140
|
+
"modalForm.attributes.select-component": "選擇一個元件",
|
|
141
|
+
"modalForm.attributes.select-components": "選擇多個元件",
|
|
142
|
+
"modalForm.collectionType.header-create": "建立集合型別",
|
|
143
|
+
"modalForm.component.header-create": "建立元件",
|
|
144
|
+
"modalForm.components.create-component.category.label": "選擇或新增一個分類",
|
|
145
|
+
"modalForm.components.icon.label": "圖示",
|
|
146
|
+
"modalForm.empty.button": "新增自訂欄位",
|
|
147
|
+
"modalForm.empty.heading": "這裡目前什麼都沒有。",
|
|
148
|
+
"modalForm.empty.sub-heading": "透過擴充功能找到您想搜尋的項目。",
|
|
149
|
+
"modalForm.editCategory.base.name.description": "分類名稱不允許空白",
|
|
150
|
+
"modalForm.header-edit": "編輯 {name}",
|
|
151
|
+
"modalForm.header.categories": "複數分類",
|
|
152
|
+
"modalForm.header.back": "後退",
|
|
153
|
+
"modalForm.singleType.header-create": "建立單一型別",
|
|
154
|
+
"modalForm.sub-header.addComponentToDynamicZone": "在動態配置區新增一個元件",
|
|
155
|
+
"modalForm.sub-header.attribute.create": "新增 {type} 欄位",
|
|
156
|
+
"modalForm.sub-header.attribute.create.step": "新增元件 ({step}/2)",
|
|
157
|
+
"modalForm.sub-header.attribute.edit": "編輯 {name}",
|
|
158
|
+
"modalForm.sub-header.chooseAttribute.collectionType": "選擇集合型別的一個欄位",
|
|
159
|
+
"modalForm.sub-header.chooseAttribute.component": "選擇元件的一個欄位",
|
|
160
|
+
"modalForm.sub-header.chooseAttribute.singleType": "選擇單一型別的一個欄位",
|
|
161
|
+
"modalForm.custom-fields.advanced.settings.extended": "擴充設定",
|
|
162
|
+
"modalForm.tabs.custom": "自訂",
|
|
163
|
+
"modalForm.tabs.custom.howToLink": "如何新增自訂欄位",
|
|
164
|
+
"modalForm.tabs.default": "預設",
|
|
165
|
+
"modalForm.tabs.label": "預設和自訂類型分頁",
|
|
166
|
+
"modelPage.attribute.relation-polymorphic": "關聯 (多對多多型)",
|
|
167
|
+
"modelPage.attribute.relationWith": "關聯到",
|
|
168
|
+
"notification.error.dynamiczone-min.validation": "至少要有一個位於動態區域中的元件才能儲存內容型別",
|
|
169
|
+
"notification.info.autoreaload-disable": "啟用這個擴充模組需要重新啟動,使用 `strapi develop` 指令重新啟動",
|
|
170
|
+
"notification.info.creating.notSaved": "在建立新的集合型別或元件前請記得儲存",
|
|
171
|
+
"plugin.description.long": "為您的 API 定義資料結構,使您輕鬆新增欄位和關聯結構,您所做的修改會自動更新專案。",
|
|
172
|
+
"plugin.description.short": "為您的 API 定義資料結構",
|
|
173
|
+
"plugin.name": "內容型別建立者",
|
|
174
|
+
"popUpForm.navContainer.advanced": "進階設定",
|
|
175
|
+
"popUpForm.navContainer.base": "基本設定",
|
|
176
|
+
"popUpWarning.bodyMessage.cancel-modifications": "你確定要取消你的修改嗎?",
|
|
177
|
+
"popUpWarning.bodyMessage.cancel-modifications.with-components": "你確定要取消你的修改嗎?部份元件已被新增或修改...",
|
|
178
|
+
"popUpWarning.bodyMessage.category.delete": "你確定要刪除此分類嗎?所有此分類內的元件都會被刪除.",
|
|
179
|
+
"popUpWarning.bodyMessage.component.delete": "你確定要刪除此元件嗎?",
|
|
180
|
+
"popUpWarning.bodyMessage.contentType.delete": "您確定要刪除這個資料結構嗎?",
|
|
181
|
+
"popUpWarning.draft-publish.button.confirm": "是的,請停用",
|
|
182
|
+
"popUpWarning.draft-publish.message": "如果您停用了草稿/發佈系統,您的草稿將被刪除。",
|
|
183
|
+
"popUpWarning.draft-publish.second-message": "您確定要停用嗎?",
|
|
184
|
+
"prompt.unsaved": "你確定要離開嗎?所有你的修改都會失效。",
|
|
185
|
+
"relation.attributeName.placeholder": "例如:作者、類別、標籤...",
|
|
186
|
+
"relation.manyToMany": "有而且屬於許多",
|
|
187
|
+
"relation.manyToOne": "有許多",
|
|
188
|
+
"relation.manyWay": "有許多",
|
|
189
|
+
"relation.oneToMany": "屬於許多",
|
|
190
|
+
"relation.oneToOne": "一對一到",
|
|
191
|
+
"relation.oneWay": "有一個",
|
|
192
|
+
"table.button.no-fields": "新增欄位",
|
|
193
|
+
"table.content.create-first-content-type": "建立您的首個集合型別",
|
|
194
|
+
"table.content.no-fields.collection-type": "向此集合型別新增首個欄位",
|
|
195
|
+
"table.content.no-fields.component": "向此元件新增首個欄位"
|
|
196
|
+
};
|
|
197
|
+
export {
|
|
198
|
+
configurations,
|
|
199
|
+
zh as default,
|
|
200
|
+
from
|
|
201
|
+
};
|
|
202
|
+
//# sourceMappingURL=zh-CsUDN13W.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh-CsUDN13W.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const configurations = "配置";
|
|
4
|
+
const from = "来自";
|
|
5
|
+
const zhHans = {
|
|
6
|
+
"attribute.boolean": "布尔类型",
|
|
7
|
+
"attribute.boolean.description": "Yes 或 no, 1 或 0, true 或 false",
|
|
8
|
+
"attribute.component": "组件",
|
|
9
|
+
"attribute.component.description": "您可以重复或重复使用的字段组",
|
|
10
|
+
"attribute.date": "日期选择器",
|
|
11
|
+
"attribute.date.description": "带有小时,分钟和秒的日期选择器",
|
|
12
|
+
"attribute.datetime": "日期时间选择器",
|
|
13
|
+
"attribute.dynamiczone": "动态区域",
|
|
14
|
+
"attribute.dynamiczone.description": "编辑内容时动态选择组件",
|
|
15
|
+
"attribute.email": "电子邮件",
|
|
16
|
+
"attribute.email.description": "带有格式验证的电子邮件字段",
|
|
17
|
+
"attribute.enumeration": "列举",
|
|
18
|
+
"attribute.enumeration.description": "值的列表,然后可以从中选择一个",
|
|
19
|
+
"attribute.json": "JSON",
|
|
20
|
+
"attribute.json.description": "JSON 格式的数据",
|
|
21
|
+
"attribute.media": "媒体文件",
|
|
22
|
+
"attribute.media.description": "图片,视频等文件",
|
|
23
|
+
"attribute.null": " ",
|
|
24
|
+
"attribute.number": "数字类型",
|
|
25
|
+
"attribute.number.description": "数字类型 (integer, float, decimal)",
|
|
26
|
+
"attribute.password": "密码输入框",
|
|
27
|
+
"attribute.password.description": "密码字段,会隐藏字符",
|
|
28
|
+
"attribute.relation": "引用",
|
|
29
|
+
"attribute.relation.description": "引用一个 Content Type",
|
|
30
|
+
"attribute.richtext": "富文本编辑器",
|
|
31
|
+
"attribute.richtext.description": "具有格式选项的富文本编辑器",
|
|
32
|
+
"attribute.text": "文本",
|
|
33
|
+
"attribute.text.description": "较短或较长的文字,例如标题或说明",
|
|
34
|
+
"attribute.time": "时间",
|
|
35
|
+
"attribute.uid": "UID",
|
|
36
|
+
"attribute.uid.description": "唯一标识符",
|
|
37
|
+
"button.attributes.add.another": "添加一个新字段",
|
|
38
|
+
"button.component.add": "添加组件",
|
|
39
|
+
"button.component.create": "创建新组件",
|
|
40
|
+
"button.model.create": "创建一个新的 Content Type",
|
|
41
|
+
"component.repeatable": "(可重复的)",
|
|
42
|
+
"components.componentSelect.no-component-available": "您已经添加了所有组件",
|
|
43
|
+
"components.componentSelect.no-component-available.with-search": "没有与您的搜索相匹配的组件",
|
|
44
|
+
"components.componentSelect.value-component": "{number} 个组件被选择 (输入以搜索组件)",
|
|
45
|
+
"components.componentSelect.value-components": "{number} 个组件被选择",
|
|
46
|
+
configurations,
|
|
47
|
+
"contentType.collectionName.description": "当 Content Type 的名称和表名称不同时会很有用",
|
|
48
|
+
"contentType.collectionName.label": "集合名称",
|
|
49
|
+
"contentType.displayName.label": "显示名称",
|
|
50
|
+
"contentType.apiId-plural.description": "API ID(复数形式)",
|
|
51
|
+
"contentType.apiId-plural.label": "API ID(复数形式)",
|
|
52
|
+
"contentType.apiId-singular.description": "UID 用于生成 API 路由和数据库表/集合。",
|
|
53
|
+
"contentType.apiId-singular.label": "API ID(单数形式)",
|
|
54
|
+
"contentType.kind.change.warning": "您刚刚更改了内容类型的种类:API 将被重置(路由、控制器和服务将被覆盖)。",
|
|
55
|
+
"error.contentTypeName.reserved-name": "此名称不能在项目中使用,因为它可能会破坏其他功能",
|
|
56
|
+
"error.validation.minSupMax": "不能更高",
|
|
57
|
+
"form.attribute.component.option.add": "添加一个组件",
|
|
58
|
+
"form.attribute.component.option.create": "创建一个新的组件",
|
|
59
|
+
"form.attribute.component.option.create.description": "组件在类型和组件之间共享,它将随处可用。",
|
|
60
|
+
"form.attribute.component.option.repeatable": "可重复组件",
|
|
61
|
+
"form.attribute.component.option.repeatable.description": "最适合的成分,元标记等的多个实例(数组)。",
|
|
62
|
+
"form.attribute.component.option.reuse-existing": "使用一个已存在的组件",
|
|
63
|
+
"form.attribute.component.option.reuse-existing.description": "重用已经创建的组件,以使您的数据在内容类型之间保持一致。",
|
|
64
|
+
"form.attribute.component.option.single": "单一组件",
|
|
65
|
+
"form.attribute.component.option.single.description": "最适合的对完整地址,主要信息等字段进行分组...",
|
|
66
|
+
"form.attribute.item.customColumnName": "自定义列名称",
|
|
67
|
+
"form.attribute.item.customColumnName.description": "修改数据库列名,使得API返回更容易理解。",
|
|
68
|
+
"form.attribute.item.defineRelation.fieldName": "字段名称",
|
|
69
|
+
"form.attribute.item.enumeration.graphql": "GraphQL 的名称重写",
|
|
70
|
+
"form.attribute.item.enumeration.graphql.description": "允许您覆盖 GraphQL 的默认生成名称",
|
|
71
|
+
"form.attribute.item.enumeration.placeholder": "例如:\nmorning\nnoon\nevening",
|
|
72
|
+
"form.attribute.item.enumeration.rules": "值(每个值占一行)",
|
|
73
|
+
"form.attribute.item.maximum": "最大值",
|
|
74
|
+
"form.attribute.item.maximumLength": "最大长度",
|
|
75
|
+
"form.attribute.item.minimum": "最小值",
|
|
76
|
+
"form.attribute.item.minimumLength": "最小长度",
|
|
77
|
+
"form.attribute.item.number.type": "数字格式",
|
|
78
|
+
"form.attribute.item.number.type.biginteger": "big integer (例如: 123456789)",
|
|
79
|
+
"form.attribute.item.number.type.decimal": "decimal (例如: 2.22)",
|
|
80
|
+
"form.attribute.item.number.type.float": "float (例如: 3.33333333)",
|
|
81
|
+
"form.attribute.item.number.type.integer": "integer (例如: 10)",
|
|
82
|
+
"form.attribute.item.privateField": "私有字段",
|
|
83
|
+
"form.attribute.item.privateField.description": "该字段不会显示在 API 请求的响应中",
|
|
84
|
+
"form.attribute.item.requiredField": "必须的",
|
|
85
|
+
"form.attribute.item.requiredField.description": "如果此字段为空,则无法创建字段。",
|
|
86
|
+
"form.attribute.item.uniqueField": "唯一的",
|
|
87
|
+
"form.attribute.item.uniqueField.description": "如果存在具有相同内容的现有条目,则无法创建条目。",
|
|
88
|
+
"form.attribute.media.option.multiple": "多种媒体",
|
|
89
|
+
"form.attribute.media.option.multiple.description": "最适合的滑块,转盘或多个文件下载",
|
|
90
|
+
"form.attribute.media.option.single": "单一的媒体",
|
|
91
|
+
"form.attribute.media.option.single.description": "最适合的头像,个人资料图片或封面",
|
|
92
|
+
"form.attribute.settings.default": "默认值",
|
|
93
|
+
"form.attribute.text.option.long-text": "较长的文字",
|
|
94
|
+
"form.attribute.text.option.long-text.description": "最适合的描述,传记。\u2028精确搜索已禁用。",
|
|
95
|
+
"form.attribute.text.option.short-text": "较短的文字",
|
|
96
|
+
"form.attribute.text.option.short-text.description": "最适合的标题,名称,链接(URL)。它还可以在字段进行精确搜索。",
|
|
97
|
+
"form.button.add-components-to-dynamiczone": "将组件添加到区域",
|
|
98
|
+
"form.button.add-field": "添加另一个字段",
|
|
99
|
+
"form.button.add-first-field-to-created-component": "添加第一个字段到这个组件",
|
|
100
|
+
"form.button.add.field.to.component": "向该组件添加另一个字段",
|
|
101
|
+
"form.button.cancel": "取消",
|
|
102
|
+
"form.button.configure-component": "配置组件",
|
|
103
|
+
"form.button.configure-view": "配置视图",
|
|
104
|
+
"form.button.select-component": "选择一个组件",
|
|
105
|
+
from,
|
|
106
|
+
"modalForm.attribute.form.base.name.description": "属性名称不允许使用空格",
|
|
107
|
+
"modalForm.attributes.select-component": "选择一个组件",
|
|
108
|
+
"modalForm.attributes.select-components": "选择组件",
|
|
109
|
+
"modalForm.component.header-create": "创建一个组件",
|
|
110
|
+
"modalForm.components.create-component.category.label": "选择一个类别或输入名称以创建一个新类别",
|
|
111
|
+
"modalForm.components.icon.label": "图标",
|
|
112
|
+
"modalForm.editCategory.base.name.description": "类别名称不允许有空格",
|
|
113
|
+
"modalForm.header-edit": "编辑 {name}",
|
|
114
|
+
"modalForm.header.categories": "类别",
|
|
115
|
+
"modalForm.header.back": "后退",
|
|
116
|
+
"modalForm.sub-header.addComponentToDynamicZone": "将新组件添加到动态区域",
|
|
117
|
+
"modalForm.sub-header.attribute.create": "添加新的 {type} 字段",
|
|
118
|
+
"modalForm.sub-header.attribute.create.step": "添加新的组件 ({step}/2)",
|
|
119
|
+
"modalForm.sub-header.attribute.edit": "编辑 {name}",
|
|
120
|
+
"modalForm.sub-header.chooseAttribute.collectionType": "为您的 Content Type 选择一个字段",
|
|
121
|
+
"modalForm.sub-header.chooseAttribute.component": "为您的组件选择一个字段",
|
|
122
|
+
"modalForm.collectionType.header-create": "创建一个集合类型",
|
|
123
|
+
"modelPage.attribute.relationWith": "关联",
|
|
124
|
+
"notification.info.autoreaload-disable": "要使用此插件,需要自动重载功能。请使用 `strapi develop` 启动服务",
|
|
125
|
+
"notification.info.creating.notSaved": "在创建新的内容类型或组件之前,请保存您的工作",
|
|
126
|
+
"plugin.description.long": "给你的 API 的数据结构建模. 快速的创造新的字段(fields)和关系(relations)。将会自动在项目中创建和更新文件。",
|
|
127
|
+
"plugin.description.short": "给你的 API 的数据结构建模",
|
|
128
|
+
"popUpForm.navContainer.advanced": "高级设置",
|
|
129
|
+
"popUpForm.navContainer.base": "基础设置",
|
|
130
|
+
"popUpWarning.bodyMessage.cancel-modifications": "您确定要取消修改吗?",
|
|
131
|
+
"popUpWarning.bodyMessage.cancel-modifications.with-components": "您确定要取消修改吗?某些组件已创建或已修改了...",
|
|
132
|
+
"popUpWarning.bodyMessage.category.delete": "您确定要删除此类别吗?所有组件也将被删除。",
|
|
133
|
+
"popUpWarning.bodyMessage.component.delete": "您确定要删除此组件吗?",
|
|
134
|
+
"popUpWarning.bodyMessage.contentType.delete": "您确定要删除此 Content Type 吗?",
|
|
135
|
+
"prompt.unsaved": "您确定要离开吗?您所有的修改都将丢失。",
|
|
136
|
+
"relation.attributeName.placeholder": "例如: author, category, tag",
|
|
137
|
+
"relation.manyToMany": "有并属于许多",
|
|
138
|
+
"relation.manyToOne": "有很多",
|
|
139
|
+
"relation.manyWay": "有很多",
|
|
140
|
+
"relation.oneToMany": "属于很多",
|
|
141
|
+
"relation.oneToOne": "有一个",
|
|
142
|
+
"relation.oneWay": "有一个"
|
|
143
|
+
};
|
|
144
|
+
exports.configurations = configurations;
|
|
145
|
+
exports.default = zhHans;
|
|
146
|
+
exports.from = from;
|
|
147
|
+
//# sourceMappingURL=zh-Hans-CLTLm_nt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh-Hans-CLTLm_nt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
const configurations = "配置";
|
|
2
|
+
const from = "来自";
|
|
3
|
+
const zhHans = {
|
|
4
|
+
"attribute.boolean": "布尔类型",
|
|
5
|
+
"attribute.boolean.description": "Yes 或 no, 1 或 0, true 或 false",
|
|
6
|
+
"attribute.component": "组件",
|
|
7
|
+
"attribute.component.description": "您可以重复或重复使用的字段组",
|
|
8
|
+
"attribute.date": "日期选择器",
|
|
9
|
+
"attribute.date.description": "带有小时,分钟和秒的日期选择器",
|
|
10
|
+
"attribute.datetime": "日期时间选择器",
|
|
11
|
+
"attribute.dynamiczone": "动态区域",
|
|
12
|
+
"attribute.dynamiczone.description": "编辑内容时动态选择组件",
|
|
13
|
+
"attribute.email": "电子邮件",
|
|
14
|
+
"attribute.email.description": "带有格式验证的电子邮件字段",
|
|
15
|
+
"attribute.enumeration": "列举",
|
|
16
|
+
"attribute.enumeration.description": "值的列表,然后可以从中选择一个",
|
|
17
|
+
"attribute.json": "JSON",
|
|
18
|
+
"attribute.json.description": "JSON 格式的数据",
|
|
19
|
+
"attribute.media": "媒体文件",
|
|
20
|
+
"attribute.media.description": "图片,视频等文件",
|
|
21
|
+
"attribute.null": " ",
|
|
22
|
+
"attribute.number": "数字类型",
|
|
23
|
+
"attribute.number.description": "数字类型 (integer, float, decimal)",
|
|
24
|
+
"attribute.password": "密码输入框",
|
|
25
|
+
"attribute.password.description": "密码字段,会隐藏字符",
|
|
26
|
+
"attribute.relation": "引用",
|
|
27
|
+
"attribute.relation.description": "引用一个 Content Type",
|
|
28
|
+
"attribute.richtext": "富文本编辑器",
|
|
29
|
+
"attribute.richtext.description": "具有格式选项的富文本编辑器",
|
|
30
|
+
"attribute.text": "文本",
|
|
31
|
+
"attribute.text.description": "较短或较长的文字,例如标题或说明",
|
|
32
|
+
"attribute.time": "时间",
|
|
33
|
+
"attribute.uid": "UID",
|
|
34
|
+
"attribute.uid.description": "唯一标识符",
|
|
35
|
+
"button.attributes.add.another": "添加一个新字段",
|
|
36
|
+
"button.component.add": "添加组件",
|
|
37
|
+
"button.component.create": "创建新组件",
|
|
38
|
+
"button.model.create": "创建一个新的 Content Type",
|
|
39
|
+
"component.repeatable": "(可重复的)",
|
|
40
|
+
"components.componentSelect.no-component-available": "您已经添加了所有组件",
|
|
41
|
+
"components.componentSelect.no-component-available.with-search": "没有与您的搜索相匹配的组件",
|
|
42
|
+
"components.componentSelect.value-component": "{number} 个组件被选择 (输入以搜索组件)",
|
|
43
|
+
"components.componentSelect.value-components": "{number} 个组件被选择",
|
|
44
|
+
configurations,
|
|
45
|
+
"contentType.collectionName.description": "当 Content Type 的名称和表名称不同时会很有用",
|
|
46
|
+
"contentType.collectionName.label": "集合名称",
|
|
47
|
+
"contentType.displayName.label": "显示名称",
|
|
48
|
+
"contentType.apiId-plural.description": "API ID(复数形式)",
|
|
49
|
+
"contentType.apiId-plural.label": "API ID(复数形式)",
|
|
50
|
+
"contentType.apiId-singular.description": "UID 用于生成 API 路由和数据库表/集合。",
|
|
51
|
+
"contentType.apiId-singular.label": "API ID(单数形式)",
|
|
52
|
+
"contentType.kind.change.warning": "您刚刚更改了内容类型的种类:API 将被重置(路由、控制器和服务将被覆盖)。",
|
|
53
|
+
"error.contentTypeName.reserved-name": "此名称不能在项目中使用,因为它可能会破坏其他功能",
|
|
54
|
+
"error.validation.minSupMax": "不能更高",
|
|
55
|
+
"form.attribute.component.option.add": "添加一个组件",
|
|
56
|
+
"form.attribute.component.option.create": "创建一个新的组件",
|
|
57
|
+
"form.attribute.component.option.create.description": "组件在类型和组件之间共享,它将随处可用。",
|
|
58
|
+
"form.attribute.component.option.repeatable": "可重复组件",
|
|
59
|
+
"form.attribute.component.option.repeatable.description": "最适合的成分,元标记等的多个实例(数组)。",
|
|
60
|
+
"form.attribute.component.option.reuse-existing": "使用一个已存在的组件",
|
|
61
|
+
"form.attribute.component.option.reuse-existing.description": "重用已经创建的组件,以使您的数据在内容类型之间保持一致。",
|
|
62
|
+
"form.attribute.component.option.single": "单一组件",
|
|
63
|
+
"form.attribute.component.option.single.description": "最适合的对完整地址,主要信息等字段进行分组...",
|
|
64
|
+
"form.attribute.item.customColumnName": "自定义列名称",
|
|
65
|
+
"form.attribute.item.customColumnName.description": "修改数据库列名,使得API返回更容易理解。",
|
|
66
|
+
"form.attribute.item.defineRelation.fieldName": "字段名称",
|
|
67
|
+
"form.attribute.item.enumeration.graphql": "GraphQL 的名称重写",
|
|
68
|
+
"form.attribute.item.enumeration.graphql.description": "允许您覆盖 GraphQL 的默认生成名称",
|
|
69
|
+
"form.attribute.item.enumeration.placeholder": "例如:\nmorning\nnoon\nevening",
|
|
70
|
+
"form.attribute.item.enumeration.rules": "值(每个值占一行)",
|
|
71
|
+
"form.attribute.item.maximum": "最大值",
|
|
72
|
+
"form.attribute.item.maximumLength": "最大长度",
|
|
73
|
+
"form.attribute.item.minimum": "最小值",
|
|
74
|
+
"form.attribute.item.minimumLength": "最小长度",
|
|
75
|
+
"form.attribute.item.number.type": "数字格式",
|
|
76
|
+
"form.attribute.item.number.type.biginteger": "big integer (例如: 123456789)",
|
|
77
|
+
"form.attribute.item.number.type.decimal": "decimal (例如: 2.22)",
|
|
78
|
+
"form.attribute.item.number.type.float": "float (例如: 3.33333333)",
|
|
79
|
+
"form.attribute.item.number.type.integer": "integer (例如: 10)",
|
|
80
|
+
"form.attribute.item.privateField": "私有字段",
|
|
81
|
+
"form.attribute.item.privateField.description": "该字段不会显示在 API 请求的响应中",
|
|
82
|
+
"form.attribute.item.requiredField": "必须的",
|
|
83
|
+
"form.attribute.item.requiredField.description": "如果此字段为空,则无法创建字段。",
|
|
84
|
+
"form.attribute.item.uniqueField": "唯一的",
|
|
85
|
+
"form.attribute.item.uniqueField.description": "如果存在具有相同内容的现有条目,则无法创建条目。",
|
|
86
|
+
"form.attribute.media.option.multiple": "多种媒体",
|
|
87
|
+
"form.attribute.media.option.multiple.description": "最适合的滑块,转盘或多个文件下载",
|
|
88
|
+
"form.attribute.media.option.single": "单一的媒体",
|
|
89
|
+
"form.attribute.media.option.single.description": "最适合的头像,个人资料图片或封面",
|
|
90
|
+
"form.attribute.settings.default": "默认值",
|
|
91
|
+
"form.attribute.text.option.long-text": "较长的文字",
|
|
92
|
+
"form.attribute.text.option.long-text.description": "最适合的描述,传记。\u2028精确搜索已禁用。",
|
|
93
|
+
"form.attribute.text.option.short-text": "较短的文字",
|
|
94
|
+
"form.attribute.text.option.short-text.description": "最适合的标题,名称,链接(URL)。它还可以在字段进行精确搜索。",
|
|
95
|
+
"form.button.add-components-to-dynamiczone": "将组件添加到区域",
|
|
96
|
+
"form.button.add-field": "添加另一个字段",
|
|
97
|
+
"form.button.add-first-field-to-created-component": "添加第一个字段到这个组件",
|
|
98
|
+
"form.button.add.field.to.component": "向该组件添加另一个字段",
|
|
99
|
+
"form.button.cancel": "取消",
|
|
100
|
+
"form.button.configure-component": "配置组件",
|
|
101
|
+
"form.button.configure-view": "配置视图",
|
|
102
|
+
"form.button.select-component": "选择一个组件",
|
|
103
|
+
from,
|
|
104
|
+
"modalForm.attribute.form.base.name.description": "属性名称不允许使用空格",
|
|
105
|
+
"modalForm.attributes.select-component": "选择一个组件",
|
|
106
|
+
"modalForm.attributes.select-components": "选择组件",
|
|
107
|
+
"modalForm.component.header-create": "创建一个组件",
|
|
108
|
+
"modalForm.components.create-component.category.label": "选择一个类别或输入名称以创建一个新类别",
|
|
109
|
+
"modalForm.components.icon.label": "图标",
|
|
110
|
+
"modalForm.editCategory.base.name.description": "类别名称不允许有空格",
|
|
111
|
+
"modalForm.header-edit": "编辑 {name}",
|
|
112
|
+
"modalForm.header.categories": "类别",
|
|
113
|
+
"modalForm.header.back": "后退",
|
|
114
|
+
"modalForm.sub-header.addComponentToDynamicZone": "将新组件添加到动态区域",
|
|
115
|
+
"modalForm.sub-header.attribute.create": "添加新的 {type} 字段",
|
|
116
|
+
"modalForm.sub-header.attribute.create.step": "添加新的组件 ({step}/2)",
|
|
117
|
+
"modalForm.sub-header.attribute.edit": "编辑 {name}",
|
|
118
|
+
"modalForm.sub-header.chooseAttribute.collectionType": "为您的 Content Type 选择一个字段",
|
|
119
|
+
"modalForm.sub-header.chooseAttribute.component": "为您的组件选择一个字段",
|
|
120
|
+
"modalForm.collectionType.header-create": "创建一个集合类型",
|
|
121
|
+
"modelPage.attribute.relationWith": "关联",
|
|
122
|
+
"notification.info.autoreaload-disable": "要使用此插件,需要自动重载功能。请使用 `strapi develop` 启动服务",
|
|
123
|
+
"notification.info.creating.notSaved": "在创建新的内容类型或组件之前,请保存您的工作",
|
|
124
|
+
"plugin.description.long": "给你的 API 的数据结构建模. 快速的创造新的字段(fields)和关系(relations)。将会自动在项目中创建和更新文件。",
|
|
125
|
+
"plugin.description.short": "给你的 API 的数据结构建模",
|
|
126
|
+
"popUpForm.navContainer.advanced": "高级设置",
|
|
127
|
+
"popUpForm.navContainer.base": "基础设置",
|
|
128
|
+
"popUpWarning.bodyMessage.cancel-modifications": "您确定要取消修改吗?",
|
|
129
|
+
"popUpWarning.bodyMessage.cancel-modifications.with-components": "您确定要取消修改吗?某些组件已创建或已修改了...",
|
|
130
|
+
"popUpWarning.bodyMessage.category.delete": "您确定要删除此类别吗?所有组件也将被删除。",
|
|
131
|
+
"popUpWarning.bodyMessage.component.delete": "您确定要删除此组件吗?",
|
|
132
|
+
"popUpWarning.bodyMessage.contentType.delete": "您确定要删除此 Content Type 吗?",
|
|
133
|
+
"prompt.unsaved": "您确定要离开吗?您所有的修改都将丢失。",
|
|
134
|
+
"relation.attributeName.placeholder": "例如: author, category, tag",
|
|
135
|
+
"relation.manyToMany": "有并属于许多",
|
|
136
|
+
"relation.manyToOne": "有很多",
|
|
137
|
+
"relation.manyWay": "有很多",
|
|
138
|
+
"relation.oneToMany": "属于很多",
|
|
139
|
+
"relation.oneToOne": "有一个",
|
|
140
|
+
"relation.oneWay": "有一个"
|
|
141
|
+
};
|
|
142
|
+
export {
|
|
143
|
+
configurations,
|
|
144
|
+
zhHans as default,
|
|
145
|
+
from
|
|
146
|
+
};
|
|
147
|
+
//# sourceMappingURL=zh-Hans-Cc0M5PXr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh-Hans-Cc0M5PXr.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IntlLabel } from '../types';
|
|
2
|
+
interface AllowedTypesSelectProps {
|
|
3
|
+
intlLabel: IntlLabel;
|
|
4
|
+
name: string;
|
|
5
|
+
onChange: (value: any) => void;
|
|
6
|
+
value?: any;
|
|
7
|
+
}
|
|
8
|
+
export declare const AllowedTypesSelect: ({ intlLabel, name, onChange, value, }: AllowedTypesSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentType, SVGProps } from 'react';
|
|
2
|
+
declare const iconByTypes: Record<string, ComponentType<SVGProps<SVGSVGElement>>>;
|
|
3
|
+
export type IconByType = keyof typeof iconByTypes;
|
|
4
|
+
type AttributeIconProps = {
|
|
5
|
+
type: IconByType;
|
|
6
|
+
customField?: string | null;
|
|
7
|
+
};
|
|
8
|
+
export declare const AttributeIcon: ({ type, customField, ...rest }: AttributeIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* AttributeOption
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
import { IconByType } from '../AttributeIcon';
|
|
7
|
+
type AttributeOptionProps = {
|
|
8
|
+
type: IconByType;
|
|
9
|
+
};
|
|
10
|
+
export declare const AttributeOption: ({ type }: AttributeOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* AttributeOptions
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
import { IconByType } from '../AttributeIcon';
|
|
7
|
+
type AttributeOptionsProps = {
|
|
8
|
+
attributes: IconByType[][];
|
|
9
|
+
forTarget: string;
|
|
10
|
+
kind: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const AttributeOptions: ({ attributes, forTarget, kind }: AttributeOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StrapiAppContextValue } from '@strapi/admin/strapi-admin';
|
|
3
|
+
import { IconByType } from '../AttributeIcon';
|
|
4
|
+
export type CustomFieldOption = {
|
|
5
|
+
name: string;
|
|
6
|
+
type: IconByType;
|
|
7
|
+
icon: React.ComponentType;
|
|
8
|
+
intlLabel: {
|
|
9
|
+
id: string;
|
|
10
|
+
defaultMessage: string;
|
|
11
|
+
};
|
|
12
|
+
intlDescription: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
type CustomFieldOptionProps = {
|
|
18
|
+
customFieldUid: string;
|
|
19
|
+
customField: NonNullable<ReturnType<StrapiAppContextValue['customFields']['get']>>;
|
|
20
|
+
};
|
|
21
|
+
export declare const CustomFieldOption: ({ customFieldUid, customField }: CustomFieldOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CustomFieldsList: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OptionBoxWrapper: import("styled-components").StyledComponent<"div", any, import("@strapi/design-system").BoxProps<"div">, never>;
|