foldkit 0.74.0 → 0.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calendar/arithmetic.d.ts +1 -1
- package/dist/calendar/arithmetic.d.ts.map +1 -1
- package/dist/calendar/arithmetic.js +1 -1
- package/dist/calendar/comparison.d.ts +1 -1
- package/dist/calendar/comparison.d.ts.map +1 -1
- package/dist/calendar/index.d.ts +6 -6
- package/dist/calendar/index.d.ts.map +1 -1
- package/dist/calendar/index.js +6 -6
- package/dist/calendar/info.d.ts +1 -1
- package/dist/calendar/info.d.ts.map +1 -1
- package/dist/calendar/info.js +2 -2
- package/dist/calendar/locale.d.ts +1 -1
- package/dist/calendar/locale.d.ts.map +1 -1
- package/dist/calendar/locale.js +1 -1
- package/dist/calendar/public.d.ts +1 -1
- package/dist/calendar/public.d.ts.map +1 -1
- package/dist/calendar/public.js +1 -1
- package/dist/calendar/today.js +1 -1
- package/dist/command/public.d.ts +2 -2
- package/dist/command/public.d.ts.map +1 -1
- package/dist/command/public.js +1 -1
- package/dist/devtools/overlay.d.ts +3 -3
- package/dist/devtools/overlay.d.ts.map +1 -1
- package/dist/devtools/overlay.js +12 -12
- package/dist/effectExtensions/index.d.ts +2 -2
- package/dist/effectExtensions/index.d.ts.map +1 -1
- package/dist/effectExtensions/index.js +2 -2
- package/dist/effectExtensions/stringExtensions.js +1 -1
- package/dist/fieldValidation/index.d.ts +8 -8
- package/dist/fieldValidation/index.js +2 -2
- package/dist/fieldValidation/public.d.ts +2 -2
- package/dist/fieldValidation/public.d.ts.map +1 -1
- package/dist/fieldValidation/public.js +1 -1
- package/dist/file/index.d.ts +4 -4
- package/dist/file/index.d.ts.map +1 -1
- package/dist/file/index.js +4 -4
- package/dist/file/public.d.ts +1 -1
- package/dist/file/public.d.ts.map +1 -1
- package/dist/file/public.js +1 -1
- package/dist/file/reader.d.ts +2 -2
- package/dist/file/reader.d.ts.map +1 -1
- package/dist/file/reader.js +1 -1
- package/dist/file/select.d.ts +1 -1
- package/dist/file/select.d.ts.map +1 -1
- package/dist/html/index.d.ts +4 -4
- package/dist/html/index.d.ts.map +1 -1
- package/dist/html/index.js +3 -3
- package/dist/html/lazy.d.ts +1 -1
- package/dist/html/lazy.d.ts.map +1 -1
- package/dist/html/lazy.js +1 -1
- package/dist/html/public.d.ts +2 -2
- package/dist/html/public.d.ts.map +1 -1
- package/dist/html/public.js +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -18
- package/dist/managedResource/public.d.ts +4 -4
- package/dist/managedResource/public.d.ts.map +1 -1
- package/dist/managedResource/public.js +2 -2
- package/dist/message/index.d.ts +1 -1
- package/dist/message/index.d.ts.map +1 -1
- package/dist/message/index.js +1 -1
- package/dist/message/public.d.ts +1 -1
- package/dist/message/public.d.ts.map +1 -1
- package/dist/message/public.js +1 -1
- package/dist/navigation/public.d.ts +1 -1
- package/dist/navigation/public.d.ts.map +1 -1
- package/dist/navigation/public.js +1 -1
- package/dist/route/index.d.ts +2 -2
- package/dist/route/index.d.ts.map +1 -1
- package/dist/route/index.js +2 -2
- package/dist/route/parser.d.ts +1 -1
- package/dist/route/parser.d.ts.map +1 -1
- package/dist/route/public.d.ts +2 -2
- package/dist/route/public.d.ts.map +1 -1
- package/dist/route/public.js +1 -1
- package/dist/runtime/browserListeners.d.ts +1 -1
- package/dist/runtime/browserListeners.d.ts.map +1 -1
- package/dist/runtime/browserListeners.js +2 -2
- package/dist/runtime/crashUI.d.ts +1 -1
- package/dist/runtime/crashUI.d.ts.map +1 -1
- package/dist/runtime/crashUI.js +1 -1
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +2 -2
- package/dist/runtime/managedResource.d.ts +1 -1
- package/dist/runtime/managedResource.d.ts.map +1 -1
- package/dist/runtime/public.d.ts +4 -4
- package/dist/runtime/public.d.ts.map +1 -1
- package/dist/runtime/public.js +2 -2
- package/dist/runtime/runtime.d.ts +7 -7
- package/dist/runtime/runtime.d.ts.map +1 -1
- package/dist/runtime/runtime.js +8 -8
- package/dist/runtime/urlRequest.d.ts +4 -4
- package/dist/runtime/urlRequest.js +2 -2
- package/dist/schema/public.d.ts +2 -2
- package/dist/schema/public.d.ts.map +1 -1
- package/dist/schema/public.js +1 -1
- package/dist/struct/public.d.ts +1 -1
- package/dist/struct/public.d.ts.map +1 -1
- package/dist/struct/public.js +1 -1
- package/dist/subscription/public.d.ts +2 -2
- package/dist/subscription/public.d.ts.map +1 -1
- package/dist/subscription/public.js +1 -1
- package/dist/task/dom.d.ts +1 -1
- package/dist/task/dom.d.ts.map +1 -1
- package/dist/task/dom.js +1 -1
- package/dist/task/index.d.ts +9 -9
- package/dist/task/index.d.ts.map +1 -1
- package/dist/task/index.js +8 -8
- package/dist/task/public.d.ts +1 -1
- package/dist/task/public.d.ts.map +1 -1
- package/dist/task/public.js +1 -1
- package/dist/task/time.d.ts +1 -1
- package/dist/task/time.d.ts.map +1 -1
- package/dist/task/time.js +1 -1
- package/dist/test/apps/bubbling.d.ts +2 -2
- package/dist/test/apps/bubbling.d.ts.map +1 -1
- package/dist/test/apps/bubbling.js +2 -2
- package/dist/test/apps/counter.d.ts +8 -8
- package/dist/test/apps/counter.d.ts.map +1 -1
- package/dist/test/apps/counter.js +2 -2
- package/dist/test/apps/disabledButton.d.ts +10 -10
- package/dist/test/apps/disabledButton.d.ts.map +1 -1
- package/dist/test/apps/disabledButton.js +4 -4
- package/dist/test/apps/fileUpload.d.ts +4 -4
- package/dist/test/apps/fileUpload.d.ts.map +1 -1
- package/dist/test/apps/fileUpload.js +3 -3
- package/dist/test/apps/formChild.d.ts +19 -19
- package/dist/test/apps/formChild.d.ts.map +1 -1
- package/dist/test/apps/formChild.js +2 -2
- package/dist/test/apps/interactions.d.ts +8 -8
- package/dist/test/apps/interactions.d.ts.map +1 -1
- package/dist/test/apps/interactions.js +2 -2
- package/dist/test/apps/keypress.d.ts +5 -5
- package/dist/test/apps/keypress.d.ts.map +1 -1
- package/dist/test/apps/keypress.js +2 -2
- package/dist/test/apps/login.d.ts +13 -13
- package/dist/test/apps/login.d.ts.map +1 -1
- package/dist/test/apps/login.js +3 -3
- package/dist/test/apps/logoutButton.d.ts +6 -6
- package/dist/test/apps/logoutButton.d.ts.map +1 -1
- package/dist/test/apps/logoutButton.js +2 -2
- package/dist/test/apps/multiRole.d.ts +3 -3
- package/dist/test/apps/multiRole.d.ts.map +1 -1
- package/dist/test/apps/multiRole.js +2 -2
- package/dist/test/apps/pointer.d.ts +3 -3
- package/dist/test/apps/pointer.d.ts.map +1 -1
- package/dist/test/apps/pointer.js +2 -2
- package/dist/test/apps/resumeUpload.d.ts +11 -11
- package/dist/test/apps/resumeUpload.d.ts.map +1 -1
- package/dist/test/apps/resumeUpload.js +5 -5
- package/dist/test/internal.d.ts +1 -1
- package/dist/test/internal.d.ts.map +1 -1
- package/dist/test/matchers.d.ts +1 -1
- package/dist/test/matchers.d.ts.map +1 -1
- package/dist/test/matchers.js +1 -1
- package/dist/test/public.d.ts +2 -2
- package/dist/test/public.d.ts.map +1 -1
- package/dist/test/public.js +2 -2
- package/dist/test/query.d.ts +1 -1
- package/dist/test/query.d.ts.map +1 -1
- package/dist/test/query.js +1 -1
- package/dist/test/scene.d.ts +9 -9
- package/dist/test/scene.d.ts.map +1 -1
- package/dist/test/scene.js +7 -7
- package/dist/test/story.d.ts +2 -2
- package/dist/test/story.d.ts.map +1 -1
- package/dist/test/story.js +1 -1
- package/dist/test/vitest-setup.js +1 -1
- package/dist/test/vitest.js +1 -1
- package/dist/ui/animation/index.d.ts +4 -4
- package/dist/ui/animation/index.d.ts.map +1 -1
- package/dist/ui/animation/index.js +3 -3
- package/dist/ui/animation/public.d.ts +2 -2
- package/dist/ui/animation/public.d.ts.map +1 -1
- package/dist/ui/animation/public.js +1 -1
- package/dist/ui/animation/schema.d.ts +7 -7
- package/dist/ui/animation/schema.d.ts.map +1 -1
- package/dist/ui/animation/schema.js +1 -1
- package/dist/ui/animation/update.d.ts +2 -2
- package/dist/ui/animation/update.d.ts.map +1 -1
- package/dist/ui/animation/update.js +4 -4
- package/dist/ui/button/index.d.ts +2 -2
- package/dist/ui/button/index.d.ts.map +1 -1
- package/dist/ui/button/index.js +1 -1
- package/dist/ui/button/public.d.ts +2 -2
- package/dist/ui/button/public.d.ts.map +1 -1
- package/dist/ui/button/public.js +1 -1
- package/dist/ui/calendar/index.d.ts +22 -22
- package/dist/ui/calendar/index.d.ts.map +1 -1
- package/dist/ui/calendar/index.js +7 -7
- package/dist/ui/calendar/public.d.ts +2 -2
- package/dist/ui/calendar/public.d.ts.map +1 -1
- package/dist/ui/calendar/public.js +1 -1
- package/dist/ui/checkbox/index.d.ts +4 -4
- package/dist/ui/checkbox/index.d.ts.map +1 -1
- package/dist/ui/checkbox/index.js +3 -3
- package/dist/ui/checkbox/public.d.ts +2 -2
- package/dist/ui/checkbox/public.d.ts.map +1 -1
- package/dist/ui/checkbox/public.js +1 -1
- package/dist/ui/combobox/multi.d.ts +13 -13
- package/dist/ui/combobox/multi.d.ts.map +1 -1
- package/dist/ui/combobox/multi.js +3 -3
- package/dist/ui/combobox/multiPublic.d.ts +2 -2
- package/dist/ui/combobox/multiPublic.d.ts.map +1 -1
- package/dist/ui/combobox/multiPublic.js +1 -1
- package/dist/ui/combobox/public.d.ts +6 -6
- package/dist/ui/combobox/public.d.ts.map +1 -1
- package/dist/ui/combobox/public.js +3 -3
- package/dist/ui/combobox/shared.d.ts +23 -23
- package/dist/ui/combobox/shared.d.ts.map +1 -1
- package/dist/ui/combobox/shared.js +11 -11
- package/dist/ui/combobox/single.d.ts +13 -13
- package/dist/ui/combobox/single.d.ts.map +1 -1
- package/dist/ui/combobox/single.js +3 -3
- package/dist/ui/datePicker/index.d.ts +23 -23
- package/dist/ui/datePicker/index.d.ts.map +1 -1
- package/dist/ui/datePicker/index.js +7 -7
- package/dist/ui/datePicker/public.d.ts +2 -2
- package/dist/ui/datePicker/public.d.ts.map +1 -1
- package/dist/ui/datePicker/public.js +1 -1
- package/dist/ui/dialog/index.d.ts +8 -8
- package/dist/ui/dialog/index.d.ts.map +1 -1
- package/dist/ui/dialog/index.js +7 -7
- package/dist/ui/dialog/public.d.ts +2 -2
- package/dist/ui/dialog/public.d.ts.map +1 -1
- package/dist/ui/dialog/public.js +1 -1
- package/dist/ui/disclosure/index.d.ts +5 -5
- package/dist/ui/disclosure/index.d.ts.map +1 -1
- package/dist/ui/disclosure/index.js +5 -5
- package/dist/ui/disclosure/public.d.ts +2 -2
- package/dist/ui/disclosure/public.d.ts.map +1 -1
- package/dist/ui/disclosure/public.js +1 -1
- package/dist/ui/dragAndDrop/index.d.ts +20 -20
- package/dist/ui/dragAndDrop/index.d.ts.map +1 -1
- package/dist/ui/dragAndDrop/index.js +7 -7
- package/dist/ui/dragAndDrop/public.d.ts +2 -2
- package/dist/ui/dragAndDrop/public.d.ts.map +1 -1
- package/dist/ui/dragAndDrop/public.js +1 -1
- package/dist/ui/fieldset/index.d.ts +2 -2
- package/dist/ui/fieldset/index.d.ts.map +1 -1
- package/dist/ui/fieldset/index.js +1 -1
- package/dist/ui/fieldset/public.d.ts +2 -2
- package/dist/ui/fieldset/public.d.ts.map +1 -1
- package/dist/ui/fieldset/public.js +1 -1
- package/dist/ui/fileDrop/index.d.ts +11 -11
- package/dist/ui/fileDrop/index.d.ts.map +1 -1
- package/dist/ui/fileDrop/index.js +4 -4
- package/dist/ui/fileDrop/public.d.ts +2 -2
- package/dist/ui/fileDrop/public.d.ts.map +1 -1
- package/dist/ui/fileDrop/public.js +1 -1
- package/dist/ui/index.d.ts +23 -23
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +23 -23
- package/dist/ui/input/index.d.ts +2 -2
- package/dist/ui/input/index.d.ts.map +1 -1
- package/dist/ui/input/index.js +1 -1
- package/dist/ui/input/public.d.ts +2 -2
- package/dist/ui/input/public.d.ts.map +1 -1
- package/dist/ui/input/public.js +1 -1
- package/dist/ui/listbox/multi.d.ts +11 -11
- package/dist/ui/listbox/multi.d.ts.map +1 -1
- package/dist/ui/listbox/multi.js +3 -3
- package/dist/ui/listbox/multiPublic.d.ts +2 -2
- package/dist/ui/listbox/multiPublic.d.ts.map +1 -1
- package/dist/ui/listbox/multiPublic.js +1 -1
- package/dist/ui/listbox/public.d.ts +6 -6
- package/dist/ui/listbox/public.d.ts.map +1 -1
- package/dist/ui/listbox/public.js +3 -3
- package/dist/ui/listbox/shared.d.ts +27 -27
- package/dist/ui/listbox/shared.d.ts.map +1 -1
- package/dist/ui/listbox/shared.js +12 -12
- package/dist/ui/listbox/single.d.ts +11 -11
- package/dist/ui/listbox/single.d.ts.map +1 -1
- package/dist/ui/listbox/single.js +3 -3
- package/dist/ui/menu/index.d.ts +30 -30
- package/dist/ui/menu/index.d.ts.map +1 -1
- package/dist/ui/menu/index.js +12 -12
- package/dist/ui/menu/public.d.ts +3 -3
- package/dist/ui/menu/public.d.ts.map +1 -1
- package/dist/ui/menu/public.js +1 -1
- package/dist/ui/popover/index.d.ts +17 -17
- package/dist/ui/popover/index.d.ts.map +1 -1
- package/dist/ui/popover/index.js +9 -9
- package/dist/ui/popover/public.d.ts +3 -3
- package/dist/ui/popover/public.d.ts.map +1 -1
- package/dist/ui/popover/public.js +1 -1
- package/dist/ui/radioGroup/index.d.ts +4 -4
- package/dist/ui/radioGroup/index.d.ts.map +1 -1
- package/dist/ui/radioGroup/index.js +6 -6
- package/dist/ui/radioGroup/public.d.ts +2 -2
- package/dist/ui/radioGroup/public.d.ts.map +1 -1
- package/dist/ui/radioGroup/public.js +1 -1
- package/dist/ui/select/index.d.ts +2 -2
- package/dist/ui/select/index.d.ts.map +1 -1
- package/dist/ui/select/index.js +1 -1
- package/dist/ui/select/public.d.ts +2 -2
- package/dist/ui/select/public.d.ts.map +1 -1
- package/dist/ui/select/public.js +1 -1
- package/dist/ui/slider/index.d.ts +12 -12
- package/dist/ui/slider/index.d.ts.map +1 -1
- package/dist/ui/slider/index.js +5 -5
- package/dist/ui/slider/public.d.ts +2 -2
- package/dist/ui/slider/public.d.ts.map +1 -1
- package/dist/ui/slider/public.js +1 -1
- package/dist/ui/switch/index.d.ts +4 -4
- package/dist/ui/switch/index.d.ts.map +1 -1
- package/dist/ui/switch/index.js +3 -3
- package/dist/ui/switch/public.d.ts +2 -2
- package/dist/ui/switch/public.d.ts.map +1 -1
- package/dist/ui/switch/public.js +1 -1
- package/dist/ui/tabs/index.d.ts +6 -6
- package/dist/ui/tabs/index.d.ts.map +1 -1
- package/dist/ui/tabs/index.js +7 -7
- package/dist/ui/tabs/public.d.ts +2 -2
- package/dist/ui/tabs/public.d.ts.map +1 -1
- package/dist/ui/tabs/public.js +1 -1
- package/dist/ui/textarea/index.d.ts +2 -2
- package/dist/ui/textarea/index.d.ts.map +1 -1
- package/dist/ui/textarea/index.js +1 -1
- package/dist/ui/textarea/public.d.ts +2 -2
- package/dist/ui/textarea/public.d.ts.map +1 -1
- package/dist/ui/textarea/public.js +1 -1
- package/dist/ui/toast/index.d.ts +13 -13
- package/dist/ui/toast/index.d.ts.map +1 -1
- package/dist/ui/toast/index.js +3 -3
- package/dist/ui/toast/public.d.ts +3 -3
- package/dist/ui/toast/public.d.ts.map +1 -1
- package/dist/ui/toast/public.js +1 -1
- package/dist/ui/toast/schema.d.ts +15 -15
- package/dist/ui/toast/schema.d.ts.map +1 -1
- package/dist/ui/toast/schema.js +2 -2
- package/dist/ui/toast/update.d.ts +10 -10
- package/dist/ui/toast/update.d.ts.map +1 -1
- package/dist/ui/toast/update.js +7 -7
- package/dist/ui/tooltip/index.d.ts +11 -11
- package/dist/ui/tooltip/index.d.ts.map +1 -1
- package/dist/ui/tooltip/index.js +7 -7
- package/dist/ui/tooltip/public.d.ts +3 -3
- package/dist/ui/tooltip/public.d.ts.map +1 -1
- package/dist/ui/tooltip/public.js +1 -1
- package/dist/ui/typeahead.js +1 -1
- package/dist/url/index.js +1 -1
- package/dist/url/public.d.ts +1 -1
- package/dist/url/public.d.ts.map +1 -1
- package/dist/url/public.js +1 -1
- package/dist/vdom.js +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Array, Option, Schema as S } from 'effect';
|
|
2
|
-
import { createLazy } from '../../html';
|
|
3
|
-
import { evo } from '../../struct';
|
|
4
|
-
import { BaseModel, Closed, Opened, SelectedItem, baseInit, closedBaseModel, makeUpdate, makeView, } from './shared';
|
|
2
|
+
import { createLazy } from '../../html/index.js';
|
|
3
|
+
import { evo } from '../../struct/index.js';
|
|
4
|
+
import { BaseModel, Closed, Opened, SelectedItem, baseInit, closedBaseModel, makeUpdate, makeView, } from './shared.js';
|
|
5
5
|
// MODEL
|
|
6
6
|
/** Schema for the multi-select combobox component's state, tracking open/closed status, active item, input value, and selected items. */
|
|
7
7
|
export const Model = BaseModel.pipe(S.extend(S.Struct({ selectedItems: S.Array(S.String) })));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, open, close, selectItem, view, lazy, Model, } from './multi';
|
|
2
|
-
export type { InitConfig, ViewConfig } from './multi';
|
|
1
|
+
export { init, update, open, close, selectItem, view, lazy, Model, } from './multi.js';
|
|
2
|
+
export type { InitConfig, ViewConfig } from './multi.js';
|
|
3
3
|
//# sourceMappingURL=multiPublic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiPublic.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/multiPublic.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,
|
|
1
|
+
{"version":3,"file":"multiPublic.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/multiPublic.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,YAAY,CAAA;AACnB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, open, close, selectItem, view, lazy, Model, } from './multi';
|
|
1
|
+
export { init, update, open, close, selectItem, view, lazy, Model, } from './multi.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { init, update, open, close, selectItem, view, lazy, Model, } from './single';
|
|
2
|
-
export { Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusInput, CompletedScrollIntoView, CompletedClickItem, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusInput, ScrollIntoView, ClickItem, DetectMovementOrAnimationEnd, } from './shared';
|
|
3
|
-
export type { ActivationTrigger, Opened, Closed, ClosedByTab, ActivatedItem, DeactivatedItem, MovedPointerOverItem, RequestedItemClick, UpdatedInputValue, PressedToggleButton, ItemConfig, GroupHeading, } from './shared';
|
|
4
|
-
export type { InitConfig, ViewConfig } from './single';
|
|
5
|
-
export type { AnchorConfig } from '../anchor';
|
|
6
|
-
export * as Multi from './multiPublic';
|
|
1
|
+
export { init, update, open, close, selectItem, view, lazy, Model, } from './single.js';
|
|
2
|
+
export { Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusInput, CompletedScrollIntoView, CompletedClickItem, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusInput, ScrollIntoView, ClickItem, DetectMovementOrAnimationEnd, } from './shared.js';
|
|
3
|
+
export type { ActivationTrigger, Opened, Closed, ClosedByTab, ActivatedItem, DeactivatedItem, MovedPointerOverItem, RequestedItemClick, UpdatedInputValue, PressedToggleButton, ItemConfig, GroupHeading, } from './shared.js';
|
|
4
|
+
export type { InitConfig, ViewConfig } from './single.js';
|
|
5
|
+
export type { AnchorConfig } from '../anchor.js';
|
|
6
|
+
export * as Multi from './multiPublic.js';
|
|
7
7
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,aAAa,CAAA;AAEpB,OAAO,EACL,OAAO,EACP,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,cAAc,EACd,SAAS,EACT,4BAA4B,GAC7B,MAAM,aAAa,CAAA;AAEpB,YAAY,EACV,iBAAiB,EACjB,MAAM,EACN,MAAM,EACN,WAAW,EACX,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,YAAY,GACb,MAAM,aAAa,CAAA;AAEpB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAEzD,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEhD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, open, close, selectItem, view, lazy, Model, } from './single';
|
|
2
|
-
export { Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusInput, CompletedScrollIntoView, CompletedClickItem, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusInput, ScrollIntoView, ClickItem, DetectMovementOrAnimationEnd, } from './shared';
|
|
3
|
-
export * as Multi from './multiPublic';
|
|
1
|
+
export { init, update, open, close, selectItem, view, lazy, Model, } from './single.js';
|
|
2
|
+
export { Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusInput, CompletedScrollIntoView, CompletedClickItem, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusInput, ScrollIntoView, ClickItem, DetectMovementOrAnimationEnd, } from './shared.js';
|
|
3
|
+
export * as Multi from './multiPublic.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Effect, Option, Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { type Attribute, type Html } from '../../html';
|
|
4
|
-
import type { AnchorConfig } from '../anchor';
|
|
5
|
-
import { groupContiguous } from '../group';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
4
|
+
import type { AnchorConfig } from '../anchor.js';
|
|
5
|
+
import { groupContiguous } from '../group.js';
|
|
6
6
|
export { groupContiguous };
|
|
7
7
|
/** Schema for the activation trigger — whether the user interacted via mouse or keyboard. */
|
|
8
8
|
export declare const ActivationTrigger: S.Literal<["Pointer", "Keyboard"]>;
|
|
@@ -42,15 +42,15 @@ export type BaseInitConfig = Readonly<{
|
|
|
42
42
|
/** Creates the shared base fields for a combobox model from a config. Each variant spreads this and adds its selection fields. */
|
|
43
43
|
export declare const baseInit: (config: BaseInitConfig) => BaseModel;
|
|
44
44
|
/** Sent when the combobox popup opens. Contains an optional initial active item index. */
|
|
45
|
-
export declare const Opened: import("../../schema").CallableTaggedStruct<"Opened", {
|
|
45
|
+
export declare const Opened: import("../../schema/index.js").CallableTaggedStruct<"Opened", {
|
|
46
46
|
maybeActiveItemIndex: S.OptionFromSelf<typeof S.Number>;
|
|
47
47
|
}>;
|
|
48
48
|
/** Sent when the combobox closes via Escape key or backdrop click. */
|
|
49
|
-
export declare const Closed: import("../../schema").CallableTaggedStruct<"Closed", {}>;
|
|
49
|
+
export declare const Closed: import("../../schema/index.js").CallableTaggedStruct<"Closed", {}>;
|
|
50
50
|
/** Sent when focus leaves the input via Tab key or blur. */
|
|
51
|
-
export declare const ClosedByTab: import("../../schema").CallableTaggedStruct<"ClosedByTab", {}>;
|
|
51
|
+
export declare const ClosedByTab: import("../../schema/index.js").CallableTaggedStruct<"ClosedByTab", {}>;
|
|
52
52
|
/** Sent when an item is highlighted via arrow keys or mouse hover. Includes activation trigger and optional immediate selection info. */
|
|
53
|
-
export declare const ActivatedItem: import("../../schema").CallableTaggedStruct<"ActivatedItem", {
|
|
53
|
+
export declare const ActivatedItem: import("../../schema/index.js").CallableTaggedStruct<"ActivatedItem", {
|
|
54
54
|
index: typeof S.Number;
|
|
55
55
|
activationTrigger: S.Literal<["Pointer", "Keyboard"]>;
|
|
56
56
|
maybeImmediateSelection: S.OptionFromSelf<S.Struct<{
|
|
@@ -59,46 +59,46 @@ export declare const ActivatedItem: import("../../schema").CallableTaggedStruct<
|
|
|
59
59
|
}>>;
|
|
60
60
|
}>;
|
|
61
61
|
/** Sent when the mouse leaves an enabled item. */
|
|
62
|
-
export declare const DeactivatedItem: import("../../schema").CallableTaggedStruct<"DeactivatedItem", {}>;
|
|
62
|
+
export declare const DeactivatedItem: import("../../schema/index.js").CallableTaggedStruct<"DeactivatedItem", {}>;
|
|
63
63
|
/** Sent when an item is selected via Enter or click. Includes display text for restoring input value on close. */
|
|
64
|
-
export declare const SelectedItem: import("../../schema").CallableTaggedStruct<"SelectedItem", {
|
|
64
|
+
export declare const SelectedItem: import("../../schema/index.js").CallableTaggedStruct<"SelectedItem", {
|
|
65
65
|
item: typeof S.String;
|
|
66
66
|
displayText: typeof S.String;
|
|
67
67
|
}>;
|
|
68
68
|
/** Sent when the pointer moves over a combobox item. */
|
|
69
|
-
export declare const MovedPointerOverItem: import("../../schema").CallableTaggedStruct<"MovedPointerOverItem", {
|
|
69
|
+
export declare const MovedPointerOverItem: import("../../schema/index.js").CallableTaggedStruct<"MovedPointerOverItem", {
|
|
70
70
|
index: typeof S.Number;
|
|
71
71
|
screenX: typeof S.Number;
|
|
72
72
|
screenY: typeof S.Number;
|
|
73
73
|
}>;
|
|
74
74
|
/** Sent when Enter or Space is pressed on the active item, triggering a programmatic click. */
|
|
75
|
-
export declare const RequestedItemClick: import("../../schema").CallableTaggedStruct<"RequestedItemClick", {
|
|
75
|
+
export declare const RequestedItemClick: import("../../schema/index.js").CallableTaggedStruct<"RequestedItemClick", {
|
|
76
76
|
index: typeof S.Number;
|
|
77
77
|
}>;
|
|
78
78
|
/** Sent when the scroll lock command completes. */
|
|
79
|
-
export declare const CompletedLockScroll: import("../../schema").CallableTaggedStruct<"CompletedLockScroll", {}>;
|
|
79
|
+
export declare const CompletedLockScroll: import("../../schema/index.js").CallableTaggedStruct<"CompletedLockScroll", {}>;
|
|
80
80
|
/** Sent when the scroll unlock command completes. */
|
|
81
|
-
export declare const CompletedUnlockScroll: import("../../schema").CallableTaggedStruct<"CompletedUnlockScroll", {}>;
|
|
81
|
+
export declare const CompletedUnlockScroll: import("../../schema/index.js").CallableTaggedStruct<"CompletedUnlockScroll", {}>;
|
|
82
82
|
/** Sent when the inert-others command completes. */
|
|
83
|
-
export declare const CompletedSetupInert: import("../../schema").CallableTaggedStruct<"CompletedSetupInert", {}>;
|
|
83
|
+
export declare const CompletedSetupInert: import("../../schema/index.js").CallableTaggedStruct<"CompletedSetupInert", {}>;
|
|
84
84
|
/** Sent when the restore-inert command completes. */
|
|
85
|
-
export declare const CompletedTeardownInert: import("../../schema").CallableTaggedStruct<"CompletedTeardownInert", {}>;
|
|
85
|
+
export declare const CompletedTeardownInert: import("../../schema/index.js").CallableTaggedStruct<"CompletedTeardownInert", {}>;
|
|
86
86
|
/** Sent when the focus-input command completes. */
|
|
87
|
-
export declare const CompletedFocusInput: import("../../schema").CallableTaggedStruct<"CompletedFocusInput", {}>;
|
|
87
|
+
export declare const CompletedFocusInput: import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusInput", {}>;
|
|
88
88
|
/** Sent when the scroll-into-view command completes after keyboard activation. */
|
|
89
|
-
export declare const CompletedScrollIntoView: import("../../schema").CallableTaggedStruct<"CompletedScrollIntoView", {}>;
|
|
89
|
+
export declare const CompletedScrollIntoView: import("../../schema/index.js").CallableTaggedStruct<"CompletedScrollIntoView", {}>;
|
|
90
90
|
/** Sent when the programmatic item click command completes. */
|
|
91
|
-
export declare const CompletedClickItem: import("../../schema").CallableTaggedStruct<"CompletedClickItem", {}>;
|
|
91
|
+
export declare const CompletedClickItem: import("../../schema/index.js").CallableTaggedStruct<"CompletedClickItem", {}>;
|
|
92
92
|
/** Wraps an Animation submodel message for delegation. */
|
|
93
|
-
export declare const GotAnimationMessage: import("../../schema").CallableTaggedStruct<"GotAnimationMessage", {
|
|
94
|
-
message: S.Union<[import("../../schema").CallableTaggedStruct<"Showed", {}>, import("../../schema").CallableTaggedStruct<"Hid", {}>, import("../../schema").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
93
|
+
export declare const GotAnimationMessage: import("../../schema/index.js").CallableTaggedStruct<"GotAnimationMessage", {
|
|
94
|
+
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Showed", {}>, import("../../schema/index.js").CallableTaggedStruct<"Hid", {}>, import("../../schema/index.js").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema/index.js").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
95
95
|
}>;
|
|
96
96
|
/** Sent when the user types in the input. */
|
|
97
|
-
export declare const UpdatedInputValue: import("../../schema").CallableTaggedStruct<"UpdatedInputValue", {
|
|
97
|
+
export declare const UpdatedInputValue: import("../../schema/index.js").CallableTaggedStruct<"UpdatedInputValue", {
|
|
98
98
|
value: typeof S.String;
|
|
99
99
|
}>;
|
|
100
100
|
/** Sent when the optional toggle button is clicked. */
|
|
101
|
-
export declare const PressedToggleButton: import("../../schema").CallableTaggedStruct<"PressedToggleButton", {}>;
|
|
101
|
+
export declare const PressedToggleButton: import("../../schema/index.js").CallableTaggedStruct<"PressedToggleButton", {}>;
|
|
102
102
|
/** Union of all messages the combobox component can produce. */
|
|
103
103
|
export declare const Message: S.Union<[
|
|
104
104
|
typeof Opened,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,MAAM,EAEN,MAAM,IAAI,CAAC,EAEZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,MAAM,EAEN,MAAM,IAAI,CAAC,EAEZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AAEjD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,IAAI,EAAQ,MAAM,qBAAqB,CAAA;AAKrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAchD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAG7C,OAAO,EAAE,eAAe,EAAE,CAAA;AAI1B,6FAA6F;AAC7F,eAAO,MAAM,iBAAiB,oCAAmC,CAAA;AACjE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAA;AAE7D,oKAAoK;AACpK,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;E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,CAAC,CAAA;IACvD,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAC,CAAA;AAIF,qFAAqF;AACrF,MAAM,MAAM,YAAY,CAAC,KAAK,SAAS,SAAS,IAAI,QAAQ,CAAC;IAC3D,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAA;IAC5D,mBAAmB,EAAE,OAAO,CAAA;CAC7B,CAAC,CAAA;AAEF,gNAAgN;AAChN,eAAO,MAAM,QAAQ,GAClB,KAAK,SAAS,SAAS,EAAE,UAAU,YAAY,CAAC,KAAK,CAAC,MACtD,OAAO,EAAE,IAAI,SAAS,MAAM,EAC3B,QAAQ,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,KAC3C,IA+iBF,CAAA"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Array, Effect, Match as M, Option, Predicate, Schema as S, pipe, } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { OptionExt } from '../../effectExtensions';
|
|
4
|
-
import { html } from '../../html';
|
|
5
|
-
import { m } from '../../message';
|
|
6
|
-
import { makeConstrainedEvo } from '../../struct';
|
|
7
|
-
import * as Task from '../../task';
|
|
8
|
-
import { anchorHooks } from '../anchor';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { OptionExt } from '../../effectExtensions/index.js';
|
|
4
|
+
import { html } from '../../html/index.js';
|
|
5
|
+
import { m } from '../../message/index.js';
|
|
6
|
+
import { makeConstrainedEvo } from '../../struct/index.js';
|
|
7
|
+
import * as Task from '../../task/index.js';
|
|
8
|
+
import { anchorHooks } from '../anchor.js';
|
|
9
9
|
// NOTE: Animation imports are split across schema + update to avoid a circular
|
|
10
10
|
// dependency: animation → html → runtime → devtools → combobox → animation.
|
|
11
11
|
// The barrel (../animation) imports from html, which starts the cycle.
|
|
12
|
-
import { EndedAnimation as AnimationEndedAnimation, Hid as AnimationHid, Message as AnimationMessage, Model as AnimationModel, Showed as AnimationShowed, init as animationInit, } from '../animation/schema';
|
|
13
|
-
import { update as animationUpdate } from '../animation/update';
|
|
14
|
-
import { groupContiguous } from '../group';
|
|
15
|
-
import { findFirstEnabledIndex, keyToIndex } from '../keyboard';
|
|
12
|
+
import { EndedAnimation as AnimationEndedAnimation, Hid as AnimationHid, Message as AnimationMessage, Model as AnimationModel, Showed as AnimationShowed, init as animationInit, } from '../animation/schema.js';
|
|
13
|
+
import { update as animationUpdate } from '../animation/update.js';
|
|
14
|
+
import { groupContiguous } from '../group.js';
|
|
15
|
+
import { findFirstEnabledIndex, keyToIndex } from '../keyboard.js';
|
|
16
16
|
export { groupContiguous };
|
|
17
17
|
// MODEL
|
|
18
18
|
/** Schema for the activation trigger — whether the user interacted via mouse or keyboard. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Option, Schema as S } from 'effect';
|
|
2
|
-
import type * as Command from '../../command';
|
|
3
|
-
import { type Html } from '../../html';
|
|
4
|
-
import { type BaseInitConfig, type BaseViewConfig, Closed, type Message, Opened, SelectedItem } from './shared';
|
|
2
|
+
import type * as Command from '../../command/index.js';
|
|
3
|
+
import { type Html } from '../../html/index.js';
|
|
4
|
+
import { type BaseInitConfig, type BaseViewConfig, Closed, type Message, Opened, SelectedItem } from './shared.js';
|
|
5
5
|
/** Schema for the single-select combobox component's state, tracking open/closed status, active item, input value, selected item, and display text. */
|
|
6
6
|
export declare const Model: S.extend<S.Struct<{
|
|
7
7
|
id: typeof S.String;
|
|
@@ -182,7 +182,7 @@ export declare const view: <Message, Item extends string>(config: Readonly<{
|
|
|
182
182
|
readonly maybeSelectedItem: Option.Option<string>;
|
|
183
183
|
readonly maybeSelectedDisplayText: Option.Option<string>;
|
|
184
184
|
};
|
|
185
|
-
toParentMessage: (message: Opened | Closed | import("./shared").ClosedByTab | import("./shared").ActivatedItem | import("./shared").DeactivatedItem | SelectedItem | import("./shared").MovedPointerOverItem | import("./shared").RequestedItemClick | import("./shared").UpdatedInputValue | import("./shared").PressedToggleButton) => Message;
|
|
185
|
+
toParentMessage: (message: Opened | Closed | import("./shared.js").ClosedByTab | import("./shared.js").ActivatedItem | import("./shared.js").DeactivatedItem | SelectedItem | import("./shared.js").MovedPointerOverItem | import("./shared.js").RequestedItemClick | import("./shared.js").UpdatedInputValue | import("./shared.js").PressedToggleButton) => Message;
|
|
186
186
|
onSelectedItem?: (value: string) => Message;
|
|
187
187
|
items: readonly Item[];
|
|
188
188
|
itemToConfig: (item: Item, context: Readonly<{
|
|
@@ -197,21 +197,21 @@ export declare const view: <Message, Item extends string>(config: Readonly<{
|
|
|
197
197
|
itemToDisplayText: (item: Item, index: number) => string;
|
|
198
198
|
isItemDisabled?: (item: Item, index: number) => boolean;
|
|
199
199
|
inputClassName?: string;
|
|
200
|
-
inputAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
200
|
+
inputAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
201
201
|
inputPlaceholder?: string;
|
|
202
202
|
inputWrapperClassName?: string;
|
|
203
|
-
inputWrapperAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
203
|
+
inputWrapperAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
204
204
|
itemsClassName?: string;
|
|
205
|
-
itemsAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
205
|
+
itemsAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
206
206
|
itemsScrollClassName?: string;
|
|
207
|
-
itemsScrollAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
207
|
+
itemsScrollAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
208
208
|
backdropClassName?: string;
|
|
209
|
-
backdropAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
209
|
+
backdropAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
210
210
|
className?: string;
|
|
211
|
-
attributes?: readonly import("../../html").Attribute<Message>[];
|
|
211
|
+
attributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
212
212
|
buttonContent?: Html;
|
|
213
213
|
buttonClassName?: string;
|
|
214
|
-
buttonAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
214
|
+
buttonAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
215
215
|
formName?: string;
|
|
216
216
|
isDisabled?: boolean;
|
|
217
217
|
isInvalid?: boolean;
|
|
@@ -222,9 +222,9 @@ export declare const view: <Message, Item extends string>(config: Readonly<{
|
|
|
222
222
|
className?: string;
|
|
223
223
|
}> | undefined;
|
|
224
224
|
groupClassName?: string;
|
|
225
|
-
groupAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
225
|
+
groupAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
226
226
|
separatorClassName?: string;
|
|
227
|
-
separatorAttributes?: readonly import("../../html").Attribute<Message>[];
|
|
227
|
+
separatorAttributes?: readonly import("../../html/index.js").Attribute<Message>[];
|
|
228
228
|
anchor?: Readonly<{
|
|
229
229
|
placement?: import("@floating-ui/dom").Placement;
|
|
230
230
|
gap?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/single.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAE,MAAM,IAAI,CAAC,EAAQ,MAAM,QAAQ,CAAA;AAEzD,OAAO,KAAK,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"single.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/single.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAE,MAAM,IAAI,CAAC,EAAQ,MAAM,QAAQ,CAAA;AAEzD,OAAO,KAAK,KAAK,OAAO,MAAM,wBAAwB,CAAA;AACtD,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,qBAAqB,CAAA;AAE3D,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,cAAc,EACnB,MAAM,EACN,KAAK,OAAO,EACZ,M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0IAA0I;AAC1I,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAOf,CAAA;AAEF;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,IAAI,SAAS,MAAM,EAC/C,cAAc,IAAI,CAChB,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,EACzB,OAAO,GAAG,iBAAiB,GAAG,gBAAgB,CAC/C,KACA,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,iBAAiB,CAAC,KACrE,IAAI,CAoBR,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Array, Option, Schema as S, pipe } from 'effect';
|
|
2
|
-
import { createLazy } from '../../html';
|
|
3
|
-
import { evo } from '../../struct';
|
|
4
|
-
import { BaseModel, Closed, Opened, SelectedItem, baseInit, closedBaseModel, makeUpdate, makeView, } from './shared';
|
|
2
|
+
import { createLazy } from '../../html/index.js';
|
|
3
|
+
import { evo } from '../../struct/index.js';
|
|
4
|
+
import { BaseModel, Closed, Opened, SelectedItem, baseInit, closedBaseModel, makeUpdate, makeView, } from './shared.js';
|
|
5
5
|
// MODEL
|
|
6
6
|
/** Schema for the single-select combobox component's state, tracking open/closed status, active item, input value, selected item, and display text. */
|
|
7
7
|
export const Model = BaseModel.pipe(S.extend(S.Struct({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Option, Schema as S } from 'effect';
|
|
2
|
-
import * as Calendar from '../../calendar';
|
|
3
|
-
import type { CalendarDate } from '../../calendar';
|
|
4
|
-
import * as Command from '../../command';
|
|
5
|
-
import { type Attribute, type Html } from '../../html';
|
|
6
|
-
import type { AnchorConfig } from '../anchor';
|
|
7
|
-
import * as UiCalendar from '../calendar';
|
|
2
|
+
import * as Calendar from '../../calendar/index.js';
|
|
3
|
+
import type { CalendarDate } from '../../calendar/index.js';
|
|
4
|
+
import * as Command from '../../command/index.js';
|
|
5
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
6
|
+
import type { AnchorConfig } from '../anchor.js';
|
|
7
|
+
import * as UiCalendar from '../calendar/index.js';
|
|
8
8
|
/** Schema for the date picker component's state. Holds the selected date,
|
|
9
9
|
* the embedded Calendar submodel (the visible grid), and the embedded Popover
|
|
10
10
|
* submodel (the open/close + transition layer). */
|
|
@@ -75,40 +75,40 @@ export declare const Model: S.Struct<{
|
|
|
75
75
|
}>;
|
|
76
76
|
export type Model = typeof Model.Type;
|
|
77
77
|
/** Wraps a Calendar submodel message for delegation. */
|
|
78
|
-
export declare const GotCalendarMessage: import("../../schema").CallableTaggedStruct<"GotCalendarMessage", {
|
|
79
|
-
message: S.Union<[import("../../schema").CallableTaggedStruct<"ClickedDay", {
|
|
78
|
+
export declare const GotCalendarMessage: import("../../schema/index.js").CallableTaggedStruct<"GotCalendarMessage", {
|
|
79
|
+
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"ClickedDay", {
|
|
80
80
|
date: S.filter<S.Struct<{
|
|
81
81
|
year: typeof S.Int;
|
|
82
82
|
month: S.filter<typeof S.Int>;
|
|
83
83
|
day: S.filter<typeof S.Int>;
|
|
84
84
|
}>>;
|
|
85
|
-
}>, import("../../schema").CallableTaggedStruct<"PressedKeyOnGrid", {
|
|
85
|
+
}>, import("../../schema/index.js").CallableTaggedStruct<"PressedKeyOnGrid", {
|
|
86
86
|
key: typeof S.String;
|
|
87
87
|
isShift: typeof S.Boolean;
|
|
88
|
-
}>, import("../../schema").CallableTaggedStruct<"ClickedPreviousMonthButton", {}>, import("../../schema").CallableTaggedStruct<"ClickedNextMonthButton", {}>, import("../../schema").CallableTaggedStruct<"SelectedMonthFromDropdown", {
|
|
88
|
+
}>, import("../../schema/index.js").CallableTaggedStruct<"ClickedPreviousMonthButton", {}>, import("../../schema/index.js").CallableTaggedStruct<"ClickedNextMonthButton", {}>, import("../../schema/index.js").CallableTaggedStruct<"SelectedMonthFromDropdown", {
|
|
89
89
|
month: typeof S.Int;
|
|
90
|
-
}>, import("../../schema").CallableTaggedStruct<"SelectedYearFromDropdown", {
|
|
90
|
+
}>, import("../../schema/index.js").CallableTaggedStruct<"SelectedYearFromDropdown", {
|
|
91
91
|
year: typeof S.Int;
|
|
92
|
-
}>, import("../../schema").CallableTaggedStruct<"FocusedGrid", {}>, import("../../schema").CallableTaggedStruct<"BlurredGrid", {}>, import("../../schema").CallableTaggedStruct<"RefreshedToday", {
|
|
92
|
+
}>, import("../../schema/index.js").CallableTaggedStruct<"FocusedGrid", {}>, import("../../schema/index.js").CallableTaggedStruct<"BlurredGrid", {}>, import("../../schema/index.js").CallableTaggedStruct<"RefreshedToday", {
|
|
93
93
|
today: S.filter<S.Struct<{
|
|
94
94
|
year: typeof S.Int;
|
|
95
95
|
month: S.filter<typeof S.Int>;
|
|
96
96
|
day: S.filter<typeof S.Int>;
|
|
97
97
|
}>>;
|
|
98
|
-
}>, import("../../schema").CallableTaggedStruct<"CompletedFocusGrid", {}>]>;
|
|
98
|
+
}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusGrid", {}>]>;
|
|
99
99
|
}>;
|
|
100
100
|
/** Wraps a Popover submodel message for delegation. */
|
|
101
|
-
export declare const GotPopoverMessage: import("../../schema").CallableTaggedStruct<"GotPopoverMessage", {
|
|
102
|
-
message: S.Union<[import("../../schema").CallableTaggedStruct<"Opened", {}>, import("../../schema").CallableTaggedStruct<"Closed", {}>, import("../../schema").CallableTaggedStruct<"ClosedByTab", {}>, import("../../schema").CallableTaggedStruct<"PressedPointerOnButton", {
|
|
101
|
+
export declare const GotPopoverMessage: import("../../schema/index.js").CallableTaggedStruct<"GotPopoverMessage", {
|
|
102
|
+
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Opened", {}>, import("../../schema/index.js").CallableTaggedStruct<"Closed", {}>, import("../../schema/index.js").CallableTaggedStruct<"ClosedByTab", {}>, import("../../schema/index.js").CallableTaggedStruct<"PressedPointerOnButton", {
|
|
103
103
|
pointerType: typeof S.String;
|
|
104
104
|
button: typeof S.Number;
|
|
105
|
-
}>, import("../../schema").CallableTaggedStruct<"CompletedFocusPanel", {}>, import("../../schema").CallableTaggedStruct<"CompletedFocusButton", {}>, import("../../schema").CallableTaggedStruct<"CompletedLockScroll", {}>, import("../../schema").CallableTaggedStruct<"CompletedUnlockScroll", {}>, import("../../schema").CallableTaggedStruct<"CompletedSetupInert", {}>, import("../../schema").CallableTaggedStruct<"CompletedTeardownInert", {}>, import("../../schema").CallableTaggedStruct<"IgnoredMouseClick", {}>, import("../../schema").CallableTaggedStruct<"SuppressedSpaceScroll", {}>, import("../../schema").CallableTaggedStruct<"GotAnimationMessage", {
|
|
106
|
-
message: S.Union<[import("../../schema").CallableTaggedStruct<"Showed", {}>, import("../../schema").CallableTaggedStruct<"Hid", {}>, import("../../schema").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
105
|
+
}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusPanel", {}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusButton", {}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedLockScroll", {}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedUnlockScroll", {}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedSetupInert", {}>, import("../../schema/index.js").CallableTaggedStruct<"CompletedTeardownInert", {}>, import("../../schema/index.js").CallableTaggedStruct<"IgnoredMouseClick", {}>, import("../../schema/index.js").CallableTaggedStruct<"SuppressedSpaceScroll", {}>, import("../../schema/index.js").CallableTaggedStruct<"GotAnimationMessage", {
|
|
106
|
+
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Showed", {}>, import("../../schema/index.js").CallableTaggedStruct<"Hid", {}>, import("../../schema/index.js").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema/index.js").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
107
107
|
}>]>;
|
|
108
108
|
}>;
|
|
109
109
|
/** Sent when the user commits a date via click or keyboard. Updates the
|
|
110
110
|
* selected date, syncs the calendar, and closes the popover. */
|
|
111
|
-
export declare const SelectedDate: import("../../schema").CallableTaggedStruct<"SelectedDate", {
|
|
111
|
+
export declare const SelectedDate: import("../../schema/index.js").CallableTaggedStruct<"SelectedDate", {
|
|
112
112
|
date: S.filter<S.Struct<{
|
|
113
113
|
year: typeof S.Int;
|
|
114
114
|
month: S.filter<typeof S.Int>;
|
|
@@ -116,13 +116,13 @@ export declare const SelectedDate: import("../../schema").CallableTaggedStruct<"
|
|
|
116
116
|
}>>;
|
|
117
117
|
}>;
|
|
118
118
|
/** Sent when the user clears the selected date. Does not close the popover. */
|
|
119
|
-
export declare const Cleared: import("../../schema").CallableTaggedStruct<"Cleared", {}>;
|
|
119
|
+
export declare const Cleared: import("../../schema/index.js").CallableTaggedStruct<"Cleared", {}>;
|
|
120
120
|
/** Sent when the popover should open. Triggers focus-grid on the embedded
|
|
121
121
|
* Calendar so keyboard focus lands inside the grid instead of the panel. */
|
|
122
|
-
export declare const Opened: import("../../schema").CallableTaggedStruct<"Opened", {}>;
|
|
122
|
+
export declare const Opened: import("../../schema/index.js").CallableTaggedStruct<"Opened", {}>;
|
|
123
123
|
/** Sent when the popover should close. Delegates to Popover which returns
|
|
124
124
|
* focus to the trigger button. */
|
|
125
|
-
export declare const Closed: import("../../schema").CallableTaggedStruct<"Closed", {}>;
|
|
125
|
+
export declare const Closed: import("../../schema/index.js").CallableTaggedStruct<"Closed", {}>;
|
|
126
126
|
/** Union of all messages the date picker component can produce. */
|
|
127
127
|
export declare const Message: S.Union<[
|
|
128
128
|
typeof GotCalendarMessage,
|
|
@@ -135,14 +135,14 @@ export declare const Message: S.Union<[
|
|
|
135
135
|
export type Message = typeof Message.Type;
|
|
136
136
|
/** Emitted when the visible month changes (propagated from the embedded
|
|
137
137
|
* Calendar). Useful for month-scoped data loading. */
|
|
138
|
-
export declare const ChangedViewMonth: import("../../schema").CallableTaggedStruct<"ChangedViewMonth", {
|
|
138
|
+
export declare const ChangedViewMonth: import("../../schema/index.js").CallableTaggedStruct<"ChangedViewMonth", {
|
|
139
139
|
year: typeof S.Int;
|
|
140
140
|
month: typeof S.Int;
|
|
141
141
|
}>;
|
|
142
142
|
/** The date picker's OutMessage. Matches Calendar — only `ChangedViewMonth`.
|
|
143
143
|
* Date selection goes through the `onSelectedDate` ViewConfig callback, not
|
|
144
144
|
* OutMessage. */
|
|
145
|
-
export declare const OutMessage: import("../../schema").CallableTaggedStruct<"ChangedViewMonth", {
|
|
145
|
+
export declare const OutMessage: import("../../schema/index.js").CallableTaggedStruct<"ChangedViewMonth", {
|
|
146
146
|
year: typeof S.Int;
|
|
147
147
|
month: typeof S.Int;
|
|
148
148
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/datePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAEhE,OAAO,KAAK,QAAQ,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/datePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAEhE,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AACjD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EAGV,MAAM,qBAAqB,CAAA;AAG5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,KAAK,UAA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,CAAC,CAAC,CAAA;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAA;IACzD,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAA;CAC7D,CAAC,CAAA;AAEF;;;;gEAIgE;AAChE,eAAO,MAAM,IAAI,GAAI,aAAa,EAChC,QAAQ,UAAU,CAAC,aAAa,CAAC,KAChC,IAuEF,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,aAAa,EAChC,cAAc,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC,KACzE,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC,iBAAiB,CAAC,KAC1D,IAAI,CAgBR,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Effect, Match as M, Option, Schema as S } from 'effect';
|
|
2
|
-
import * as Calendar from '../../calendar';
|
|
3
|
-
import * as Command from '../../command';
|
|
4
|
-
import { createLazy, html } from '../../html';
|
|
5
|
-
import { m } from '../../message';
|
|
6
|
-
import { evo } from '../../struct';
|
|
7
|
-
import * as UiCalendar from '../calendar';
|
|
8
|
-
import * as Popover from '../popover';
|
|
2
|
+
import * as Calendar from '../../calendar/index.js';
|
|
3
|
+
import * as Command from '../../command/index.js';
|
|
4
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
5
|
+
import { m } from '../../message/index.js';
|
|
6
|
+
import { evo } from '../../struct/index.js';
|
|
7
|
+
import * as UiCalendar from '../calendar/index.js';
|
|
8
|
+
import * as Popover from '../popover/index.js';
|
|
9
9
|
// MODEL
|
|
10
10
|
/** Schema for the date picker component's state. Holds the selected date,
|
|
11
11
|
* the embedded Calendar submodel (the visible grid), and the embedded Popover
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, view, lazy, open, close, selectDate, clear, setMinDate, setMaxDate, setDisabledDates, setDisabledDaysOfWeek, Model, Message, OutMessage, GotCalendarMessage, GotPopoverMessage, SelectedDate, Cleared, Opened, Closed, ChangedViewMonth, } from './index';
|
|
2
|
-
export type { InitConfig, ViewConfig } from './index';
|
|
1
|
+
export { init, update, view, lazy, open, close, selectDate, clear, setMinDate, setMaxDate, setDisabledDates, setDisabledDaysOfWeek, Model, Message, OutMessage, GotCalendarMessage, GotPopoverMessage, SelectedDate, Cleared, Opened, Closed, ChangedViewMonth, } from './index.js';
|
|
2
|
+
export type { InitConfig, ViewConfig } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/datePicker/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,UAAU,EACV,KAAK,EACL,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,EACL,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,MAAM,EACN,MAAM,EACN,gBAAgB,GACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/datePicker/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,UAAU,EACV,KAAK,EACL,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,EACL,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,MAAM,EACN,MAAM,EACN,gBAAgB,GACjB,MAAM,YAAY,CAAA;AAEnB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, view, lazy, open, close, selectDate, clear, setMinDate, setMaxDate, setDisabledDates, setDisabledDaysOfWeek, Model, Message, OutMessage, GotCalendarMessage, GotPopoverMessage, SelectedDate, Cleared, Opened, Closed, ChangedViewMonth, } from './index';
|
|
1
|
+
export { init, update, view, lazy, open, close, selectDate, clear, setMinDate, setMaxDate, setDisabledDates, setDisabledDaysOfWeek, Model, Message, OutMessage, GotCalendarMessage, GotPopoverMessage, SelectedDate, Cleared, Opened, Closed, ChangedViewMonth, } from './index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { type Attribute, type Html } from '../../html';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
4
4
|
/** Schema for the dialog component's state, tracking its unique ID, open/closed status, animation support, and animation lifecycle phase. */
|
|
5
5
|
export declare const Model: S.Struct<{
|
|
6
6
|
id: typeof S.String;
|
|
@@ -15,16 +15,16 @@ export declare const Model: S.Struct<{
|
|
|
15
15
|
}>;
|
|
16
16
|
export type Model = typeof Model.Type;
|
|
17
17
|
/** Sent when the dialog should open. Triggers the showModal command. */
|
|
18
|
-
export declare const Opened: import("../../schema").CallableTaggedStruct<"Opened", {}>;
|
|
18
|
+
export declare const Opened: import("../../schema/index.js").CallableTaggedStruct<"Opened", {}>;
|
|
19
19
|
/** Sent when the dialog should close (Escape key, backdrop click, or programmatic). Triggers the closeModal command. */
|
|
20
|
-
export declare const Closed: import("../../schema").CallableTaggedStruct<"Closed", {}>;
|
|
20
|
+
export declare const Closed: import("../../schema/index.js").CallableTaggedStruct<"Closed", {}>;
|
|
21
21
|
/** Sent when the show-dialog command completes (scroll lock + showModal). */
|
|
22
|
-
export declare const CompletedShowDialog: import("../../schema").CallableTaggedStruct<"CompletedShowDialog", {}>;
|
|
22
|
+
export declare const CompletedShowDialog: import("../../schema/index.js").CallableTaggedStruct<"CompletedShowDialog", {}>;
|
|
23
23
|
/** Sent when the close-dialog command completes (closeModal + scroll unlock). */
|
|
24
|
-
export declare const CompletedCloseDialog: import("../../schema").CallableTaggedStruct<"CompletedCloseDialog", {}>;
|
|
24
|
+
export declare const CompletedCloseDialog: import("../../schema/index.js").CallableTaggedStruct<"CompletedCloseDialog", {}>;
|
|
25
25
|
/** Wraps an Animation submodel message for delegation. */
|
|
26
|
-
export declare const GotAnimationMessage: import("../../schema").CallableTaggedStruct<"GotAnimationMessage", {
|
|
27
|
-
message: S.Union<[import("../../schema").CallableTaggedStruct<"Showed", {}>, import("../../schema").CallableTaggedStruct<"Hid", {}>, import("../../schema").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
26
|
+
export declare const GotAnimationMessage: import("../../schema/index.js").CallableTaggedStruct<"GotAnimationMessage", {
|
|
27
|
+
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Showed", {}>, import("../../schema/index.js").CallableTaggedStruct<"Hid", {}>, import("../../schema/index.js").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema/index.js").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
28
28
|
}>;
|
|
29
29
|
/** Union of all messages the dialog component can produce. */
|
|
30
30
|
export declare const Message: S.Union<[
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAEhE,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/dialog/index.ts"],"names":[],"mappings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EF;2EAC2E;AAC3E,eAAO,MAAM,IAAI,GACf,OAAO,KAAK,KACX,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAClC,CAAA;AAEzB;yFACyF;AACzF,eAAO,MAAM,KAAK,GAChB,OAAO,KAAK,KACX,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAClC,CAAA;AAEzB,sGAAsG;AACtG,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,KAAG,IA8G3D,CAAA;AAED;;;;oDAIoD;AACpD,eAAO,MAAM,IAAI,GAAI,OAAO,EAC1B,cAAc,IAAI,CAChB,UAAU,CAAC,OAAO,CAAC,EACnB,OAAO,GAAG,iBAAiB,GAAG,UAAU,GAAG,cAAc,CAC1D,KACA,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,EACvD,YAAY,EAAE,IAAI,KACf,IAAI,CAkBR,CAAA"}
|
package/dist/ui/dialog/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Effect, Match as M, Option, Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { createLazy, html } from '../../html';
|
|
4
|
-
import { m } from '../../message';
|
|
5
|
-
import { evo } from '../../struct';
|
|
6
|
-
import * as Task from '../../task';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
4
|
+
import { m } from '../../message/index.js';
|
|
5
|
+
import { evo } from '../../struct/index.js';
|
|
6
|
+
import * as Task from '../../task/index.js';
|
|
7
7
|
// NOTE: Animation imports are split across schema + update to avoid a circular
|
|
8
8
|
// dependency: animation → html → runtime → devtools → dialog → animation.
|
|
9
9
|
// The barrel (../animation) imports from html, which starts the cycle.
|
|
10
|
-
import { Hid as AnimationHid, Message as AnimationMessage, Model as AnimationModel, Showed as AnimationShowed, init as animationInit, } from '../animation/schema';
|
|
11
|
-
import { defaultLeaveCommand as animationDefaultLeaveCommand, update as animationUpdate, } from '../animation/update';
|
|
10
|
+
import { Hid as AnimationHid, Message as AnimationMessage, Model as AnimationModel, Showed as AnimationShowed, init as animationInit, } from '../animation/schema.js';
|
|
11
|
+
import { defaultLeaveCommand as animationDefaultLeaveCommand, update as animationUpdate, } from '../animation/update.js';
|
|
12
12
|
// MODEL
|
|
13
13
|
/** Schema for the dialog component's state, tracking its unique ID, open/closed status, animation support, and animation lifecycle phase. */
|
|
14
14
|
export const Model = S.Struct({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, open, close, view, lazy, titleId, descriptionId, Model, Message, Opened, Closed, CompletedShowDialog, CompletedCloseDialog, GotAnimationMessage, ShowDialog, CloseDialog, } from './index';
|
|
2
|
-
export type { InitConfig, ViewConfig } from './index';
|
|
1
|
+
export { init, update, open, close, view, lazy, titleId, descriptionId, Model, Message, Opened, Closed, CompletedShowDialog, CompletedCloseDialog, GotAnimationMessage, ShowDialog, CloseDialog, } from './index.js';
|
|
2
|
+
export type { InitConfig, ViewConfig } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/dialog/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,aAAa,EACb,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,UAAU,EACV,WAAW,GACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/dialog/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,aAAa,EACb,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,UAAU,EACV,WAAW,GACZ,MAAM,YAAY,CAAA;AAEnB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
|
package/dist/ui/dialog/public.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, open, close, view, lazy, titleId, descriptionId, Model, Message, Opened, Closed, CompletedShowDialog, CompletedCloseDialog, GotAnimationMessage, ShowDialog, CloseDialog, } from './index';
|
|
1
|
+
export { init, update, open, close, view, lazy, titleId, descriptionId, Model, Message, Opened, Closed, CompletedShowDialog, CompletedCloseDialog, GotAnimationMessage, ShowDialog, CloseDialog, } from './index.js';
|