OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
_backup
/
tinymce
/
tinymce
/
src
/
themes
/
silver
/
main
/
ts
/
ui
/
menus
/
item
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/20/2020 06:41:08 AM
rwxr-xr-x
📄
ItemClasses.ts
1.33 KB
02/20/2020 06:40:56 AM
rw-r--r--
📄
ItemEvents.ts
1.53 KB
02/20/2020 06:40:56 AM
rw-r--r--
📄
ItemResponse.ts
338 bytes
02/20/2020 06:40:57 AM
rw-r--r--
📄
MenuItems.ts
1 KB
02/20/2020 06:40:57 AM
rw-r--r--
📁
alien
-
02/20/2020 06:42:45 AM
rwxr-xr-x
📁
build
-
02/20/2020 06:42:53 AM
rwxr-xr-x
📁
structure
-
02/20/2020 06:42:57 AM
rwxr-xr-x
Editing: ItemClasses.ts
Close
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { Objects } from '@ephox/boulder'; import { Types } from '@ephox/bridge'; const navClass = 'tox-menu-nav__js'; const selectableClass = 'tox-collection__item'; const colorClass = 'tox-swatch'; const presetClasses = { normal: navClass, color: colorClass }; const tickedClass = 'tox-collection__item--enabled'; const separatorClass = 'tox-collection__separator'; const groupHeadingClass = 'tox-collection__group-heading'; const iconClass = 'tox-collection__item-icon'; const textClass = 'tox-collection__item-label'; const accessoryClass = 'tox-collection__item-accessory'; const caretClass = 'tox-collection__item-caret'; const checkmarkClass = 'tox-collection__item-checkmark'; const activeClass = 'tox-collection__item--active'; const classForPreset = (presets: Types.PresetTypes): string => { return Objects.readOptFrom<string>(presetClasses, presets).getOr(navClass); }; export { classForPreset, navClass, colorClass, activeClass, selectableClass, textClass, tickedClass, separatorClass, groupHeadingClass, iconClass, accessoryClass, caretClass, checkmarkClass };