@operato/app 1.22.0 → 1.22.2
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/CHANGELOG.md +18 -0
- package/dist/src/input/ox-input-background-pattern.d.ts +1 -0
- package/dist/src/input/ox-input-background-pattern.js +6 -1
- package/dist/src/input/ox-input-background-pattern.js.map +1 -1
- package/dist/src/input/ox-input-fill-style.d.ts +1 -0
- package/dist/src/input/ox-input-fill-style.js +5 -2
- package/dist/src/input/ox-input-fill-style.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/input/ox-input-background-pattern.ts +7 -1
- package/src/input/ox-input-fill-style.ts +4 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/app",
|
|
3
3
|
"description": "WebApplication production supporting components following open-wc recommendations",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "1.22.
|
|
5
|
+
"version": "1.22.2",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
7
7
|
"module": "dist/src/index.js",
|
|
8
8
|
"exports": {
|
|
@@ -194,5 +194,5 @@
|
|
|
194
194
|
"prettier --write"
|
|
195
195
|
]
|
|
196
196
|
},
|
|
197
|
-
"gitHead": "
|
|
197
|
+
"gitHead": "a2a59d2aeb1b44c18507600d59ac92210b825d7a"
|
|
198
198
|
}
|
|
@@ -20,6 +20,7 @@ export type BackgroundPatternOption = {
|
|
|
20
20
|
width?: number
|
|
21
21
|
height?: number
|
|
22
22
|
fitPattern?: boolean
|
|
23
|
+
guideOnly?: boolean
|
|
23
24
|
noRepeat?: boolean
|
|
24
25
|
}
|
|
25
26
|
|
|
@@ -170,6 +171,11 @@ export class OxInputBackgroundPattern extends OxFormField {
|
|
|
170
171
|
<input value-key="noRepeat" type="checkbox" .checked=${value.noRepeat} required />
|
|
171
172
|
<label> <ox-i18n msgid="label.no-repeat" auto="">no repeat</ox-i18n> </label>
|
|
172
173
|
</div>
|
|
174
|
+
|
|
175
|
+
<div class="grid-10">
|
|
176
|
+
<input value-key="guideOnly" type="checkbox" .checked=${value.guideOnly} required />
|
|
177
|
+
<label> <ox-i18n msgid="label.guide-only" auto="">guide only</ox-i18n> </label>
|
|
178
|
+
</div>
|
|
173
179
|
`
|
|
174
180
|
}
|
|
175
181
|
|
|
@@ -182,7 +188,7 @@ export class OxInputBackgroundPattern extends OxFormField {
|
|
|
182
188
|
var key = element.getAttribute('value-key')
|
|
183
189
|
var value: any = element.value
|
|
184
190
|
|
|
185
|
-
if (key === 'fitPattern' || key === 'noRepeat') {
|
|
191
|
+
if (key === 'fitPattern' || key === 'noRepeat' || key == 'guideOnly') {
|
|
186
192
|
value = element.checked
|
|
187
193
|
}
|
|
188
194
|
|
|
@@ -30,6 +30,7 @@ export type FillStyle =
|
|
|
30
30
|
align?: 'left-top' | 'top' | 'right-top' | 'left' | 'center' | 'right' | 'left-bottom' | 'bottom' | 'right-bottom'
|
|
31
31
|
fitPattern?: boolean
|
|
32
32
|
noRepeat?: boolean
|
|
33
|
+
guideOnly?: boolean
|
|
33
34
|
color?: string
|
|
34
35
|
}
|
|
35
36
|
| 'no'
|
|
@@ -220,6 +221,7 @@ export class OxInputColorStyle extends OxFormField {
|
|
|
220
221
|
align: value.align,
|
|
221
222
|
fitPattern: value.fitPattern,
|
|
222
223
|
noRepeat: value.noRepeat,
|
|
224
|
+
guideOnly: value.guideOnly,
|
|
223
225
|
color: value.color
|
|
224
226
|
}
|
|
225
227
|
|
|
@@ -291,6 +293,7 @@ export class OxInputColorStyle extends OxFormField {
|
|
|
291
293
|
align: this.pattern.align,
|
|
292
294
|
fitPattern: this.pattern.fitPattern,
|
|
293
295
|
noRepeat: this.pattern.noRepeat,
|
|
296
|
+
guideOnly: this.pattern.guideOnly,
|
|
294
297
|
color: this.pattern.color
|
|
295
298
|
}
|
|
296
299
|
break
|
|
@@ -368,6 +371,7 @@ export class OxInputColorStyle extends OxFormField {
|
|
|
368
371
|
align: this.pattern?.align,
|
|
369
372
|
fitPattern: this.pattern?.fitPattern,
|
|
370
373
|
noRepeat: this.pattern?.noRepeat,
|
|
374
|
+
guideOnly: this.pattern?.guideOnly,
|
|
371
375
|
color: this.pattern?.color
|
|
372
376
|
}
|
|
373
377
|
|