consistent decorator order
This commit is contained in:
parent
35ddc4de27
commit
812af7b615
@ -11,8 +11,8 @@ const sortByName = sortBy("name");
|
|||||||
/**
|
/**
|
||||||
* @event success
|
* @event success
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-invite-form")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-invite-form")
|
||||||
export class InviteForm extends LiteElement {
|
export class InviteForm extends LiteElement {
|
||||||
@property({ type: Object })
|
@property({ type: Object })
|
||||||
authState?: AuthState;
|
authState?: AuthState;
|
||||||
|
@ -10,8 +10,8 @@ type LocaleNames = {
|
|||||||
[L in LocaleCode]: string;
|
[L in LocaleCode]: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
@customElement("btrix-locale-picker")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-locale-picker")
|
||||||
export class LocalePicker extends LitElement {
|
export class LocalePicker extends LitElement {
|
||||||
@state()
|
@state()
|
||||||
private localeNames: LocaleNames = {} as LocaleNames;
|
private localeNames: LocaleNames = {} as LocaleNames;
|
||||||
|
@ -8,8 +8,8 @@ import LiteElement, { html } from "../utils/LiteElement";
|
|||||||
import { isAdmin } from "../utils/orgs";
|
import { isAdmin } from "../utils/orgs";
|
||||||
import { SlInput } from "@shoelace-style/shoelace";
|
import { SlInput } from "@shoelace-style/shoelace";
|
||||||
|
|
||||||
@customElement("btrix-orgs-list")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-orgs-list")
|
||||||
export class OrgsList extends LiteElement {
|
export class OrgsList extends LiteElement {
|
||||||
@property({ type: Object })
|
@property({ type: Object })
|
||||||
userInfo?: CurrentUser;
|
userInfo?: CurrentUser;
|
||||||
|
@ -23,8 +23,8 @@ const hiddenClassList = ["translate-x-2/3", "opacity-0", "pointer-events-none"];
|
|||||||
*
|
*
|
||||||
* @event load Event on iframe load, with src URL
|
* @event load Event on iframe load, with src URL
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-profile-browser")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-profile-browser")
|
||||||
export class ProfileBrowser extends LiteElement {
|
export class ProfileBrowser extends LiteElement {
|
||||||
@property({ type: Object })
|
@property({ type: Object })
|
||||||
authState!: AuthState;
|
authState!: AuthState;
|
||||||
|
@ -36,8 +36,8 @@ const MIN_LENGTH = 2;
|
|||||||
* @event on-change ExclusionChangeEvent
|
* @event on-change ExclusionChangeEvent
|
||||||
* @event on-add ExclusionAddEvent
|
* @event on-add ExclusionAddEvent
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-queue-exclusion-form")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-queue-exclusion-form")
|
||||||
export class QueueExclusionForm extends LiteElement {
|
export class QueueExclusionForm extends LiteElement {
|
||||||
@property({ type: Boolean })
|
@property({ type: Boolean })
|
||||||
isSubmitting = false;
|
isSubmitting = false;
|
||||||
|
@ -17,8 +17,8 @@ export type HumanizeOptions = {
|
|||||||
* <btrix-relative-duration value=${value}></btrix-relative-duration>
|
* <btrix-relative-duration value=${value}></btrix-relative-duration>
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-relative-duration")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-relative-duration")
|
||||||
export class RelativeDuration extends LitElement {
|
export class RelativeDuration extends LitElement {
|
||||||
@property({ type: String })
|
@property({ type: String })
|
||||||
value?: string; // `new Date` compatible date format
|
value?: string; // `new Date` compatible date format
|
||||||
|
@ -27,8 +27,8 @@ const MAX_SEARCH_RESULTS = 10;
|
|||||||
* @event on-select
|
* @event on-select
|
||||||
* @event on-clear
|
* @event on-clear
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-search-combobox")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-search-combobox")
|
||||||
export class SearchCombobox extends LitElement {
|
export class SearchCombobox extends LitElement {
|
||||||
@property({ type: Array })
|
@property({ type: Array })
|
||||||
searchOptions: any[] = [];
|
searchOptions: any[] = [];
|
||||||
|
@ -20,8 +20,8 @@ const { PASSWORD_MINLENGTH, PASSWORD_MAXLENGTH, PASSWORD_MIN_SCORE } =
|
|||||||
* @event authenticated
|
* @event authenticated
|
||||||
* @event unauthenticated
|
* @event unauthenticated
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-sign-up-form")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-sign-up-form")
|
||||||
export class SignUpForm extends LiteElement {
|
export class SignUpForm extends LiteElement {
|
||||||
/** Optonal read-only email, e.g. for invitations */
|
/** Optonal read-only email, e.g. for invitations */
|
||||||
@property({ type: String })
|
@property({ type: String })
|
||||||
|
@ -23,8 +23,8 @@ export type TimeInputChangeEvent = CustomEvent<{
|
|||||||
* @events
|
* @events
|
||||||
* time-change TimeInputChangeEvent
|
* time-change TimeInputChangeEvent
|
||||||
*/
|
*/
|
||||||
@customElement("btrix-time-input")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-time-input")
|
||||||
export class TimeInput extends LitElement {
|
export class TimeInput extends LitElement {
|
||||||
static styles = css`
|
static styles = css`
|
||||||
fieldset {
|
fieldset {
|
||||||
|
@ -524,8 +524,8 @@ export class WorkflowListItem extends LitElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@customElement("btrix-workflow-list")
|
|
||||||
@localized()
|
@localized()
|
||||||
|
@customElement("btrix-workflow-list")
|
||||||
export class WorkflowList extends LitElement {
|
export class WorkflowList extends LitElement {
|
||||||
static styles = [
|
static styles = [
|
||||||
srOnly,
|
srOnly,
|
||||||
|
Loading…
Reference in New Issue
Block a user