@hokulea/ember 0.8.0 → 0.9.0
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/declarations/-private/stories.d.ts +2 -0
- package/declarations/-private/stories.d.ts.map +1 -1
- package/declarations/components/actions/-button.d.ts.map +1 -0
- package/declarations/components/actions/button.gts.d.ts +25 -0
- package/declarations/components/actions/button.gts.d.ts.map +1 -0
- package/declarations/components/actions/icon-button.gts.d.ts +26 -0
- package/declarations/components/actions/icon-button.gts.d.ts.map +1 -0
- package/declarations/components/app-header.gts.d.ts +1 -48
- package/declarations/components/app-header.gts.d.ts.map +1 -1
- package/declarations/components/box.gts.d.ts +1 -15
- package/declarations/components/box.gts.d.ts.map +1 -1
- package/declarations/components/button.gts.d.ts +1 -25
- package/declarations/components/button.gts.d.ts.map +1 -1
- package/declarations/components/card.gts.d.ts +1 -12
- package/declarations/components/card.gts.d.ts.map +1 -1
- package/declarations/components/checkbox.gts.d.ts +1 -8
- package/declarations/components/checkbox.gts.d.ts.map +1 -1
- package/declarations/components/content/box.gts.d.ts +16 -0
- package/declarations/components/content/box.gts.d.ts.map +1 -0
- package/declarations/components/content/card.gts.d.ts +12 -0
- package/declarations/components/content/card.gts.d.ts.map +1 -0
- package/declarations/components/content/section.gts.d.ts +18 -0
- package/declarations/components/content/section.gts.d.ts.map +1 -0
- package/declarations/components/controls/-input.d.ts.map +1 -0
- package/declarations/components/controls/-menu.d.ts.map +1 -0
- package/declarations/components/controls/checkbox.gts.d.ts +8 -0
- package/declarations/components/controls/checkbox.gts.d.ts.map +1 -0
- package/declarations/components/controls/currency-input.gts.d.ts +8 -0
- package/declarations/components/controls/currency-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/date-input.gts.d.ts +8 -0
- package/declarations/components/controls/date-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/email-input.gts.d.ts +8 -0
- package/declarations/components/controls/email-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/input-builder.gts.d.ts +29 -0
- package/declarations/components/controls/input-builder.gts.d.ts.map +1 -0
- package/declarations/components/controls/list.gts.d.ts +51 -0
- package/declarations/components/controls/list.gts.d.ts.map +1 -0
- package/declarations/components/controls/menu.gts.d.ts +39 -0
- package/declarations/components/controls/menu.gts.d.ts.map +1 -0
- package/declarations/components/controls/number-input.gts.d.ts +8 -0
- package/declarations/components/controls/number-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/password-input.gts.d.ts +8 -0
- package/declarations/components/controls/password-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/phone-input.gts.d.ts +8 -0
- package/declarations/components/controls/phone-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/radio.gts.d.ts +8 -0
- package/declarations/components/controls/radio.gts.d.ts.map +1 -0
- package/declarations/components/controls/range-input.gts.d.ts +13 -0
- package/declarations/components/controls/range-input.gts.d.ts.map +1 -0
- package/declarations/components/controls/select.gts.d.ts +36 -0
- package/declarations/components/controls/select.gts.d.ts.map +1 -0
- package/declarations/components/controls/tabs.gts.d.ts +61 -0
- package/declarations/components/controls/tabs.gts.d.ts.map +1 -0
- package/declarations/components/controls/text-area.gts.d.ts +8 -0
- package/declarations/components/controls/text-area.gts.d.ts.map +1 -0
- package/declarations/components/controls/text-input.gts.d.ts +8 -0
- package/declarations/components/controls/text-input.gts.d.ts.map +1 -0
- package/declarations/components/currency-input.gts.d.ts +1 -8
- package/declarations/components/currency-input.gts.d.ts.map +1 -1
- package/declarations/components/date-input.gts.d.ts +1 -8
- package/declarations/components/date-input.gts.d.ts.map +1 -1
- package/declarations/components/email-input.gts.d.ts +1 -8
- package/declarations/components/email-input.gts.d.ts.map +1 -1
- package/declarations/components/focus-page.gts.d.ts +2 -0
- package/declarations/components/focus-page.gts.d.ts.map +1 -0
- package/declarations/components/form/description.gts.d.ts +1 -2
- package/declarations/components/form/description.gts.d.ts.map +1 -1
- package/declarations/components/form/errors.gts.d.ts +1 -2
- package/declarations/components/form/errors.gts.d.ts.map +1 -1
- package/declarations/components/form/field.gts.d.ts +2 -2
- package/declarations/components/form/field.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/checkbox.gts.d.ts +2 -2
- package/declarations/components/form/fields/checkbox.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/currency.gts.d.ts +2 -2
- package/declarations/components/form/fields/currency.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/date.gts.d.ts +2 -2
- package/declarations/components/form/fields/date.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/email.gts.d.ts +2 -2
- package/declarations/components/form/fields/email.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/list.gts.d.ts +3 -3
- package/declarations/components/form/fields/list.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/multiple-choice.gts.d.ts +2 -2
- package/declarations/components/form/fields/multiple-choice.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/number.gts.d.ts +2 -2
- package/declarations/components/form/fields/number.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/password.gts.d.ts +2 -2
- package/declarations/components/form/fields/password.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/phone.gts.d.ts +2 -2
- package/declarations/components/form/fields/phone.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/range.gts.d.ts +2 -2
- package/declarations/components/form/fields/range.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/select.gts.d.ts +2 -2
- package/declarations/components/form/fields/select.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/singular-choice.gts.d.ts +2 -2
- package/declarations/components/form/fields/singular-choice.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/text-area.gts.d.ts +2 -2
- package/declarations/components/form/fields/text-area.gts.d.ts.map +1 -1
- package/declarations/components/form/fields/text.gts.d.ts +2 -2
- package/declarations/components/form/fields/text.gts.d.ts.map +1 -1
- package/declarations/components/form/form.gts.d.ts +30 -30
- package/declarations/components/form/form.gts.d.ts.map +1 -1
- package/declarations/components/form/index.d.ts +1 -1
- package/declarations/components/form/index.d.ts.map +1 -1
- package/declarations/components/form/label.gts.d.ts +1 -2
- package/declarations/components/form/label.gts.d.ts.map +1 -1
- package/declarations/components/form/reset.gts.d.ts +1 -2
- package/declarations/components/form/reset.gts.d.ts.map +1 -1
- package/declarations/components/form/rules.gts.d.ts +1 -1
- package/declarations/components/form/rules.gts.d.ts.map +1 -1
- package/declarations/components/form/submit.gts.d.ts +1 -2
- package/declarations/components/form/submit.gts.d.ts.map +1 -1
- package/declarations/components/form.gts.d.ts +1 -1
- package/declarations/components/form.gts.d.ts.map +1 -1
- package/declarations/components/graphics/icon.gts.d.ts +13 -0
- package/declarations/components/graphics/icon.gts.d.ts.map +1 -0
- package/declarations/components/icon-button.gts.d.ts +1 -25
- package/declarations/components/icon-button.gts.d.ts.map +1 -1
- package/declarations/components/icon.gts.d.ts +1 -13
- package/declarations/components/icon.gts.d.ts.map +1 -1
- package/declarations/components/input-builder.gts.d.ts +1 -28
- package/declarations/components/input-builder.gts.d.ts.map +1 -1
- package/declarations/components/layouts/focus-page.gts.d.ts +24 -0
- package/declarations/components/layouts/focus-page.gts.d.ts.map +1 -0
- package/declarations/components/layouts/page.gts.d.ts +24 -0
- package/declarations/components/layouts/page.gts.d.ts.map +1 -0
- package/declarations/components/layouts/pages.d.ts +15 -0
- package/declarations/components/layouts/pages.d.ts.map +1 -0
- package/declarations/components/layouts/sectioned-page.gts.d.ts +26 -0
- package/declarations/components/layouts/sectioned-page.gts.d.ts.map +1 -0
- package/declarations/components/list.gts.d.ts +1 -50
- package/declarations/components/list.gts.d.ts.map +1 -1
- package/declarations/components/menu.gts.d.ts +1 -38
- package/declarations/components/menu.gts.d.ts.map +1 -1
- package/declarations/components/navigation/app-header.gts.d.ts +55 -0
- package/declarations/components/navigation/app-header.gts.d.ts.map +1 -0
- package/declarations/components/navigation/nav-link.gts.d.ts +10 -0
- package/declarations/components/navigation/nav-link.gts.d.ts.map +1 -0
- package/declarations/components/navigation/navigation-list.gts.d.ts +19 -0
- package/declarations/components/navigation/navigation-list.gts.d.ts.map +1 -0
- package/declarations/components/navigation-list.gts.d.ts +2 -0
- package/declarations/components/navigation-list.gts.d.ts.map +1 -0
- package/declarations/components/number-input.gts.d.ts +1 -8
- package/declarations/components/number-input.gts.d.ts.map +1 -1
- package/declarations/components/page.gts.d.ts +1 -35
- package/declarations/components/page.gts.d.ts.map +1 -1
- package/declarations/components/password-input.gts.d.ts +1 -8
- package/declarations/components/password-input.gts.d.ts.map +1 -1
- package/declarations/components/phone-input.gts.d.ts +1 -8
- package/declarations/components/phone-input.gts.d.ts.map +1 -1
- package/declarations/components/popover.gts.d.ts +1 -9
- package/declarations/components/popover.gts.d.ts.map +1 -1
- package/declarations/components/radio.gts.d.ts +1 -8
- package/declarations/components/radio.gts.d.ts.map +1 -1
- package/declarations/components/range-input.gts.d.ts +1 -13
- package/declarations/components/range-input.gts.d.ts.map +1 -1
- package/declarations/components/section.gts.d.ts +1 -18
- package/declarations/components/section.gts.d.ts.map +1 -1
- package/declarations/components/sectioned-page.gts.d.ts +2 -0
- package/declarations/components/sectioned-page.gts.d.ts.map +1 -0
- package/declarations/components/select.gts.d.ts +1 -35
- package/declarations/components/select.gts.d.ts.map +1 -1
- package/declarations/components/tabs.gts.d.ts +1 -60
- package/declarations/components/tabs.gts.d.ts.map +1 -1
- package/declarations/components/text-area.gts.d.ts +1 -8
- package/declarations/components/text-area.gts.d.ts.map +1 -1
- package/declarations/components/text-input.gts.d.ts +1 -8
- package/declarations/components/text-input.gts.d.ts.map +1 -1
- package/declarations/components/windows/popover.gts.d.ts +9 -0
- package/declarations/components/windows/popover.gts.d.ts.map +1 -0
- package/declarations/helpers/popover.d.ts +1 -1
- package/declarations/helpers/popover.d.ts.map +1 -1
- package/declarations/index.d.ts +29 -26
- package/declarations/index.d.ts.map +1 -1
- package/declarations/registry.d.ts +2 -0
- package/declarations/registry.d.ts.map +1 -0
- package/declarations/services/-hokulea.d.ts.map +1 -1
- package/declarations/template-registry.d.ts +41 -35
- package/declarations/template-registry.d.ts.map +1 -1
- package/declarations/test-support/index.d.ts +2 -1
- package/declarations/test-support/index.d.ts.map +1 -1
- package/declarations/test-support/page-objects/-navigation.d.ts +9 -0
- package/declarations/test-support/page-objects/-navigation.d.ts.map +1 -0
- package/declarations/test-support/page-objects/app-header.d.ts +1 -1
- package/declarations/test-support/page-objects/app-header.d.ts.map +1 -1
- package/declarations/test-support/page-objects/navigation-list.d.ts +10 -0
- package/declarations/test-support/page-objects/navigation-list.d.ts.map +1 -0
- package/declarations/test-support/page-objects/page.d.ts +3 -1
- package/declarations/test-support/page-objects/page.d.ts.map +1 -1
- package/declarations/test-support/page-objects/tabs.d.ts.map +1 -1
- package/dist/-button-KUaJCQaB.js.map +1 -1
- package/dist/-input-DGR-n9U_.js.map +1 -1
- package/dist/_app_/components/focus-page.js +1 -0
- package/dist/_app_/components/navigation-list.js +1 -0
- package/dist/_app_/components/sectioned-page.js +1 -0
- package/dist/app-header-B6Q7pbiY.js +122 -0
- package/dist/app-header-B6Q7pbiY.js.map +1 -0
- package/dist/box-DU6m9gDw.js +20 -0
- package/dist/box-DU6m9gDw.js.map +1 -0
- package/dist/button-XdQyGTGA.js +24 -0
- package/dist/button-XdQyGTGA.js.map +1 -0
- package/dist/card-Bdv-UvKX.js +16 -0
- package/dist/card-Bdv-UvKX.js.map +1 -0
- package/dist/checkbox-D4vALmT2.js +18 -0
- package/dist/checkbox-D4vALmT2.js.map +1 -0
- package/dist/components/app-header.js +1 -131
- package/dist/components/app-header.js.map +1 -1
- package/dist/components/box.js +1 -19
- package/dist/components/box.js.map +1 -1
- package/dist/components/button.js +1 -23
- package/dist/components/button.js.map +1 -1
- package/dist/components/card.js +1 -15
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox.js +1 -17
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/currency-input.js +1 -21
- package/dist/components/currency-input.js.map +1 -1
- package/dist/components/date-input.js +1 -17
- package/dist/components/date-input.js.map +1 -1
- package/dist/components/email-input.js +1 -17
- package/dist/components/email-input.js.map +1 -1
- package/dist/components/focus-page.js +2 -0
- package/dist/components/focus-page.js.map +1 -0
- package/dist/components/form.js +1 -1
- package/dist/components/icon-button.js +1 -36
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/icon.js +1 -15
- package/dist/components/icon.js.map +1 -1
- package/dist/components/input-builder.js +1 -19
- package/dist/components/input-builder.js.map +1 -1
- package/dist/components/list.js +1 -65
- package/dist/components/list.js.map +1 -1
- package/dist/components/menu.js +1 -115
- package/dist/components/menu.js.map +1 -1
- package/dist/components/navigation-list.js +2 -0
- package/dist/components/navigation-list.js.map +1 -0
- package/dist/components/number-input.js +1 -19
- package/dist/components/number-input.js.map +1 -1
- package/dist/components/page.js +1 -62
- package/dist/components/page.js.map +1 -1
- package/dist/components/password-input.js +1 -17
- package/dist/components/password-input.js.map +1 -1
- package/dist/components/phone-input.js +1 -17
- package/dist/components/phone-input.js.map +1 -1
- package/dist/components/popover.js +1 -13
- package/dist/components/popover.js.map +1 -1
- package/dist/components/radio.js +1 -17
- package/dist/components/radio.js.map +1 -1
- package/dist/components/range-input.js +1 -36
- package/dist/components/range-input.js.map +1 -1
- package/dist/components/section.js +1 -24
- package/dist/components/section.js.map +1 -1
- package/dist/components/sectioned-page.js +2 -0
- package/dist/components/sectioned-page.js.map +1 -0
- package/dist/components/select.js +1 -38
- package/dist/components/select.js.map +1 -1
- package/dist/components/tabs.js +1 -110
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/text-area.js +1 -17
- package/dist/components/text-area.js.map +1 -1
- package/dist/components/text-input.js +1 -17
- package/dist/components/text-input.js.map +1 -1
- package/dist/currency-input-8ef0Igfb.js +22 -0
- package/dist/currency-input-8ef0Igfb.js.map +1 -0
- package/dist/date-input-BayaBuSb.js +18 -0
- package/dist/date-input-BayaBuSb.js.map +1 -0
- package/dist/email-input-j-Z0KO4A.js +18 -0
- package/dist/email-input-j-Z0KO4A.js.map +1 -0
- package/dist/focus-page-B9myJVvL.js +23 -0
- package/dist/focus-page-B9myJVvL.js.map +1 -0
- package/dist/{form-DBuzL4_0.js → form-DWyQ6QHX.js} +15 -15
- package/dist/form-DWyQ6QHX.js.map +1 -0
- package/dist/helpers/popover.js +1 -1
- package/dist/helpers/popover.js.map +1 -1
- package/dist/icon-bLZqjTMP.js +16 -0
- package/dist/icon-bLZqjTMP.js.map +1 -0
- package/dist/icon-button-7K-W_8jc.js +37 -0
- package/dist/icon-button-7K-W_8jc.js.map +1 -0
- package/dist/index.js +30 -27
- package/dist/index.js.map +1 -1
- package/dist/input-builder-DmcQbywA.js +20 -0
- package/dist/input-builder-DmcQbywA.js.map +1 -0
- package/dist/list-CsLvih6-.js +66 -0
- package/dist/list-CsLvih6-.js.map +1 -0
- package/dist/menu-CZKNGJ91.js +116 -0
- package/dist/menu-CZKNGJ91.js.map +1 -0
- package/dist/nav-link-CGVtuqwC.js +30 -0
- package/dist/nav-link-CGVtuqwC.js.map +1 -0
- package/dist/navigation-list-Cxs6uZdM.js +22 -0
- package/dist/navigation-list-Cxs6uZdM.js.map +1 -0
- package/dist/number-input-B84zcPlM.js +20 -0
- package/dist/number-input-B84zcPlM.js.map +1 -0
- package/dist/page-BcSgHxr7.js +23 -0
- package/dist/page-BcSgHxr7.js.map +1 -0
- package/dist/pages-DgHJEvSy.js +31 -0
- package/dist/pages-DgHJEvSy.js.map +1 -0
- package/dist/password-input-BMp5uscw.js +18 -0
- package/dist/password-input-BMp5uscw.js.map +1 -0
- package/dist/phone-input-DeaTM5yP.js +18 -0
- package/dist/phone-input-DeaTM5yP.js.map +1 -0
- package/dist/popover-B6j413u9.js +14 -0
- package/dist/popover-B6j413u9.js.map +1 -0
- package/dist/radio-CGBLrzK4.js +18 -0
- package/dist/radio-CGBLrzK4.js.map +1 -0
- package/dist/range-input-BiAPgpW8.js +37 -0
- package/dist/range-input-BiAPgpW8.js.map +1 -0
- package/dist/registry.js +14 -0
- package/dist/registry.js.map +1 -0
- package/dist/section-BAdmc3Yn.js +25 -0
- package/dist/section-BAdmc3Yn.js.map +1 -0
- package/dist/sectioned-page-fB9mV5WD.js +25 -0
- package/dist/sectioned-page-fB9mV5WD.js.map +1 -0
- package/dist/select-DxyaUFuy.js +39 -0
- package/dist/select-DxyaUFuy.js.map +1 -0
- package/dist/services/-hokulea.js +1 -8
- package/dist/services/-hokulea.js.map +1 -1
- package/dist/tabs-a9GhNQv9.js +111 -0
- package/dist/tabs-a9GhNQv9.js.map +1 -0
- package/dist/test-support/index.js +23 -4
- package/dist/test-support/index.js.map +1 -1
- package/dist/text-area-55_E1zv8.js +18 -0
- package/dist/text-area-55_E1zv8.js.map +1 -0
- package/dist/text-input-CK-yGbI5.js +18 -0
- package/dist/text-input-CK-yGbI5.js.map +1 -0
- package/package.json +17 -13
- package/declarations/components/-button.d.ts.map +0 -1
- package/declarations/components/-input.d.ts.map +0 -1
- package/declarations/components/-menu.d.ts.map +0 -1
- package/declarations/components/-stories.d.ts +0 -3
- package/declarations/components/-stories.d.ts.map +0 -1
- package/dist/form-DBuzL4_0.js.map +0 -1
- /package/declarations/components/{-button.d.ts → actions/-button.d.ts} +0 -0
- /package/declarations/components/{-input.d.ts → controls/-input.d.ts} +0 -0
- /package/declarations/components/{-menu.d.ts → controls/-menu.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
|
-
import type { TextInputSignature } from '
|
|
2
|
+
import type { TextInputSignature } from '../../controls/text-input';
|
|
3
3
|
import type { BoundField, FieldArgs } from '../field';
|
|
4
4
|
import type { RulesBlock } from '../rules';
|
|
5
5
|
import type { AttrValue } from '@glint/template';
|
|
@@ -11,7 +11,7 @@ export interface TextFieldSignature<DATA extends UserData, NAME extends string =
|
|
|
11
11
|
};
|
|
12
12
|
Blocks: RulesBlock;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export declare class TextField<DATA extends UserData, NAME extends string = FieldNames<DATA> | (string & {}), VALUE = NAME extends keyof DATA ? DATA[NAME] : AttrValue> extends Component<TextFieldSignature<DATA, NAME, VALUE>> {
|
|
15
15
|
Field: BoundField<DATA, NAME, VALUE>;
|
|
16
16
|
setStringValue: (setValue: (value: FieldValue<DATA, NAME, VALUE>) => void) => (value: string) => void;
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.gts.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/text.gts"],"names":[],"mappings":"AAoEA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"text.gts.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/text.gts"],"names":[],"mappings":"AAoEA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE5E,MAAM,WAAW,kBAAkB,CACjC,IAAI,SAAS,QAAQ,EACrB,IAAI,SAAS,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EACtD,KAAK,GAAG,IAAI,SAAS,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,SAAS;IAExD,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,GAChC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;QACrD,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;KACtC,CAAC;IACJ,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,qBAAa,SAAS,CACpB,IAAI,SAAS,QAAQ,EACrB,IAAI,SAAS,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EACtD,KAAK,GAAG,IAAI,SAAS,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,SAAS,CACxD,SAAQ,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACxD,KAAK,gCAAmB;IAExB,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,IAAI,MAChE,OAAO,MAAM,UACrB;CAoDH"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { createForm } from '@hokulea/ember-pahu';
|
|
3
|
-
import Field from './field';
|
|
4
|
-
import CheckboxField from './fields/checkbox';
|
|
5
|
-
import CurrencyField from './fields/currency';
|
|
6
|
-
import DateField from './fields/date';
|
|
7
|
-
import EmailField from './fields/email';
|
|
8
|
-
import ListField from './fields/list';
|
|
9
|
-
import MultipleChoiceField from './fields/multiple-choice';
|
|
10
|
-
import NumberField from './fields/number';
|
|
11
|
-
import PasswordField from './fields/password';
|
|
12
|
-
import PhoneField from './fields/phone';
|
|
13
|
-
import RangeField from './fields/range';
|
|
14
|
-
import SelectField from './fields/select';
|
|
15
|
-
import SingularChoiceField from './fields/singular-choice';
|
|
16
|
-
import TextField from './fields/text';
|
|
17
|
-
import TextAreaField from './fields/text-area';
|
|
18
|
-
import Reset from './reset';
|
|
19
|
-
import Submit from './submit';
|
|
3
|
+
import { Field } from './field';
|
|
4
|
+
import { CheckboxField } from './fields/checkbox';
|
|
5
|
+
import { CurrencyField } from './fields/currency';
|
|
6
|
+
import { DateField } from './fields/date';
|
|
7
|
+
import { EmailField } from './fields/email';
|
|
8
|
+
import { ListField } from './fields/list';
|
|
9
|
+
import { MultipleChoiceField } from './fields/multiple-choice';
|
|
10
|
+
import { NumberField } from './fields/number';
|
|
11
|
+
import { PasswordField } from './fields/password';
|
|
12
|
+
import { PhoneField } from './fields/phone';
|
|
13
|
+
import { RangeField } from './fields/range';
|
|
14
|
+
import { SelectField } from './fields/select';
|
|
15
|
+
import { SingularChoiceField } from './fields/singular-choice';
|
|
16
|
+
import { TextField } from './fields/text';
|
|
17
|
+
import { TextAreaField } from './fields/text-area';
|
|
18
|
+
import { Reset } from './reset';
|
|
19
|
+
import { Submit } from './submit';
|
|
20
20
|
import type { BoundField } from './field';
|
|
21
21
|
import type { WithBoundArgs } from '@glint/template';
|
|
22
22
|
import type { FormAPI, FormConfig, UserData } from '@hokulea/ember-pahu';
|
|
@@ -63,7 +63,7 @@ export interface FormSignature<DATA extends UserData> {
|
|
|
63
63
|
default: [FormBuilder<DATA>];
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
export
|
|
66
|
+
export declare class Form<DATA extends UserData> extends Component<FormSignature<DATA>> {
|
|
67
67
|
Field: {
|
|
68
68
|
new (owner: import("@ember/-internals/owner").default, args: Omit<import('./field').FieldArgs<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>, "element"> & {
|
|
69
69
|
form: FormAPI<DATA>;
|
|
@@ -81,7 +81,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
81
81
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
82
82
|
label: string;
|
|
83
83
|
description?: string;
|
|
84
|
-
} & Omit<import("
|
|
84
|
+
} & Omit<import("../controls/-input.ts").InputArgs<boolean>, "value" | "update"> & {
|
|
85
85
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
86
86
|
}): CheckboxField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
87
87
|
};
|
|
@@ -89,7 +89,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
89
89
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
90
90
|
label: string;
|
|
91
91
|
description?: string;
|
|
92
|
-
} & Omit<import("
|
|
92
|
+
} & Omit<import("../controls/-input.ts").InputArgs<number>, "value" | "update"> & {
|
|
93
93
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
94
94
|
}): CurrencyField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
95
95
|
};
|
|
@@ -97,7 +97,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
97
97
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
98
98
|
label: string;
|
|
99
99
|
description?: string;
|
|
100
|
-
} & Omit<import("
|
|
100
|
+
} & Omit<import("../controls/-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
101
101
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
102
102
|
}): DateField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
103
103
|
};
|
|
@@ -105,7 +105,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
105
105
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
106
106
|
label: string;
|
|
107
107
|
description?: string;
|
|
108
|
-
} & Omit<import("
|
|
108
|
+
} & Omit<import("../controls/-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
109
109
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
110
110
|
}): EmailField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
111
111
|
};
|
|
@@ -136,7 +136,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
136
136
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
137
137
|
label: string;
|
|
138
138
|
description?: string;
|
|
139
|
-
} & Omit<import("
|
|
139
|
+
} & Omit<import("../controls/-input.ts").InputArgs<number>, "value" | "update"> & {
|
|
140
140
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
141
141
|
}): NumberField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
142
142
|
};
|
|
@@ -144,7 +144,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
144
144
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
145
145
|
label: string;
|
|
146
146
|
description?: string;
|
|
147
|
-
} & Omit<import("
|
|
147
|
+
} & Omit<import("../controls/-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
148
148
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
149
149
|
}): PasswordField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
150
150
|
};
|
|
@@ -152,7 +152,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
152
152
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
153
153
|
label: string;
|
|
154
154
|
description?: string;
|
|
155
|
-
} & Omit<import("
|
|
155
|
+
} & Omit<import("../controls/-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
156
156
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
157
157
|
}): PhoneField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
158
158
|
};
|
|
@@ -160,7 +160,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
160
160
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
161
161
|
label: string;
|
|
162
162
|
description?: string;
|
|
163
|
-
} & Omit<import("
|
|
163
|
+
} & Omit<import("../controls/-input.ts").InputArgs<number> & {
|
|
164
164
|
min?: number;
|
|
165
165
|
max?: number;
|
|
166
166
|
step?: number | "any";
|
|
@@ -174,8 +174,8 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
174
174
|
label: string;
|
|
175
175
|
description?: string;
|
|
176
176
|
} & Omit<{
|
|
177
|
-
value?: import('../select').Value | import('../select').Value[];
|
|
178
|
-
update?: (value: import('../select').Value | import('../select').Value[]) => void;
|
|
177
|
+
value?: import('../controls/select').Value | import('../controls/select').Value[];
|
|
178
|
+
update?: (value: import('../controls/select').Value | import('../controls/select').Value[]) => void;
|
|
179
179
|
disabled?: boolean;
|
|
180
180
|
}, "update" | "selection"> & {
|
|
181
181
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
@@ -194,7 +194,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
194
194
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
195
195
|
label: string;
|
|
196
196
|
description?: string;
|
|
197
|
-
} & Omit<import("
|
|
197
|
+
} & Omit<import("../controls/-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
198
198
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
199
199
|
}): TextAreaField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
200
200
|
};
|
|
@@ -202,7 +202,7 @@ export default class Form<DATA extends UserData> extends Component<FormSignature
|
|
|
202
202
|
new (owner: import("@ember/-internals/owner").default, args: import("@hokulea/ember-pahu").FieldConfig<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T ? T extends string & {} ? T extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_1 ? T_1 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_1 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)> & {
|
|
203
203
|
label: string;
|
|
204
204
|
description?: string;
|
|
205
|
-
} & Omit<import("
|
|
205
|
+
} & Omit<import("../controls/-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
206
206
|
Field: BoundField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_2 ? T_2 extends string & {} ? T_2 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_3 ? T_3 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_3 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
207
207
|
}): TextField<DATA, (string & {}) | import("@hokulea/ember-pahu").FieldNames<DATA>, (string & {} extends infer T_4 ? T_4 extends string & {} ? T_4 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never) | (import("@hokulea/ember-pahu").FieldNames<DATA> extends infer T_5 ? T_5 extends import("@hokulea/ember-pahu").FieldNames<DATA> ? T_5 extends keyof DATA ? DATA[(keyof DATA & string) | (keyof DATA & import("@hokulea/ember-pahu").FieldNames<DATA>)] : import("@glint/template").AttrValue : never : never)>;
|
|
208
208
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.gts"],"names":[],"mappings":"AA4IA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"form.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.gts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type { FormBuilder } from './form';
|
|
2
|
-
export {
|
|
2
|
+
export { Form } from './form';
|
|
3
3
|
export type { FieldValidationHandler, FormValidationHandler, SubmitHandler, ValidatedHandler, ValidationResult } from '@hokulea/ember-pahu';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/label.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"label.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/label.gts"],"names":[],"mappings":"AA4BA,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,eAAO,MAAM,KAAK,EAAE,GAAG,CAAC,cAAc,CAuBpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/reset.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/reset.gts"],"names":[],"mappings":"AAoEA,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,eAAO,MAAM,KAAK,EAAE,GAAG,CAAC,cAAc,CAqDpC,CAAC"}
|
|
@@ -29,7 +29,7 @@ export interface RulesSignature {
|
|
|
29
29
|
default: [WithBoundArgs<typeof Rule, 'errors'>];
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
export
|
|
32
|
+
export declare class Rules extends Component<RulesSignature> {
|
|
33
33
|
constructor(owner: Owner, args: RulesSignature['Args']);
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/rules.gts"],"names":[],"mappings":"AAwFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAYjD,UAAU,aAAa;IACrB,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;KAClB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,cAAM,IAAK,SAAQ,SAAS,CAAC,aAAa,CAAC;IACzC,SAAS,4BAIP;CAgCH;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,CAAC,aAAa,CAAC,OAAO,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;QAKtC,MAAM,EAAE,KAAK,EAAE,CAAC;QAKhB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,CAAC,aAAa,CAAC,OAAO,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;KACjD,CAAC;CACH;AAED,
|
|
1
|
+
{"version":3,"file":"rules.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/rules.gts"],"names":[],"mappings":"AAwFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAYjD,UAAU,aAAa;IACrB,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;KAClB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,cAAM,IAAK,SAAQ,SAAS,CAAC,aAAa,CAAC;IACzC,SAAS,4BAIP;CAgCH;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,CAAC,aAAa,CAAC,OAAO,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;QAKtC,MAAM,EAAE,KAAK,EAAE,CAAC;QAKhB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,CAAC,aAAa,CAAC,OAAO,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;KACjD,CAAC;CACH;AAED,qBAAa,KAAM,SAAQ,SAAS,CAAC,cAAc,CAAC;gBACtC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAqBvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/submit.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit.gts.d.ts","sourceRoot":"","sources":["../../../src/components/form/submit.gts"],"names":[],"mappings":"AAoEA,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,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,eAAe,CAqDtC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './form/form';
|
|
1
|
+
export { Form as default } from './form/form';
|
|
2
2
|
//# sourceMappingURL=form.gts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.gts.d.ts","sourceRoot":"","sources":["../../src/components/form.gts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"form.gts.d.ts","sourceRoot":"","sources":["../../src/components/form.gts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TOC } from '@ember/component/template-only';
|
|
2
|
+
export interface IconSignature {
|
|
3
|
+
Element: HTMLSpanElement;
|
|
4
|
+
Args: {
|
|
5
|
+
/**
|
|
6
|
+
* A string containing a `<svg>` element.
|
|
7
|
+
* Make sure to use `currentColor` to comply with the styling
|
|
8
|
+
*/
|
|
9
|
+
icon: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare const Icon: TOC<IconSignature>;
|
|
13
|
+
//# sourceMappingURL=icon.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.gts.d.ts","sourceRoot":"","sources":["../../../src/components/graphics/icon.gts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;WAGG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,eAAO,MAAM,IAAI,EAAE,GAAG,CAAC,aAAa,CAalC,CAAC"}
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { Importance, Importances, Intent, Intents, Spacing, Spacings } from '@hokulea/tokens';
|
|
3
|
-
import type { CommandAction } from 'ember-command';
|
|
4
|
-
export interface IconButtonSignature {
|
|
5
|
-
Element: HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement;
|
|
6
|
-
Args: {
|
|
7
|
-
push?: CommandAction;
|
|
8
|
-
intent?: Intent | Intents;
|
|
9
|
-
importance?: Importance | Importances;
|
|
10
|
-
spacing?: Spacing | Spacings;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
label: string;
|
|
13
|
-
/**
|
|
14
|
-
* A string containing a `<svg>` element.
|
|
15
|
-
* Make sure to use `currentColor` to comply with the styling
|
|
16
|
-
*/
|
|
17
|
-
icon: string;
|
|
18
|
-
};
|
|
19
|
-
Blocks: {
|
|
20
|
-
default: [];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export default class IconButton extends Component<IconButtonSignature> {
|
|
24
|
-
get label(): string;
|
|
25
|
-
}
|
|
1
|
+
export { IconButton as default } from './actions/icon-button';
|
|
26
2
|
//# sourceMappingURL=icon-button.gts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.gts.d.ts","sourceRoot":"","sources":["../../src/components/icon-button.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-button.gts.d.ts","sourceRoot":"","sources":["../../src/components/icon-button.gts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export interface IconSignature {
|
|
3
|
-
Element: HTMLSpanElement;
|
|
4
|
-
Args: {
|
|
5
|
-
/**
|
|
6
|
-
* A string containing a `<svg>` element.
|
|
7
|
-
* Make sure to use `currentColor` to comply with the styling
|
|
8
|
-
*/
|
|
9
|
-
icon: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
declare const Icon: TOC<IconSignature>;
|
|
13
|
-
export default Icon;
|
|
1
|
+
export { Icon as default } from './graphics/icon';
|
|
14
2
|
//# sourceMappingURL=icon.gts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.gts.d.ts","sourceRoot":"","sources":["../../src/components/icon.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon.gts.d.ts","sourceRoot":"","sources":["../../src/components/icon.gts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { WithBoundArgs } from '@glint/template';
|
|
3
|
-
interface AffixSignature {
|
|
4
|
-
Args: {
|
|
5
|
-
class: string;
|
|
6
|
-
identity: 'prefix' | 'affix' | 'suffix';
|
|
7
|
-
};
|
|
8
|
-
Blocks: {
|
|
9
|
-
default: [];
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
declare const Affix: TOC<AffixSignature>;
|
|
13
|
-
export interface InputBuilderSignature {
|
|
14
|
-
Args: {
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
};
|
|
17
|
-
Blocks: {
|
|
18
|
-
default: [
|
|
19
|
-
{
|
|
20
|
-
Affix: WithBoundArgs<typeof Affix, 'class' | 'identity'>;
|
|
21
|
-
Prefix: WithBoundArgs<typeof Affix, 'class' | 'identity'>;
|
|
22
|
-
Suffix: WithBoundArgs<typeof Affix, 'class' | 'identity'>;
|
|
23
|
-
}
|
|
24
|
-
];
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
declare const TextInput: TOC<InputBuilderSignature>;
|
|
28
|
-
export default TextInput;
|
|
1
|
+
export { InputBuilder as default } from './controls/input-builder';
|
|
29
2
|
//# sourceMappingURL=input-builder.gts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-builder.gts.d.ts","sourceRoot":"","sources":["../../src/components/input-builder.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-builder.gts.d.ts","sourceRoot":"","sources":["../../src/components/input-builder.gts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TOC } from '@ember/component/template-only';
|
|
2
|
+
import type { ComponentLike } from '@glint/template';
|
|
3
|
+
interface FocusPageSignature {
|
|
4
|
+
Element: HTMLElement;
|
|
5
|
+
Args: {
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
element?: ComponentLike<{
|
|
9
|
+
Element: HTMLElement;
|
|
10
|
+
Blocks: {
|
|
11
|
+
default: [];
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
Blocks: {
|
|
16
|
+
title?: [];
|
|
17
|
+
description?: [];
|
|
18
|
+
content?: [];
|
|
19
|
+
default?: [];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare const FocusPage: TOC<FocusPageSignature>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=focus-page.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-page.gts.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/focus-page.gts"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,WAAW,CAAC;YAAC,MAAM,EAAE;gBAAE,OAAO,EAAE,EAAE,CAAA;aAAE,CAAA;SAAE,CAAC,CAAC;KAC5E,CAAC;IACF,MAAM,EAAE;QACN,KAAK,CAAC,EAAE,EAAE,CAAC;QACX,WAAW,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,EAAE,EAAE,CAAC;QACb,OAAO,CAAC,EAAE,EAAE,CAAC;KACd,CAAC;CACH;AAED,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,kBAAkB,CAgF5C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TOC } from '@ember/component/template-only';
|
|
2
|
+
import type { ComponentLike } from '@glint/template';
|
|
3
|
+
interface PageSignature {
|
|
4
|
+
Element: HTMLElement;
|
|
5
|
+
Args: {
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
element?: ComponentLike<{
|
|
9
|
+
Element: HTMLElement;
|
|
10
|
+
Blocks: {
|
|
11
|
+
default: [];
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
Blocks: {
|
|
16
|
+
title?: [];
|
|
17
|
+
description?: [];
|
|
18
|
+
content?: [];
|
|
19
|
+
default?: [];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare const Page: TOC<PageSignature>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=page.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.gts.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/page.gts"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,aAAa;IACrB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,WAAW,CAAC;YAAC,MAAM,EAAE;gBAAE,OAAO,EAAE,EAAE,CAAA;aAAE,CAAA;SAAE,CAAC,CAAC;KAC5E,CAAC;IACF,MAAM,EAAE;QACN,KAAK,CAAC,EAAE,EAAE,CAAC;QACX,WAAW,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,EAAE,EAAE,CAAC;QACb,OAAO,CAAC,EAAE,EAAE,CAAC;KACd,CAAC;CACH;AAED,eAAO,MAAM,IAAI,EAAE,GAAG,CAAC,aAAa,CAgFlC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Helper from '@ember/component/helper';
|
|
2
|
+
import Modifier from 'ember-modifier';
|
|
3
|
+
import type HokuleaService from '../../services/-hokulea';
|
|
4
|
+
declare class PageElement extends Helper<{
|
|
5
|
+
Return: 'main' | 'section';
|
|
6
|
+
}> {
|
|
7
|
+
hokulea: HokuleaService;
|
|
8
|
+
compute(): 'main' | 'section';
|
|
9
|
+
}
|
|
10
|
+
declare class PageDestructor extends Modifier {
|
|
11
|
+
hokulea: HokuleaService;
|
|
12
|
+
modify(): void;
|
|
13
|
+
}
|
|
14
|
+
export { PageDestructor as pageDestructor, PageElement as pageElement };
|
|
15
|
+
//# sourceMappingURL=pages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/pages.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAI7C,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D,cAAM,WAAY,SAAQ,MAAM,CAAC;IAAE,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;IACjC,OAAO,EAAE,cAAc,CAAC;IAErD,OAAO,IAAI,MAAM,GAAG,SAAS;CAO9B;AAED,cAAM,cAAe,SAAQ,QAAQ;IACN,OAAO,EAAE,cAAc,CAAC;IAErD,MAAM,IAAI,IAAI;CAKf;AAED,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,WAAW,IAAI,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NavLink } from '../navigation/nav-link';
|
|
2
|
+
import type { TOC } from '@ember/component/template-only';
|
|
3
|
+
import type { ComponentLike } from '@glint/template';
|
|
4
|
+
interface SectionedPageSignature {
|
|
5
|
+
Element: HTMLElement;
|
|
6
|
+
Args: {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
element?: ComponentLike<{
|
|
10
|
+
Element: HTMLElement;
|
|
11
|
+
Blocks: {
|
|
12
|
+
default: [];
|
|
13
|
+
};
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
Blocks: {
|
|
17
|
+
title?: [];
|
|
18
|
+
description?: [];
|
|
19
|
+
nav?: [typeof NavLink];
|
|
20
|
+
content?: [];
|
|
21
|
+
default?: [];
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare const SectionedPage: TOC<SectionedPageSignature>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=sectioned-page.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sectioned-page.gts.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/sectioned-page.gts"],"names":[],"mappings":"AAiFA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAGrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,sBAAsB;IAC9B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,WAAW,CAAC;YAAC,MAAM,EAAE;gBAAE,OAAO,EAAE,EAAE,CAAA;aAAE,CAAA;SAAE,CAAC,CAAC;KAC5E,CAAC;IACF,MAAM,EAAE;QACN,KAAK,CAAC,EAAE,EAAE,CAAC;QACX,WAAW,CAAC,EAAE,EAAE,CAAC;QACjB,GAAG,CAAC,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC;QACvB,OAAO,CAAC,EAAE,EAAE,CAAC;QACb,OAAO,CAAC,EAAE,EAAE,CAAC;KACd,CAAC;CACH;AAED,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,sBAAsB,CA0FpD,CAAC"}
|
|
@@ -1,51 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type Owner from '@ember/owner';
|
|
3
|
-
import type { WithBoundArgs } from '@glint/template';
|
|
4
|
-
export interface OptionSignature<V> {
|
|
5
|
-
Element: HTMLOptionElement;
|
|
6
|
-
Args: {
|
|
7
|
-
value: V;
|
|
8
|
-
isSelected: (option: V) => boolean;
|
|
9
|
-
registerItem: (item: V) => void;
|
|
10
|
-
unregisterItem: (item: V) => void;
|
|
11
|
-
};
|
|
12
|
-
Blocks: {
|
|
13
|
-
default: [];
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
declare class Option<V> extends Component<OptionSignature<V>> {
|
|
17
|
-
constructor(owner: Owner, args: OptionSignature<V>['Args']);
|
|
18
|
-
}
|
|
19
|
-
export interface ListSignature<V> {
|
|
20
|
-
Element: HTMLDivElement;
|
|
21
|
-
Args: {
|
|
22
|
-
multiple?: boolean;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
value?: V | V[];
|
|
25
|
-
update?: (value: V | V[]) => void;
|
|
26
|
-
activateItem?: (value: V) => void;
|
|
27
|
-
};
|
|
28
|
-
Blocks: {
|
|
29
|
-
default: [
|
|
30
|
-
{
|
|
31
|
-
Option: WithBoundArgs<typeof Option<V>, 'isSelected' | 'registerItem' | 'unregisterItem'>;
|
|
32
|
-
}
|
|
33
|
-
];
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export default class List<V> extends Component<ListSignature<V>> {
|
|
37
|
-
Option: {
|
|
38
|
-
new (owner: Owner, args: {
|
|
39
|
-
value: V;
|
|
40
|
-
isSelected: (option: V) => boolean;
|
|
41
|
-
registerItem: (item: V) => void;
|
|
42
|
-
unregisterItem: (item: V) => void;
|
|
43
|
-
}): Option<V>;
|
|
44
|
-
};
|
|
45
|
-
items: V[];
|
|
46
|
-
registerItem: (item: V) => void;
|
|
47
|
-
unregisterItem: (item: V) => void;
|
|
48
|
-
isSelected: (option: V) => boolean;
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
1
|
+
export { List as default } from './controls/list';
|
|
51
2
|
//# sourceMappingURL=list.gts.d.ts.map
|