chore: removed super.properties everywhere
This commit is contained in:
parent
5432f5913f
commit
eb1e295576
14 changed files with 1 additions and 19 deletions
|
|
@ -8,7 +8,6 @@ export const ChoiceInputMixin = superclass =>
|
|||
class ChoiceInputMixin extends FormatMixin(superclass) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* Boolean indicating whether or not this element is checked by the end user.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ export const FieldCustomMixin = dedupeMixin(
|
|||
class FieldCustomMixin extends superclass {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* When no light dom defined and prop set
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ export const FormControlMixin = dedupeMixin(
|
|||
class FormControlMixin extends FormRegisteringMixin(ObserverMixin(SlotMixin(superclass))) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* A list of ids that will be put on the inputElement as a serialized string
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -53,8 +53,6 @@ export const FormatMixin = dedupeMixin(
|
|||
class FormatMixin extends ObserverMixin(superclass) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
|
||||
/**
|
||||
* The model value is the result of the parser function(when available).
|
||||
* It should be considered as the internal value used for validation and reasoning/logic.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ export const InteractionStateMixin = dedupeMixin(
|
|||
class InteractionStateMixin extends ObserverMixin(superclass) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* True when user has focused and left(blurred) the field.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ describe('FieldCustomMixin', () => {
|
|||
const FieldCustomMixinClass = class extends FieldCustomMixin(LionField) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ describe('FormControlMixin', () => {
|
|||
const FormControlMixinClass = class extends FormControlMixin(SlotMixin(LionLitElement)) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ import { formatAmount } from './formatters.js';
|
|||
export class LionInputAmount extends FieldCustomMixin(LocalizeMixin(ObserverMixin(LionInput))) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
currency: {
|
||||
type: String,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ import './lion-calendar-overlay-frame.js';
|
|||
export class LionInputDatepicker extends LionInputDate {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* The heading to be added on top of the calendar overlay.
|
||||
* Naming chosen from an Application Developer perspective.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import { LionField } from '@lion/field';
|
|||
export class LionInput extends LionField {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* A Boolean attribute which, if present, indicates that the user should not be able to edit
|
||||
* the value of the input. The difference between disabled and readonly is that read-only
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ export class LionSelectRich extends FormRegistrarMixin(
|
|||
) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
checkedValue: {
|
||||
type: Object,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ import { ObserverMixin } from '@lion/core/src/ObserverMixin.js';
|
|||
export class LionTextarea extends ObserverMixin(LionInput) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
maxRows: {
|
||||
type: Number,
|
||||
attribute: 'max-rows',
|
||||
|
|
|
|||
|
|
@ -110,7 +110,6 @@ export const ValidateMixin = dedupeMixin(
|
|||
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
/**
|
||||
* List of validators that should set the input to invalid
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ const tagString = defineCE(
|
|||
class extends ValidateMixin(LionLitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
|
|
@ -658,7 +657,6 @@ describe('ValidateMixin', () => {
|
|||
class extends ValidateMixin(LionLitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
|
|
@ -782,7 +780,6 @@ describe('ValidateMixin', () => {
|
|||
class extends ValidateMixin(LionLitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
|
|
@ -934,7 +931,6 @@ describe('ValidateMixin', () => {
|
|||
class extends ValidateMixin(LionLitElement) {
|
||||
static get properties() {
|
||||
return {
|
||||
...super.properties,
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
|
|
@ -1220,7 +1216,7 @@ describe('ValidateMixin', () => {
|
|||
const orderName = defineCE(
|
||||
class extends ValidateMixin(LionLitElement) {
|
||||
static get properties() {
|
||||
return { ...super.properties, modelValue: { type: String } };
|
||||
return { modelValue: { type: String } };
|
||||
}
|
||||
|
||||
static get localizeNamespaces() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue