drapcode-builder
Version:
Drapcode Builder Library
110 lines (109 loc) • 2.43 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var traitInputAttr = {
placeholder: 'eg. Text here'
};
var _default = exports.default = {
assetManager: {
addButton: 'Add image',
inputPlh: 'http://path/to/the/image.jpg',
modalTitle: 'Select Image',
uploadTitle: 'Drop files here or click to upload'
},
blockManager: {
labels: {},
categories: {}
},
domComponents: {
names: {
'': 'Box',
wrapper: 'Body',
text: 'Text',
comment: 'Comment',
image: 'Image',
video: 'Video',
audio: 'Audio',
label: 'Label',
link: 'Link',
map: 'Map',
tfoot: 'Table foot',
tbody: 'Table body',
thead: 'Table head',
table: 'Table',
row: 'Table row',
cell: 'Table cell'
}
},
deviceManager: {
device: 'Device',
devices: {
desktop: 'Desktop',
tablet: 'Tablet',
mobileLandscape: 'Mobile Landscape',
mobilePortrait: 'Mobile Portrait'
}
},
panels: {
buttons: {
titles: {
preview: 'Preview',
fullscreen: 'Fullscreen',
'sw-visibility': 'View components',
'export-template': 'View code',
'open-sm': 'Open Style Manager',
'open-tm': 'Settings',
'open-layers': 'Open Layer Manager',
'open-blocks': 'Open Blocks'
}
}
},
selectorManager: {
label: 'Classes',
selected: 'Selected',
emptyState: '- State -',
states: {
hover: 'Hover',
active: 'Click',
'nth-of-type(2n)': 'Even/Odd'
}
},
styleManager: {
empty: 'Select an element before using Style Manager',
layer: 'Layer',
fileButton: 'Images',
sectors: {
general: 'General',
layout: 'Layout',
typography: 'Typography',
decorations: 'Decorations',
extra: 'Extra',
flex: 'Flex',
dimension: 'Dimension'
},
properties: {}
},
traitManager: {
empty: 'Select an element before using Trait Manager',
label: 'Component settings',
traits: {
labels: {},
attributes: {
id: traitInputAttr,
alt: traitInputAttr,
title: traitInputAttr,
href: {
placeholder: 'eg. https://google.com'
}
},
options: {
target: {
false: 'This window',
_blank: 'New window'
}
}
}
}
};