@craftercms/studio-ui
Version:
Services, components, models & utils to build CrafterCMS authoring extensions.
59 lines (57 loc) • 3.6 kB
JavaScript
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { createAction } from '@reduxjs/toolkit';
export const pathNavigatorInit = /*#__PURE__*/ createAction('PATH_NAV_INIT');
export const pathNavigatorSetLocaleCode = /*#__PURE__*/ createAction('PATH_NAV_SET_LOCALE_CODE');
export const pathNavigatorUpdate = /*#__PURE__*/ createAction('PATH_NAV_UPDATE');
export const pathNavigatorSetCollapsed = /*#__PURE__*/ createAction('PATH_NAV_SET_COLLAPSED');
export const pathNavigatorSetCurrentPath = /*#__PURE__*/ createAction('PATH_NAV_SET_CURRENT_PATH');
export const pathNavigatorConditionallySetPath = /*#__PURE__*/ createAction('PATH_NAV_CONDITIONALLY_SET_PATH');
export const pathNavigatorConditionallySetPathComplete = /*#__PURE__*/ createAction(
'PATH_NAV_CONDITIONALLY_SET_PATH_COMPLETE'
);
export const pathNavigatorConditionallySetPathFailed = /*#__PURE__*/ createAction(
'PATH_NAV_CONDITIONALLY_SET_PATH_FAILED'
);
export const pathNavigatorRefresh = /*#__PURE__*/ createAction('PATH_NAV_REFRESH');
export const pathNavigatorBackgroundRefresh = /*#__PURE__*/ createAction('PATH_NAV_BACKGROUND_REFRESH');
export const pathNavigatorItemChecked = /*#__PURE__*/ createAction('PATH_NAV_ITEM_CHECKED');
export const pathNavigatorItemUnchecked = /*#__PURE__*/ createAction('PATH_NAV_ITEM_UNCHECKED');
export const pathNavigatorClearChecked = /*#__PURE__*/ createAction('PATH_NAV_CLEAR_CHECKED');
export const pathNavigatorFetchParentItems = /*#__PURE__*/ createAction('PATH_NAV_FETCH_PARENT_ITEMS');
export const pathNavigatorFetchPath = /*#__PURE__*/ createAction('PATH_NAV_FETCH_PATH');
export const pathNavigatorFetchPathComplete = /*#__PURE__*/ createAction('PATH_NAV_FETCH_PATH_COMPLETE');
export const pathNavigatorFetchParentItemsComplete = /*#__PURE__*/ createAction('PATH_NAV_FETCH_PARENT_ITEMS_COMPLETE');
export const pathNavigatorFetchPathFailed = /*#__PURE__*/ createAction('PATH_NAV_FETCH_PATH_FAILED');
export const pathNavigatorSetKeyword = /*#__PURE__*/ createAction('PATH_NAV_SET_KEYWORD');
export const pathNavigatorChangePage = /*#__PURE__*/ createAction('PATH_NAV_CHANGE_PAGE');
export const pathNavigatorChangeLimit = /*#__PURE__*/ createAction('PATH_NAV_CHANGE_LIMIT');
export const pathNavRootPathMissing = /*#__PURE__*/ createAction('PATH_NAV_ROOT_MISSING');