@hokulea/ember 0.2.0 → 0.3.1
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/LICENSE +7 -0
- package/declarations/components/app-header.d.ts +1 -0
- package/declarations/components/app-header.d.ts.map +1 -1
- package/declarations/components/menu.d.ts +4 -0
- package/declarations/components/menu.d.ts.map +1 -1
- package/declarations/test-support/page-objects/app-header.d.ts +2 -27
- package/declarations/test-support/page-objects/app-header.d.ts.map +1 -1
- package/dist/components/app-header.js +11 -4
- package/dist/components/app-header.js.map +1 -1
- package/dist/components/box.js.map +1 -1
- package/dist/components/button.js.map +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/currency-input.js.map +1 -1
- package/dist/components/date-input.js.map +1 -1
- package/dist/components/email-input.js.map +1 -1
- package/dist/components/form.js.map +1 -1
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/icon.js.map +1 -1
- package/dist/components/input-builder.js.map +1 -1
- package/dist/components/list.js.map +1 -1
- package/dist/components/menu.js +16 -1
- package/dist/components/menu.js.map +1 -1
- package/dist/components/number-input.js.map +1 -1
- package/dist/components/page.js.map +1 -1
- package/dist/components/password-input.js.map +1 -1
- package/dist/components/phone-input.js.map +1 -1
- package/dist/components/popover.js.map +1 -1
- package/dist/components/radio.js.map +1 -1
- package/dist/components/section.js.map +1 -1
- package/dist/components/select.js.map +1 -1
- package/dist/components/text-area.js.map +1 -1
- package/dist/components/text-input.js.map +1 -1
- package/dist/helpers/popover.js.map +1 -1
- package/dist/test-support/index.js +24 -26
- package/dist/test-support/index.js.map +1 -1
- package/package.json +44 -45
- package/declarations/components/dialog.d.ts +0 -26
- package/declarations/components/dialog.d.ts.map +0 -1
- package/declarations/components/list.stories copy.d.ts +0 -27
- package/declarations/components/list.stories copy.d.ts.map +0 -1
- package/declarations/components/main.d.ts +0 -18
- package/declarations/components/main.d.ts.map +0 -1
- package/declarations/components/menu.stories copy.d.ts +0 -25
- package/declarations/components/menu.stories copy.d.ts.map +0 -1
- package/declarations/components/page copy.d.ts +0 -17
- package/declarations/components/page copy.d.ts.map +0 -1
- package/declarations/components/page-header.d.ts +0 -16
- package/declarations/components/page-header.d.ts.map +0 -1
- package/declarations/components/section.stories copy.d.ts +0 -18
- package/declarations/components/section.stories copy.d.ts.map +0 -1
- package/declarations/components/test.d.ts +0 -26
- package/declarations/components/test.d.ts.map +0 -1
- package/declarations/modifiers/popover.d.ts +0 -31
- package/declarations/modifiers/popover.d.ts.map +0 -1
- package/declarations/src/-private/form/components/description.d.ts +0 -11
- package/declarations/src/-private/form/components/description.d.ts.map +0 -1
- package/declarations/src/-private/form/components/errors.d.ts +0 -15
- package/declarations/src/-private/form/components/errors.d.ts.map +0 -1
- package/declarations/src/-private/form/components/field.d.ts +0 -141
- package/declarations/src/-private/form/components/field.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/checkbox.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/checkbox.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/currency.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/currency.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/date.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/date.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/email.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/email.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/list.d.ts +0 -27
- package/declarations/src/-private/form/components/fields/list.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/multiple-choice.d.ts +0 -58
- package/declarations/src/-private/form/components/fields/multiple-choice.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/number.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/number.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/password.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/password.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/phone.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/phone.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/select.d.ts +0 -16
- package/declarations/src/-private/form/components/fields/select.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/singular-choice.d.ts +0 -56
- package/declarations/src/-private/form/components/fields/singular-choice.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/stories-utils.d.ts +0 -50
- package/declarations/src/-private/form/components/fields/stories-utils.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/text-area.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/text-area.d.ts.map +0 -1
- package/declarations/src/-private/form/components/fields/text.d.ts +0 -15
- package/declarations/src/-private/form/components/fields/text.d.ts.map +0 -1
- package/declarations/src/-private/form/components/label.d.ts +0 -17
- package/declarations/src/-private/form/components/label.d.ts.map +0 -1
- package/declarations/src/-private/form/components/reset.d.ts +0 -25
- package/declarations/src/-private/form/components/reset.d.ts.map +0 -1
- package/declarations/src/-private/form/components/submit.d.ts +0 -25
- package/declarations/src/-private/form/components/submit.d.ts.map +0 -1
- package/declarations/src/-private/form/index.d.ts +0 -49
- package/declarations/src/-private/form/index.d.ts.map +0 -1
- package/declarations/src/-private/form/modifiers/capture-events.d.ts +0 -21
- package/declarations/src/-private/form/modifiers/capture-events.d.ts.map +0 -1
- package/declarations/src/-private/form/modifiers/manage-validation.d.ts +0 -21
- package/declarations/src/-private/form/modifiers/manage-validation.d.ts.map +0 -1
- package/declarations/src/-private/helpers.d.ts +0 -10
- package/declarations/src/-private/helpers.d.ts.map +0 -1
- package/declarations/src/-private/modifiers/disabled.d.ts +0 -20
- package/declarations/src/-private/modifiers/disabled.d.ts.map +0 -1
- package/declarations/src/components/-input.d.ts +0 -7
- package/declarations/src/components/-input.d.ts.map +0 -1
- package/declarations/src/components/-menu.d.ts +0 -22
- package/declarations/src/components/-menu.d.ts.map +0 -1
- package/declarations/src/components/app-header.d.ts +0 -48
- package/declarations/src/components/app-header.d.ts.map +0 -1
- package/declarations/src/components/box.d.ts +0 -16
- package/declarations/src/components/box.d.ts.map +0 -1
- package/declarations/src/components/button.d.ts +0 -27
- package/declarations/src/components/button.d.ts.map +0 -1
- package/declarations/src/components/card.d.ts +0 -14
- package/declarations/src/components/card.d.ts.map +0 -1
- package/declarations/src/components/checkbox.d.ts +0 -10
- package/declarations/src/components/checkbox.d.ts.map +0 -1
- package/declarations/src/components/currency-input.d.ts +0 -10
- package/declarations/src/components/currency-input.d.ts.map +0 -1
- package/declarations/src/components/date-input.d.ts +0 -10
- package/declarations/src/components/date-input.d.ts.map +0 -1
- package/declarations/src/components/email-input.d.ts +0 -10
- package/declarations/src/components/email-input.d.ts.map +0 -1
- package/declarations/src/components/form.d.ts +0 -313
- package/declarations/src/components/form.d.ts.map +0 -1
- package/declarations/src/components/icon-button.d.ts +0 -23
- package/declarations/src/components/icon-button.d.ts.map +0 -1
- package/declarations/src/components/icon.d.ts +0 -11
- package/declarations/src/components/icon.d.ts.map +0 -1
- package/declarations/src/components/input-builder.d.ts +0 -30
- package/declarations/src/components/input-builder.d.ts.map +0 -1
- package/declarations/src/components/list.d.ts +0 -55
- package/declarations/src/components/list.d.ts.map +0 -1
- package/declarations/src/components/menu.d.ts +0 -40
- package/declarations/src/components/menu.d.ts.map +0 -1
- package/declarations/src/components/number-input.d.ts +0 -10
- package/declarations/src/components/number-input.d.ts.map +0 -1
- package/declarations/src/components/password-input.d.ts +0 -10
- package/declarations/src/components/password-input.d.ts.map +0 -1
- package/declarations/src/components/phone-input.d.ts +0 -10
- package/declarations/src/components/phone-input.d.ts.map +0 -1
- package/declarations/src/components/radio.d.ts +0 -10
- package/declarations/src/components/radio.d.ts.map +0 -1
- package/declarations/src/components/section.d.ts +0 -20
- package/declarations/src/components/section.d.ts.map +0 -1
- package/declarations/src/components/select.d.ts +0 -37
- package/declarations/src/components/select.d.ts.map +0 -1
- package/declarations/src/components/text-area.d.ts +0 -10
- package/declarations/src/components/text-area.d.ts.map +0 -1
- package/declarations/src/components/text-input.d.ts +0 -10
- package/declarations/src/components/text-input.d.ts.map +0 -1
- package/declarations/src/helpers/popover.d.ts +0 -32
- package/declarations/src/helpers/popover.d.ts.map +0 -1
- package/declarations/src/index.d.ts +0 -25
- package/declarations/src/index.d.ts.map +0 -1
- package/declarations/src/template-registry.d.ts +0 -49
- package/declarations/src/template-registry.d.ts.map +0 -1
- package/declarations/src/test-support/index.d.ts +0 -16
- package/declarations/src/test-support/index.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/-menu.d.ts +0 -11
- package/declarations/src/test-support/page-objects/-menu.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/-private/choices.d.ts +0 -61
- package/declarations/src/test-support/page-objects/-private/choices.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/-private/field.d.ts +0 -50
- package/declarations/src/test-support/page-objects/-private/field.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/app-header.d.ts +0 -73
- package/declarations/src/test-support/page-objects/app-header.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/button.d.ts +0 -14
- package/declarations/src/test-support/page-objects/button.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/choice.d.ts +0 -12
- package/declarations/src/test-support/page-objects/choice.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/form.d.ts +0 -15
- package/declarations/src/test-support/page-objects/form.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/icon-button.d.ts +0 -13
- package/declarations/src/test-support/page-objects/icon-button.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/icon.d.ts +0 -8
- package/declarations/src/test-support/page-objects/icon.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/input-builder.d.ts +0 -15
- package/declarations/src/test-support/page-objects/input-builder.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/input.d.ts +0 -17
- package/declarations/src/test-support/page-objects/input.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/list.d.ts +0 -10
- package/declarations/src/test-support/page-objects/list.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/menu.d.ts +0 -19
- package/declarations/src/test-support/page-objects/menu.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/pill-button.d.ts +0 -14
- package/declarations/src/test-support/page-objects/pill-button.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/section.d.ts +0 -9
- package/declarations/src/test-support/page-objects/section.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/select.d.ts +0 -10
- package/declarations/src/test-support/page-objects/select.d.ts.map +0 -1
- package/declarations/src/test-support/page-objects/text-area.d.ts +0 -9
- package/declarations/src/test-support/page-objects/text-area.d.ts.map +0 -1
- package/declarations/test-support/page-objects/list copy.d.ts +0 -10
- package/declarations/test-support/page-objects/list copy.d.ts.map +0 -1
- package/declarations/test-support/page-objects/menu copy.d.ts +0 -9
- package/declarations/test-support/page-objects/menu copy.d.ts.map +0 -1
- package/declarations/test-support/page-objects/section copy.d.ts +0 -9
- package/declarations/test-support/page-objects/section copy.d.ts.map +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { TextAreaSignature } from '../../../../components/text-area';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface TextAreaFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: TextAreaSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<TextAreaSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class TextField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<TextAreaFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=text-area.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../../../src/-private/form/components/fields/text-area.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,sBAAsB,CACrC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACpD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,SAAS,CAC5B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,sBAAsB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACpD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { TextInputSignature } from '../../../../components/text-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
4
|
-
import type { BoundField, FieldArgs } from '../field';
|
|
5
|
-
export interface TextFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
|
-
Element: TextInputSignature['Element'];
|
|
7
|
-
Args: FieldArgs<DATA, KEY> & Omit<TextInputSignature['Args'], 'value' | 'update'> & {
|
|
8
|
-
Field: BoundField<DATA, KEY>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default class TextField<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> extends Component<TextFieldSignature<DATA, KEY>> {
|
|
12
|
-
Field: BoundField<DATA, KEY>;
|
|
13
|
-
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../../src/-private/form/components/fields/text.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,kBAAkB,CACjC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,GACxB,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACrD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KAC9B,CAAC;CACL;AAED,MAAM,CAAC,OAAO,OAAO,SAAS,CAC5B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC7D,SAAQ,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAChD,KAAK,wBAAmB;IAExB,cAAc,aAAc,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,aACrC,MAAM,UACrB;CAuBH"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { TOC } from '@ember/component/template-only';
|
|
3
|
-
import type { ComponentLike } from '@glint/template';
|
|
4
|
-
export interface LabelSignature {
|
|
5
|
-
Element: HTMLLabelElement;
|
|
6
|
-
Args: {
|
|
7
|
-
element?: ComponentLike<{
|
|
8
|
-
Element: HTMLElement;
|
|
9
|
-
}>;
|
|
10
|
-
};
|
|
11
|
-
Blocks: {
|
|
12
|
-
default: [];
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
declare const Label: TOC<LabelSignature>;
|
|
16
|
-
export default Label;
|
|
17
|
-
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/label.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,WAAW,CAAA;SAAE,CAAC,CAAC;KACnD,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,KAAK,EAAE,GAAG,CAAC,cAAc,CAuB7B,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { TOC } from '@ember/component/template-only';
|
|
3
|
-
import type { Importance, Importances, Intent, Intents, Spacing, Spacings } from '@hokulea/tokens';
|
|
4
|
-
export interface ResetSignature {
|
|
5
|
-
Element: HTMLButtonElement;
|
|
6
|
-
Args: {
|
|
7
|
-
intent?: Intent | Intents;
|
|
8
|
-
importance?: Importance | Importances;
|
|
9
|
-
spacing?: Spacing | Spacings;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
};
|
|
12
|
-
Blocks: {
|
|
13
|
-
/** The label for the button */
|
|
14
|
-
default: [];
|
|
15
|
-
/** The label for the button */
|
|
16
|
-
label: [];
|
|
17
|
-
/** A slot in front of the label */
|
|
18
|
-
before: [];
|
|
19
|
-
/** A slot after the label */
|
|
20
|
-
after: [];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
declare const Reset: TOC<ResetSignature>;
|
|
24
|
-
export default Reset;
|
|
25
|
-
//# sourceMappingURL=reset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/reset.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEnG,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC1B,UAAU,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;QACtC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,+BAA+B;QAC/B,OAAO,EAAE,EAAE,CAAC;QAEZ,+BAA+B;QAC/B,KAAK,EAAE,EAAE,CAAC;QAEV,mCAAmC;QACnC,MAAM,EAAE,EAAE,CAAC;QAEX,6BAA6B;QAC7B,KAAK,EAAE,EAAE,CAAC;KACX,CAAC;CACH;AAED,QAAA,MAAM,KAAK,EAAE,GAAG,CAAC,cAAc,CA6C7B,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { TOC } from '@ember/component/template-only';
|
|
3
|
-
import type { Importance, Importances, Intent, Intents, Spacing, Spacings } from '@hokulea/tokens';
|
|
4
|
-
export interface SubmitSignature {
|
|
5
|
-
Element: HTMLButtonElement;
|
|
6
|
-
Args: {
|
|
7
|
-
intent?: Intent | Intents;
|
|
8
|
-
importance?: Importance | Importances;
|
|
9
|
-
spacing?: Spacing | Spacings;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
};
|
|
12
|
-
Blocks: {
|
|
13
|
-
/** The label for the button */
|
|
14
|
-
default: [];
|
|
15
|
-
/** The label for the button */
|
|
16
|
-
label: [];
|
|
17
|
-
/** A slot in front of the label */
|
|
18
|
-
before: [];
|
|
19
|
-
/** A slot after the label */
|
|
20
|
-
after: [];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
declare const Submit: TOC<SubmitSignature>;
|
|
24
|
-
export default Submit;
|
|
25
|
-
//# sourceMappingURL=submit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submit.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/submit.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEnG,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC1B,UAAU,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;QACtC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,+BAA+B;QAC/B,OAAO,EAAE,EAAE,CAAC;QAEZ,+BAA+B;QAC/B,KAAK,EAAE,EAAE,CAAC;QAEV,mCAAmC;QACnC,MAAM,EAAE,EAAE,CAAC;QAEX,6BAA6B;QAC7B,KAAK,EAAE,EAAE,CAAC;KACX,CAAC;CACH;AAED,QAAA,MAAM,MAAM,EAAE,GAAG,CAAC,eAAe,CA6C/B,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What the user can pass as @data
|
|
3
|
-
*/
|
|
4
|
-
export type UserData = object;
|
|
5
|
-
/**
|
|
6
|
-
* The subset of properties of DATA, whose keys are strings (and not number or symbol)
|
|
7
|
-
* Only this data is useable in the form
|
|
8
|
-
*/
|
|
9
|
-
export type FormData<DATA extends UserData = UserData> = OnlyStringKeys<DATA>;
|
|
10
|
-
/**
|
|
11
|
-
* Returns the type of all keys of DATA, that are also strings. Only strings can be used as field @name
|
|
12
|
-
*/
|
|
13
|
-
export type FormKey<DATA extends UserData> = keyof DATA & string;
|
|
14
|
-
/**
|
|
15
|
-
* Generic interface for all validation errors
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidationError<T = unknown> {
|
|
18
|
-
type: string;
|
|
19
|
-
value: T;
|
|
20
|
-
message?: string;
|
|
21
|
-
}
|
|
22
|
-
export type ErrorRecord<DATA extends FormData, KEY extends FormKey<DATA> = FormKey<DATA>> = Partial<Record<KEY, ValidationError<DATA[KEY]>[]>>;
|
|
23
|
-
/**
|
|
24
|
-
* Callback used for form level validation
|
|
25
|
-
*/
|
|
26
|
-
export type FormValidateCallback<DATA extends FormData> = (formData: DATA, fields: FormKey<DATA>[]) => undefined | ErrorRecord<DATA> | Promise<undefined | ErrorRecord<DATA>>;
|
|
27
|
-
/**
|
|
28
|
-
* Callback used for field level validation
|
|
29
|
-
*/
|
|
30
|
-
export type FieldValidateCallback<DATA extends FormData, KEY extends FormKey<DATA> = FormKey<DATA>> = (fieldValue: DATA[KEY], fieldName: KEY, formData: DATA) => undefined | ValidationError<DATA[KEY]>[] | Promise<undefined | ValidationError<DATA[KEY]>[]>;
|
|
31
|
-
/**
|
|
32
|
-
* Internal structure to track used fields
|
|
33
|
-
* @private
|
|
34
|
-
*/
|
|
35
|
-
export interface FieldRegistrationData<DATA extends FormData, KEY extends FormKey<DATA> = FormKey<DATA>> {
|
|
36
|
-
validate?: FieldValidateCallback<DATA, KEY>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* For internal field registration
|
|
40
|
-
* @private
|
|
41
|
-
*/
|
|
42
|
-
export type RegisterFieldCallback<DATA extends FormData, KEY extends FormKey<DATA> = FormKey<DATA>> = (name: KEY, field: FieldRegistrationData<DATA, KEY>) => void;
|
|
43
|
-
export type UnregisterFieldCallback<DATA extends FormData, KEY extends FormKey<DATA> = FormKey<DATA>> = (name: KEY) => void;
|
|
44
|
-
/**
|
|
45
|
-
* Mapper type to construct subset of objects, whose keys are only strings (and not number or symbol)
|
|
46
|
-
*/
|
|
47
|
-
export type OnlyStringKeys<T extends object> = Pick<T, keyof T & string>;
|
|
48
|
-
export declare function mergeErrorRecord<DATA extends FormData, KEY extends FormKey<DATA> = FormKey<DATA>>(...records: (ErrorRecord<DATA, KEY> | undefined)[]): ErrorRecord<DATA, KEY>;
|
|
49
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/-private/form/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B;;;GAGG;AACH,MAAM,MAAM,QAAQ,CAAC,IAAI,SAAS,QAAQ,GAAG,QAAQ,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,IAAI,SAAS,QAAQ,IAAI,MAAM,IAAI,GAAG,MAAM,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,OAAO;IAC1C,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,WAAW,CAAC,IAAI,SAAS,QAAQ,EAAE,GAAG,SAAS,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,OAAO,CACjG,MAAM,CAAC,GAAG,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAC1C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAAC,IAAI,SAAS,QAAQ,IAAI,CACxD,QAAQ,EAAE,IAAI,EACd,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,KACpB,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,qBAAqB,CAC/B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IACvC,CACF,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,EACrB,SAAS,EAAE,GAAG,EACd,QAAQ,EAAE,IAAI,KACX,SAAS,GAAG,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,SAAS,GAAG,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAElG;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CACpC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAEzC,QAAQ,CAAC,EAAE,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;CAC7C;AAED;;;GAGG;AACH,MAAM,MAAM,qBAAqB,CAC/B,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IACvC,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;AAEjE,MAAM,MAAM,uBAAuB,CACjC,IAAI,SAAS,QAAQ,EACrB,GAAG,SAAS,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IACvC,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC;AAEzE,wBAAgB,gBAAgB,CAAC,IAAI,SAAS,QAAQ,EAAE,GAAG,SAAS,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,EAC/F,GAAG,OAAO,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,EAAE,GACjD,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAoBxB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface CaptureEventsModifierSignature {
|
|
2
|
-
Element: HTMLElement;
|
|
3
|
-
Args: {
|
|
4
|
-
Named: {
|
|
5
|
-
event: 'focusout' | 'change' | 'input' | undefined;
|
|
6
|
-
triggerValidation(): void;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
declare const CaptureEventsModifier: import("ember-modifier").FunctionBasedModifier<{
|
|
11
|
-
Element: HTMLElement;
|
|
12
|
-
Args: {
|
|
13
|
-
Named: {
|
|
14
|
-
event: 'focusout' | 'change' | 'input' | undefined;
|
|
15
|
-
triggerValidation(): void;
|
|
16
|
-
};
|
|
17
|
-
Positional: [];
|
|
18
|
-
};
|
|
19
|
-
}>;
|
|
20
|
-
export default CaptureEventsModifier;
|
|
21
|
-
//# sourceMappingURL=capture-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capture-events.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/modifiers/capture-events.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YAIL,KAAK,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;YAKnD,iBAAiB,IAAI,IAAI,CAAC;SAC3B,CAAC;KACH,CAAC;CACH;AAED,QAAA,MAAM,qBAAqB;;;;mBAVd,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS;iCAK7B,IAAI;;;;EAiB9B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Modifier from 'ember-modifier';
|
|
2
|
-
import type { FormData, FormKey, UserData } from '../';
|
|
3
|
-
export interface NamedOptions<DATA extends UserData> {
|
|
4
|
-
invalid: boolean;
|
|
5
|
-
errorMessageId: string;
|
|
6
|
-
showErrorsFor: (field: FormKey<FormData<DATA>>) => boolean;
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
name: FormKey<FormData<DATA>>;
|
|
11
|
-
}
|
|
12
|
-
export interface ManagaValidationSignature<DATA extends UserData> {
|
|
13
|
-
Element: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | HTMLDivElement;
|
|
14
|
-
Args: {
|
|
15
|
-
Named: NamedOptions<DATA>;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export default class ManageValidationModifier<DATA extends UserData> extends Modifier<ManagaValidationSignature<DATA>> {
|
|
19
|
-
modify(element: HTMLInputElement, _pos: [], { name, showErrorsFor, invalid, errorMessageId }: NamedOptions<DATA>): undefined;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=manage-validation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manage-validation.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/modifiers/manage-validation.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEvD,MAAM,WAAW,YAAY,CAAC,IAAI,SAAS,QAAQ;IAIjD,OAAO,EAAE,OAAO,CAAC;IAKjB,cAAc,EAAE,MAAM,CAAC;IAKvB,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,OAAO,CAAC;IAE3D;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,yBAAyB,CAAC,IAAI,SAAS,QAAQ;IAC9D,OAAO,EAAE,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,cAAc,CAAC;IACrF,IAAI,EAAE;QACJ,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;KAC3B,CAAC;CACH;AAeD,MAAM,CAAC,OAAO,OAAO,wBAAwB,CAAC,IAAI,SAAS,QAAQ,CAAE,SAAQ,QAAQ,CACnF,yBAAyB,CAAC,IAAI,CAAC,CAChC;IACC,MAAM,CACJ,OAAO,EAAE,gBAAgB,EACzB,IAAI,EAAE,EAAE,EACR,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,YAAY,CAAC,IAAI,CAAC;CAkBvE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare function pick<V = unknown>(path: string, action?: (value: V) => void): (event: object) => V | void;
|
|
2
|
-
declare const or: (a: unknown, b: unknown) => unknown;
|
|
3
|
-
declare const and: (a: unknown, b: unknown) => unknown;
|
|
4
|
-
declare const eq: (a: unknown, b: unknown) => boolean;
|
|
5
|
-
declare const not: (a: boolean) => boolean;
|
|
6
|
-
declare const asString: (value: unknown) => string;
|
|
7
|
-
declare const asNumber: (value: unknown) => number;
|
|
8
|
-
declare const asBoolean: (value: unknown) => boolean;
|
|
9
|
-
export { and, asBoolean, asNumber, asString, eq, not, or, pick };
|
|
10
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/-private/helpers.ts"],"names":[],"mappings":"AAGA,iBAAS,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,WAC1C,MAAM,KAAG,CAAC,GAAG,IAAI,CAS1C;AAED,QAAA,MAAM,EAAE,MAAO,OAAO,KAAK,OAAO,YAAW,CAAC;AAE9C,QAAA,MAAM,GAAG,MAAO,OAAO,KAAK,OAAO,YAAW,CAAC;AAE/C,QAAA,MAAM,EAAE,MAAO,OAAO,KAAK,OAAO,YAAY,CAAC;AAE/C,QAAA,MAAM,GAAG,MAAO,OAAO,YAAO,CAAC;AAE/B,QAAA,MAAM,QAAQ,UAAW,OAAO,KAAG,MAElC,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,OAAO,KAAG,MAElC,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,OAAO,KAAG,OAEnC,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface DisabledSignature {
|
|
2
|
-
Element: HTMLElement;
|
|
3
|
-
Args: {
|
|
4
|
-
Positional: never[];
|
|
5
|
-
Named: {
|
|
6
|
-
when: boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
declare const disabled: import("ember-modifier").FunctionBasedModifier<{
|
|
11
|
-
Element: HTMLElement;
|
|
12
|
-
Args: {
|
|
13
|
-
Named: {
|
|
14
|
-
when: boolean;
|
|
15
|
-
};
|
|
16
|
-
Positional: never[];
|
|
17
|
-
};
|
|
18
|
-
}>;
|
|
19
|
-
export default disabled;
|
|
20
|
-
//# sourceMappingURL=disabled.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"disabled.d.ts","sourceRoot":"","sources":["../../../../src/-private/modifiers/disabled.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,UAAU,EAAE,KAAK,EAAE,CAAC;QACpB,KAAK,EAAE;YACL,IAAI,EAAE,OAAO,CAAC;SACf,CAAC;KACH,CAAC;CACH;AAED,QAAA,MAAM,QAAQ;;;;kBALF,OAAO;;;;EA4BjB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"-input.d.ts","sourceRoot":"","sources":["../../../src/components/-input.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,YAAa,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,aAAa,MAAM,SAM/E,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ComponentLike } from '@glint/template';
|
|
2
|
-
import type { CommandAction } from 'ember-command';
|
|
3
|
-
export type MenuItemElement = HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement;
|
|
4
|
-
export type MenuItemArgs = {
|
|
5
|
-
push?: CommandAction;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export interface MenuItemSignature {
|
|
9
|
-
Element: MenuItemElement;
|
|
10
|
-
Args: MenuItemArgs;
|
|
11
|
-
Blocks: MenuItemBlocks;
|
|
12
|
-
}
|
|
13
|
-
export type MenuItemLike = ComponentLike<MenuItemSignature>;
|
|
14
|
-
export type MenuBlock = {
|
|
15
|
-
Item: MenuItemLike;
|
|
16
|
-
};
|
|
17
|
-
export type MenuItemBlocks = {
|
|
18
|
-
default?: [];
|
|
19
|
-
label?: [];
|
|
20
|
-
menu?: [MenuBlock];
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"-menu.d.ts","sourceRoot":"","sources":["../../../src/components/-menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,eAAe,CAAC;AAEtF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,KAAK,CAAC,EAAE,EAAE,CAAC;IACX,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;CACpB,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import Component from '@glimmer/component';
|
|
3
|
-
import type { MenuItemSignature } from './-menu';
|
|
4
|
-
import type { TOC } from '@ember/component/template-only';
|
|
5
|
-
interface NavItemSignature extends MenuItemSignature {
|
|
6
|
-
}
|
|
7
|
-
declare const NavItem: TOC<NavItemSignature>;
|
|
8
|
-
interface AppHeaderSignature {
|
|
9
|
-
Element: HTMLElement;
|
|
10
|
-
Args: {
|
|
11
|
-
/**
|
|
12
|
-
* Position of the navbar
|
|
13
|
-
*
|
|
14
|
-
* @default start
|
|
15
|
-
*/
|
|
16
|
-
position?: 'start' | 'center' | 'end';
|
|
17
|
-
};
|
|
18
|
-
Blocks: {
|
|
19
|
-
brand?: [];
|
|
20
|
-
nav?: [{
|
|
21
|
-
Item: typeof NavItem;
|
|
22
|
-
}];
|
|
23
|
-
aux?: [{
|
|
24
|
-
Item: typeof NavItem;
|
|
25
|
-
}];
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export default class AppHeader extends Component<AppHeaderSignature> {
|
|
29
|
-
topNavShown: boolean;
|
|
30
|
-
sensing: boolean;
|
|
31
|
-
detectOverflow: import("ember-concurrency").TaskForAsyncTaskFunction<unknown, (element: HTMLElement) => Promise<void>>;
|
|
32
|
-
flipflop: import("ember-modifier").FunctionBasedModifier<{
|
|
33
|
-
Args: {
|
|
34
|
-
Positional: unknown[];
|
|
35
|
-
Named: import("ember-modifier/-private/signature.js").EmptyObject;
|
|
36
|
-
};
|
|
37
|
-
Element: HTMLElement;
|
|
38
|
-
}>;
|
|
39
|
-
closeWhenLink: import("ember-modifier").FunctionBasedModifier<{
|
|
40
|
-
Args: {
|
|
41
|
-
Positional: unknown[];
|
|
42
|
-
Named: import("ember-modifier/-private/signature.js").EmptyObject;
|
|
43
|
-
};
|
|
44
|
-
Element: HTMLElement;
|
|
45
|
-
}>;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
48
|
-
//# sourceMappingURL=app-header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-header.d.ts","sourceRoot":"","sources":["../../../src/components/app-header.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAgB3C,OAAO,KAAK,EAAgC,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAU1D,UAAU,gBAAiB,SAAQ,iBAAiB;CAAG;AAmCvD,QAAA,MAAM,OAAO,EAAE,GAAG,CAAC,gBAAgB,CA8CjC,CAAC;AAsCH,UAAU,kBAAkB;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ;;;;WAIG;QACH,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;KACvC,CAAC;IACF,MAAM,EAAE;QACN,KAAK,CAAC,EAAE,EAAE,CAAC;QACX,GAAG,CAAC,EAAE,CAAC;YAAE,IAAI,EAAE,OAAO,OAAO,CAAA;SAAE,CAAC,CAAC;QACjC,GAAG,CAAC,EAAE,CAAC;YAAE,IAAI,EAAE,OAAO,OAAO,CAAA;SAAE,CAAC,CAAC;KAClC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,SAAS,CAAC,kBAAkB,CAAC;IACzD,WAAW,UAAQ;IACnB,OAAO,UAAS;IAEzB,cAAc,0EAAwB,WAAW,oBA4B9C;IAEH,QAAQ;;;;;;OASL;IAEH,aAAa;;;;;;OAoBV;CAkHJ"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { ComponentLike } from '@glint/template';
|
|
3
|
-
export interface BoxSignature<E extends Element = HTMLDivElement> {
|
|
4
|
-
Element: E;
|
|
5
|
-
Args: {
|
|
6
|
-
element?: ComponentLike<{
|
|
7
|
-
Element: HTMLElement;
|
|
8
|
-
}>;
|
|
9
|
-
};
|
|
10
|
-
Blocks: {
|
|
11
|
-
default: [];
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default class Box<E extends Element = HTMLDivElement> extends Component<BoxSignature<E>> {
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=box.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/components/box.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,OAAO,GAAG,cAAc;IAC9D,OAAO,EAAE,CAAC,CAAC;IACX,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,WAAW,CAAA;SAAE,CAAC,CAAC;KACnD,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,GAAG,CAAC,CAAC,SAAS,OAAO,GAAG,cAAc,CAAE,SAAQ,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;CAwB9F"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { TOC } from '@ember/component/template-only';
|
|
3
|
-
import type { Importance, Importances, Intent, Intents, Spacing, Spacings } from '@hokulea/tokens';
|
|
4
|
-
import type { CommandAction } from 'ember-command';
|
|
5
|
-
export interface ButtonSignature {
|
|
6
|
-
Element: HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement;
|
|
7
|
-
Args: {
|
|
8
|
-
push?: CommandAction;
|
|
9
|
-
intent?: Intent | Intents;
|
|
10
|
-
importance?: Importance | Importances;
|
|
11
|
-
spacing?: Spacing | Spacings;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
};
|
|
14
|
-
Blocks: {
|
|
15
|
-
/** The label for the button */
|
|
16
|
-
default: [];
|
|
17
|
-
/** The label for the button */
|
|
18
|
-
label: [];
|
|
19
|
-
/** A slot in front of the label */
|
|
20
|
-
before: [];
|
|
21
|
-
/** A slot after the label */
|
|
22
|
-
after: [];
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
declare const Button: TOC<ButtonSignature>;
|
|
26
|
-
export default Button;
|
|
27
|
-
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button.ts"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA6CnD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,eAAe,CAAC;IACjE,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,aAAa,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC1B,UAAU,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;QACtC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,+BAA+B;QAC/B,OAAO,EAAE,EAAE,CAAC;QAEZ,+BAA+B;QAC/B,KAAK,EAAE,EAAE,CAAC;QAEV,mCAAmC;QACnC,MAAM,EAAE,EAAE,CAAC;QAEX,6BAA6B;QAC7B,KAAK,EAAE,EAAE,CAAC;KACX,CAAC;CACH;AAED,QAAA,MAAM,MAAM,EAAE,GAAG,CAAC,eAAe,CAiD/B,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { TOC } from '@ember/component/template-only';
|
|
3
|
-
export interface CardSignature {
|
|
4
|
-
Element: HTMLDivElement;
|
|
5
|
-
Blocks: {
|
|
6
|
-
header?: [];
|
|
7
|
-
footer?: [];
|
|
8
|
-
body?: [];
|
|
9
|
-
default?: [];
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
declare const Card: TOC<CardSignature>;
|
|
13
|
-
export default Card;
|
|
14
|
-
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE;QACN,MAAM,CAAC,EAAE,EAAE,CAAC;QACZ,MAAM,CAAC,EAAE,EAAE,CAAC;QACZ,IAAI,CAAC,EAAE,EAAE,CAAC;QACV,OAAO,CAAC,EAAE,EAAE,CAAC;KACd,CAAC;CACH;AAED,QAAA,MAAM,IAAI,EAAE,GAAG,CAAC,aAAa,CA0C3B,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { InputArgs } from './-input';
|
|
3
|
-
import type { TOC } from '@ember/component/template-only';
|
|
4
|
-
export interface CheckboxSignature {
|
|
5
|
-
Element: HTMLInputElement;
|
|
6
|
-
Args: InputArgs<boolean>;
|
|
7
|
-
}
|
|
8
|
-
declare const Checkbox: TOC<CheckboxSignature>;
|
|
9
|
-
export default Checkbox;
|
|
10
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox.ts"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC1B;AAED,QAAA,MAAM,QAAQ,EAAE,GAAG,CAAC,iBAAiB,CAcnC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { InputArgs } from './-input';
|
|
3
|
-
import type { TOC } from '@ember/component/template-only';
|
|
4
|
-
export interface CurrencyInputSignature {
|
|
5
|
-
Element: HTMLInputElement;
|
|
6
|
-
Args: InputArgs<number>;
|
|
7
|
-
}
|
|
8
|
-
declare const CurrencyInput: TOC<CurrencyInputSignature>;
|
|
9
|
-
export default CurrencyInput;
|
|
10
|
-
//# sourceMappingURL=currency-input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"currency-input.d.ts","sourceRoot":"","sources":["../../../src/components/currency-input.ts"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACzB;AAED,QAAA,MAAM,aAAa,EAAE,GAAG,CAAC,sBAAsB,CA+B7C,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { InputArgs } from './-input';
|
|
3
|
-
import type { TOC } from '@ember/component/template-only';
|
|
4
|
-
export interface DateInputSignature {
|
|
5
|
-
Element: HTMLInputElement;
|
|
6
|
-
Args: InputArgs<string>;
|
|
7
|
-
}
|
|
8
|
-
declare const DateInput: TOC<DateInputSignature>;
|
|
9
|
-
export default DateInput;
|
|
10
|
-
//# sourceMappingURL=date-input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-input.d.ts","sourceRoot":"","sources":["../../../src/components/date-input.ts"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACzB;AAED,QAAA,MAAM,SAAS,EAAE,GAAG,CAAC,kBAAkB,CAcrC,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="ember-source/types/stable/@ember/component/template-only" />
|
|
2
|
-
import type { InputArgs } from './-input';
|
|
3
|
-
import type { TOC } from '@ember/component/template-only';
|
|
4
|
-
export interface EmailInputSignature {
|
|
5
|
-
Element: HTMLInputElement;
|
|
6
|
-
Args: InputArgs<string>;
|
|
7
|
-
}
|
|
8
|
-
declare const EmailInput: TOC<EmailInputSignature>;
|
|
9
|
-
export default EmailInput;
|
|
10
|
-
//# sourceMappingURL=email-input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email-input.d.ts","sourceRoot":"","sources":["../../../src/components/email-input.ts"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACzB;AAED,QAAA,MAAM,UAAU,EAAE,GAAG,CAAC,mBAAmB,CAcvC,CAAC;AAEH,eAAe,UAAU,CAAC"}
|