@pacem/pacem-scaffolding 2.0.0-cauchy → 2.0.0-davinci
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/dist/browser/pacem-scaffolding.js +70 -40
- package/dist/browser/pacem-scaffolding.js.map +1 -1
- package/dist/browser/pacem-scaffolding.min.js +2 -2
- package/dist/bundle/pacem-scaffolding.min.mjs +112 -109
- package/dist/bundle/pacem-scaffolding.mjs +70 -40
- package/dist/bundle/pacem-scaffolding.mjs.map +3 -3
- package/dist/esm/calendar-picker.js +2 -2
- package/dist/esm/char-counter.js +1 -1
- package/dist/esm/checkbox-list.js +4 -1
- package/dist/esm/checkbox.js +19 -8
- package/dist/esm/childform.js +3 -3
- package/dist/esm/contenteditable.js +4 -1
- package/dist/esm/datetime-picker.js +2 -2
- package/dist/esm/form.js +1 -1
- package/dist/esm/formfield.js +5 -4
- package/dist/esm/geolocate.js +1 -1
- package/dist/esm/hierarchy.js +1 -1
- package/dist/esm/index-components-scaffolding.js +1 -1
- package/dist/esm/index-components.js +1 -1
- package/dist/esm/index-iife.js +1 -1
- package/dist/esm/index-root.js +1 -1
- package/dist/esm/index-scaffolding.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-chars.js +4 -2
- package/dist/esm/input-color.js +2 -2
- package/dist/esm/input-email.js +2 -2
- package/dist/esm/input-file.js +5 -5
- package/dist/esm/input-hidden.js +1 -1
- package/dist/esm/input-image.js +1 -1
- package/dist/esm/input-number.js +2 -2
- package/dist/esm/input-password.js +2 -2
- package/dist/esm/input-search.js +2 -2
- package/dist/esm/input-tel.js +2 -2
- package/dist/esm/input-text.js +2 -2
- package/dist/esm/input-url.js +2 -2
- package/dist/esm/input.js +1 -1
- package/dist/esm/l10n.js +1 -1
- package/dist/esm/latlng.js +2 -2
- package/dist/esm/namevalue-list.js +1 -1
- package/dist/esm/property-picker.js +1 -1
- package/dist/esm/radio-list.js +4 -1
- package/dist/esm/radio.js +4 -3
- package/dist/esm/select.js +2 -2
- package/dist/esm/slider.js +7 -4
- package/dist/esm/snapshot.js +1 -1
- package/dist/esm/suggest.js +2 -2
- package/dist/esm/tags.js +4 -1
- package/dist/esm/textarea-markdown.js +2 -2
- package/dist/esm/textarea.js +2 -2
- package/dist/esm/types-components.js +2 -2
- package/dist/esm/types.js +1 -1
- package/dist/esm/validators.js +1 -1
- package/package.json +1 -1
- package/typings/index.d.ts +9 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @pacem/pacem-scaffolding v2.0.0-
|
|
2
|
+
* @pacem/pacem-scaffolding v2.0.0-davinci (https://js.pacem.it)
|
|
3
3
|
* Pacem (https://pacem.it)
|
|
4
4
|
* Licensed under Apache-2.0
|
|
5
5
|
*/
|
|
@@ -1267,7 +1267,7 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
1267
1267
|
this.focusHandler = (evt) => {
|
|
1268
1268
|
const focusFieldgroup = (add = true) => {
|
|
1269
1269
|
// TODO: re-think, since this is an ugly workaround just to properly set the outline and borders of the fieldgroup
|
|
1270
|
-
if (pacemCore.Utils.hasClass(this.parentElement,
|
|
1270
|
+
if (pacemCore.Utils.hasClass(this.parentElement, pacemCore.PCSS + '-fieldgroup')) {
|
|
1271
1271
|
(add ? pacemCore.Utils.addClass : pacemCore.Utils.removeClass).apply(this, [this.parentElement, pacemCore.PCSS + '-focus']);
|
|
1272
1272
|
}
|
|
1273
1273
|
};
|
|
@@ -2125,6 +2125,9 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
2125
2125
|
__decorate$G([
|
|
2126
2126
|
pacemCore.ViewChild("div[pacem]")
|
|
2127
2127
|
], PacemContenteditableElement.prototype, "_container", void 0);
|
|
2128
|
+
__decorate$G([
|
|
2129
|
+
pacemCore.ViewChild(`div.${pacemCore.PCSS}-contenteditable`, true)
|
|
2130
|
+
], PacemContenteditableElement.prototype, "_face", void 0);
|
|
2128
2131
|
__decorate$G([
|
|
2129
2132
|
pacemCore.ViewChild("div[dashboard]")
|
|
2130
2133
|
], PacemContenteditableElement.prototype, "_dashboard", void 0);
|
|
@@ -2184,7 +2187,7 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
2184
2187
|
__decorate$F([
|
|
2185
2188
|
pacemCore.Watch({ converter: pacemCore.PropertyConverters.Boolean })
|
|
2186
2189
|
], PacemContenteditableButtonCommandElement.prototype, "active", void 0);
|
|
2187
|
-
const CONTENTELEMENT_BUTTONCOMMAND_TEMPLATE = `<${pacemCore.P}-button disabled="{{ !:host.active }}" css-class="{{ {'text-primary': :host.isRelevant(:host.range)} }}" tooltip="{{ :host.getTooltip(:host.altText, :host.keyboardShortcut) }}" class="button" on-click=":host.execCommand()"><${pacemCore.P}-icon class="text-rootsize" icon="{{ :host.icon }}"></${pacemCore.P}-icon></${pacemCore.P}-button>
|
|
2190
|
+
const CONTENTELEMENT_BUTTONCOMMAND_TEMPLATE = `<${pacemCore.P}-button disabled="{{ !:host.active }}" css-class="{{ {'text-primary': :host.isRelevant(:host.range), 'content-primary': :host.isRelevant(:host.range)} }}" tooltip="{{ :host.getTooltip(:host.altText, :host.keyboardShortcut) }}" class="button content-interactive" on-click=":host.execCommand()"><${pacemCore.P}-icon class="text-rootsize" icon="{{ :host.icon }}"></${pacemCore.P}-icon></${pacemCore.P}-button>
|
|
2188
2191
|
<${pacemCore.P}-shortcut disabled="{{ !:host.active }}" target="{{ :host.contentElement }}" combination="{{ :host.keyboardShortcut }}" on-execute=":host.execCommand()"></${pacemCore.P}-shortcut>`;
|
|
2189
2192
|
//}
|
|
2190
2193
|
|
|
@@ -3653,7 +3656,7 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
3653
3656
|
}
|
|
3654
3657
|
};
|
|
3655
3658
|
__decorate$x([
|
|
3656
|
-
pacemCore.ViewChild("input[type=text]")
|
|
3659
|
+
pacemCore.ViewChild("input[type=text]", true)
|
|
3657
3660
|
], PacemCalendarPickerElement.prototype, "_input", void 0);
|
|
3658
3661
|
__decorate$x([
|
|
3659
3662
|
pacemCore.ViewChild(`.${pacemCore.PCSS}-readonly`)
|
|
@@ -3736,8 +3739,9 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
3736
3739
|
super('checkbox');
|
|
3737
3740
|
/** Gets or sets the label displayed next to the checkbox (and used as the read-only view value when checked). */
|
|
3738
3741
|
this.caption = '';
|
|
3739
|
-
this
|
|
3742
|
+
this.#key = '_' + pacemCore.Utils.uniqueCode();
|
|
3740
3743
|
}
|
|
3744
|
+
#key;
|
|
3741
3745
|
convertValueAttributeToProperty(attr) {
|
|
3742
3746
|
StringOrBooleanPropertyConverter.convert(attr) === this.trueValue ? this.trueValue : this.falseValue;
|
|
3743
3747
|
}
|
|
@@ -3749,13 +3753,13 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
3749
3753
|
return [this._checkbox];
|
|
3750
3754
|
}
|
|
3751
3755
|
onChange(evt) {
|
|
3752
|
-
this.selected = this._checkbox.checked;
|
|
3753
|
-
const value = this.value =
|
|
3756
|
+
const selected = this.selected = this._checkbox.checked;
|
|
3757
|
+
const value = this.value = selected ? this.trueValue : this.falseValue;
|
|
3754
3758
|
return pacemCore.Utils.fromResult(value);
|
|
3755
3759
|
}
|
|
3756
3760
|
viewActivatedCallback() {
|
|
3757
3761
|
super.viewActivatedCallback();
|
|
3758
|
-
this._checkbox.id = this._label.htmlFor = this
|
|
3762
|
+
this._checkbox.id = this._label.htmlFor = this.#key;
|
|
3759
3763
|
this._synchronizeUi();
|
|
3760
3764
|
if (this.value /* weak equality to deal with declarative values and conversions */ == this.trueValue)
|
|
3761
3765
|
this.selected = true;
|
|
@@ -3805,8 +3809,14 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
3805
3809
|
pacemCore.ViewChild("input[type=checkbox]")
|
|
3806
3810
|
], PacemCheckboxElement.prototype, "_checkbox", void 0);
|
|
3807
3811
|
__decorate$w([
|
|
3808
|
-
pacemCore.ViewChild("label")
|
|
3812
|
+
pacemCore.ViewChild("label", true, false)
|
|
3809
3813
|
], PacemCheckboxElement.prototype, "_label", void 0);
|
|
3814
|
+
__decorate$w([
|
|
3815
|
+
pacemCore.ViewChild('div[before]', false, true)
|
|
3816
|
+
], PacemCheckboxElement.prototype, "_before", void 0);
|
|
3817
|
+
__decorate$w([
|
|
3818
|
+
pacemCore.ViewChild('div[after]', false, true)
|
|
3819
|
+
], PacemCheckboxElement.prototype, "_after", void 0);
|
|
3810
3820
|
__decorate$w([
|
|
3811
3821
|
pacemCore.ViewChild(`.${pacemCore.PCSS}-readonly`)
|
|
3812
3822
|
], PacemCheckboxElement.prototype, "span", void 0);
|
|
@@ -3826,8 +3836,12 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
3826
3836
|
pacemCore.CustomElement({
|
|
3827
3837
|
tagName: pacemCore.P + '-checkbox',
|
|
3828
3838
|
template: `<${pacemCore.P}-span class="${pacemCore.PCSS}-readonly ${pacemCore.PCSS}-checkbox" text="{{ :host.caption }}"></${pacemCore.P}-span>
|
|
3829
|
-
<input type="checkbox" class="${pacemCore.PCSS}-input" /><label class="${pacemCore.PCSS}-label ${pacemCore.PCSS}-checkbox ${pacemCore.PCSS}-viewfinder" pacem
|
|
3830
|
-
|
|
3839
|
+
<input type="checkbox" class="${pacemCore.PCSS}-input" /><label class="${pacemCore.PCSS}-label ${pacemCore.PCSS}-checkbox ${pacemCore.PCSS}-viewfinder" pacem>
|
|
3840
|
+
<div before></div>
|
|
3841
|
+
<div after></div>
|
|
3842
|
+
<${pacemCore.P}-span content="{{ :host.caption }}"></${pacemCore.P}-span></label>`,
|
|
3843
|
+
shadow: pacemCore.Defaults.USE_SHADOW_ROOT,
|
|
3844
|
+
modifiers: ['togglable', 'focusable']
|
|
3831
3845
|
})
|
|
3832
3846
|
], PacemCheckboxElement);
|
|
3833
3847
|
|
|
@@ -3890,6 +3904,9 @@ disabled="{{ (#${uid}.suddenValidation && (!(#${uid}.valid && #${uid}.dirty))) |
|
|
|
3890
3904
|
__decorate$v([
|
|
3891
3905
|
pacemCore.ViewChild(pacemCore.P + '-data')
|
|
3892
3906
|
], PacemCheckboxListElement.prototype, "_disable", void 0);
|
|
3907
|
+
__decorate$v([
|
|
3908
|
+
pacemCore.ViewChild(`ol.${pacemCore.PCSS}-viewfinder`, true)
|
|
3909
|
+
], PacemCheckboxListElement.prototype, "_face", void 0);
|
|
3893
3910
|
PacemCheckboxListElement = __decorate$v([
|
|
3894
3911
|
pacemCore.CustomElement({
|
|
3895
3912
|
tagName: pacemCore.P + '-checkbox-list', template: `<${pacemCore.P}-repeater datasource="{{ :host.adaptedDatasource }}">
|
|
@@ -4123,11 +4140,11 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
4123
4140
|
<${pacemCore.P}-panel class="childform-item-handle ${pacemCore.PCSS}-margin margin-right-1" hide="{{ :host.lockItems || :host.readonly || :host.mode !== 'array' || !(:host._model && :host._model.length > 1) }}"><i class="${pacemCore.PCSS}-icon drag-handle">drag_handle</i></${pacemCore.P}-panel>
|
|
4124
4141
|
<${pacemCore.P}-panel class="childform-item-index text-small"><${pacemCore.P}-span hide="{{ !:host.readonly || :host.mode !== 'array' }}" class="${pacemCore.PCSS}-margin margin-right-1" text="{{ ^index+1 }}"></${pacemCore.P}-span></${pacemCore.P}-panel>
|
|
4125
4142
|
<${pacemCore.P}-form entity="{{ ^item }}" fetch-headers="{{ :host.fetchHeaders }}" fetch-credentials="{{ :host.fetchCredentials }}" on-${pacemCore.PropertyChangeEventName}=":host._itemChange(^index, $event)" readonly="{{ :host.readonly }}" metadata="{{ :host.metadata }}" autogenerate="true" logger="{{ :host.logger }}"></${pacemCore.P}-form>
|
|
4126
|
-
<${pacemCore.P}-button tab-order="-1" class="flat circular circle-small clear ${pacemCore.PCSS}-margin margin-left-1" hide="{{ :host.lockItems || :host.readonly }}" command-name="delete" command-argument="{{ ^index }}"></${pacemCore.P}-button>
|
|
4143
|
+
<${pacemCore.P}-button tab-order="-1" class="flat circular circle-small clear shape-circle ${pacemCore.PCSS}-margin margin-left-1" hide="{{ :host.lockItems || :host.readonly }}" command-name="delete" command-argument="{{ ^index }}"></${pacemCore.P}-button>
|
|
4127
4144
|
</${pacemCore.P}-panel>
|
|
4128
4145
|
</template>
|
|
4129
4146
|
</div>
|
|
4130
|
-
<${pacemCore.P}-button tab-order="-1" class="flat circular circle-small add" hide="{{ :host.lockItems || :host.readonly || !(:host.mode === 'array' || $pacem.isNullOrEmpty(:host._model)) }}" on-click=":host._addItem($event)"></${pacemCore.P}-button>
|
|
4147
|
+
<${pacemCore.P}-button tab-order="-1" class="flat circular circle-small add shape-circle" hide="{{ :host.lockItems || :host.readonly || !(:host.mode === 'array' || $pacem.isNullOrEmpty(:host._model)) }}" on-click=":host._addItem($event)"></${pacemCore.P}-button>
|
|
4131
4148
|
</${pacemCore.P}-repeater>
|
|
4132
4149
|
<div class="${pacemCore.PCSS}-childform-item-floater ${pacemCore.PCSS}-panel panel-border">
|
|
4133
4150
|
<div class="corner top-left"></div><div class="corner top-right"></div><div class="corner bottom-left"></div><div class="corner bottom-right"></div>
|
|
@@ -4365,7 +4382,7 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
4365
4382
|
pacemCore.ViewChild('.' + pacemCore.PCSS + '-datetime-picker-seconds > ' + pacemCore.P + '-select')
|
|
4366
4383
|
], PacemDatetimePickerElement.prototype, "_secel", void 0);
|
|
4367
4384
|
__decorate$t([
|
|
4368
|
-
pacemCore.ViewChild(`div.${pacemCore.PCSS}-datetime-picker-fields
|
|
4385
|
+
pacemCore.ViewChild(`div.${pacemCore.PCSS}-datetime-picker-fields`, true)
|
|
4369
4386
|
], PacemDatetimePickerElement.prototype, "_allFields", void 0);
|
|
4370
4387
|
__decorate$t([
|
|
4371
4388
|
pacemCore.Watch({ converter: pacemCore.PropertyConverters.Datetime })
|
|
@@ -5898,7 +5915,7 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
5898
5915
|
}
|
|
5899
5916
|
};
|
|
5900
5917
|
__decorate$r([
|
|
5901
|
-
pacemCore.ViewChild('label')
|
|
5918
|
+
pacemCore.ViewChild('label', false, true)
|
|
5902
5919
|
], PacemFormFieldElement.prototype, "_label", void 0);
|
|
5903
5920
|
__decorate$r([
|
|
5904
5921
|
pacemCore.ViewChild(`div.${pacemCore.PCSS}-input-container`)
|
|
@@ -5907,7 +5924,7 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
5907
5924
|
pacemCore.ViewChild(pacemCore.P + '-fetch')
|
|
5908
5925
|
], PacemFormFieldElement.prototype, "_fetcher", void 0);
|
|
5909
5926
|
__decorate$r([
|
|
5910
|
-
pacemCore.ViewChild(pacemCore.P + '-form')
|
|
5927
|
+
pacemCore.ViewChild(pacemCore.P + '-form', true, false)
|
|
5911
5928
|
], PacemFormFieldElement.prototype, "_form", void 0);
|
|
5912
5929
|
__decorate$r([
|
|
5913
5930
|
pacemCore.ViewChild(pacemCore.P + '-panel.' + pacemCore.PCSS + '-validators')
|
|
@@ -5936,7 +5953,8 @@ css-class="{{ {'${pacemCore.PCSS}-fetching': ::_fetcher.fetching, '${pacemCore.P
|
|
|
5936
5953
|
<${pacemCore.P}-fetch debounce="300" logger="{{ :host.logger }}" credentials="{{ :host.fetchCredentials }}" headers="{{ :host.fetchHeaders }}" diff-by-values="true"
|
|
5937
5954
|
on-fetchresult=":host._broadcastFetchResult($event.detail)"></${pacemCore.P}-fetch>
|
|
5938
5955
|
<${pacemCore.P}-panel class="${pacemCore.PCSS}-validators" hide="{{ ::_form.valid || !::_form.dirty || :host.readonly }}"></${pacemCore.P}-panel>
|
|
5939
|
-
</${pacemCore.P}-form
|
|
5956
|
+
</${pacemCore.P}-form>`,
|
|
5957
|
+
modifiers: ['focusable']
|
|
5940
5958
|
})
|
|
5941
5959
|
], PacemFormFieldElement);
|
|
5942
5960
|
|
|
@@ -7135,7 +7153,9 @@ css-class="{{ {'${pacemCore.PCSS}-fetching': ::_fetcher.fetching, '${pacemCore.P
|
|
|
7135
7153
|
template: `<${pacemCore.P}-repeater class="display-flex flex-nowrap">
|
|
7136
7154
|
<template><input type="text" class="${pacemCore.PCSS}-input flex-auto" maxlength="1" /></template>
|
|
7137
7155
|
</${pacemCore.P}-repeater><span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-text text="{{ :host.viewValue }}"></${pacemCore.P}-text></span>`,
|
|
7138
|
-
shadow: pacemCore.Defaults.USE_SHADOW_ROOT
|
|
7156
|
+
shadow: pacemCore.Defaults.USE_SHADOW_ROOT,
|
|
7157
|
+
// (its faces, the inputs of the repeater, are known to its surface kind: no face declared here)
|
|
7158
|
+
modifiers: ['focusable']
|
|
7139
7159
|
})
|
|
7140
7160
|
], PacemCharsInputElement);
|
|
7141
7161
|
|
|
@@ -7201,7 +7221,7 @@ css-class="{{ {'${pacemCore.PCSS}-fetching': ::_fetcher.fetching, '${pacemCore.P
|
|
|
7201
7221
|
pacemCore.ViewChild('input[type=number]')
|
|
7202
7222
|
], PacemColorInputElement.prototype, "_alpha", void 0);
|
|
7203
7223
|
__decorate$m([
|
|
7204
|
-
pacemCore.ViewChild(`.${pacemCore.PCSS}-viewfinder
|
|
7224
|
+
pacemCore.ViewChild(`.${pacemCore.PCSS}-viewfinder`, true)
|
|
7205
7225
|
], PacemColorInputElement.prototype, "_wrapper", void 0);
|
|
7206
7226
|
__decorate$m([
|
|
7207
7227
|
pacemCore.ViewChild(`.${pacemCore.PCSS}-readonly`)
|
|
@@ -7240,7 +7260,7 @@ css-class="{{ {'${pacemCore.PCSS}-fetching': ::_fetcher.fetching, '${pacemCore.P
|
|
|
7240
7260
|
}
|
|
7241
7261
|
};
|
|
7242
7262
|
__decorate$l([
|
|
7243
|
-
pacemCore.ViewChild('input[type=email]')
|
|
7263
|
+
pacemCore.ViewChild('input[type=email]', true)
|
|
7244
7264
|
], PacemEmailInputElement.prototype, "_input", void 0);
|
|
7245
7265
|
__decorate$l([
|
|
7246
7266
|
pacemCore.ViewChild(pacemCore.P + '-a')
|
|
@@ -7932,16 +7952,16 @@ css-class="{{ {'${pacemCore.PCSS}-fetching': ::_fetcher.fetching, '${pacemCore.P
|
|
|
7932
7952
|
on-click=":host._clickHandler($event)"
|
|
7933
7953
|
on-mouseover="$this.iconGlyph = :host._getMimeIcon(:host.readonly ? :host.value : '', :host.uploading, :host.selectMode)"
|
|
7934
7954
|
on-mouseout="$this.iconGlyph = :host._getMimeIcon(:host.value, :host.uploading, :host.selectMode)"
|
|
7935
|
-
css-class="{{ {'${pacemCore.PCSS}-anim anim-rotate': :host.uploading, 'button-error': :host.invalidFile, 'button-primary': $pacem.isNullOrEmpty(:host.value) && !:host.invalidFile, 'button-success': !Pacem.Utils.isNullOrEmpty(:host.value) && !:host.invalidFile } }}">
|
|
7955
|
+
css-class="{{ {'${pacemCore.PCSS}-anim anim-rotate': :host.uploading, 'button-error fill-error': :host.invalidFile, 'button-primary fill-primary': $pacem.isNullOrEmpty(:host.value) && !:host.invalidFile, 'button-success fill-success': !Pacem.Utils.isNullOrEmpty(:host.value) && !:host.invalidFile } }}">
|
|
7936
7956
|
<input type="file" class="${pacemCore.PCSS}-transparent ${pacemCore.PCSS}-clickable pos-absolute absolute-left absolute-right absolute-top absolute-bottom" />
|
|
7937
7957
|
</${pacemCore.P}-button>
|
|
7938
7958
|
</${pacemCore.P}-panel>
|
|
7939
7959
|
<${pacemCore.P}-panel class="upload-button" hide="{{ !:host.failed }}">
|
|
7940
|
-
<${pacemCore.P}-button class="button-circle button-flat" icon-glyph="refresh"
|
|
7960
|
+
<${pacemCore.P}-button class="button-circle button-flat fill-none" icon-glyph="refresh"
|
|
7941
7961
|
tooltip="{{ :host.retryCaption }}" on-click=":host._retry($event)"><${pacemCore.P}-text text="{{ :host.retryCaption }}"></${pacemCore.P}-text></${pacemCore.P}-button>
|
|
7942
7962
|
</${pacemCore.P}-panel>
|
|
7943
7963
|
<${pacemCore.P}-panel class="upload-button" hide="{{ !:host.uploading || $pacem.isNullOrEmpty(:host.url) }}">
|
|
7944
|
-
<${pacemCore.P}-button class="button-circle button-flat" icon-glyph="clear" tooltip="{{ :host.undoCaption }}"
|
|
7964
|
+
<${pacemCore.P}-button class="button-circle button-flat fill-none" icon-glyph="clear" tooltip="{{ :host.undoCaption }}"
|
|
7945
7965
|
on-click=":host._undo($event)"><${pacemCore.P}-text text="{{ :host.undoCaption }}"></${pacemCore.P}-text></${pacemCore.P}-button>
|
|
7946
7966
|
</${pacemCore.P}-panel>
|
|
7947
7967
|
|
|
@@ -7952,7 +7972,7 @@ css-class="{{ {'${pacemCore.PCSS}-fetching': ::_fetcher.fetching, '${pacemCore.P
|
|
|
7952
7972
|
<${pacemCore.P}-tuner value="{{ :host.percentage }}" css-class="{{ {'tuner-success': !:host.invalidFile, 'tuner-error': :host.invalidFile} }}" interactive="false"></${pacemCore.P}-tuner>
|
|
7953
7973
|
</${pacemCore.P}-panel>
|
|
7954
7974
|
|
|
7955
|
-
<${pacemCore.P}-button class="button-circle button-flat clear-button" icon-glyph="clear" hide="{{ $pacem.isNullOrEmpty(:host.value) || :host.uploading }}" tooltip="{{ :host.clearCaption }}" on-click=":host._clear($event)"></${pacemCore.P}-button>
|
|
7975
|
+
<${pacemCore.P}-button class="button-circle button-flat clear-button fill-none" icon-glyph="clear" hide="{{ $pacem.isNullOrEmpty(:host.value) || :host.uploading }}" tooltip="{{ :host.clearCaption }}" on-click=":host._clear($event)"></${pacemCore.P}-button>
|
|
7956
7976
|
|
|
7957
7977
|
</${pacemCore.P}-button>`
|
|
7958
7978
|
})
|
|
@@ -8755,7 +8775,7 @@ css-class="{{ {
|
|
|
8755
8775
|
}
|
|
8756
8776
|
};
|
|
8757
8777
|
__decorate$g([
|
|
8758
|
-
pacemCore.ViewChild('input[type=number]')
|
|
8778
|
+
pacemCore.ViewChild('input[type=number]', true)
|
|
8759
8779
|
], PacemNumberInputElement.prototype, "_input", void 0);
|
|
8760
8780
|
__decorate$g([
|
|
8761
8781
|
pacemCore.ViewChild(`span.${pacemCore.PCSS}-readonly`)
|
|
@@ -8824,7 +8844,7 @@ css-class="{{ {
|
|
|
8824
8844
|
}
|
|
8825
8845
|
};
|
|
8826
8846
|
__decorate$f([
|
|
8827
|
-
pacemCore.ViewChild('input[type=password]')
|
|
8847
|
+
pacemCore.ViewChild('input[type=password]', true)
|
|
8828
8848
|
], PacemPasswordInputElement.prototype, "_input", void 0);
|
|
8829
8849
|
__decorate$f([
|
|
8830
8850
|
pacemCore.ViewChild(`span.${pacemCore.PCSS}-readonly`)
|
|
@@ -8861,7 +8881,7 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
8861
8881
|
}
|
|
8862
8882
|
};
|
|
8863
8883
|
__decorate$e([
|
|
8864
|
-
pacemCore.ViewChild('input[type=search]')
|
|
8884
|
+
pacemCore.ViewChild('input[type=search]', true)
|
|
8865
8885
|
], PacemSearchInputElement.prototype, "_input", void 0);
|
|
8866
8886
|
PacemSearchInputElement = __decorate$e([
|
|
8867
8887
|
pacemCore.CustomElement({ tagName: pacemCore.P + '-input-search', template: '<input type="search" class="' + pacemCore.PCSS + '-input" />', shadow: pacemCore.Defaults.USE_SHADOW_ROOT })
|
|
@@ -8893,7 +8913,7 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
8893
8913
|
}
|
|
8894
8914
|
};
|
|
8895
8915
|
__decorate$d([
|
|
8896
|
-
pacemCore.ViewChild('input[type=tel]')
|
|
8916
|
+
pacemCore.ViewChild('input[type=tel]', true)
|
|
8897
8917
|
], PacemTelInputElement.prototype, "_input", void 0);
|
|
8898
8918
|
__decorate$d([
|
|
8899
8919
|
pacemCore.ViewChild(pacemCore.P + '-a')
|
|
@@ -8925,7 +8945,7 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
8925
8945
|
}
|
|
8926
8946
|
};
|
|
8927
8947
|
__decorate$c([
|
|
8928
|
-
pacemCore.ViewChild('input[type=text]')
|
|
8948
|
+
pacemCore.ViewChild('input[type=text]', true)
|
|
8929
8949
|
], PacemTextInputElement.prototype, "_input", void 0);
|
|
8930
8950
|
__decorate$c([
|
|
8931
8951
|
pacemCore.ViewChild('span.' + pacemCore.PCSS + '-readonly')
|
|
@@ -8964,7 +8984,7 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
8964
8984
|
}
|
|
8965
8985
|
};
|
|
8966
8986
|
__decorate$b([
|
|
8967
|
-
pacemCore.ViewChild('input[type=url]')
|
|
8987
|
+
pacemCore.ViewChild('input[type=url]', true)
|
|
8968
8988
|
], PacemUrlInputElement.prototype, "_input", void 0);
|
|
8969
8989
|
__decorate$b([
|
|
8970
8990
|
pacemCore.ViewChild(pacemCore.P + '-a')
|
|
@@ -9107,7 +9127,7 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
9107
9127
|
pacemCore.ViewChild(pacemCore.P + '-input-number:nth-child(2)')
|
|
9108
9128
|
], PacemLatLngElement.prototype, "_lngInput", void 0);
|
|
9109
9129
|
__decorate$a([
|
|
9110
|
-
pacemCore.ViewChild(`.${pacemCore.PCSS}-latlng-fields
|
|
9130
|
+
pacemCore.ViewChild(`.${pacemCore.PCSS}-latlng-fields`, true)
|
|
9111
9131
|
], PacemLatLngElement.prototype, "_inputContainer", void 0);
|
|
9112
9132
|
__decorate$a([
|
|
9113
9133
|
pacemCore.ViewChild(pacemCore.P + '-fetch')
|
|
@@ -9431,7 +9451,7 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
9431
9451
|
pacemCore.ViewChild("input[type=radio]")
|
|
9432
9452
|
], PacemRadioElement.prototype, "_radio", void 0);
|
|
9433
9453
|
__decorate$7([
|
|
9434
|
-
pacemCore.ViewChild("label")
|
|
9454
|
+
pacemCore.ViewChild("label", true)
|
|
9435
9455
|
], PacemRadioElement.prototype, "_label", void 0);
|
|
9436
9456
|
__decorate$7([
|
|
9437
9457
|
pacemCore.ViewChild(`.${pacemCore.PCSS}-readonly`)
|
|
@@ -9446,7 +9466,8 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
9446
9466
|
pacemCore.CustomElement({
|
|
9447
9467
|
tagName: pacemCore.P + '-radio',
|
|
9448
9468
|
template: `<${pacemCore.P}-span class="${pacemCore.PCSS}-readonly ${pacemCore.PCSS}-radio" text="{{ :host.caption }}"></${pacemCore.P}-span><input type="radio" class="${pacemCore.PCSS}-input" /><label class="${pacemCore.PCSS}-label ${pacemCore.PCSS}-radio ${pacemCore.PCSS}-viewfinder"><${pacemCore.P}-text text="{{ :host.caption }}"></${pacemCore.P}-text></label>`,
|
|
9449
|
-
shadow: pacemCore.Defaults.USE_SHADOW_ROOT
|
|
9469
|
+
shadow: pacemCore.Defaults.USE_SHADOW_ROOT,
|
|
9470
|
+
modifiers: ['togglable', 'focusable']
|
|
9450
9471
|
})
|
|
9451
9472
|
], PacemRadioElement);
|
|
9452
9473
|
|
|
@@ -9501,6 +9522,9 @@ ${CHAR_COUNTER_CHILD}<span class="${pacemCore.PCSS}-readonly"><${pacemCore.P}-te
|
|
|
9501
9522
|
__decorate$6([
|
|
9502
9523
|
pacemCore.ViewChild(pacemCore.P + '-data')
|
|
9503
9524
|
], PacemRadioListElement.prototype, "_disable", void 0);
|
|
9525
|
+
__decorate$6([
|
|
9526
|
+
pacemCore.ViewChild(`ol.${pacemCore.PCSS}-viewfinder`, true)
|
|
9527
|
+
], PacemRadioListElement.prototype, "_face", void 0);
|
|
9504
9528
|
__decorate$6([
|
|
9505
9529
|
pacemCore.ViewChild(`span.${pacemCore.PCSS}-readonly`)
|
|
9506
9530
|
], PacemRadioListElement.prototype, "_span", void 0);
|
|
@@ -9624,7 +9648,7 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
9624
9648
|
}
|
|
9625
9649
|
};
|
|
9626
9650
|
__decorate$5([
|
|
9627
|
-
pacemCore.ViewChild('select')
|
|
9651
|
+
pacemCore.ViewChild('select', true)
|
|
9628
9652
|
], PacemSelectElement.prototype, "_select", void 0);
|
|
9629
9653
|
__decorate$5([
|
|
9630
9654
|
pacemCore.ViewChild(pacemCore.P + '-repeater')
|
|
@@ -9890,11 +9914,14 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
9890
9914
|
__decorate$4([
|
|
9891
9915
|
pacemCore.Watch({ emit: false, converter: pacemCore.PropertyConverters.Json })
|
|
9892
9916
|
], PacemSliderElement.prototype, "format", void 0);
|
|
9917
|
+
__decorate$4([
|
|
9918
|
+
pacemCore.ViewChild(`div.${pacemCore.PCSS}-slider`, true, false)
|
|
9919
|
+
], PacemSliderElement.prototype, "_face", void 0);
|
|
9893
9920
|
__decorate$4([
|
|
9894
9921
|
pacemCore.ViewChild(`.slider-track`)
|
|
9895
9922
|
], PacemSliderElement.prototype, "_track", void 0);
|
|
9896
9923
|
__decorate$4([
|
|
9897
|
-
pacemCore.ViewChild(`.slider-progress
|
|
9924
|
+
pacemCore.ViewChild(`.slider-progress`, false, true)
|
|
9898
9925
|
], PacemSliderElement.prototype, "_progress", void 0);
|
|
9899
9926
|
__decorate$4([
|
|
9900
9927
|
pacemCore.ViewChild(`.slider-thumb`)
|
|
@@ -9916,8 +9943,8 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
9916
9943
|
tagName: pacemCore.P + '-slider',
|
|
9917
9944
|
template: `<div class="${pacemCore.PCSS}-viewfinder ${pacemCore.PCSS}-slider"><${pacemCore.P}-text text="{{ :host._format(:host.min) }}" min></${pacemCore.P}-text>
|
|
9918
9945
|
<div class="slider-track"><div class="slider-progress"></div></div>
|
|
9919
|
-
<${pacemCore.P}-panel class="${pacemCore.PCSS}-clickable slider-thumb" behaviors="{{ [::_dragger] }}">
|
|
9920
|
-
<div class="thumb-label"></div>
|
|
9946
|
+
<${pacemCore.P}-panel class="${pacemCore.PCSS}-clickable slider-thumb" behaviors="{{ [::_dragger] }}" surface-modifier="hoverable pressable">
|
|
9947
|
+
<div class="thumb-label" surface-face surface-content></div>
|
|
9921
9948
|
</${pacemCore.P}-panel>
|
|
9922
9949
|
<${pacemCore.P}-text text="{{ :host._format(:host.max) }}" max></${pacemCore.P}-text>
|
|
9923
9950
|
<div class="slider-footer"><${pacemCore.P}-text text="{{ :host.viewValue }}"></${pacemCore.P}-text></div>
|
|
@@ -10408,7 +10435,7 @@ on-${pacemCore.PropertyChangeEventName}=":host._selectionChanged($event, ^index,
|
|
|
10408
10435
|
}
|
|
10409
10436
|
};
|
|
10410
10437
|
__decorate$3([
|
|
10411
|
-
pacemCore.ViewChild('input[type=text]')
|
|
10438
|
+
pacemCore.ViewChild('input[type=text]', true)
|
|
10412
10439
|
], PacemSuggestElement.prototype, "_input", void 0);
|
|
10413
10440
|
__decorate$3([
|
|
10414
10441
|
pacemCore.ViewChild(pacemCore.P + '-repeater')
|
|
@@ -10625,6 +10652,9 @@ class="button-flat icon-rotate ${pacemCore.PCSS}-anim anim-pop anim-sudden anim-
|
|
|
10625
10652
|
__decorate$2([
|
|
10626
10653
|
pacemCore.ViewChild(pacemCore.P + '-repeater.' + pacemCore.PCSS + '-tags')
|
|
10627
10654
|
], PacemTagsElement.prototype, "_tags", void 0);
|
|
10655
|
+
__decorate$2([
|
|
10656
|
+
pacemCore.ViewChild(`ul.${pacemCore.PCSS}-tags`, true)
|
|
10657
|
+
], PacemTagsElement.prototype, "_face", void 0);
|
|
10628
10658
|
PacemTagsElement = __decorate$2([
|
|
10629
10659
|
pacemCore.CustomElement({
|
|
10630
10660
|
tagName: pacemCore.P + '-tags', shadow: pacemCore.Defaults.USE_SHADOW_ROOT,
|
|
@@ -10692,7 +10722,7 @@ class="button-flat icon-rotate ${pacemCore.PCSS}-anim anim-pop anim-sudden anim-
|
|
|
10692
10722
|
pacemCore.Watch({ emit: false, converter: pacemCore.PropertyConverters.Number })
|
|
10693
10723
|
], PacemTextAreaElement.prototype, "cols", void 0);
|
|
10694
10724
|
__decorate$1([
|
|
10695
|
-
pacemCore.ViewChild('textarea')
|
|
10725
|
+
pacemCore.ViewChild('textarea', true)
|
|
10696
10726
|
], PacemTextAreaElement.prototype, "_input", void 0);
|
|
10697
10727
|
__decorate$1([
|
|
10698
10728
|
pacemCore.ViewChild(`span.${pacemCore.PCSS}-readonly`)
|
|
@@ -10769,7 +10799,7 @@ class="button-flat icon-rotate ${pacemCore.PCSS}-anim anim-pop anim-sudden anim-
|
|
|
10769
10799
|
pacemCore.Watch({ emit: false, converter: pacemCore.PropertyConverters.Number })
|
|
10770
10800
|
], PacemMarkdownTextAreaElement.prototype, "cols", void 0);
|
|
10771
10801
|
__decorate([
|
|
10772
|
-
pacemCore.ViewChild('textarea')
|
|
10802
|
+
pacemCore.ViewChild('textarea', true)
|
|
10773
10803
|
], PacemMarkdownTextAreaElement.prototype, "_input", void 0);
|
|
10774
10804
|
__decorate([
|
|
10775
10805
|
pacemCore.ViewChild(`div.${pacemCore.PCSS}-readonly`)
|