@operato/board 0.2.45 → 0.2.46
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/@types/global/index.d.ts +1 -0
- package/CHANGELOG.md +19 -0
- package/assets/images/components/no-image.png +0 -0
- package/custom-elements.json +4419 -365
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/modeller/component-toolbar/component-menu.d.ts +4 -0
- package/dist/src/modeller/component-toolbar/component-menu.js +148 -0
- package/dist/src/modeller/component-toolbar/component-menu.js.map +1 -0
- package/dist/src/modeller/component-toolbar/component-toolbar.d.ts +4 -0
- package/dist/src/modeller/component-toolbar/component-toolbar.js +176 -0
- package/dist/src/modeller/component-toolbar/component-toolbar.js.map +1 -0
- package/dist/src/modeller/edit-toolbar-style.d.ts +4 -0
- package/dist/src/modeller/edit-toolbar-style.js +227 -0
- package/dist/src/modeller/edit-toolbar-style.js.map +1 -0
- package/dist/src/modeller/edit-toolbar.d.ts +61 -0
- package/dist/src/modeller/edit-toolbar.js +644 -0
- package/dist/src/modeller/edit-toolbar.js.map +1 -0
- package/dist/src/modeller/property-sidebar/abstract-property.d.ts +10 -0
- package/dist/src/modeller/property-sidebar/abstract-property.js +58 -0
- package/dist/src/modeller/property-sidebar/abstract-property.js.map +1 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.d.ts +49 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js +348 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js.map +1 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +8 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +428 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/effects-shared-style.d.ts +4 -0
- package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js +57 -0
- package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/effects.d.ts +7 -0
- package/dist/src/modeller/property-sidebar/effects/effects.js +59 -0
- package/dist/src/modeller/property-sidebar/effects/effects.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-animation.d.ts +23 -0
- package/dist/src/modeller/property-sidebar/effects/property-animation.js +131 -0
- package/dist/src/modeller/property-sidebar/effects/property-animation.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-animations.d.ts +6 -0
- package/dist/src/modeller/property-sidebar/effects/property-animations.js +84 -0
- package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.d.ts +4 -0
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.js +128 -0
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.d.ts +4 -0
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.js +124 -0
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +6 -0
- package/dist/src/modeller/property-sidebar/effects/property-event.js +63 -0
- package/dist/src/modeller/property-sidebar/effects/property-event.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-shadow.d.ts +23 -0
- package/dist/src/modeller/property-sidebar/effects/property-shadow.js +110 -0
- package/dist/src/modeller/property-sidebar/effects/property-shadow.js.map +1 -0
- package/dist/src/modeller/property-sidebar/effects/value-converter.d.ts +1 -0
- package/dist/src/modeller/property-sidebar/effects/value-converter.js +23 -0
- package/dist/src/modeller/property-sidebar/effects/value-converter.js.map +1 -0
- package/dist/src/modeller/property-sidebar/inspector/inspector.d.ts +24 -0
- package/dist/src/modeller/property-sidebar/inspector/inspector.js +290 -0
- package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +1 -0
- package/dist/src/modeller/property-sidebar/property-shared-style.d.ts +4 -0
- package/dist/src/modeller/property-sidebar/property-shared-style.js +131 -0
- package/dist/src/modeller/property-sidebar/property-shared-style.js.map +1 -0
- package/dist/src/modeller/property-sidebar/property-sidebar.d.ts +10 -0
- package/dist/src/modeller/property-sidebar/property-sidebar.js +313 -0
- package/dist/src/modeller/property-sidebar/property-sidebar.js.map +1 -0
- package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.d.ts +1 -0
- package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.js +94 -0
- package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.js.map +1 -0
- package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +7 -0
- package/dist/src/modeller/property-sidebar/shapes/shapes.js +409 -0
- package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -0
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.d.ts +4 -0
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js +127 -0
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js.map +1 -0
- package/dist/src/modeller/property-sidebar/specifics/specifics.d.ts +5 -0
- package/dist/src/modeller/property-sidebar/specifics/specifics.js +78 -0
- package/dist/src/modeller/property-sidebar/specifics/specifics.js.map +1 -0
- package/dist/src/modeller/property-sidebar/styles/styles.d.ts +9 -0
- package/dist/src/modeller/property-sidebar/styles/styles.js +563 -0
- package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -0
- package/dist/src/modeller/scene-viewer/confidential-overlay.d.ts +4 -0
- package/dist/src/modeller/scene-viewer/confidential-overlay.js +14 -0
- package/dist/src/modeller/scene-viewer/confidential-overlay.js.map +1 -0
- package/dist/src/modeller/scene-viewer/ox-scene-handler.d.ts +11 -0
- package/dist/src/modeller/scene-viewer/ox-scene-handler.js +36 -0
- package/dist/src/modeller/scene-viewer/ox-scene-handler.js.map +1 -0
- package/dist/src/modeller/scene-viewer/ox-scene-layer.d.ts +10 -0
- package/dist/src/modeller/scene-viewer/ox-scene-layer.js +42 -0
- package/dist/src/modeller/scene-viewer/ox-scene-layer.js.map +1 -0
- package/dist/src/modeller/scene-viewer/ox-scene-player.d.ts +1 -0
- package/dist/src/modeller/scene-viewer/ox-scene-player.js +99 -0
- package/dist/src/modeller/scene-viewer/ox-scene-player.js.map +1 -0
- package/dist/src/modeller/scene-viewer/ox-scene-property.d.ts +6 -0
- package/dist/src/modeller/scene-viewer/ox-scene-property.js +19 -0
- package/dist/src/modeller/scene-viewer/ox-scene-property.js.map +1 -0
- package/dist/src/modeller/scene-viewer/ox-scene-viewer.d.ts +39 -0
- package/dist/src/modeller/scene-viewer/ox-scene-viewer.js +245 -0
- package/dist/src/modeller/scene-viewer/ox-scene-viewer.js.map +1 -0
- package/dist/src/ox-board-modeller.d.ts +12 -3
- package/dist/src/ox-board-modeller.js +128 -39
- package/dist/src/ox-board-modeller.js.map +1 -1
- package/dist/src/types.d.ts +12 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +26 -5
- package/src/index.ts +1 -0
- package/src/modeller/component-toolbar/component-menu.ts +142 -0
- package/src/modeller/component-toolbar/component-toolbar.ts +169 -0
- package/src/modeller/edit-toolbar-style.ts +228 -0
- package/src/modeller/edit-toolbar.ts +640 -0
- package/src/modeller/property-sidebar/abstract-property.ts +73 -0
- package/src/modeller/property-sidebar/data-binding/data-binding-mapper.ts +368 -0
- package/src/modeller/property-sidebar/data-binding/data-binding.ts +447 -0
- package/src/modeller/property-sidebar/effects/effects-shared-style.ts +58 -0
- package/src/modeller/property-sidebar/effects/effects.ts +55 -0
- package/src/modeller/property-sidebar/effects/property-animation.ts +131 -0
- package/src/modeller/property-sidebar/effects/property-animations.ts +82 -0
- package/src/modeller/property-sidebar/effects/property-event-hover.ts +133 -0
- package/src/modeller/property-sidebar/effects/property-event-tap.ts +129 -0
- package/src/modeller/property-sidebar/effects/property-event.ts +63 -0
- package/src/modeller/property-sidebar/effects/property-shadow.ts +112 -0
- package/src/modeller/property-sidebar/effects/value-converter.ts +26 -0
- package/src/modeller/property-sidebar/inspector/inspector.ts +327 -0
- package/src/modeller/property-sidebar/property-shared-style.ts +132 -0
- package/src/modeller/property-sidebar/property-sidebar.ts +308 -0
- package/src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts +94 -0
- package/src/modeller/property-sidebar/shapes/shapes.ts +411 -0
- package/src/modeller/property-sidebar/specifics/specific-properties-builder.ts +135 -0
- package/src/modeller/property-sidebar/specifics/specifics.ts +72 -0
- package/src/modeller/property-sidebar/styles/styles.ts +578 -0
- package/src/modeller/scene-viewer/confidential-overlay.ts +18 -0
- package/src/modeller/scene-viewer/ox-scene-handler.ts +40 -0
- package/src/modeller/scene-viewer/ox-scene-layer.ts +42 -0
- package/src/modeller/scene-viewer/ox-scene-player.ts +104 -0
- package/src/modeller/scene-viewer/ox-scene-property.ts +10 -0
- package/src/modeller/scene-viewer/ox-scene-viewer.ts +248 -0
- package/src/ox-board-modeller.ts +134 -39
- package/src/types.ts +26 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
import { __decorate } from "tslib";
|
|
5
|
+
import '@things-factory/help';
|
|
6
|
+
import './specific-properties-builder';
|
|
7
|
+
import { LitElement, css, html } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import { PropertySharedStyle } from '../property-shared-style';
|
|
10
|
+
let PropertySpecific = class PropertySpecific extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.scene = null;
|
|
14
|
+
this.selected = [];
|
|
15
|
+
this.props = [];
|
|
16
|
+
this.propertyEditor = [];
|
|
17
|
+
this.boundINeedSelected = this._onINeedSelected.bind(this);
|
|
18
|
+
}
|
|
19
|
+
connectedCallback() {
|
|
20
|
+
super.connectedCallback();
|
|
21
|
+
this.addEventListener('i-need-selected', this.boundINeedSelected);
|
|
22
|
+
}
|
|
23
|
+
disconnectedCallback() {
|
|
24
|
+
super.disconnectedCallback();
|
|
25
|
+
this.removeEventListener('i-need-selected', this.boundINeedSelected);
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
var _a;
|
|
29
|
+
const selected = this.selected && this.selected[0];
|
|
30
|
+
const value = this.value || {};
|
|
31
|
+
return html `
|
|
32
|
+
<label>${value.type}<help-icon .topic=${(_a = selected === null || selected === void 0 ? void 0 : selected.nature) === null || _a === void 0 ? void 0 : _a.help}></help-icon></label>
|
|
33
|
+
|
|
34
|
+
<specific-properties-builder .value=${value} .props=${this.props} .propertyEditor=${this.propertyEditor}>
|
|
35
|
+
</specific-properties-builder>
|
|
36
|
+
`;
|
|
37
|
+
}
|
|
38
|
+
_onINeedSelected(e) {
|
|
39
|
+
e.stopPropagation();
|
|
40
|
+
var { callback } = e.detail;
|
|
41
|
+
this.scene.undoableChange(() => {
|
|
42
|
+
callback.call(null, this.selected);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
PropertySpecific.styles = [
|
|
47
|
+
PropertySharedStyle,
|
|
48
|
+
css `
|
|
49
|
+
label {
|
|
50
|
+
display: block;
|
|
51
|
+
margin: 10px;
|
|
52
|
+
|
|
53
|
+
text-align: right;
|
|
54
|
+
font: bold 14px var(--theme-font);
|
|
55
|
+
color: var(--primary-color);
|
|
56
|
+
text-transform: capitalize;
|
|
57
|
+
}
|
|
58
|
+
`
|
|
59
|
+
];
|
|
60
|
+
__decorate([
|
|
61
|
+
property({ type: Object })
|
|
62
|
+
], PropertySpecific.prototype, "value", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
property({ type: Object })
|
|
65
|
+
], PropertySpecific.prototype, "scene", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
property({ type: Array })
|
|
68
|
+
], PropertySpecific.prototype, "selected", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
property({ type: Array })
|
|
71
|
+
], PropertySpecific.prototype, "props", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
property({ type: Array })
|
|
74
|
+
], PropertySpecific.prototype, "propertyEditor", void 0);
|
|
75
|
+
PropertySpecific = __decorate([
|
|
76
|
+
customElement('property-specific')
|
|
77
|
+
], PropertySpecific);
|
|
78
|
+
//# sourceMappingURL=specifics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"specifics.js","sourceRoot":"","sources":["../../../../../src/modeller/property-sidebar/specifics/specifics.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,sBAAsB,CAAA;AAC7B,OAAO,+BAA+B,CAAA;AAGtC,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAG9D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAiB8B,UAAK,GAAiB,IAAI,CAAA;QAC3B,aAAQ,GAAgB,EAAE,CAAA;QAC1B,UAAK,GAAU,EAAE,CAAA;QACjB,mBAAc,GAAU,EAAE,CAAA;QAE7C,uBAAkB,GAAQ,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAmCpE,CAAC;IAjCC,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAA;QAEzB,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAA;IACnE,CAAC;IAED,oBAAoB;QAClB,KAAK,CAAC,oBAAoB,EAAE,CAAA;QAE5B,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAA;IACtE,CAAC;IAED,MAAM;;QACJ,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAClD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAA;QAE9B,OAAO,IAAI,CAAA;eACA,KAAK,CAAC,IAAI,qBAAqB,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,0CAAE,IAAI;;4CAExB,KAAK,WAAW,IAAI,CAAC,KAAK,oBAAoB,IAAI,CAAC,cAAc;;KAExG,CAAA;IACH,CAAC;IAED,gBAAgB,CAAC,CAAc;QAC7B,CAAC,CAAC,eAAe,EAAE,CAAA;QAEnB,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC,MAAM,CAAA;QAE3B,IAAI,CAAC,KAAM,CAAC,cAAc,CAAC,GAAG,EAAE;YAC9B,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACpC,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAxDQ,uBAAM,GAAG;IACd,mBAAmB;IACnB,GAAG,CAAA;;;;;;;;;;KAUF;CACF,CAAA;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAW;AACV;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAA2B;AAC3B;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;kDAA2B;AAC1B;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;+CAAkB;AACjB;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;wDAA2B;AApBjD,gBAAgB;IADrB,aAAa,CAAC,mBAAmB,CAAC;GAC7B,gBAAgB,CAyDrB","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport '@things-factory/help'\nimport './specific-properties-builder'\n\nimport { Component, Scene } from '@hatiolab/things-scene'\nimport { LitElement, css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { PropertySharedStyle } from '../property-shared-style'\n\n@customElement('property-specific')\nclass PropertySpecific extends LitElement {\n static styles = [\n PropertySharedStyle,\n css`\n label {\n display: block;\n margin: 10px;\n\n text-align: right;\n font: bold 14px var(--theme-font);\n color: var(--primary-color);\n text-transform: capitalize;\n }\n `\n ]\n\n @property({ type: Object }) value: any\n @property({ type: Object }) scene: Scene | null = null\n @property({ type: Array }) selected: Component[] = []\n @property({ type: Array }) props: any[] = []\n @property({ type: Array }) propertyEditor: any[] = []\n\n private boundINeedSelected: any = this._onINeedSelected.bind(this)\n\n connectedCallback() {\n super.connectedCallback()\n\n this.addEventListener('i-need-selected', this.boundINeedSelected)\n }\n\n disconnectedCallback() {\n super.disconnectedCallback()\n\n this.removeEventListener('i-need-selected', this.boundINeedSelected)\n }\n\n render() {\n const selected = this.selected && this.selected[0]\n const value = this.value || {}\n\n return html`\n <label>${value.type}<help-icon .topic=${selected?.nature?.help}></help-icon></label>\n\n <specific-properties-builder .value=${value} .props=${this.props} .propertyEditor=${this.propertyEditor}>\n </specific-properties-builder>\n `\n }\n\n _onINeedSelected(e: CustomEvent) {\n e.stopPropagation()\n\n var { callback } = e.detail\n\n this.scene!.undoableChange(() => {\n callback.call(null, this.selected)\n })\n }\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
import '@polymer/paper-dropdown-menu/paper-dropdown-menu';
|
|
5
|
+
import '@things-factory/help';
|
|
6
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-angle-input';
|
|
7
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-color';
|
|
8
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-color-style';
|
|
9
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-font-selector';
|
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
import { __decorate } from "tslib";
|
|
5
|
+
import '@polymer/paper-dropdown-menu/paper-dropdown-menu';
|
|
6
|
+
import '@things-factory/help';
|
|
7
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-angle-input';
|
|
8
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-color';
|
|
9
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-color-style';
|
|
10
|
+
import '@things-factory/modeller-ui/client/editors/things-editor-font-selector';
|
|
11
|
+
import { css, html } from 'lit';
|
|
12
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
13
|
+
import { AbstractProperty } from '../abstract-property';
|
|
14
|
+
import { PropertySharedStyle } from '../property-shared-style';
|
|
15
|
+
let PropertyStyles = class PropertyStyles extends AbstractProperty {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.value = {};
|
|
19
|
+
this.selected = [];
|
|
20
|
+
this.fonts = [];
|
|
21
|
+
}
|
|
22
|
+
firstUpdated() {
|
|
23
|
+
this.renderRoot.addEventListener('change', this._onValueChange.bind(this));
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
var { alpha, fontFamily, fontSize, lineHeight, fontColor, bold, italic, fillStyle, lineWidth, strokeStyle, lineDash, lineCap, lineJoin, begin, beginSize, end, endSize } = this.value;
|
|
27
|
+
return html `
|
|
28
|
+
<fieldset>
|
|
29
|
+
<legend>
|
|
30
|
+
<title-with-help topic="board-modeller/styles/opacity" msgid="label.opacity">opacity</title-with-help>
|
|
31
|
+
</legend>
|
|
32
|
+
<paper-slider min="0" max="1" step="0.1" value-key="alpha" .value=${alpha || 1} editable> </paper-slider>
|
|
33
|
+
</fieldset>
|
|
34
|
+
|
|
35
|
+
<fieldset>
|
|
36
|
+
<legend>
|
|
37
|
+
<title-with-help topic="board-modeller/styles/text-style" msgid="label.text-style"
|
|
38
|
+
>text style</title-with-help
|
|
39
|
+
>
|
|
40
|
+
</legend>
|
|
41
|
+
|
|
42
|
+
<div class="property-grid">
|
|
43
|
+
<label class="property-full-label">
|
|
44
|
+
<i18n-msg msgid="label.font-family">Font Family</i18n-msg>
|
|
45
|
+
</label>
|
|
46
|
+
|
|
47
|
+
<things-editor-font-selector
|
|
48
|
+
value-key="fontFamily"
|
|
49
|
+
.value=${fontFamily}
|
|
50
|
+
class="property-full-input"
|
|
51
|
+
custom-editor
|
|
52
|
+
></things-editor-font-selector>
|
|
53
|
+
|
|
54
|
+
<label class="property-half-label icon-only-label font-size"></label>
|
|
55
|
+
<input type="number" value-key="fontSize" .value=${fontSize} class="property-half-input" />
|
|
56
|
+
|
|
57
|
+
<label class="property-half-label icon-only-label lineHeight"></label>
|
|
58
|
+
<input type="number" value-key="lineHeight" .value=${lineHeight} class="property-half-input" />
|
|
59
|
+
|
|
60
|
+
<label class="property-half-label icon-only-label color"></label>
|
|
61
|
+
<things-editor-color value-key="fontColor" .value=${fontColor} class="property-half-input">
|
|
62
|
+
</things-editor-color>
|
|
63
|
+
|
|
64
|
+
<label class="property-half-label"></label>
|
|
65
|
+
<div class="property-half-input btn-group">
|
|
66
|
+
<paper-button toggles value-key="bold" ?active=${bold} class="tbold"> </paper-button>
|
|
67
|
+
<paper-button toggles value-key="italic" ?active=${italic} class="titalic"> </paper-button>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</fieldset>
|
|
71
|
+
|
|
72
|
+
<fieldset>
|
|
73
|
+
<legend>
|
|
74
|
+
<title-with-help topic="board-modeller/styles/fill-style" msgid="label.fill-style"
|
|
75
|
+
>fill style</title-with-help
|
|
76
|
+
>
|
|
77
|
+
</legend>
|
|
78
|
+
|
|
79
|
+
<things-editor-color-style value-key="fillStyle" .value=${fillStyle}> </things-editor-color-style>
|
|
80
|
+
</fieldset>
|
|
81
|
+
|
|
82
|
+
<fieldset>
|
|
83
|
+
<legend>
|
|
84
|
+
<title-with-help msgid="label.line-style" topic="board-modeller/styles/line-style"></title-with-help>
|
|
85
|
+
</legend>
|
|
86
|
+
|
|
87
|
+
<div class="property-grid">
|
|
88
|
+
<label class="property-half-label icon-only-label linewidth"></label>
|
|
89
|
+
<input type="number" value-key="lineWidth" .value=${lineWidth} class="property-half-input" />
|
|
90
|
+
|
|
91
|
+
<label class="property-half-label icon-only-label color"></label>
|
|
92
|
+
<things-editor-color value-key="strokeStyle" .value=${strokeStyle} class="property-half-input">
|
|
93
|
+
</things-editor-color>
|
|
94
|
+
|
|
95
|
+
<label class="property-full-label">
|
|
96
|
+
<i18n-msg msgid="label.line-type">line type</i18n-msg>
|
|
97
|
+
</label>
|
|
98
|
+
<paper-dropdown-menu no-label-float="true" class="property-full-input line-type solid">
|
|
99
|
+
<!-- solid는 선택된 항목 보여주기위한 class로 하위 paper-item의 class와 동일하게 -->
|
|
100
|
+
<paper-listbox
|
|
101
|
+
value-key="lineDash"
|
|
102
|
+
@selected-changed=${(e) => this._onValueChange(e)}
|
|
103
|
+
slot="dropdown-content"
|
|
104
|
+
.selected=${lineDash}
|
|
105
|
+
attr-for-selected="name"
|
|
106
|
+
>
|
|
107
|
+
<paper-item class="solid" name="solid"></paper-item>
|
|
108
|
+
<paper-item class="round-dot" name="round-dot"></paper-item>
|
|
109
|
+
<paper-item class="square-dot" name="square-dot"></paper-item>
|
|
110
|
+
<paper-item class="dash" name="dash"></paper-item>
|
|
111
|
+
<paper-item class="dash-dot" name="dash-dot"></paper-item>
|
|
112
|
+
<paper-item class="long-dash" name="long-dash"></paper-item>
|
|
113
|
+
<paper-item class="long-dash-dot" name="long-dash-dot"></paper-item>
|
|
114
|
+
<paper-item class="long-dash-dot-dot" name="long-dash-dot-dot"></paper-item>
|
|
115
|
+
</paper-listbox>
|
|
116
|
+
</paper-dropdown-menu>
|
|
117
|
+
|
|
118
|
+
<label class="property-full-label">
|
|
119
|
+
<i18n-msg msgid="label.cap-type">cap type</i18n-msg>
|
|
120
|
+
</label>
|
|
121
|
+
<select class="property-full-input select-content" value-key="lineCap" .value=${lineCap}>
|
|
122
|
+
<option value="butt"><i18n-msg msgid="label.square">square</i18n-msg></option>
|
|
123
|
+
<option value="round"><i18n-msg msgid="label.round">round</i18n-msg></option>
|
|
124
|
+
</select>
|
|
125
|
+
|
|
126
|
+
<label class="property-full-label">
|
|
127
|
+
<i18n-msg msgid="label.join-type">join type</i18n-msg>
|
|
128
|
+
</label>
|
|
129
|
+
<select class="property-full-input select-content" value-key="lineJoin" .value=${lineJoin}>
|
|
130
|
+
<option value="miter"><i18n-msg msgid="label.miter">miter</i18n-msg></option>
|
|
131
|
+
<option value="round"><i18n-msg msgid="label.round">round</i18n-msg></option>
|
|
132
|
+
<option value="bevel"><i18n-msg msgid="label.bevel">bevel</i18n-msg></option>
|
|
133
|
+
</select>
|
|
134
|
+
|
|
135
|
+
${this._isLine(this.selected)
|
|
136
|
+
? html `
|
|
137
|
+
<label class="property-full-label">
|
|
138
|
+
<i18n-msg msgid="label.begin-type">begin type</i18n-msg>
|
|
139
|
+
</label>
|
|
140
|
+
<paper-dropdown-menu no-label-float="true" class="property-full-input arrow-type begin-no">
|
|
141
|
+
<!-- begin-no는 선택된 항목 보여주기위한 class로 하위 paper-item의 class와 동일하게 -->
|
|
142
|
+
<paper-listbox
|
|
143
|
+
value-key="begin"
|
|
144
|
+
@selected-changed=${(e) => this._onValueChange(e)}
|
|
145
|
+
slot="dropdown-content"
|
|
146
|
+
.selected=${begin}
|
|
147
|
+
attr-for-selected="name"
|
|
148
|
+
>
|
|
149
|
+
<paper-item class="begin-no" name="none"></paper-item>
|
|
150
|
+
<paper-item class="begin-arrow" name="arrow"></paper-item>
|
|
151
|
+
<paper-item class="begin-open-arrow" name="open-arrow"></paper-item>
|
|
152
|
+
<paper-item class="begin-stealth-arrow" name="sharp-arrow"></paper-item>
|
|
153
|
+
<paper-item class="begin-diamond-arrow" name="diamond"></paper-item>
|
|
154
|
+
<paper-item class="begin-oval-arrow" name="oval"></paper-item>
|
|
155
|
+
</paper-listbox>
|
|
156
|
+
</paper-dropdown-menu>
|
|
157
|
+
|
|
158
|
+
<label class="property-full-label">
|
|
159
|
+
<i18n-msg msgid="label.begin-size">begin size</i18n-msg>
|
|
160
|
+
</label>
|
|
161
|
+
<paper-dropdown-menu no-label-float="true" class="property-full-input arrow-type begin-size1">
|
|
162
|
+
<!-- begin-size1는 선택된 항목 보여주기위한 class로 하위 paper-item의 class와 동일하게 -->
|
|
163
|
+
<paper-listbox
|
|
164
|
+
value-key="beginSize"
|
|
165
|
+
@selected-changed=${(e) => this._onValueChange(e)}
|
|
166
|
+
slot="dropdown-content"
|
|
167
|
+
.selected=${beginSize}
|
|
168
|
+
attr-for-selected="name"
|
|
169
|
+
>
|
|
170
|
+
<paper-item class="begin-size1" name="size1"></paper-item>
|
|
171
|
+
<paper-item class="begin-size2" name="size2"></paper-item>
|
|
172
|
+
<paper-item class="begin-size3" name="size3"></paper-item>
|
|
173
|
+
<paper-item class="begin-size4" name="size4"></paper-item>
|
|
174
|
+
<paper-item class="begin-size5" name="size5"></paper-item>
|
|
175
|
+
<paper-item class="begin-size6" name="size6"></paper-item>
|
|
176
|
+
<paper-item class="begin-size7" name="size7"></paper-item>
|
|
177
|
+
<paper-item class="begin-size8" name="size8"></paper-item>
|
|
178
|
+
<paper-item class="begin-size9" name="size9"></paper-item>
|
|
179
|
+
</paper-listbox>
|
|
180
|
+
</paper-dropdown-menu>
|
|
181
|
+
|
|
182
|
+
<label class="property-full-label">
|
|
183
|
+
<i18n-msg msgid="label.end-type">end type</i18n-msg>
|
|
184
|
+
</label>
|
|
185
|
+
<paper-dropdown-menu no-label-float="true" class="property-full-input arrow-type end-no">
|
|
186
|
+
<!-- end-no는 선택된 항목 보여주기위한 class로 하위 paper-item의 class와 동일하게 -->
|
|
187
|
+
<paper-listbox
|
|
188
|
+
value-key="end"
|
|
189
|
+
@selected-changed=${(e) => this._onValueChange(e)}
|
|
190
|
+
slot="dropdown-content"
|
|
191
|
+
.selected=${end}
|
|
192
|
+
attr-for-selected="name"
|
|
193
|
+
>
|
|
194
|
+
<paper-item class="end-no" name="none"></paper-item>
|
|
195
|
+
<paper-item class="end-arrow" name="arrow"></paper-item>
|
|
196
|
+
<paper-item class="end-open-arrow" name="open-arrow"></paper-item>
|
|
197
|
+
<paper-item class="end-stealth-arrow" name="sharp-arrow"></paper-item>
|
|
198
|
+
<paper-item class="end-diamond-arrow" name="diamond"></paper-item>
|
|
199
|
+
<paper-item class="end-oval-arrow" name="oval"></paper-item>
|
|
200
|
+
</paper-listbox>
|
|
201
|
+
</paper-dropdown-menu>
|
|
202
|
+
|
|
203
|
+
<label class="property-full-label">
|
|
204
|
+
<i18n-msg msgid="label.end-size">end size</i18n-msg>
|
|
205
|
+
</label>
|
|
206
|
+
<paper-dropdown-menu no-label-float="true" class="property-full-input arrow-type end-size1">
|
|
207
|
+
<!-- end-size1는 선택된 항목 보여주기위한 class로 하위 paper-item의 class와 동일하게 -->
|
|
208
|
+
<paper-listbox
|
|
209
|
+
value-key="endSize"
|
|
210
|
+
@selected-changed=${(e) => this._onValueChange(e)}
|
|
211
|
+
slot="dropdown-content"
|
|
212
|
+
.selected=${endSize}
|
|
213
|
+
attr-for-selected="name"
|
|
214
|
+
>
|
|
215
|
+
<paper-item class="end-size1" name="size1"></paper-item>
|
|
216
|
+
<paper-item class="end-size2" name="size2"></paper-item>
|
|
217
|
+
<paper-item class="end-size3" name="size3"></paper-item>
|
|
218
|
+
<paper-item class="end-size4" name="size4"></paper-item>
|
|
219
|
+
<paper-item class="end-size5" name="size5"></paper-item>
|
|
220
|
+
<paper-item class="end-size6" name="size6"></paper-item>
|
|
221
|
+
<paper-item class="end-size7" name="size7"></paper-item>
|
|
222
|
+
<paper-item class="end-size8" name="size8"></paper-item>
|
|
223
|
+
<paper-item class="end-size9" name="size9"></paper-item>
|
|
224
|
+
</paper-listbox>
|
|
225
|
+
</paper-dropdown-menu>
|
|
226
|
+
`
|
|
227
|
+
: html ``}
|
|
228
|
+
</div>
|
|
229
|
+
</fieldset>
|
|
230
|
+
`;
|
|
231
|
+
}
|
|
232
|
+
_isLine(selected) {
|
|
233
|
+
var isLine = false;
|
|
234
|
+
for (var i = 0; i < selected.length; i++) {
|
|
235
|
+
var comp = selected[i];
|
|
236
|
+
if (!comp.isLine || !comp.isLine()) {
|
|
237
|
+
isLine = false;
|
|
238
|
+
return isLine;
|
|
239
|
+
}
|
|
240
|
+
isLine = true;
|
|
241
|
+
}
|
|
242
|
+
return isLine;
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
PropertyStyles.styles = [
|
|
246
|
+
PropertySharedStyle,
|
|
247
|
+
css `
|
|
248
|
+
paper-slider {
|
|
249
|
+
width: 100%;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.btn-group {
|
|
253
|
+
height: 24px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.btn-group paper-button {
|
|
257
|
+
width: 30px;
|
|
258
|
+
height: 24px;
|
|
259
|
+
min-width: initial;
|
|
260
|
+
margin: 0 4px 0 0;
|
|
261
|
+
padding: 0;
|
|
262
|
+
border-radius: 0;
|
|
263
|
+
display: inline-block;
|
|
264
|
+
border-bottom: 2px solid #fff;
|
|
265
|
+
|
|
266
|
+
background: url(/assets/images/icon-properties.png) no-repeat;
|
|
267
|
+
background-size: 70%;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.btn-group paper-button.tbold {
|
|
271
|
+
background-position: 50% -170px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.btn-group paper-button.titalic {
|
|
275
|
+
background-position: 50% -205px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.btn-group paper-button.tunderline {
|
|
279
|
+
background-position: 50% -240px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.btn-group paper-button.tstrikethrough {
|
|
283
|
+
background-position: 50% -415px;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.btn-group paper-button[active] {
|
|
287
|
+
border-color: #f2471c;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.line-type paper-listbox {
|
|
291
|
+
overflow: hidden;
|
|
292
|
+
max-width: 100px;
|
|
293
|
+
}
|
|
294
|
+
.line-type paper-item {
|
|
295
|
+
background: url(/assets/images/icon-properties-line-type.png) 50% 0 no-repeat;
|
|
296
|
+
min-height: 25px;
|
|
297
|
+
padding: 3px 9px;
|
|
298
|
+
width: 80px;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.line-type paper-item.solid {
|
|
302
|
+
background-position: 50% 10px;
|
|
303
|
+
}
|
|
304
|
+
.line-type paper-item.round-dot {
|
|
305
|
+
background-position: 50% -40px;
|
|
306
|
+
}
|
|
307
|
+
.line-type paper-item.square-dot {
|
|
308
|
+
background-position: 50% -90px;
|
|
309
|
+
}
|
|
310
|
+
.line-type paper-item.dash {
|
|
311
|
+
background-position: 50% -140px;
|
|
312
|
+
}
|
|
313
|
+
.line-type paper-item.dash-dot {
|
|
314
|
+
background-position: 50% -190px;
|
|
315
|
+
}
|
|
316
|
+
.line-type paper-item.long-dash {
|
|
317
|
+
background-position: 50% -240px;
|
|
318
|
+
}
|
|
319
|
+
.line-type paper-item.long-dash-dot {
|
|
320
|
+
background-position: 50% -290px;
|
|
321
|
+
}
|
|
322
|
+
.line-type paper-item.long-dash-dot-dot {
|
|
323
|
+
background-position: 50% -340px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.line-type .paper-input-container input {
|
|
327
|
+
background: url(/assets/images/icon-properties-line-type.png) 50% 0 no-repeat !important;
|
|
328
|
+
}
|
|
329
|
+
.line-type.solid .paper-input-container input {
|
|
330
|
+
background-position: 50% 5px !important;
|
|
331
|
+
}
|
|
332
|
+
.line-type.round-dot .paper-input-container input {
|
|
333
|
+
background-position: 50% -45px !important;
|
|
334
|
+
}
|
|
335
|
+
.line-type.square-dot .paper-input-container input {
|
|
336
|
+
background-position: 50% -85px !important;
|
|
337
|
+
}
|
|
338
|
+
.line-type.dash .paper-input-container input {
|
|
339
|
+
background-position: 50% -145px !important;
|
|
340
|
+
}
|
|
341
|
+
.line-type.dash-dot .paper-input-container input {
|
|
342
|
+
background-position: 50% -185px !important;
|
|
343
|
+
}
|
|
344
|
+
.line-type.long-dash .paper-input-container input {
|
|
345
|
+
background-position: 50% -245px !important;
|
|
346
|
+
}
|
|
347
|
+
.line-type.long-dash-dot .paper-input-container input {
|
|
348
|
+
background-position: 50% -285px !important;
|
|
349
|
+
}
|
|
350
|
+
.line-type.long-dash-dot-dot .paper-input-container input {
|
|
351
|
+
background-position: 50% -345px !important;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.arrow-type paper-menu {
|
|
355
|
+
overflow: hidden;
|
|
356
|
+
max-width: 140px;
|
|
357
|
+
}
|
|
358
|
+
.arrow-type paper-item {
|
|
359
|
+
background: url(/assets/images/icon-properties-arrow-type.png) 50% 0 no-repeat;
|
|
360
|
+
min-height: 30px;
|
|
361
|
+
padding: 3px 7px;
|
|
362
|
+
width: 30px;
|
|
363
|
+
float: left;
|
|
364
|
+
}
|
|
365
|
+
.arrow-type paper-item.begin-no {
|
|
366
|
+
background-position: 50% 16px;
|
|
367
|
+
}
|
|
368
|
+
.arrow-type paper-item.begin-arrow {
|
|
369
|
+
background-position: 50% -39px;
|
|
370
|
+
}
|
|
371
|
+
.arrow-type paper-item.begin-open-arrow {
|
|
372
|
+
background-position: 50% -89px;
|
|
373
|
+
}
|
|
374
|
+
.arrow-type paper-item.begin-stealth-arrow {
|
|
375
|
+
background-position: 50% -139px;
|
|
376
|
+
}
|
|
377
|
+
.arrow-type paper-item.begin-diamond-arrow {
|
|
378
|
+
background-position: 50% -190px;
|
|
379
|
+
}
|
|
380
|
+
.arrow-type paper-item.begin-oval-arrow {
|
|
381
|
+
background-position: 50% -238px;
|
|
382
|
+
}
|
|
383
|
+
.arrow-type paper-item.begin-size1 {
|
|
384
|
+
background-position: 50% -286px;
|
|
385
|
+
}
|
|
386
|
+
.arrow-type paper-item.begin-size2 {
|
|
387
|
+
background-position: 50% -336px;
|
|
388
|
+
}
|
|
389
|
+
.arrow-type paper-item.begin-size3 {
|
|
390
|
+
background-position: 50% -386px;
|
|
391
|
+
}
|
|
392
|
+
.arrow-type paper-item.begin-size4 {
|
|
393
|
+
background-position: 50% -436px;
|
|
394
|
+
}
|
|
395
|
+
.arrow-type paper-item.begin-size5 {
|
|
396
|
+
background-position: 50% -486px;
|
|
397
|
+
}
|
|
398
|
+
.arrow-type paper-item.begin-size6 {
|
|
399
|
+
background-position: 50% -536px;
|
|
400
|
+
}
|
|
401
|
+
.arrow-type paper-item.begin-size7 {
|
|
402
|
+
background-position: 50% -589px;
|
|
403
|
+
}
|
|
404
|
+
.arrow-type paper-item.begin-size8 {
|
|
405
|
+
background-position: 50% -639px;
|
|
406
|
+
}
|
|
407
|
+
.arrow-type paper-item.begin-size9 {
|
|
408
|
+
background-position: 50% -689px;
|
|
409
|
+
}
|
|
410
|
+
.arrow-type paper-item.end-no {
|
|
411
|
+
background-position: 50% 16px;
|
|
412
|
+
}
|
|
413
|
+
.arrow-type paper-item.end-arrow {
|
|
414
|
+
background-position: 50% -739px;
|
|
415
|
+
}
|
|
416
|
+
.arrow-type paper-item.end-open-arrow {
|
|
417
|
+
background-position: 50% -789px;
|
|
418
|
+
}
|
|
419
|
+
.arrow-type paper-item.end-stealth-arrow {
|
|
420
|
+
background-position: 50% -839px;
|
|
421
|
+
}
|
|
422
|
+
.arrow-type paper-item.end-diamond-arrow {
|
|
423
|
+
background-position: 50% -890px;
|
|
424
|
+
}
|
|
425
|
+
.arrow-type paper-item.end-oval-arrow {
|
|
426
|
+
background-position: 50% -938px;
|
|
427
|
+
}
|
|
428
|
+
.arrow-type paper-item.end-size1 {
|
|
429
|
+
background-position: 50% -986px;
|
|
430
|
+
}
|
|
431
|
+
.arrow-type paper-item.end-size2 {
|
|
432
|
+
background-position: 50% -1036px;
|
|
433
|
+
}
|
|
434
|
+
.arrow-type paper-item.end-size3 {
|
|
435
|
+
background-position: 50% -1086px;
|
|
436
|
+
}
|
|
437
|
+
.arrow-type paper-item.end-size4 {
|
|
438
|
+
background-position: 50% -1136px;
|
|
439
|
+
}
|
|
440
|
+
.arrow-type paper-item.end-size5 {
|
|
441
|
+
background-position: 50% -1186px;
|
|
442
|
+
}
|
|
443
|
+
.arrow-type paper-item.end-size6 {
|
|
444
|
+
background-position: 50% -1236px;
|
|
445
|
+
}
|
|
446
|
+
.arrow-type paper-item.end-size7 {
|
|
447
|
+
background-position: 50% -1289px;
|
|
448
|
+
}
|
|
449
|
+
.arrow-type paper-item.end-size8 {
|
|
450
|
+
background-position: 50% -1339px;
|
|
451
|
+
}
|
|
452
|
+
.arrow-type paper-item.end-size9 {
|
|
453
|
+
background-position: 50% -1389px;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.arrow-type .paper-input-container input {
|
|
457
|
+
background: url(/assets/images/icon-properties-arrow-type.png) 110% 0 no-repeat !important;
|
|
458
|
+
}
|
|
459
|
+
.arrow-type.begin-no .paper-input-container input {
|
|
460
|
+
background-position: 110% 5px !important;
|
|
461
|
+
}
|
|
462
|
+
.arrow-type.begin-arrow .paper-input-container input {
|
|
463
|
+
background-position: 110% -50px !important;
|
|
464
|
+
}
|
|
465
|
+
.arrow-type.begin-open-arrow .paper-input-container input {
|
|
466
|
+
background-position: 110% -100px !important;
|
|
467
|
+
}
|
|
468
|
+
.arrow-type.begin-stealth-arrow .paper-input-container input {
|
|
469
|
+
background-position: 110% -150px !important;
|
|
470
|
+
}
|
|
471
|
+
.arrow-type.begin-diamond-arrow .paper-input-container input {
|
|
472
|
+
background-position: 110% -200px !important;
|
|
473
|
+
}
|
|
474
|
+
.arrow-type.begin-oval-arrow .paper-input-container input {
|
|
475
|
+
background-position: 110% -250px !important;
|
|
476
|
+
}
|
|
477
|
+
.arrow-type.begin-size1 .paper-input-container input {
|
|
478
|
+
background-position: 110% -298px !important;
|
|
479
|
+
}
|
|
480
|
+
.arrow-type.begin-size2 .paper-input-container input {
|
|
481
|
+
background-position: 110% -348px !important;
|
|
482
|
+
}
|
|
483
|
+
.arrow-type.begin-size3 .paper-input-container input {
|
|
484
|
+
background-position: 110% -398px !important;
|
|
485
|
+
}
|
|
486
|
+
.arrow-type.begin-size4 .paper-input-container input {
|
|
487
|
+
background-position: 110% -448px !important;
|
|
488
|
+
}
|
|
489
|
+
.arrow-type.begin-size5 .paper-input-container input {
|
|
490
|
+
background-position: 110% -498px !important;
|
|
491
|
+
}
|
|
492
|
+
.arrow-type.begin-size6 .paper-input-container input {
|
|
493
|
+
background-position: 110% -548px !important;
|
|
494
|
+
}
|
|
495
|
+
.arrow-type.begin-size7 .paper-input-container input {
|
|
496
|
+
background-position: 110% -600px !important;
|
|
497
|
+
}
|
|
498
|
+
.arrow-type.begin-size8 .paper-input-container input {
|
|
499
|
+
background-position: 110% -650px !important;
|
|
500
|
+
}
|
|
501
|
+
.arrow-type.begin-size9 .paper-input-container input {
|
|
502
|
+
background-position: 110% -700px !important;
|
|
503
|
+
}
|
|
504
|
+
.arrow-type.end-no .paper-input-container input {
|
|
505
|
+
background-position: 110% 5px !important;
|
|
506
|
+
}
|
|
507
|
+
.arrow-type.end-arrow .paper-input-container input {
|
|
508
|
+
background-position: 110% -750px !important;
|
|
509
|
+
}
|
|
510
|
+
.arrow-type.end-open-arrow .paper-input-container input {
|
|
511
|
+
background-position: 110% -800px !important;
|
|
512
|
+
}
|
|
513
|
+
.arrow-type.end-stealth-arrow .paper-input-container input {
|
|
514
|
+
background-position: 110% -850px !important;
|
|
515
|
+
}
|
|
516
|
+
.arrow-type.end-diamond-arrow .paper-input-container input {
|
|
517
|
+
background-position: 110% -900px !important;
|
|
518
|
+
}
|
|
519
|
+
.arrow-type.end-oval-arrow .paper-input-container input {
|
|
520
|
+
background-position: 110% -950px !important;
|
|
521
|
+
}
|
|
522
|
+
.arrow-type.end-size1 .paper-input-container input {
|
|
523
|
+
background-position: 110% -998px !important;
|
|
524
|
+
}
|
|
525
|
+
.arrow-type.end-size2 .paper-input-container input {
|
|
526
|
+
background-position: 110% -1048px !important;
|
|
527
|
+
}
|
|
528
|
+
.arrow-type.end-size3 .paper-input-container input {
|
|
529
|
+
background-position: 110% -1098px !important;
|
|
530
|
+
}
|
|
531
|
+
.arrow-type.end-size4 .paper-input-container input {
|
|
532
|
+
background-position: 110% -1148px !important;
|
|
533
|
+
}
|
|
534
|
+
.arrow-type.end-size5 .paper-input-container input {
|
|
535
|
+
background-position: 110% -1198px !important;
|
|
536
|
+
}
|
|
537
|
+
.arrow-type.end-size6 .paper-input-container input {
|
|
538
|
+
background-position: 110% -1248px !important;
|
|
539
|
+
}
|
|
540
|
+
.arrow-type.end-size7 .paper-input-container input {
|
|
541
|
+
background-position: 110% -1300px !important;
|
|
542
|
+
}
|
|
543
|
+
.arrow-type.end-size8 .paper-input-container input {
|
|
544
|
+
background-position: 110% -1350px !important;
|
|
545
|
+
}
|
|
546
|
+
.arrow-type.end-size9 .paper-input-container input {
|
|
547
|
+
background-position: 110% -1400px !important;
|
|
548
|
+
}
|
|
549
|
+
`
|
|
550
|
+
];
|
|
551
|
+
__decorate([
|
|
552
|
+
property({ type: Object })
|
|
553
|
+
], PropertyStyles.prototype, "value", void 0);
|
|
554
|
+
__decorate([
|
|
555
|
+
property({ type: Array })
|
|
556
|
+
], PropertyStyles.prototype, "selected", void 0);
|
|
557
|
+
__decorate([
|
|
558
|
+
property({ type: Array })
|
|
559
|
+
], PropertyStyles.prototype, "fonts", void 0);
|
|
560
|
+
PropertyStyles = __decorate([
|
|
561
|
+
customElement('property-style')
|
|
562
|
+
], PropertyStyles);
|
|
563
|
+
//# sourceMappingURL=styles.js.map
|