Commit Graph

174 Commits

Author SHA1 Message Date
Matt Bruce
6e7ff86b0b refactored colorConfig -> colorConfiguration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-05 12:57:40 -05:00
Matt Bruce
0e54cd307c pushed down disabled and surface
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-05 12:11:13 -05:00
Matt Bruce
6b97472103 bug for configuration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-05 11:56:56 -05:00
Matt Bruce
16a6a41178 removed isAnimated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-05 11:56:19 -05:00
Matt Bruce
05458e385b fixed bug adding onClick setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-05 11:56:00 -05:00
Matt Bruce
8472a5ec38 added selector base controls for element and item
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-05 10:42:19 -05:00
Matt Bruce
c9b667d4c5 fixed issue with color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-02 14:52:31 -05:00
Matt Bruce
8fd56aa99b added comments for SelfSizingCollectionView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:35:02 -05:00
Matt Bruce
814a048690 added comments to the SelectorGroupHandlerBase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:24:25 -05:00
Matt Bruce
dcf766a267 updated comments on Control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:18:21 -05:00
Matt Bruce
c9ae6b0954 added comments to View
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:18:10 -05:00
Matt Bruce
d358194b7d added comments to Control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:15:38 -05:00
Matt Bruce
b0788a85dd added comments for ColorConfiguration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:02:42 -05:00
Matt Bruce
57135f8ac7 updating bundle manager
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 15:48:53 -05:00
Matt Bruce
38aff5a637 fixed issue in control configuration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-24 17:38:28 -05:00
Matt Bruce
e82a94304c refactored to remove combine for local updater, replaced with setNeedsUpdate
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 11:51:10 -05:00
Matt Bruce
f42d48c5c3 removed constants file
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 11:50:02 -05:00
Matt Bruce
08bcaed4d8 ensured classes are open to allow subclassing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-06 17:06:21 -05:00
Matt Bruce
308ef596a4 added onChange
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-03 10:14:52 -05:00
Matt Bruce
334f9b798c refactored more on clickable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 09:06:24 -05:00
Matt Bruce
248caeb480 updated for maintaining a clickable count
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 08:43:55 -05:00
Matt Bruce
94d44c5d54 refactored clickable
removed old clickable code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 15:37:32 -05:00
Matt Bruce
aa233515a5 updated control
and subcontrols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 13:47:56 -05:00
Matt Bruce
b59a360dea updated to use keypaths
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-16 15:36:59 -05:00
Matt Bruce
4405e3ffc1 refactored colorconfiguration classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-16 11:32:53 -05:00
Matt Bruce
58162040d3 added click subscriber and updateAccessibilityLabel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-07 10:54:19 -06:00
Matt Bruce
5969e530c8 changing public to open
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-02-21 12:01:57 -06:00
Matt Bruce
dd311fc920 applied UserInfoable to views/controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-23 09:26:41 -06:00
Matt Bruce
04a5fddf48 flipped off by default but only set if "touchUpInside" publisher is set
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-11 11:26:12 -06:00
Matt Bruce
8501819658 added icon / images / etc... first cut
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-10 13:11:33 -06:00
Matt Bruce
42e2c5673f fixed highlight bug in entry field
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-21 08:56:51 -06:00
Matt Bruce
ae6c380627 removed old code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 19:34:04 -06:00
Matt Bruce
11416b5343 override getColor for state
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:56:49 -06:00
Matt Bruce
b1cf47154e added configurations
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:47:49 -06:00
Matt Bruce
89b200c005 added highlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 11:03:13 -06:00
Matt Bruce
6880d25f2b Merge branch 'feature/buttonGroupUpdate' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/textLink
# Conflicts:
#	VDS/Components/Buttons/TextLink/TextLink.swift
#	VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 11:59:39 -06:00
Matt Bruce
372dd0cfd0 added isHighlighted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:07:47 -06:00
Matt Bruce
17eab88549 allow subclass
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:07:37 -06:00
Matt Bruce
25ce087977 added @obc for collision
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-21 12:04:50 -06:00
Matt Bruce
c4f9820686 moved to public
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:19:54 -06:00
Matt Bruce
7340ee7363 refactored out collectionview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:16:05 -06:00
Matt Bruce
8a85e67681 updated backgroundcolor to clear
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:01:28 -06:00
Matt Bruce
00f1418e69 updated controls for reset()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-15 10:10:04 -06:00
Matt Bruce
9b75fd4edc ensure resets are working
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 18:25:07 -06:00
Matt Bruce
53b43c6daf execute updateView() after setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:11:39 -05:00
Matt Bruce
85337833d4 refactored out layout subviews, causing infinite loop
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:04:34 -05:00
Matt Bruce
46d0bb3047 added @objc() class name to keep collisions from occurring
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 10:42:24 -05:00
Matt Bruce
1e046fa336 removed / replaced anything to do with model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:41:41 -05:00
Matt Bruce
0b237b4847 updated swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:07:58 -05:00
Matt Bruce
60dbfa9d2b refactored to use layoutSubviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 14:06:03 -05:00
Matt Bruce
e53e66b96a updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:17:16 -05:00
Matt Bruce
63543b5cf5 fixed issues with init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:13:28 -05:00
Matt Bruce
4bf9ce83b5 refactored to remove models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 10:55:36 -05:00
Matt Bruce
0bf344ed31 allow override of inititalSetup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-11 14:01:08 -05:00
Matt Bruce
d0001f8af7 updated color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:27:10 -05:00
Matt Bruce
eac9eaf751 refactored colorable again
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:27:01 -05:00
Matt Bruce
802fd385bf refactored more colorable for AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:57 -05:00
Matt Bruce
56563885b8 added type erasure
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:53 -05:00
Matt Bruce
50bb9dd3d4 updated label/badge to AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:48 -05:00
Matt Bruce
f6b0696457 added AnyColorConfiguration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:34 -05:00
Matt Bruce
d99b8ecd2e updated comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-21 13:31:34 -05:00
Matt Bruce
9e2d5fff47 added Equality to Modelable
added AnyEquality to classes that have an a property with 'any'
added default implementation on shouldUpdateView() to check equality, this can be re-implemented in classes
removed all shouldUpdateView methods everywhere since above was done

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-16 09:14:27 -05:00
Matt Bruce
e07f855eb6 added Identifiable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:56:58 -05:00
Matt Bruce
78443263ba deleted Changeable - onChange: ActionBlock
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 12:43:41 -05:00
Matt Bruce
77a02a1e25 moved valueChanged to method
again this is due to the updating internal models via the control, therefore there will be a delay in the eventing from the publisher back up to the parent model

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:59:01 -05:00
Matt Bruce
2e6bb6fbab added prepare for reuse
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:53:51 -05:00
Matt Bruce
d671492d72 updated selectors to views
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 17:29:43 -05:00
Matt Bruce
0ba4fcbbd2 updated cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 16:11:59 -05:00
Matt Bruce
dbfce2c999 refactored again, removed protocol and enforce base class of subject
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:39:24 -05:00
Matt Bruce
12771fa0f2 created protocols for control/view
refactored to use protocols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:18:43 -05:00
Matt Bruce
d00a219ebb updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:06:07 -05:00
Matt Bruce
57853b6145 added typealias
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:45:14 -05:00
Matt Bruce
71b020cb3f refactored more of the groups to remove protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:38:46 -05:00
Matt Bruce
61c5d5adf8 convert to kyle code for default handlers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:12:08 -05:00
Matt Bruce
6c67544c71 moved tap back into each control since not all controls should need this
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:21:13 -05:00
Matt Bruce
0eb23d51fc moved touchup inside logic into control
isTappable bool
defaultAction() override
2022-08-31 10:38:21 -05:00
Matt Bruce
126b094178 moved isUserInteractive to isEnabled setter 2022-08-31 09:05:38 -05:00
Matt Bruce
cfecae528b updated cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:35:16 -05:00
Matt Bruce
f71372939c refactored into extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:20:07 -05:00
Matt Bruce
2a1f3c9e33 initial commit
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 13:15:29 -05:00
Matt Bruce
3f8285a74d added model reset
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 10:59:57 -05:00
Matt Bruce
4960dcf512 removed method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 08:53:33 -05:00
Matt Bruce
d249ba0fed added ObjectWithable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:52:20 -05:00
Matt Bruce
052d7b57b0 created public init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:42:59 -05:00
Matt Bruce
c9cc612698 updated for withable on lazy properties
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 15:35:45 -05:00
Matt Bruce
0bbdf6ddf0 created publisher folder
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 09:30:45 -05:00
Matt Bruce
42e417b043 refactored enabled/disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 13:14:56 -05:00
Matt Bruce
017f7eadb0 added withable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 10:02:29 -05:00
Matt Bruce
3d94e7d7c4 removed property
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 16:30:38 -05:00
Matt Bruce
166ecf461d trying to resolve leak
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 09:09:24 -05:00
Matt Bruce
1d30735948 refactored updateView stuff into method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-13 09:57:02 -05:00
Matt Bruce
843739e913 refactored for handler protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 16:08:09 -05:00
Matt Bruce
552e0416d3 refactored out ModelHandlerPublishable and moved into the handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:27:50 -05:00
Matt Bruce
24a33a0b9e added ModelHandlerPublisher
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:24:29 -05:00
Matt Bruce
d0b2dfd0b1 refactored propertywrappers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 15:12:14 -05:00
Matt Bruce
cb3bb9250d added subscribers and renamed from cancellables
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:16:58 -05:00
Matt Bruce
0076a1ea21 updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:13:30 -05:00
Matt Bruce
c00c0fb24d updated init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:50:53 -05:00
Matt Bruce
2e3c63ad5c refactored under the hood
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 16:07:04 -05:00
Matt Bruce
c368f275cb refactored controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 14:43:00 -05:00