@hokulea/ember 0.6.2 → 0.7.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/README.md +178 -17
- package/addon-main.cjs +5 -0
- package/declarations/-private/form/components/{description.d.ts → description.gts.d.ts} +1 -1
- package/declarations/-private/form/components/description.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/{errors.d.ts → errors.gts.d.ts} +2 -2
- package/declarations/-private/form/components/errors.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/{field.d.ts → field.gts.d.ts} +22 -16
- package/declarations/-private/form/components/field.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{checkbox.d.ts → checkbox.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/checkbox.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{currency.d.ts → currency.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/currency.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{date.d.ts → date.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/date.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{email.d.ts → email.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/email.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{list.d.ts → list.gts.d.ts} +3 -3
- package/declarations/-private/form/components/fields/list.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{multiple-choice.d.ts → multiple-choice.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/multiple-choice.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{number.d.ts → number.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/number.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{password.d.ts → password.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/password.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{phone.d.ts → phone.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/phone.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{range.d.ts → range.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/range.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{select.d.ts → select.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/select.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{singular-choice.d.ts → singular-choice.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/singular-choice.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{text-area.d.ts → text-area.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/text-area.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/fields/{text.d.ts → text.gts.d.ts} +2 -2
- package/declarations/-private/form/components/fields/text.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/{label.d.ts → label.gts.d.ts} +1 -1
- package/declarations/-private/form/components/label.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/{reset.d.ts → reset.gts.d.ts} +1 -1
- package/declarations/-private/form/components/reset.gts.d.ts.map +1 -0
- package/declarations/-private/form/components/{submit.d.ts → submit.gts.d.ts} +1 -1
- package/declarations/-private/form/components/submit.gts.d.ts.map +1 -0
- package/declarations/-private/form/modifiers/capture-events.d.ts.map +1 -1
- package/declarations/-private/form/modifiers/manage-validation.d.ts +8 -5
- package/declarations/-private/form/modifiers/manage-validation.d.ts.map +1 -1
- package/declarations/-private/helpers.d.ts.map +1 -1
- package/declarations/-private/stories.d.ts +2 -0
- package/declarations/-private/stories.d.ts.map +1 -0
- package/declarations/components/-stories.d.ts +3 -0
- package/declarations/components/-stories.d.ts.map +1 -0
- package/declarations/components/{app-header.d.ts → app-header.gts.d.ts} +1 -2
- package/declarations/components/app-header.gts.d.ts.map +1 -0
- package/declarations/components/{box.d.ts → box.gts.d.ts} +1 -1
- package/declarations/components/box.gts.d.ts.map +1 -0
- package/declarations/components/{button.d.ts → button.gts.d.ts} +1 -1
- package/declarations/components/button.gts.d.ts.map +1 -0
- package/declarations/components/{card.d.ts → card.gts.d.ts} +1 -1
- package/declarations/components/card.gts.d.ts.map +1 -0
- package/declarations/components/{checkbox.d.ts → checkbox.gts.d.ts} +2 -2
- package/declarations/components/checkbox.gts.d.ts.map +1 -0
- package/declarations/components/{currency-input.d.ts → currency-input.gts.d.ts} +2 -2
- package/declarations/components/currency-input.gts.d.ts.map +1 -0
- package/declarations/components/{date-input.d.ts → date-input.gts.d.ts} +2 -2
- package/declarations/components/date-input.gts.d.ts.map +1 -0
- package/declarations/components/{email-input.d.ts → email-input.gts.d.ts} +2 -2
- package/declarations/components/email-input.gts.d.ts.map +1 -0
- package/declarations/components/{form.d.ts → form.gts.d.ts} +27 -31
- package/declarations/components/form.gts.d.ts.map +1 -0
- package/declarations/components/{icon-button.d.ts → icon-button.gts.d.ts} +4 -5
- package/declarations/components/icon-button.gts.d.ts.map +1 -0
- package/declarations/components/icon.gts.d.ts +14 -0
- package/declarations/components/icon.gts.d.ts.map +1 -0
- package/declarations/components/{input-builder.d.ts → input-builder.gts.d.ts} +1 -1
- package/declarations/components/input-builder.gts.d.ts.map +1 -0
- package/declarations/components/{list.d.ts → list.gts.d.ts} +1 -1
- package/declarations/components/list.gts.d.ts.map +1 -0
- package/declarations/components/{menu.d.ts → menu.gts.d.ts} +3 -4
- package/declarations/components/menu.gts.d.ts.map +1 -0
- package/declarations/components/{number-input.d.ts → number-input.gts.d.ts} +2 -2
- package/declarations/components/number-input.gts.d.ts.map +1 -0
- package/declarations/components/{page.d.ts → page.gts.d.ts} +6 -2
- package/declarations/components/page.gts.d.ts.map +1 -0
- package/declarations/components/{password-input.d.ts → password-input.gts.d.ts} +2 -2
- package/declarations/components/password-input.gts.d.ts.map +1 -0
- package/declarations/components/{phone-input.d.ts → phone-input.gts.d.ts} +2 -2
- package/declarations/components/phone-input.gts.d.ts.map +1 -0
- package/declarations/components/{popover.d.ts → popover.gts.d.ts} +1 -1
- package/declarations/components/popover.gts.d.ts.map +1 -0
- package/declarations/components/{radio.d.ts → radio.gts.d.ts} +2 -2
- package/declarations/components/radio.gts.d.ts.map +1 -0
- package/declarations/components/{range-input.d.ts → range-input.gts.d.ts} +2 -2
- package/declarations/components/range-input.gts.d.ts.map +1 -0
- package/declarations/components/{section.d.ts → section.gts.d.ts} +1 -1
- package/declarations/components/section.gts.d.ts.map +1 -0
- package/declarations/components/{select.d.ts → select.gts.d.ts} +1 -1
- package/declarations/components/select.gts.d.ts.map +1 -0
- package/declarations/components/{tabs.d.ts → tabs.gts.d.ts} +6 -5
- package/declarations/components/tabs.gts.d.ts.map +1 -0
- package/declarations/components/{text-area.d.ts → text-area.gts.d.ts} +2 -2
- package/declarations/components/text-area.gts.d.ts.map +1 -0
- package/declarations/components/{text-input.d.ts → text-input.gts.d.ts} +2 -2
- package/declarations/components/text-input.gts.d.ts.map +1 -0
- package/declarations/index.d.ts +11 -11
- package/declarations/index.d.ts.map +1 -1
- package/declarations/services/-hokulea.d.ts +5 -0
- package/declarations/services/-hokulea.d.ts.map +1 -0
- package/declarations/template-registry.d.ts +1 -1
- package/declarations/template-registry.d.ts.map +1 -1
- package/declarations/test-support/index.d.ts +18 -18
- package/declarations/test-support/index.d.ts.map +1 -1
- package/declarations/test-support/page-objects/-private/choices.d.ts +1 -2
- package/declarations/test-support/page-objects/-private/choices.d.ts.map +1 -1
- package/declarations/test-support/page-objects/-private/field.d.ts +11 -33
- package/declarations/test-support/page-objects/-private/field.d.ts.map +1 -1
- package/declarations/test-support/page-objects/app-header.d.ts +3 -3
- package/declarations/test-support/page-objects/app-header.d.ts.map +1 -1
- package/declarations/test-support/page-objects/choice.d.ts +1 -1
- package/declarations/test-support/page-objects/choice.d.ts.map +1 -1
- package/declarations/test-support/page-objects/form.d.ts +4 -2
- package/declarations/test-support/page-objects/form.d.ts.map +1 -1
- package/declarations/test-support/page-objects/icon-button.d.ts +1 -1
- package/declarations/test-support/page-objects/icon-button.d.ts.map +1 -1
- package/declarations/test-support/page-objects/icon.d.ts +1 -2
- package/declarations/test-support/page-objects/icon.d.ts.map +1 -1
- package/declarations/test-support/page-objects/input-builder.d.ts +2 -2
- package/declarations/test-support/page-objects/input-builder.d.ts.map +1 -1
- package/declarations/test-support/page-objects/menu.d.ts +1 -1
- package/declarations/test-support/page-objects/menu.d.ts.map +1 -1
- package/declarations/test-support/page-objects/tabs.d.ts.map +1 -1
- package/declarations/test-support/page-objects/text-area.d.ts +1 -1
- package/declarations/test-support/page-objects/text-area.d.ts.map +1 -1
- package/dist/{-button-CJL1yb2d.js → -button-KUaJCQaB.js} +2 -2
- package/dist/-button-KUaJCQaB.js.map +1 -0
- package/dist/-input-DGR-n9U_.js.map +1 -1
- package/dist/_app_/services/-hokulea.js +1 -0
- package/dist/components/app-header.js +35 -40
- package/dist/components/app-header.js.map +1 -1
- package/dist/components/box.js +3 -3
- package/dist/components/box.js.map +1 -1
- package/dist/components/button.js +4 -4
- package/dist/components/button.js.map +1 -1
- package/dist/components/card.js +3 -3
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox.js +3 -3
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/currency-input.js +3 -3
- package/dist/components/currency-input.js.map +1 -1
- package/dist/components/date-input.js +3 -3
- package/dist/components/date-input.js.map +1 -1
- package/dist/components/email-input.js +3 -3
- package/dist/components/email-input.js.map +1 -1
- package/dist/components/form.js +287 -295
- package/dist/components/form.js.map +1 -1
- package/dist/components/icon-button.js +8 -6
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/icon.js +9 -34
- package/dist/components/icon.js.map +1 -1
- package/dist/components/input-builder.js +2 -2
- package/dist/components/input-builder.js.map +1 -1
- package/dist/components/list.js +17 -17
- package/dist/components/list.js.map +1 -1
- package/dist/components/menu.js +18 -23
- package/dist/components/menu.js.map +1 -1
- package/dist/components/number-input.js +3 -3
- package/dist/components/number-input.js.map +1 -1
- package/dist/components/page.js +33 -35
- package/dist/components/page.js.map +1 -1
- package/dist/components/password-input.js +3 -3
- package/dist/components/password-input.js.map +1 -1
- package/dist/components/phone-input.js +3 -3
- package/dist/components/phone-input.js.map +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/popover.js.map +1 -1
- package/dist/components/radio.js +3 -3
- package/dist/components/radio.js.map +1 -1
- package/dist/components/range-input.js +15 -15
- package/dist/components/range-input.js.map +1 -1
- package/dist/components/section.js +10 -10
- package/dist/components/section.js.map +1 -1
- package/dist/components/select.js +10 -10
- package/dist/components/select.js.map +1 -1
- package/dist/components/tabs.js +28 -27
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/text-area.js +3 -3
- package/dist/components/text-area.js.map +1 -1
- package/dist/components/text-input.js +3 -3
- package/dist/components/text-input.js.map +1 -1
- package/dist/disabled-B_FQ0Z51.js.map +1 -1
- package/dist/helpers/popover.js +3 -3
- package/dist/helpers/popover.js.map +1 -1
- package/dist/{helpers-DApiJrHl.js → helpers-DS9du02l.js} +4 -2
- package/dist/helpers-DS9du02l.js.map +1 -0
- package/dist/index.js +9 -9
- package/dist/services/-hokulea.js +15 -0
- package/dist/services/-hokulea.js.map +1 -0
- package/dist/test-support/index.js +12 -14
- package/dist/test-support/index.js.map +1 -1
- package/package.json +93 -84
- package/addon-main.js +0 -49
- package/declarations/-private/form/components/description.d.ts.map +0 -1
- package/declarations/-private/form/components/errors.d.ts.map +0 -1
- package/declarations/-private/form/components/field.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/checkbox.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/currency.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/date.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/email.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/list.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/multiple-choice.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/number.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/password.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/phone.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/range.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/select.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/singular-choice.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/text-area.d.ts.map +0 -1
- package/declarations/-private/form/components/fields/text.d.ts.map +0 -1
- package/declarations/-private/form/components/label.d.ts.map +0 -1
- package/declarations/-private/form/components/reset.d.ts.map +0 -1
- package/declarations/-private/form/components/submit.d.ts.map +0 -1
- package/declarations/components/app-header.d.ts.map +0 -1
- package/declarations/components/box.d.ts.map +0 -1
- package/declarations/components/button.d.ts.map +0 -1
- package/declarations/components/card.d.ts.map +0 -1
- package/declarations/components/checkbox.d.ts.map +0 -1
- package/declarations/components/currency-input.d.ts.map +0 -1
- package/declarations/components/date-input.d.ts.map +0 -1
- package/declarations/components/email-input.d.ts.map +0 -1
- package/declarations/components/form.d.ts.map +0 -1
- package/declarations/components/icon-button.d.ts.map +0 -1
- package/declarations/components/icon.d.ts +0 -13698
- package/declarations/components/icon.d.ts.map +0 -1
- package/declarations/components/input-builder.d.ts.map +0 -1
- package/declarations/components/list.d.ts.map +0 -1
- package/declarations/components/menu.d.ts.map +0 -1
- package/declarations/components/number-input.d.ts.map +0 -1
- package/declarations/components/page.d.ts.map +0 -1
- package/declarations/components/password-input.d.ts.map +0 -1
- package/declarations/components/phone-input.d.ts.map +0 -1
- package/declarations/components/popover.d.ts.map +0 -1
- package/declarations/components/radio.d.ts.map +0 -1
- package/declarations/components/range-input.d.ts.map +0 -1
- package/declarations/components/section.d.ts.map +0 -1
- package/declarations/components/select.d.ts.map +0 -1
- package/declarations/components/tabs.d.ts.map +0 -1
- package/declarations/components/text-area.d.ts.map +0 -1
- package/declarations/components/text-input.d.ts.map +0 -1
- package/dist/-button-CJL1yb2d.js.map +0 -1
- package/dist/helpers-DApiJrHl.js.map +0 -1
- package/lib/config.js +0 -10
- package/lib/css-modules-plugin.js +0 -43
- package/lib/index.js +0 -30
- package/lib/webpack-asset-loader-plugin.js +0 -23
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import type { TextInputSignature } from '../../../../components/text-input';
|
|
3
|
-
import type { FormData, FormKey, UserData } from '../../';
|
|
3
|
+
import type { FormData, FormKey, UserData } from '../../index.ts';
|
|
4
4
|
import type { BoundField, FieldArgs } from '../field';
|
|
5
5
|
export interface TextFieldSignature<DATA extends UserData, KEY extends FormKey<FormData<DATA>> = FormKey<FormData<DATA>>> {
|
|
6
6
|
Element: TextInputSignature['Element'];
|
|
@@ -12,4 +12,4 @@ export default class TextField<DATA extends UserData, KEY extends FormKey<FormDa
|
|
|
12
12
|
Field: BoundField<DATA, KEY>;
|
|
13
13
|
setStringValue: (setValue: (value: DATA[KEY]) => void) => (value: string) => void;
|
|
14
14
|
}
|
|
15
|
-
//# sourceMappingURL=text.d.ts.map
|
|
15
|
+
//# sourceMappingURL=text.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.gts.d.ts","sourceRoot":"","sources":["../../../../../src/-private/form/components/fields/text.gts"],"names":[],"mappings":"AAmDA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,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;CAkCH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.gts.d.ts","sourceRoot":"","sources":["../../../../src/-private/form/components/label.gts"],"names":[],"mappings":"AA8BA,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset.gts.d.ts","sourceRoot":"","sources":["../../../../src/-private/form/components/reset.gts"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,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AAE;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,CAqD/B,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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;;;;
|
|
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;;;;EAkB9B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import Modifier from 'ember-modifier';
|
|
2
2
|
import type { FormData, FormKey, UserData } from '../';
|
|
3
3
|
export interface NamedOptions<DATA extends UserData> {
|
|
4
|
+
/** @internal */
|
|
4
5
|
invalid: boolean;
|
|
6
|
+
/** @internal */
|
|
5
7
|
errorMessageId: string;
|
|
8
|
+
/** @internal */
|
|
6
9
|
showErrorsFor: (field: FormKey<FormData<DATA>>) => boolean;
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
+
/** @internal */
|
|
10
11
|
name: FormKey<FormData<DATA>>;
|
|
11
12
|
}
|
|
13
|
+
type ValidationElements = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | HTMLDivElement;
|
|
12
14
|
export interface ManagaValidationSignature<DATA extends UserData> {
|
|
13
|
-
Element:
|
|
15
|
+
Element: ValidationElements;
|
|
14
16
|
Args: {
|
|
15
17
|
Named: NamedOptions<DATA>;
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
export default class ManageValidationModifier<DATA extends UserData> extends Modifier<ManagaValidationSignature<DATA>> {
|
|
19
|
-
modify(element: HTMLInputElement, _pos: [], { name, showErrorsFor, invalid, errorMessageId }: NamedOptions<DATA>):
|
|
21
|
+
modify(element: HTMLInputElement, _pos: [], { name, showErrorsFor, invalid, errorMessageId }: NamedOptions<DATA>): void;
|
|
20
22
|
}
|
|
23
|
+
export {};
|
|
21
24
|
//# sourceMappingURL=manage-validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;IACjD,gBAAgB;IAChB,OAAO,EAAE,OAAO,CAAC;IAEjB,gBAAgB;IAChB,cAAc,EAAE,MAAM,CAAC;IAEvB,gBAAgB;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,OAAO,CAAC;IAE3D,gBAAgB;IAChB,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;CAC/B;AAED,KAAK,kBAAkB,GACnB,gBAAgB,GAChB,iBAAiB,GACjB,mBAAmB,GACnB,cAAc,CAAC;AAEnB,MAAM,WAAW,yBAAyB,CAAC,IAAI,SAAS,QAAQ;IAC9D,OAAO,EAAE,kBAAkB,CAAC;IAC5B,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 +1 @@
|
|
|
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;
|
|
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;AAGD,QAAA,MAAM,EAAE,kBAAmB,OAAO,EAAE,YAA+C,CAAC;AAEpF,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,KAAK,MAAO,OAAO,KAAK,OAAO,YAAY,CAAC;AAElD,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,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../src/-private/stories.ts"],"names":[],"mappings":"AAAA,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAMlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"-stories.d.ts","sourceRoot":"","sources":["../../src/components/-stories.ts"],"names":[],"mappings":"AASA,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,sBAc1C;AAED,wBAAgB,SAAS,aAExB"}
|
|
@@ -29,7 +29,6 @@ interface AppHeaderSignature {
|
|
|
29
29
|
export default class AppHeader extends Component<AppHeaderSignature> {
|
|
30
30
|
topNavShown: boolean;
|
|
31
31
|
sensing: boolean;
|
|
32
|
-
get appHeader(): boolean;
|
|
33
32
|
detectOverflow: import("ember-concurrency").TaskForAsyncTaskFunction<unknown, (element: HTMLElement) => Promise<void>>;
|
|
34
33
|
flipflop: import("ember-modifier").FunctionBasedModifier<{
|
|
35
34
|
Args: {
|
|
@@ -47,4 +46,4 @@ export default class AppHeader extends Component<AppHeaderSignature> {
|
|
|
47
46
|
}>;
|
|
48
47
|
}
|
|
49
48
|
export {};
|
|
50
|
-
//# sourceMappingURL=app-header.d.ts.map
|
|
49
|
+
//# sourceMappingURL=app-header.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-header.gts.d.ts","sourceRoot":"","sources":["../../src/components/app-header.gts"],"names":[],"mappings":"AAsOA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,KAAK,aAAa,EAAkB,MAAM,eAAe,CAAC;AAYnE,OAAO,KAAK,EAAgC,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAU1D,UAAU,gBAAiB,SAAQ,iBAAiB;CAAG;AA0CvD,QAAA,MAAM,OAAO,EAAE,GAAG,CAAC,gBAAgB,CAyDjC,CAAC;AAiDH,UAAU,kBAAkB;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ;;;;WAIG;QACH,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;QAEtC,IAAI,CAAC,EAAE,aAAa,CAAC;KACtB,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,0EAAkC,WAAW,oBAkCxD;IAEH,QAAQ;;;;;;OAWL;IAEH,aAAa;;;;;;OAoBV;CAqKJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box.gts.d.ts","sourceRoot":"","sources":["../../src/components/box.gts"],"names":[],"mappings":"AA2BA,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.gts.d.ts","sourceRoot":"","sources":["../../src/components/button.gts"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,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Ae,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputArgs } from './-input';
|
|
1
|
+
import type { InputArgs } from './-input.ts';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
3
|
export interface CheckboxSignature {
|
|
4
4
|
Element: HTMLInputElement;
|
|
@@ -6,4 +6,4 @@ export interface CheckboxSignature {
|
|
|
6
6
|
}
|
|
7
7
|
declare const Checkbox: TOC<CheckboxSignature>;
|
|
8
8
|
export default Checkbox;
|
|
9
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
9
|
+
//# sourceMappingURL=checkbox.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.gts.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.gts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,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,CAgBnC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputArgs } from './-input';
|
|
1
|
+
import type { InputArgs } from './-input.ts';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
3
|
export interface CurrencyInputSignature {
|
|
4
4
|
Element: HTMLInputElement;
|
|
@@ -6,4 +6,4 @@ export interface CurrencyInputSignature {
|
|
|
6
6
|
}
|
|
7
7
|
declare const CurrencyInput: TOC<CurrencyInputSignature>;
|
|
8
8
|
export default CurrencyInput;
|
|
9
|
-
//# sourceMappingURL=currency-input.d.ts.map
|
|
9
|
+
//# sourceMappingURL=currency-input.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency-input.gts.d.ts","sourceRoot":"","sources":["../../src/components/currency-input.gts"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,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,CAsC7C,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputArgs } from './-input';
|
|
1
|
+
import type { InputArgs } from './-input.ts';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
3
|
export interface DateInputSignature {
|
|
4
4
|
Element: HTMLInputElement;
|
|
@@ -6,4 +6,4 @@ export interface DateInputSignature {
|
|
|
6
6
|
}
|
|
7
7
|
declare const DateInput: TOC<DateInputSignature>;
|
|
8
8
|
export default DateInput;
|
|
9
|
-
//# sourceMappingURL=date-input.d.ts.map
|
|
9
|
+
//# sourceMappingURL=date-input.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-input.gts.d.ts","sourceRoot":"","sources":["../../src/components/date-input.gts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,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,CAgBrC,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputArgs } from './-input';
|
|
1
|
+
import type { InputArgs } from './-input.ts';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
3
|
export interface EmailInputSignature {
|
|
4
4
|
Element: HTMLInputElement;
|
|
@@ -6,4 +6,4 @@ export interface EmailInputSignature {
|
|
|
6
6
|
}
|
|
7
7
|
declare const EmailInput: TOC<EmailInputSignature>;
|
|
8
8
|
export default EmailInput;
|
|
9
|
-
//# sourceMappingURL=email-input.d.ts.map
|
|
9
|
+
//# sourceMappingURL=email-input.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-input.gts.d.ts","sourceRoot":"","sources":["../../src/components/email-input.gts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,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,CAgBvC,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -17,9 +17,8 @@ import TextField from '../-private/form/components/fields/text';
|
|
|
17
17
|
import TextAreaField from '../-private/form/components/fields/text-area';
|
|
18
18
|
import Reset from '../-private/form/components/reset';
|
|
19
19
|
import Submit from '../-private/form/components/submit';
|
|
20
|
-
import ManagaValidationModifier from '../-private/form/modifiers/manage-validation';
|
|
21
|
-
import type { ErrorRecord, FieldRegistrationData, FieldValidateCallback, FormData, FormKey, FormValidateCallback, UserData, ValidationError } from '../-private/form';
|
|
22
20
|
import type { BoundField } from '../-private/form/components/field';
|
|
21
|
+
import type { ErrorRecord, FieldRegistrationData, FieldValidateCallback, FormData, FormKey, FormValidateCallback, UserData, ValidationError } from '../-private/form/index.ts';
|
|
23
22
|
import type { WithBoundArgs } from '@glint/template';
|
|
24
23
|
export interface FormBuilder<DATA extends UserData, SUBMISSION_VALUE> {
|
|
25
24
|
Checkbox: WithBoundArgs<typeof CheckboxField<DATA>, 'Field'>;
|
|
@@ -133,12 +132,13 @@ declare class FieldData<DATA extends FormData, KEY extends FormKey<DATA> = FormK
|
|
|
133
132
|
}
|
|
134
133
|
export default class Form<DATA extends UserData, SUBMISSION_VALUE> extends Component<FormSignature<DATA, SUBMISSION_VALUE>> {
|
|
135
134
|
Field: {
|
|
136
|
-
new (owner:
|
|
135
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & {
|
|
137
136
|
data: FormData<DATA>;
|
|
138
137
|
set: (key: FormKey<FormData<DATA>>, value: DATA[FormKey<FormData<DATA>>]) => void;
|
|
139
138
|
errors?: Partial<Record<FormKey<FormData<DATA>>, ValidationError<DATA[FormKey<FormData<DATA>>]>[]>> | undefined;
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
showErrorsFor: (field: FormKey<FormData<DATA>>) => boolean;
|
|
140
|
+
registerField: import("../-private/form/index.ts").RegisterFieldCallback<FormData<DATA>, FormKey<FormData<DATA>>>;
|
|
141
|
+
unregisterField: import("../-private/form/index.ts").UnregisterFieldCallback<FormData<DATA>, FormKey<FormData<DATA>>>;
|
|
142
142
|
triggerValidationFor(name: FormKey<FormData<DATA>>): Promise<void>;
|
|
143
143
|
fieldValidationEvent: "focusout" | "change" | "input" | undefined;
|
|
144
144
|
fieldRevalidationEvent: "focusout" | "change" | "input" | undefined;
|
|
@@ -148,100 +148,96 @@ export default class Form<DATA extends UserData, SUBMISSION_VALUE> extends Compo
|
|
|
148
148
|
default: [];
|
|
149
149
|
};
|
|
150
150
|
}>;
|
|
151
|
-
labelComponent?: import("@glint/template").ComponentLike<import(
|
|
152
|
-
manageValidation: import("@glint/template/-private/integration").Invokable<(element: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | HTMLDivElement, named: import("@glint/template/-private/signature").PrebindArgs<import("../-private/form/modifiers/manage-validation").NamedOptions<DATA>, "showErrorsFor">) => import("@glint/template/-private/integration").ModifierReturn>;
|
|
151
|
+
labelComponent?: import("@glint/template").ComponentLike<import('../-private/form/components/label').LabelSignature>;
|
|
153
152
|
}): Field<DATA, FormKey<FormData<DATA>>>;
|
|
154
153
|
};
|
|
155
154
|
CheckboxField: {
|
|
156
|
-
new (owner:
|
|
155
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<boolean>, "value" | "update"> & {
|
|
157
156
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
158
157
|
}): CheckboxField<DATA, FormKey<FormData<DATA>>>;
|
|
159
158
|
};
|
|
160
159
|
CurrencyField: {
|
|
161
|
-
new (owner:
|
|
160
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<number>, "value" | "update"> & {
|
|
162
161
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
163
162
|
}): CurrencyField<DATA, FormKey<FormData<DATA>>>;
|
|
164
163
|
};
|
|
165
164
|
DateField: {
|
|
166
|
-
new (owner:
|
|
165
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
167
166
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
168
167
|
}): DateField<DATA, FormKey<FormData<DATA>>>;
|
|
169
168
|
};
|
|
170
169
|
EmailField: {
|
|
171
|
-
new (owner:
|
|
170
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
172
171
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
173
172
|
}): EmailField<DATA, FormKey<FormData<DATA>>>;
|
|
174
173
|
};
|
|
175
174
|
ListField: {
|
|
176
|
-
new (owner:
|
|
175
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<{
|
|
177
176
|
multiple?: boolean;
|
|
178
177
|
disabled?: boolean;
|
|
179
178
|
value?: DATA[FormKey<FormData<DATA>>] | DATA[FormKey<FormData<DATA>>][] | undefined;
|
|
180
179
|
update?: ((value: DATA[FormKey<FormData<DATA>>] | DATA[FormKey<FormData<DATA>>][]) => void) | undefined;
|
|
181
180
|
activateItem?: ((value: DATA[FormKey<FormData<DATA>>]) => void) | undefined;
|
|
182
|
-
}, "
|
|
181
|
+
}, "update" | "selection"> & {
|
|
183
182
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
184
183
|
}): ListField<DATA, FormKey<FormData<DATA>>>;
|
|
185
184
|
};
|
|
186
185
|
MultipleChoiceField: {
|
|
187
|
-
new (owner:
|
|
186
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & {
|
|
188
187
|
disabled?: boolean;
|
|
189
188
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
190
189
|
}): MultipleChoiceField<DATA, FormKey<FormData<DATA>>>;
|
|
191
190
|
};
|
|
192
191
|
NumberField: {
|
|
193
|
-
new (owner:
|
|
192
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<number>, "value" | "update"> & {
|
|
194
193
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
195
194
|
}): NumberField<DATA, FormKey<FormData<DATA>>>;
|
|
196
195
|
};
|
|
197
196
|
RangeField: {
|
|
198
|
-
new (owner:
|
|
197
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<number> & {
|
|
199
198
|
min?: number;
|
|
200
199
|
max?: number;
|
|
201
200
|
step?: number | "any";
|
|
202
201
|
orientation?: "horizontal" | "vertical";
|
|
203
|
-
}, "
|
|
202
|
+
}, "value" | "update"> & {
|
|
204
203
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
205
204
|
}): RangeField<DATA, FormKey<FormData<DATA>>>;
|
|
206
205
|
};
|
|
207
206
|
PasswordField: {
|
|
208
|
-
new (owner:
|
|
207
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
209
208
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
210
209
|
}): PasswordField<DATA, FormKey<FormData<DATA>>>;
|
|
211
210
|
};
|
|
212
211
|
PhoneField: {
|
|
213
|
-
new (owner:
|
|
212
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
214
213
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
215
214
|
}): PhoneField<DATA, FormKey<FormData<DATA>>>;
|
|
216
215
|
};
|
|
217
216
|
SelectField: {
|
|
218
|
-
new (owner:
|
|
219
|
-
value?: import(
|
|
220
|
-
update?: (value: import(
|
|
217
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<{
|
|
218
|
+
value?: import('./select').Value | import('./select').Value[];
|
|
219
|
+
update?: (value: import('./select').Value | import('./select').Value[]) => void;
|
|
221
220
|
disabled?: boolean;
|
|
222
|
-
}, "
|
|
221
|
+
}, "update" | "selection"> & {
|
|
223
222
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
224
223
|
}): SelectField<DATA, FormKey<FormData<DATA>>>;
|
|
225
224
|
};
|
|
226
225
|
SingularChoiceField: {
|
|
227
|
-
new (owner:
|
|
226
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & {
|
|
228
227
|
disabled?: boolean;
|
|
229
228
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
230
229
|
}): SingularChoiceField<DATA, FormKey<FormData<DATA>>>;
|
|
231
230
|
};
|
|
232
231
|
TextField: {
|
|
233
|
-
new (owner:
|
|
232
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
234
233
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
235
234
|
}): TextField<DATA, FormKey<FormData<DATA>>>;
|
|
236
235
|
};
|
|
237
236
|
TextAreaField: {
|
|
238
|
-
new (owner:
|
|
237
|
+
new (owner: import("@ember/-internals/owner").default, args: import('../-private/form/components/field').FieldArgs<DATA, FormKey<FormData<DATA>>> & Omit<import("./-input.ts").InputArgs<string>, "value" | "update"> & {
|
|
239
238
|
Field: BoundField<DATA, FormKey<FormData<DATA>>>;
|
|
240
239
|
}): TextAreaField<DATA, FormKey<FormData<DATA>>>;
|
|
241
240
|
};
|
|
242
|
-
ManagaValidationModifier: {
|
|
243
|
-
new (owner: import("@ember/-internals/owner").default, args: import("ember-modifier").ArgsFor<import("../-private/form/modifiers/manage-validation").ManagaValidationSignature<DATA>>): ManagaValidationModifier<DATA>;
|
|
244
|
-
};
|
|
245
241
|
formElement?: HTMLFormElement;
|
|
246
242
|
registerForm: import("ember-modifier").FunctionBasedModifier<{
|
|
247
243
|
Args: {
|
|
@@ -251,7 +247,7 @@ export default class Form<DATA extends UserData, SUBMISSION_VALUE> extends Compo
|
|
|
251
247
|
Element: HTMLFormElement;
|
|
252
248
|
}>;
|
|
253
249
|
submit: (e?: Event) => Promise<void>;
|
|
254
|
-
reset: (e?: Event) =>
|
|
250
|
+
reset: (e?: Event) => void;
|
|
255
251
|
/**
|
|
256
252
|
* A copy of the passed `@data` stored internally, which is only passed back to the component consumer after a (successful) form submission.
|
|
257
253
|
*/
|
|
@@ -320,4 +316,4 @@ export default class Form<DATA extends UserData, SUBMISSION_VALUE> extends Compo
|
|
|
320
316
|
}>;
|
|
321
317
|
}
|
|
322
318
|
export {};
|
|
323
|
-
//# sourceMappingURL=form.d.ts.map
|
|
319
|
+
//# sourceMappingURL=form.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.gts.d.ts","sourceRoot":"","sources":["../../src/components/form.gts"],"names":[],"mappings":"AAomBA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAMpD,OAAO,KAAK,MAAM,uCAAuC,CAAC;AAC1D,OAAO,aAAa,MAAM,iDAAiD,CAAC;AAC5E,OAAO,aAAa,MAAM,iDAAiD,CAAC;AAC5E,OAAO,SAAS,MAAM,6CAA6C,CAAC;AACpE,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,SAAS,MAAM,6CAA6C,CAAC;AACpE,OAAO,mBAAmB,MAAM,wDAAwD,CAAC;AACzF,OAAO,WAAW,MAAM,+CAA+C,CAAC;AACxE,OAAO,aAAa,MAAM,iDAAiD,CAAC;AAC5E,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,WAAW,MAAM,+CAA+C,CAAC;AACxE,OAAO,mBAAmB,MAAM,wDAAwD,CAAC;AACzF,OAAO,SAAS,MAAM,6CAA6C,CAAC;AACpE,OAAO,aAAa,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AYxE;IAED;;OAEG;IACH,IAAI,qBAAqB,IAAI,OAAO,CASnC;IAED;;OAEG;IACG,QAAQ,IAAI,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAwBtD,iBAAiB,QAAa,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAMhE;IAEF,cAAc,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS;IAoDzD;;;;OAIG;IACH,IAAI,aAAa,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAiB3D;IAED;;OAEG;IACH,aAAa,UAAW,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAG,OAAO,CAEvD;IAEF;;;;OAIG;IACH,qBAAqB,MAAa,KAAK,GAAG,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC,CAwB9D;IAEF;;;;;;OAMG;IACH,uBAAuB,MAAa,KAAK,KAAG,OAAO,CAAC,IAAI,CAAC,CAcvD;IAEF,gBAAgB;;iDACuD,KAAK,KAAK,IAAI;;;;OASnF;CAqDH"}
|
|
@@ -10,12 +10,11 @@ export interface IconButtonSignature {
|
|
|
10
10
|
spacing?: Spacing | Spacings;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
label: string;
|
|
13
|
-
/** The name of the icon */
|
|
14
|
-
icon: string;
|
|
15
13
|
/**
|
|
16
|
-
*
|
|
14
|
+
* A string containing a `<svg>` element.
|
|
15
|
+
* Make sure to use `currentColor` to comply with the styling
|
|
17
16
|
*/
|
|
18
|
-
|
|
17
|
+
icon: string;
|
|
19
18
|
};
|
|
20
19
|
Blocks: {
|
|
21
20
|
default: [];
|
|
@@ -24,4 +23,4 @@ export interface IconButtonSignature {
|
|
|
24
23
|
export default class IconButton extends Component<IconButtonSignature> {
|
|
25
24
|
get label(): string;
|
|
26
25
|
}
|
|
27
|
-
//# sourceMappingURL=icon-button.d.ts.map
|
|
26
|
+
//# sourceMappingURL=icon-button.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button.gts.d.ts","sourceRoot":"","sources":["../../src/components/icon-button.gts"],"names":[],"mappings":"AAiEA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAa3C,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;AAEnD,MAAM,WAAW,mBAAmB;IAClC,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;QACnB,KAAK,EAAE,MAAM,CAAC;QACd;;;WAGG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACpE,IAAI,KAAK,WAQR;CAmCF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
declare const Icon: TOC<IconSignature>;
|
|
13
|
+
export default Icon;
|
|
14
|
+
//# sourceMappingURL=icon.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.gts.d.ts","sourceRoot":"","sources":["../../src/components/icon.gts"],"names":[],"mappings":"AA4BA,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,QAAA,MAAM,IAAI,EAAE,GAAG,CAAC,aAAa,CAa3B,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-builder.gts.d.ts","sourceRoot":"","sources":["../../src/components/input-builder.gts"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,cAAc;IACtB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;KACzC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,KAAK,EAAE,GAAG,CAAC,cAAc,CAY7B,CAAC;AAEH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE;QACJ,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,KAAK,EAAE,aAAa,CAAC,OAAO,KAAK,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;gBACzD,MAAM,EAAE,aAAa,CAAC,OAAO,KAAK,EAAE,O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CAAC;QAChB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;QAClC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;KACnC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,MAAM,EAAE,aAAa,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,GAAG,cAAc,GAAG,gBAAgB,CAAC,CAAC;aAC3F;SACF,CAAC;KACH,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,IAAI,CAAC,CAAC,CAAE,SAAQ,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAC9D,MAAM;oBA5Ca,KAAK;;uCAVK,OAAO;uCACP,IAAI;yCACF,IAAI;;MAoDhB;IAEV,KAAK,EAAE,CAAC,EAAE,CAAsB;IAEzC,YAAY,SAAU,CAAC,UAKrB;IAEF,cAAc,SAAU,CAAC,UAKvB;IAEF,UAAU,WAAY,CAAC,aAMrB;CAmBH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
|
-
import type { MenuItemArgs, MenuItemBlocks, MenuItemElement } from './-menu';
|
|
2
|
+
import type { MenuItemArgs, MenuItemBlocks, MenuItemElement } from './-menu.ts';
|
|
3
3
|
import type Owner from '@ember/owner';
|
|
4
4
|
import type { WithBoundArgs } from '@glint/template';
|
|
5
5
|
import type FastBoot from 'ember-cli-fastboot/services/fastboot';
|
|
@@ -30,11 +30,10 @@ export interface MenuSignature {
|
|
|
30
30
|
}
|
|
31
31
|
export default class Menu extends Component<MenuSignature> {
|
|
32
32
|
fastboot?: FastBoot;
|
|
33
|
-
withinAppHeader: boolean;
|
|
34
33
|
items: MenuItem[];
|
|
35
|
-
get
|
|
34
|
+
get hideInSSR(): boolean | undefined;
|
|
36
35
|
registerItem: (item: MenuItem) => void;
|
|
37
36
|
unregisterItem: (item: MenuItem) => void;
|
|
38
37
|
}
|
|
39
38
|
export {};
|
|
40
|
-
//# sourceMappingURL=menu.d.ts.map
|
|
39
|
+
//# sourceMappingURL=menu.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.gts.d.ts","sourceRoot":"","sources":["../../src/components/menu.gts"],"names":[],"mappings":"AAwKA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAiB3C,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,aAAa,CAAC,OAAO,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC,CAAC;CACzE,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,YAAY,GAAG;QACnB,YAAY,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;QACvC,cAAc,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;KAC1C,CAAC;IACF,MAAM,EAAE,cAAc,GAAG;QACvB,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC;KAC3B,CAAC;CACH;AAyCD,cAAM,QAAS,SAAQ,SAAS,CAAC,iBAAiB,CAAC;gBACrC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC;CA8D1D;AAGD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,CAAC,gBAAgB,CAAC,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAS,CAAC,aAAa,CAAC;IACvC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAE5B,KAAK,EAAE,QAAQ,EAAE,CAAsB;IAEhD,IAAI,SAAS,wBAEZ;IAED,YAAY,SAAU,QAAQ,UAK5B;IAEF,cAAc,SAAU,QAAQ,UAK9B;CAoBH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputArgs } from './-input';
|
|
1
|
+
import type { InputArgs } from './-input.ts';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
3
|
export interface NumberInputSignature {
|
|
4
4
|
Element: HTMLInputElement;
|
|
@@ -6,4 +6,4 @@ export interface NumberInputSignature {
|
|
|
6
6
|
}
|
|
7
7
|
declare const NumberInput: TOC<NumberInputSignature>;
|
|
8
8
|
export default NumberInput;
|
|
9
|
-
//# sourceMappingURL=number-input.d.ts.map
|
|
9
|
+
//# sourceMappingURL=number-input.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number-input.gts.d.ts","sourceRoot":"","sources":["../../src/components/number-input.gts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACzB;AAED,QAAA,MAAM,WAAW,EAAE,GAAG,CAAC,oBAAoB,CAgBzC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
|
+
import type Owner from '@ember/owner';
|
|
4
|
+
import type HokuleaService from '#src/services/-hokulea.ts';
|
|
3
5
|
import type { Link } from 'ember-link';
|
|
4
6
|
interface NavLinkSignature {
|
|
5
7
|
Args: {
|
|
@@ -25,8 +27,10 @@ interface PageSignature {
|
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
declare class Page extends Component<PageSignature> {
|
|
28
|
-
|
|
30
|
+
hokulea: HokuleaService;
|
|
31
|
+
pageLevel: number;
|
|
29
32
|
get rootPage(): boolean;
|
|
33
|
+
constructor(owner: Owner, args: PageSignature['Args']);
|
|
30
34
|
}
|
|
31
35
|
export default Page;
|
|
32
|
-
//# sourceMappingURL=page.d.ts.map
|
|
36
|
+
//# sourceMappingURL=page.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.gts.d.ts","sourceRoot":"","sources":["../../src/components/page.gts"],"names":[],"mappings":"AAwHA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAgB3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,UAAU,gBAAgB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI,CAAC;KACZ,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,OAAO,EAAE,GAAG,CAAC,gBAAgB,CAoBjC,CAAC;AAEH,UAAU,aAAa;IACrB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,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,cAAM,IAAK,SAAQ,SAAS,CAAC,aAAa,CAAC;IACZ,OAAO,EAAE,cAAc,CAAC;IAG5C,SAAS,SAAK;IAEvB,IAAI,QAAQ,YAEX;gBAEW,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;CAmGtD;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputArgs } from './-input';
|
|
1
|
+
import type { InputArgs } from './-input.ts';
|
|
2
2
|
import type { TOC } from '@ember/component/template-only';
|
|
3
3
|
export interface PasswordInputSignature {
|
|
4
4
|
Element: HTMLInputElement;
|
|
@@ -6,4 +6,4 @@ export interface PasswordInputSignature {
|
|
|
6
6
|
}
|
|
7
7
|
declare const PasswordInput: TOC<PasswordInputSignature>;
|
|
8
8
|
export default PasswordInput;
|
|
9
|
-
//# sourceMappingURL=password-input.d.ts.map
|
|
9
|
+
//# sourceMappingURL=password-input.gts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-input.gts.d.ts","sourceRoot":"","sources":["../../src/components/password-input.gts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,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,CAgB7C,CAAC;AAEH,eAAe,aAAa,CAAC"}
|