structures 0.0.14 copy "structures: ^0.0.14" to clipboard
structures: ^0.0.14 copied to clipboard

outdated

A suite of commonly used standalone data structures, types, interfaces, utility classes and extensions that simplify app development.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.14 #

04/01/2023 #

Changed

  • Live.listen now default to notifying if notified.
  • Added a runOnAttach to Live.listen to explicitly turn on running when the listener is first added.
  • ChoiceList now allows any arbitrary list of items, not need to extend AChoice

Added

  • VoidCallack
  • ValueObserverCallback
  • ValueConsumerCallback
  • Value.onValue method, that enables adding a listener that takes the new changed value
  • Value.onValue method, that enables adding a listener that takes the oldValue and the new changed value
  • Value<List<T>> extensions that provide list accessors methods/fields without .value
  • Value<Map<I,T>> extensions that provide Map accessors methods/fields without .value
  • LiveValue<List<T>> extensions that give list mutating methods/fields without .value and update
  • LiveValue<Map<I,T>> extensions that give Map mutating methods/fields without .value and update

0.0.13 #

07/12/2022 #

Changed

  • LiveValue to never be const to avoid literal overwrite bug

Added

  • An experimental api for turn any list of items into a ChoiceList

0.0.12 #

30/11/2022 #

Changed

  • Fixes wrong index

0.0.12 #

30/11/2022 #

Fixed

  • Fixes wrong index, value shared update

0.0.11 #

28/11/2022 #

Fixed

  • ChoiceList double updates bug

Added

  • Live ChoiceList index for observing currently selected index

0.0.10 #

28/11/2022 #

Fixed

  • ChoiceList double updates bug

Added

  • Live ChoiceList index for observing currently selected index

0.0.9 #

28/11/2022 #

Updated

  • Make Choice observable by default
  • Improved Choice list usage info

Added

  • Experimental Memory object
  • More tests

0.0.8 #

27/11/2022 #

Fixed

  • Choice generics

0.0.7 #

27/11/2022 #

Updated

  • Choice, to add reactive properties
  • ChoiceList , to add new Choice

0.0.6 #

24/11/2022 #

Added

  • Update docs

0.0.5 #

24/11/2022 #

Added

  • Choice abstract class
  • ChoiceList fix length List<T> implementation
  • Added ChoiceList methods to use on Choice item with a given id
    • select(id)
    • unselect(id)
    • toggle(id)
    • get(id)
  • Added ChoiceList methods to use on Choice item at a given index
    • selectIndex(index)
    • unselectIndex(index)
    • toggleIndex(index)

0.0.4 #

23/11/2022 #

Added

  • Choice
  • ChoiceList

0.0.3 #

21/11/2022 #

Added

  • Choice

0.0.2 #

21/11/2022 #

Added

  • Selectable class interface
    • asSelected
    • asUnSelected
    • isSelected
    • toggle
  • SelectableList class
    • select(index)
    • unSelect(index)
    • toggle(index)

0.0.1 #

20/11/2022 #

Added

  • Selectable structure for dealing with selectable Lists

0.0.0-dev.2 #

31/10/2022 #

Changed

  • Collection version number

0.0.0-dev.1 #

31/10/2022 #

Added

  • Initial template scaffold.
  • GitHub workflow
  • String Validator
  • Adapter Factory
  • Either
  • Emptiable interface
  • Live listenable interface
  • List extension including map2, map3 with index
  • LiveValue a reactive listenable with value
  • Generic notifier with const constructor
  • A simple (maybe simplistic 😄) Pair type
  • A Time module class
  • Validation module
  • Validatable interface
  • A Generic Value interface
  • Value Types interfaces
4
likes
0
points
36
downloads

Publisher

verified publisherluminucx.com

Weekly Downloads

A suite of commonly used standalone data structures, types, interfaces, utility classes and extensions that simplify app development.

Homepage

License

unknown (license)

Dependencies

collection, meta

More

Packages that depend on structures