Submit
Path:
~
/
/
opt
/
psa
/
admin
/
cp
/
public
/
javascript
/
components
/
pages
/
VirtualDirectoryPage
/
File Content:
Protection.js.map
{"version":3,"file":"javascript/components/pages/VirtualDirectoryPage/Protection.js?27c25932aff163f11724","mappings":"+LAEO,MAAMA,EAA+BA,CAACC,EAAOC,EAAUC,KAC1DF,EAAMG,OAAO,CACTC,GAAIJ,EAAMK,SAAS,CAAEC,WAAY,SAAUF,GAAIG,KAAK,UAAUN,OAC9DO,OAAQ,CACJC,OAAAA,CAAQC,GACJ,MAAMC,EAAmB,CAAC,EAC1B,IAAK,MAAMC,KAAOF,EACVE,IAAQV,GAAaU,EAAIC,WAAW,GAAGX,QAG3CS,EAAiBC,GAAOF,EAAcE,IAE1C,OAAOD,CACX,IAEN,C,2FCfC,MAAMG,EAAyCA,CAClDd,GACEC,WAAUO,aAEZO,OAAOC,OAAOhB,EAAMiB,WACfC,QAAO,EAAGZ,gBAAgC,qBAAfA,IAE3BY,QAAO,EAAGN,SAAUO,KAAKP,GAAKQ,MAAM,KAAK,KAAOnB,IAChDoB,SAAQC,IACL,MAAMlB,EAAKJ,EAAMK,SAASiB,GAE1Bd,EAAOa,SAAQnB,GAAaF,EAAMuB,MAAM,CAAEnB,KAAIF,eAAa,GAC7D,C,4GCVH,MAAMsB,EAA4CA,CAACxB,EAAOC,MAC7Da,EAAAA,EAAAA,wCACId,EAAO,CAAEC,WAAUO,OAAQ,CAAC,WAAY,cAC3C,C,6GCHE,MAAMiB,EAA6CA,CAACzB,EAAOC,MAC9Da,EAAAA,EAAAA,wCACId,EAAO,CAAEC,WAAUO,OAAQ,CAAC,UAAW,uBAC1C,C,snBCAE,MAAMkB,EAA6CA,CAAC1B,EAAOC,MAC9DF,EAAAA,EAAAA,8BAA6BC,EAAOC,EAAU,yBAC9CwB,EAAAA,EAAAA,4CAA2CzB,EAAOC,EAAS,C,mNCmB/D,MAAM0B,EAASC,EAAAA,OAAOC,WAAW,2CAC3BC,EAAYF,EAAAA,O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Q4E,IAAK,CAC/C,IAAIC,EAAUjB,EAAIa,YAAYG,GAC9B,GAAIC,EAAQrE,MAAQqE,EAAQrE,KAAK4D,OAAS5D,EACxC,OAAOqE,CAEX,CACF,CAhBEjB,EAAIa,YAAYxK,SAAQ,SAASuK,GAC/B,GAAIA,EAAIhE,KAAM,CACZ,IAAIyD,EAAO,IAAIa,IACff,EAA0BS,EAAKP,GAC/BS,EAAeF,EAAIhE,KAAK4D,OAASH,CACnC,CACF,IA0DFc,EAAOC,QAAUpB,EAEbmB,EAAOC,QAAP,yBAhDJ,SAAkBpB,EAAKqB,GAErB,IAAIC,EAAS,CACXhB,KAAMN,EAAIM,KACVO,YAAa,CAACE,EAAcf,EAAKqB,KAE/BrB,EAAIuB,eAAe,SACrBD,EAAOrB,IAAMD,EAAIC,KAKnB,IAAIuB,EAASV,EAAeO,IAAkB,IAAIH,IAC9CO,EAAU,IAAIP,IACdQ,EAAU,IAAIR,IAOlB,IAJAM,EAAOnL,SAAQ,SAASsL,GACtBD,EAAQnB,IAAIoB,EACd,IAEOD,EAAQ/B,KAAO,GAAG,CACvB,IAAIiC,EAAWF,EACfA,EAAU,IAAIR,IAEdU,EAASvL,SAAQ,SAASsL,GACnBF,EAAQI,IAAIF,KACfF,EAAQlB,IAAIoB,IACIb,EAAea,IAAY,IAAIT,KACrC7K,SAAQ,SAASyL,GACzBJ,EAAQnB,IAAIuB,EACd,IAEJ,GACF,CASA,OAPAL,EAAQpL,SAAQ,SAASsL,GACvB,IAAII,EAAKhB,EAAcf,EAAK2B,GACxBI,GACFT,EAAOT,YAAYmB,KAAKD,EAE5B,IAEOT,CACT,CAIiDW,CAASjC,EAAK,2B","sources":["webpack:///./api/cache/evictDomainHostingFieldCache.js","webpack:///./api/cache/evictDomainVirtualDirectoryFieldsCache.js","webpack:///./api/cache/evictDomainVirtualDirectoryMimeTypesCache.js","webpack:///./api/cache/evictDomainVirtualDirectoryProtectionCache.js","webpack:///./api/cache/modifyCacheOnProtectedDirectoryAddOrDelete.js","webpack:///./components/lists/ProtectedDirectoryUserList/ProtectedDirectoryUserList.js","webpack:///./components/pages/VirtualDirectoryPage/Protection/NoProtectionView.js","webpack:///./components/pages/VirtualDirectoryPage/Protection/Protection.js","webpack:///./components/pages/VirtualDirectoryPage/Protection/ProtectionUsers.js","webpack:///./components/pages/VirtualDirectoryPage/Protection/Tools.js","webpack:///./helpers/graphql/cache/evictEntitiesCache.js","webpack:///./components/lists/ProtectedDirectoryUserList/DeleteProtectedDirectoryUser.graphql","webpack:///./components/pages/VirtualDirectoryPage/Protection/ProtectVirtualDirectory.graphql","webpack:///./queries/DeleteProtectedDirectory.graphql"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nexport const evictDomainHostingFieldCache = (cache, domainId, fieldName) => {\n cache.modify({\n id: cache.identify({ __typename: 'Domain', id: btoa(`Domain:${domainId}`) }),\n fields: {\n hosting(cachedHosting) {\n const newCachedHosting = {};\n for (const key in cachedHosting) {\n if (key === fieldName || key.startsWith(`${fieldName}(`)) {\n continue;\n }\n newCachedHosting[key] = cachedHosting[key];\n }\n return newCachedHosting;\n },\n },\n });\n};\n\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nexport const evictDomainVirtualDirectoryFieldsCache = (\n cache,\n { domainId, fields },\n) => {\n Object.values(cache.extract())\n .filter(({ __typename }) => __typename === 'VirtualDirectory')\n // key contains domainId\n .filter(({ key }) => atob(key).split(':')[1] === domainId)\n .forEach(directory => {\n const id = cache.identify(directory);\n\n fields.forEach(fieldName => cache.evict({ id, fieldName }));\n });\n};\n\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { evictDomainVirtualDirectoryFieldsCache } from 'api/cache';\n\nexport const evictDomainVirtualDirectoryMimeTypesCache = (cache, domainId) => {\n evictDomainVirtualDirectoryFieldsCache(\n cache, { domainId, fields: ['mimeType', 'mimeTypes'] },\n );\n};\n\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { evictDomainVirtualDirectoryFieldsCache } from 'api/cache';\n\nexport const evictDomainVirtualDirectoryProtectionCache = (cache, domainId) => {\n evictDomainVirtualDirectoryFieldsCache(\n cache, { domainId, fields: ['content', 'protectedDirectory'] },\n );\n};\n\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport {\n evictDomainHostingFieldCache,\n evictDomainVirtualDirectoryProtectionCache,\n} from 'api/cache';\n\nexport const modifyCacheOnProtectedDirectoryAddOrDelete = (cache, domainId) => {\n evictDomainHostingFieldCache(cache, domainId, 'protectedDirectories');\n evictDomainVirtualDirectoryProtectionCache(cache, domainId);\n};\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Link, useLocation } from 'react-router-dom';\nimport { useMutation } from '@apollo/client';\nimport { Locale } from 'jsw';\nimport {\n Button,\n ListAction,\n ListActions,\n ListEmptyView,\n ListOperation,\n Toolbar,\n ToolbarExpander,\n ToolbarGroup,\n} from '@plesk/ui-library';\nimport {\n GraphQlList,\n useGraphQlList,\n} from 'components/common/GraphQlList';\nimport { getId } from 'helpers/getId';\nimport { addToast } from 'helpers/toasts';\nimport { evictEntitiesCache } from 'helpers/graphql/cache/evictEntitiesCache';\n\nimport PROTECTED_DIRECTORY_USER_LIST from 'queries/ProtectedDirectoryUserList.graphql';\nimport DELETE_PROTECTED_DIRECTORY_USER from './DeleteProtectedDirectoryUser.graphql';\n\nconst locale = Locale.getSection('components.lists.ProtectedDirectoryUser');\nconst Translate = Locale.getTranslate('components.lists.ProtectedDirectoryUser');\nconst ButtonsTranslate = Locale.getTranslate('components.buttons');\n\nconst ProtectedDirectoryUserList = ({\n directoryId,\n protectedDirectory,\n listKey,\n userCreationLink,\n emptyListViewAddon = null,\n toolbarAddon = null,\n}) => {\n const location = useLocation();\n\n const encodedDirectoryId = btoa(`ProtectedDirectory:${directoryId}`);\n\n const [selection, setSelection] = useState([]);\n const [loadingRows, setLoadingRows] = useState([]);\n\n const { queryResult: { refetch }, listData, listProps, listInput } = useGraphQlList({\n key: listKey,\n onListInputChange: () => setSelection([]),\n query: PROTECTED_DIRECTORY_USER_LIST,\n variables: { id: encodedDirectoryId },\n extractList: data => data.protectedDirectory.users,\n });\n\n const [deleteDirectories] = useMutation(DELETE_PROTECTED_DIRECTORY_USER, {\n refetchQueries: [PROTECTED_DIRECTORY_USER_LIST],\n update: cache => evictEntitiesCache({\n cache,\n typename: 'ProtectedDirectory',\n ids: [encodedDirectoryId],\n fields: ['users'],\n }),\n awaitRefetchQueries: true,\n onCompleted() {\n addToast({ intent: 'success', message: locale.lmsg('removeSuccess') });\n },\n onError({ message }) {\n addToast({ intent: 'danger', message });\n refetch();\n },\n });\n\n const handleRemove = async () => {\n setLoadingRows(selection);\n await deleteDirectories({ variables: { ids: selection } });\n setLoadingRows([]);\n };\n\n const addButton = (\n <Button\n icon=\"plus\"\n intent=\"primary\"\n component={Link}\n to={userCreationLink}\n tooltip={<Translate content=\"addTooltip\" params={{ directory: `/${protectedDirectory.path}` }} />}\n data-type=\"protected-directory-user-add\"\n >\n <Translate content=\"add\" />\n </Button>\n );\n\n const filtered = !!listInput.searchFilters?.login;\n\n return (\n <GraphQlList\n rowKey=\"id\"\n filtered={filtered}\n loadingRows={loadingRows}\n selection={selection}\n onSelectionChange={setSelection}\n columns={[\n {\n key: 'login',\n title: <Translate content=\"login\" />,\n sortable: true,\n type: 'title',\n },\n {\n key: 'actions',\n type: 'actions',\n render: ({ id }) => (\n <ListActions>\n <ListAction\n primary\n icon=\"key\"\n component={Link}\n to={{ ...location, pathname: `${getId(id)}/password` }}\n >\n <Translate content=\"changePassword\" />\n </ListAction>\n </ListActions>\n ),\n },\n ]}\n toolbar={\n <Toolbar>\n <ToolbarGroup title=\"\">\n {addButton}\n </ToolbarGroup>\n <ToolbarGroup title=\"\">\n <ListOperation\n critical\n noSelectionText={locale.lmsg('noSelectionText')}\n confirmationText={() => locale.formatMessage('removeConfirmation', {\n login: <b>{listData.nodes.find(({ id }) => selection[0] === id).login}</b>,\n count: selection.length,\n })}\n actionButtonText={<ButtonsTranslate content=\"yesRemove\" />}\n cancelButtonText={<ButtonsTranslate content=\"cancel\" />}\n >\n <Button\n data-type=\"protected-directory-user-remove\"\n onClick={handleRemove}\n tooltip={<Translate content=\"removeTooltip\" />}\n >\n <Translate content=\"remove\" />\n </Button>\n </ListOperation>\n </ToolbarGroup>\n {toolbarAddon}\n <ToolbarExpander />\n <ToolbarGroup groupable={false} title=\"\">\n <GraphQlList.SearchBar name=\"login\" />\n </ToolbarGroup>\n </Toolbar>\n }\n emptyView={\n <>\n {emptyListViewAddon}\n <ListEmptyView\n title={<Translate content=\"emptyViewTitle\" />}\n actions={addButton}\n />\n </>\n }\n {...listProps}\n />\n );\n};\n\nProtectedDirectoryUserList.propTypes = {\n directoryId: PropTypes.string.isRequired,\n protectedDirectory: PropTypes.shape({\n path: PropTypes.string.isRequired,\n }).isRequired,\n listKey: PropTypes.string.isRequired,\n userCreationLink: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object,\n ]).isRequired,\n toolbarAddon: PropTypes.node,\n emptyListViewAddon: PropTypes.node,\n};\n\nexport default ProtectedDirectoryUserList;\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport PropTypes from 'prop-types';\nimport { useMutation } from '@apollo/client';\nimport { useLocation, useNavigate } from 'react-router-dom';\nimport { Button, ListEmptyView } from '@plesk/ui-library';\nimport { Locale } from 'jsw';\nimport { addToast } from 'helpers/toasts';\nimport { getId } from 'helpers/getId';\nimport { modifyCacheOnProtectedDirectoryAddOrDelete } from 'api/cache';\nimport { readGraphQlListInputFromStorage } from 'components/common/GraphQlList';\n\nimport VIRTUAL_DIRECTORY_PROTECTION_PAGE from 'queries/VirtualDirectoryProtectionPage.graphql';\nimport PROTECT_VIRTUAL_DIRECTORY from './ProtectVirtualDirectory.graphql';\n\nconst Translate = Locale.getTranslate('components.pages.VirtualDirectory.Protection.NoProtectionView');\n\nconst NoProtectionView = ({ domainId, webDirName, onProtectError, userListKey }) => {\n const location = useLocation();\n const navigate = useNavigate();\n\n const [protect, { loading }] = useMutation(PROTECT_VIRTUAL_DIRECTORY, {\n refetchQueries: [VIRTUAL_DIRECTORY_PROTECTION_PAGE],\n awaitRefetchQueries: true,\n onCompleted({\n addProtectedDirectory: { protectedDirectory },\n }, { variables: { input: { path } } }) {\n addToast({\n intent: 'success',\n message: <Translate content=\"successProtection\" params={{ path: <b>{path}</b> }} />,\n });\n navigate({ ...location, pathname: `./${getId(protectedDirectory.id)}/add-user` });\n },\n onError({ message }) {\n addToast({ intent: 'danger', message });\n onProtectError();\n },\n update(cache) {\n modifyCacheOnProtectedDirectoryAddOrDelete(cache, domainId);\n },\n });\n\n const handleProtectClick = () => protect({\n variables: {\n domainId,\n input: { path: webDirName || '/', realm: '' },\n protectedDirectoryUserListInput: readGraphQlListInputFromStorage({ key: userListKey }),\n },\n });\n\n return (\n <ListEmptyView\n title={<Translate content=\"title\" />}\n actions={\n <Button\n intent=\"primary\"\n state={loading ? 'loading' : undefined}\n onClick={handleProtectClick}\n data-cy=\"protect\"\n >\n <Translate content=\"protect\" />\n </Button>\n }\n />\n );\n};\n\nNoProtectionView.propTypes = {\n domainId: PropTypes.number.isRequired,\n webDirName: PropTypes.string.isRequired,\n onProtectError: PropTypes.func.isRequired,\n userListKey: PropTypes.string.isRequired,\n};\n\nexport default NoProtectionView;\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport PropTypes from 'prop-types';\nimport { useSearchParams, Outlet } from 'react-router-dom';\nimport { useQuery } from '@apollo/client';\nimport { StatusMessage } from '@plesk/ui-library';\nimport { Locale } from 'jsw';\nimport { getId } from 'helpers/getId';\nimport NoProtectionView from 'components/pages/VirtualDirectoryPage/Protection/NoProtectionView';\nimport ProtectionUsers from 'components/pages/VirtualDirectoryPage/Protection/ProtectionUsers';\nimport VIRTUAL_DIRECTORY_PROTECTION_PAGE from 'queries/VirtualDirectoryProtectionPage.graphql';\n\nconst Translate = Locale.getTranslate('components.pages.VirtualDirectory.Protection');\n\nconst Protection = ({ params: { domainId }, userListKey }) => {\n const [searchParams] = useSearchParams();\n const path = searchParams.get('path') || '/';\n\n const {\n data: {\n domain: {\n hosting: {\n virtualDirectory: {\n webDirName,\n protectedDirectory,\n isValidForProtection,\n },\n },\n },\n },\n refetch,\n } = useQuery(\n VIRTUAL_DIRECTORY_PROTECTION_PAGE,\n { variables: { domainId: btoa(`Domain:${domainId}`), path } },\n );\n\n if (!isValidForProtection) {\n return (\n <StatusMessage intent=\"info\">\n <Translate content=\"notSupported\" />\n </StatusMessage>\n );\n }\n\n if (!protectedDirectory) {\n return (\n <NoProtectionView\n domainId={domainId}\n webDirName={webDirName}\n onProtectError={refetch}\n userListKey={userListKey}\n />\n );\n }\n\n return (\n <>\n <ProtectionUsers\n domainId={domainId}\n directoryId={getId(protectedDirectory.id)}\n protectedDirectory={protectedDirectory}\n listKey={userListKey}\n />\n <Outlet />\n </>\n );\n};\n\nProtection.propTypes = {\n params: PropTypes.object.isRequired,\n userListKey: PropTypes.string.isRequired,\n};\n\nexport default Protection;\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport PropTypes from 'prop-types';\nimport { useLocation } from 'react-router-dom';\nimport { Toolbar } from '@plesk/ui-library';\nimport Tools from 'components/pages/VirtualDirectoryPage/Protection/Tools';\nimport ProtectedDirectoryUserList from 'components/lists/ProtectedDirectoryUserList';\n\nimport './VirtualDirectoryPageProtectionUsers.less';\n\nconst ProtectionUsers = ({\n domainId,\n directoryId,\n protectedDirectory,\n listKey,\n}) => {\n const location = useLocation();\n\n const directoryTools = <Tools domainId={domainId} directoryId={directoryId} />;\n\n return (\n <ProtectedDirectoryUserList\n directoryId={directoryId}\n protectedDirectory={protectedDirectory}\n listKey={listKey}\n userCreationLink={{ ...location, pathname: `./${directoryId}/add-user` }}\n toolbarAddon={directoryTools}\n emptyListViewAddon={\n <Toolbar className=\"virtual-directory-page-protection-users-toolbar\">\n {directoryTools}\n </Toolbar>\n }\n />\n );\n};\n\nProtectionUsers.propTypes = {\n domainId: PropTypes.string.isRequired,\n directoryId: PropTypes.string.isRequired,\n protectedDirectory: PropTypes.shape({\n path: PropTypes.string.isRequired,\n }).isRequired,\n listKey: PropTypes.string.isRequired,\n};\n\nexport default ProtectionUsers;\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useLocation, useNavigate } from 'react-router-dom';\nimport { useMutation } from '@apollo/client';\nimport { ToolbarGroup, Button, Dialog } from '@plesk/ui-library';\nimport { Locale } from 'jsw';\nimport { addToast } from 'helpers/toasts';\nimport { modifyCacheOnProtectedDirectoryAddOrDelete } from 'api/cache';\n\nimport VIRTUAL_DIRECTORY_PROTECTION_PAGE from 'queries/VirtualDirectoryProtectionPage.graphql';\nimport DELETE_PROTECTED_DIRECTORY from 'queries/DeleteProtectedDirectory.graphql';\n\nconst Translate = Locale.getTranslate('components.pages.VirtualDirectory.Protection');\nconst locale = Locale.getSection('components.pages.VirtualDirectory.Protection');\n\nconst Tools = ({ domainId, directoryId }) => {\n const location = useLocation();\n const navigate = useNavigate();\n\n const [isOpenRemoveProtectionConfirm, setIsOpenRemoveProtectionConfirm] = useState(false);\n\n const [deleteDirectories, { loading: isDeletingDirectory }] = useMutation(DELETE_PROTECTED_DIRECTORY, {\n refetchQueries: [VIRTUAL_DIRECTORY_PROTECTION_PAGE],\n awaitRefetchQueries: true,\n onCompleted() {\n setIsOpenRemoveProtectionConfirm(false);\n },\n onError({ message }) {\n addToast({ intent: 'danger', message });\n },\n update(cache) {\n modifyCacheOnProtectedDirectoryAddOrDelete(cache, domainId);\n },\n });\n\n const handleRemoveProtection = () => {\n deleteDirectories({ variables: { ids: [btoa(`ProtectedDirectory:${directoryId}`)] } });\n };\n\n return (\n <>\n <ToolbarGroup title={locale.lmsg('tools')}>\n <Button\n icon=\"lock-open-cross\"\n onClick={() => setIsOpenRemoveProtectionConfirm(true)}\n tooltip={<Translate content=\"removeProtectionTooltip\" />}\n data-cy=\"remove-protection\"\n >\n <Translate content=\"removeProtection\" />\n </Button>\n <Button\n onClick={() => navigate({ ...location, pathname: `${directoryId}/edit` })}\n tooltip={<Translate content=\"settingsTooltip\" />}\n data-cy=\"protection-settings\"\n >\n <Translate content=\"settings\" />\n </Button>\n </ToolbarGroup>\n <Dialog\n isOpen={isOpenRemoveProtectionConfirm}\n onClose={() => setIsOpenRemoveProtectionConfirm(false)}\n size=\"xs\"\n buttons={\n <Button\n intent=\"danger\"\n onClick={handleRemoveProtection}\n state={isDeletingDirectory ? 'loading' : undefined}\n data-cy=\"remove-protection-confirm\"\n >\n <Translate content=\"removeProtection\" />\n </Button>\n }\n >\n <Translate content=\"removeProtectionConfirmation\" />\n </Dialog>\n </>\n );\n};\n\nTools.propTypes = {\n domainId: PropTypes.string.isRequired,\n directoryId: PropTypes.string.isRequired,\n};\n\nexport default Tools;\n","// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\n/**\n * Evicts cache of provided fields of all the entities with provided typename\n * You can specify certain entities by ids otherwise cache of all entities will be cleared\n */\nexport const evictEntitiesCache = ({ cache, typename, ids = [], fields = [] }) => {\n const entities = Object.values(cache.extract())\n .filter(({ __typename, id }) => __typename === typename && (ids.length === 0 || ids.includes(id)));\n\n entities.forEach(entity => {\n fields.forEach(fieldName => cache.evict({ id: cache.identify(entity), fieldName }));\n });\n};\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteProtectedDirectoryUser\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"ListType\",\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteProtectedDirectoryUser\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"}}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":131}};\n doc.loc.source = {\"body\":\"mutation DeleteProtectedDirectoryUser($ids: [ID!]!) {\\n deleteProtectedDirectoryUser(input: { ids: $ids} ) {\\n ids\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"DeleteProtectedDirectoryUser\"] = oneQuery(doc, \"DeleteProtectedDirectoryUser\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ProtectVirtualDirectory\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"domainId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ProtectedDirectoryInput\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"protectedDirectoryUserListInput\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ProtectedDirectoryUserListInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"addProtectedDirectory\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"domainId\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"domainId\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"protectedDirectory\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"path\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"users\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"protectedDirectoryUserListInput\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"FragmentSpread\",\"name\":{\"kind\":\"Name\",\"value\":\"ProtectedDirectoryUserListFragment\"},\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":502}};\n doc.loc.source = {\"body\":\"#import \\\"queries/ProtectedDirectoryUserListFragment.graphql\\\"\\n\\nmutation ProtectVirtualDirectory(\\n $domainId: ID!,\\n $input: ProtectedDirectoryInput!, \\n $protectedDirectoryUserListInput: ProtectedDirectoryUserListInput!\\n) {\\n addProtectedDirectory(domainId: $domainId, input: $input) {\\n protectedDirectory {\\n id\\n path\\n users(input: $protectedDirectoryUserListInput) {\\n ...ProtectedDirectoryUserListFragment\\n }\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n doc.definitions = doc.definitions.concat(unique(require(\"queries/ProtectedDirectoryUserListFragment.graphql\").definitions));\n\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"ProtectVirtualDirectory\"] = oneQuery(doc, \"ProtectVirtualDirectory\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteProtectedDirectory\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"ListType\",\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteProtectedDirectory\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"}}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"ids\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":123}};\n doc.loc.source = {\"body\":\"mutation DeleteProtectedDirectory($ids: [ID!]!) {\\n deleteProtectedDirectory(input: { ids: $ids} ) {\\n ids\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"DeleteProtectedDirectory\"] = oneQuery(doc, \"DeleteProtectedDirectory\");\n \n"],"names":["evictDomainHostingFieldCache","cache","domainId","fieldName","modify","id","identify","__typename","btoa","fields","hosting","cachedHosting","newCachedHosting","key","startsWith","evictDomainVirtualDirectoryFieldsCache","Object","values","extract","filter","atob","split","forEach","directory","evict","evictDomainVirtualDirectoryMimeTypesCache","evictDomainVirtualDirectoryProtectionCache","modifyCacheOnProtectedDirectoryAddOrDelete","locale","Locale","getSection","Translate","getTranslate","ButtonsTranslate","ProtectedDirectoryUserList","directoryId","protectedDirectory","listKey","userCreationLink","emptyListViewAddon","toolbarAddon","location","useLocation","encodedDirectoryId","selection","setSelection","useState","loadingRows","setLoadingRows","queryResult","refetch","listData","listProps","listInput","useGraphQlList","onListInputChange","query","PROTECTED_DIRECTORY_USER_LIST","variables","extractList","data","users","deleteDirectories","useMutation","DELETE_PROTECTED_DIRECTORY_USER","refetchQueries","update","evictEntitiesCache","typename","ids","awaitRefetchQueries","onCompleted","addToast","intent","message","lmsg","onError","addButton","_jsx","Button","icon","component","Link","to","tooltip","content","params","path","children","filtered","searchFilters","login","GraphQlList","rowKey","onSelectionChange","columns","title","sortable","type","render","ListActions","ListAction","primary","pathname","getId","toolbar","_jsxs","Toolbar","ToolbarGroup","ListOperation","critical","noSelectionText","confirmationText","formatMessage","nodes","find","count","length","actionButtonText","cancelButtonText","onClick","async","ToolbarExpander","groupable","SearchBar","name","emptyView","_Fragment","ListEmptyView","actions","propTypes","PropTypes","isRequired","NoProtectionView","webDirName","onProtectError","userListKey","navigate","useNavigate","protect","loading","PROTECT_VIRTUAL_DIRECTORY","VIRTUAL_DIRECTORY_PROTECTION_PAGE","addProtectedDirectory","input","state","undefined","handleProtectClick","realm","protectedDirectoryUserListInput","readGraphQlListInputFromStorage","Protection","searchParams","useSearchParams","get","domain","virtualDirectory","isValidForProtection","useQuery","ProtectionUsers","Outlet","StatusMessage","directoryTools","Tools","className","isOpenRemoveProtectionConfirm","setIsOpenRemoveProtectionConfirm","isDeletingDirectory","DELETE_PROTECTED_DIRECTORY","Dialog","isOpen","onClose","size","buttons","handleRemoveProtection","includes","entity","doc","loc","source","collectFragmentReferences","node","refs","kind","add","value","selectionSet","selections","variableDefinitions","def","definitions","definitionRefs","findOperation","i","element","Set","module","exports","operationName","newDoc","hasOwnProperty","opRefs","allRefs","newRefs","refName","prevRefs","has","childRef","op","push","oneQuery","names","concat"],"sourceRoot":""}
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
AspDotNetSettingsPage.js
17088 bytes
0644
AspDotNetSettingsPage.js.map
57578 bytes
0644
Browse.js
9323 bytes
0644
Browse.js.map
31280 bytes
0644
CreateDirectoryPage.js
4957 bytes
0644
CreateDirectoryPage.js.map
17256 bytes
0644
CreateMimeTypePage.js
8528 bytes
0644
CreateMimeTypePage.js.map
27034 bytes
0644
CreateVirtualDirectoryPage.js
22472 bytes
0644
CreateVirtualDirectoryPage.js.map
71903 bytes
0644
EditErrorDocPage.js
8271 bytes
0644
EditErrorDocPage.js.map
25716 bytes
0644
EditMimeTypePage.js
8959 bytes
0644
EditMimeTypePage.js.map
27964 bytes
0644
EditVirtualDirectoryPage.js
25600 bytes
0644
EditVirtualDirectoryPage.js.map
80217 bytes
0644
ErrorDocList.js
1777 bytes
0644
ErrorDocList.js.map
5830 bytes
0644
MimeTypeList.js
7765 bytes
0644
MimeTypeList.js.map
24584 bytes
0644
PermissionsPage.js
28464 bytes
0644
PermissionsPage.js.map
97083 bytes
0644
PhpVersionPage.js
5373 bytes
0644
PhpVersionPage.js.map
18823 bytes
0644
Protection.js
18244 bytes
0644
Protection.js.map
56034 bytes
0644
ProtectionSettingsPage.js
8753 bytes
0644
ProtectionSettingsPage.js.map
27906 bytes
0644
N4ST4R_ID | Naxtarrr