@strapi/content-type-builder 5.0.4 → 5.0.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/dist/_chunks/{ListView-Cx0IgvJS.js → ListView-DNrG3LP8.js} +2 -2
- package/dist/_chunks/{ListView-Cx0IgvJS.js.map → ListView-DNrG3LP8.js.map} +1 -1
- package/dist/_chunks/{ListView-D4yz3D-P.mjs → ListView-DzU2cU42.mjs} +2 -2
- package/dist/_chunks/{ListView-D4yz3D-P.mjs.map → ListView-DzU2cU42.mjs.map} +1 -1
- package/dist/_chunks/{index-BkQHj4ZQ.js → index-BOYSLPpG.js} +5 -8
- package/dist/_chunks/{index-BkQHj4ZQ.js.map → index-BOYSLPpG.js.map} +1 -1
- package/dist/_chunks/{index-C5l5-iE3.mjs → index-BgNIUYf6.mjs} +5 -8
- package/dist/_chunks/{index-C5l5-iE3.mjs.map → index-BgNIUYf6.mjs.map} +1 -1
- package/dist/_chunks/{index-BsqSdBfi.js → index-Bp9_1YUM.js} +4 -4
- package/dist/_chunks/{index-BsqSdBfi.js.map → index-Bp9_1YUM.js.map} +1 -1
- package/dist/_chunks/{index-4rV_mjrb.mjs → index-N6VHEZs0.mjs} +4 -4
- package/dist/_chunks/{index-4rV_mjrb.mjs.map → index-N6VHEZs0.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/src/utils/attributes.d.ts +1 -241
- package/dist/server/src/utils/attributes.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -4,7 +4,7 @@ import { createContext, useContext, useState, Fragment, useRef, useEffect, memo,
|
|
|
4
4
|
import { useNotification, useTracking, useStrapiApp, ConfirmDialog, translatedErrors, useGuidedTour, useAppInfo, useAuth, useFetchClient, Page, Layouts } from "@strapi/admin/strapi-admin";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { NavLink, Link, useNavigate, useLocation, useMatch, Navigate, Routes, Route } from "react-router-dom";
|
|
7
|
-
import { p as pluginId, n as nameToSlug, O as ON_CHANGE_RELATION_TARGET, a as ON_CHANGE_RELATION_TYPE, g as getRelationType, M as MAX_COMPONENT_DEPTH, c as createComponentUid, b as createUid, i as initialState, S as SET_DATA_TO_EDIT, d as SET_DYNAMIC_ZONE_DATA_SCHEMA, e as SET_CUSTOM_FIELD_DATA_SCHEMA, f as SET_ATTRIBUTE_DATA_SCHEMA, R as RESET_PROPS, h as SET_ERRORS, j as ON_CHANGE, k as RESET_PROPS_AND_SET_THE_FORM_FOR_ADDING_A_COMPO_TO_A_DZ, l as RESET_PROPS_AND_SET_FORM_FOR_ADDING_AN_EXISTING_COMPO, m as RESET_PROPS_AND_SAVE_CURRENT_DATA, o as initialState$1, q as makeUnique, u as useAutoReloadOverlayBlocker, G as GET_DATA_SUCCEEDED, r as RELOAD_PLUGIN, s as retrieveComponentsFromSchema, t as SET_MODIFIED_DATA, A as ADD_CUSTOM_FIELD_ATTRIBUTE, E as EDIT_CUSTOM_FIELD_ATTRIBUTE, v as ADD_CREATED_COMPONENT_TO_DYNAMIC_ZONE, C as CHANGE_DYNAMIC_ZONE_COMPONENTS, D as DELETE_NOT_SAVED_TYPE, w as REMOVE_COMPONENT_FROM_DYNAMIC_ZONE, U as UPDATE_INITIAL_STATE, x as UPDATE_SCHEMA, y as EDIT_ATTRIBUTE, z as ADD_ATTRIBUTE, B as CREATE_SCHEMA, F as CREATE_COMPONENT_SCHEMA, H as REMOVE_FIELD_FROM_DISPLAYED_COMPONENT, I as REMOVE_FIELD, P as PERMISSIONS, J as AutoReloadOverlayBlockerProvider } from "./index-
|
|
7
|
+
import { p as pluginId, n as nameToSlug, O as ON_CHANGE_RELATION_TARGET, a as ON_CHANGE_RELATION_TYPE, g as getRelationType, M as MAX_COMPONENT_DEPTH, c as createComponentUid, b as createUid, i as initialState, S as SET_DATA_TO_EDIT, d as SET_DYNAMIC_ZONE_DATA_SCHEMA, e as SET_CUSTOM_FIELD_DATA_SCHEMA, f as SET_ATTRIBUTE_DATA_SCHEMA, R as RESET_PROPS, h as SET_ERRORS, j as ON_CHANGE, k as RESET_PROPS_AND_SET_THE_FORM_FOR_ADDING_A_COMPO_TO_A_DZ, l as RESET_PROPS_AND_SET_FORM_FOR_ADDING_AN_EXISTING_COMPO, m as RESET_PROPS_AND_SAVE_CURRENT_DATA, o as initialState$1, q as makeUnique, u as useAutoReloadOverlayBlocker, G as GET_DATA_SUCCEEDED, r as RELOAD_PLUGIN, s as retrieveComponentsFromSchema, t as SET_MODIFIED_DATA, A as ADD_CUSTOM_FIELD_ATTRIBUTE, E as EDIT_CUSTOM_FIELD_ATTRIBUTE, v as ADD_CREATED_COMPONENT_TO_DYNAMIC_ZONE, C as CHANGE_DYNAMIC_ZONE_COMPONENTS, D as DELETE_NOT_SAVED_TYPE, w as REMOVE_COMPONENT_FROM_DYNAMIC_ZONE, U as UPDATE_INITIAL_STATE, x as UPDATE_SCHEMA, y as EDIT_ATTRIBUTE, z as ADD_ATTRIBUTE, B as CREATE_SCHEMA, F as CREATE_COMPONENT_SCHEMA, H as REMOVE_FIELD_FROM_DISPLAYED_COMPONENT, I as REMOVE_FIELD, P as PERMISSIONS, J as AutoReloadOverlayBlockerProvider } from "./index-N6VHEZs0.mjs";
|
|
8
8
|
import { useFilter, useCollator, SubNavLink, SubNav, SubNavHeader, SubNavSections, SubNavSection, SubNavLinkSection, Box, TextButton, Field, MultiSelectNested, Flex, Typography, KeyboardNavigable, Grid, LinkButton, Link as Link$1, Modal, Tabs, Divider, SingleSelect, SingleSelectOption, inputFocusStyle, Checkbox, TextInput, NumberInput, Dialog, Button, Breadcrumbs, Crumb, Searchbar, IconButton, Tooltip, VisuallyHidden, TimePicker, Textarea, DatePicker, DateTimePicker, Toggle, JSONInput, Menu, Combobox, ComboboxOption } from "@strapi/design-system";
|
|
9
9
|
import * as Icons from "@strapi/icons";
|
|
10
10
|
import { Plus, Sparkle, ArrowLeft, Search, Trash, Eye, EyeStriked, OneWay, OneToOne, OneToMany, ManyToOne, ManyToMany, ManyWays } from "@strapi/icons";
|
|
@@ -4946,9 +4946,6 @@ const getFormInputNames = (form) => form.reduce((acc, current) => {
|
|
|
4946
4946
|
}, []);
|
|
4947
4947
|
return [...acc, ...names];
|
|
4948
4948
|
}, []);
|
|
4949
|
-
const FormComponent = styled.form`
|
|
4950
|
-
overflow: auto;
|
|
4951
|
-
`;
|
|
4952
4949
|
const FormModal = () => {
|
|
4953
4950
|
const {
|
|
4954
4951
|
onCloseModal,
|
|
@@ -5667,7 +5664,7 @@ const FormModal = () => {
|
|
|
5667
5664
|
kind: schemaKind || "collectionType"
|
|
5668
5665
|
}
|
|
5669
5666
|
),
|
|
5670
|
-
!isPickingAttribute && /* @__PURE__ */ jsxs(
|
|
5667
|
+
!isPickingAttribute && /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, children: [
|
|
5671
5668
|
/* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsxs(
|
|
5672
5669
|
Tabs.Root,
|
|
5673
5670
|
{
|
|
@@ -6664,11 +6661,11 @@ const FormModalNavigationProvider = ({ children }) => {
|
|
|
6664
6661
|
}
|
|
6665
6662
|
);
|
|
6666
6663
|
};
|
|
6667
|
-
const ListView$1 = lazy(() => import("./ListView-
|
|
6664
|
+
const ListView$1 = lazy(() => import("./ListView-DzU2cU42.mjs"));
|
|
6668
6665
|
const RecursivePath = () => {
|
|
6669
6666
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Page.Loading, {}), children: /* @__PURE__ */ jsx(Routes, { children: /* @__PURE__ */ jsx(Route, { path: `/:componentUid`, element: /* @__PURE__ */ jsx(ListView$1, {}) }) }) });
|
|
6670
6667
|
};
|
|
6671
|
-
const ListView = lazy(() => import("./ListView-
|
|
6668
|
+
const ListView = lazy(() => import("./ListView-DzU2cU42.mjs"));
|
|
6672
6669
|
const App = () => {
|
|
6673
6670
|
const { formatMessage } = useIntl();
|
|
6674
6671
|
const title = formatMessage({
|
|
@@ -6702,4 +6699,4 @@ export {
|
|
|
6702
6699
|
index as i,
|
|
6703
6700
|
useDataManager as u
|
|
6704
6701
|
};
|
|
6705
|
-
//# sourceMappingURL=index-
|
|
6702
|
+
//# sourceMappingURL=index-BgNIUYf6.mjs.map
|