Commit Graph

176 Commits

Author SHA1 Message Date
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
3b75957ce1 accessable update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:19 -05:00
Matt Bruce
ea79ed7b64 fixed background color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:25:10 -05:00
Matt Bruce
fa3d139742 refactored hasError to showError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-03 12:21:27 -05:00
Matt Bruce
7687c42fe2 minor fixes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-23 16:38:52 -05:00
Jarrod Courtney
a22bbbc2b3 added buttonSize selector
Signed-off-by: Jarrod Courtney <jarrod.courtney@gmail.com>
2022-09-23 13:42:42 -05:00
Jarrod Courtney
fcef842397 start of button
Signed-off-by: Jarrod Courtney <jarrod.courtney@gmail.com>
2022-09-23 11:05:37 -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
48797d2003 updated to have a casted isEqual
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 16:58:54 -05:00
Matt Bruce
378802eb5e updated to equalSelf
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 16:50:21 -05:00
Matt Bruce
b4659a73c0 added equatble to label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 16:45:56 -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
2a53bae78c refactored handlerPublisher()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-09 10:44:53 -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
1129ac4468 adding comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:27:26 -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
96522d37da refactored to all having didSelect
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:19:32 -05:00
Matt Bruce
7b6a62eae7 removed errorable from radiobox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:30:35 -05:00
Matt Bruce
2e0d044c15 updated code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:07:56 -05:00
Matt Bruce
f68a815680 baby steps in refactoring out methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 14:48:07 -05:00
Matt Bruce
2148014664 removed selected inputId
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 14:35:09 -05:00
Matt Bruce
81ed479c87 final changes before vacation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:24:45 -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
1306c9e2a9 updated for not caching model, just the inputId
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:12:40 -05:00
Matt Bruce
78d97fd936 kind of working swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:36:13 -05:00
Matt Bruce
cee429506d revmoed errorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:36:01 -05:00
Matt Bruce
0b643034f6 added init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:35:52 -05:00
Matt Bruce
e706045c79 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:32:06 -05:00
Matt Bruce
8f319e3b11 refactored name
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 11:00:21 -05:00
Matt Bruce
8c92503299 added methods that can be overwritten
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 17:25:23 -05:00
Matt Bruce
324d00b53b updated protocols to deal with Single Selection Groups
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 08:20:29 -05:00
Matt Bruce
921e13b3cf refactored into protocols
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 14:55:15 -05:00
Matt Bruce
a671765e80 moved selectable into own protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 12:54:57 -05:00
Matt Bruce
eac716afd2 removed print
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 09:30:12 -05:00
Matt Bruce
48a84960f4 updated method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 08:04:46 -05:00
Matt Bruce
632f7498bc created static initWith for withable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:43:28 -05:00
Matt Bruce
6156ed18fd refactored naming
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:43:12 -05:00
Matt Bruce
b4b1de52a2 refactored Typography
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 12:05:28 -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
b3483053f6 removed filter
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 17:45:51 -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
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
9d440aaeac refactored to hasError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 17:30:54 -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
15d71e41dd added uuid
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 16:25:56 -05:00
Matt Bruce
c368f275cb refactored controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 14:43:00 -05:00
Matt Bruce
4e6d9b2f9d new funcs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:36:37 -05:00
Matt Bruce
df82f85724 added Modelable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:54:20 -05:00
Matt Bruce
b253bf3e03 refactored color configurations and refactored classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:49:02 -05:00
Matt Bruce
4c38676f59 refactored more fonts
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 09:01:26 -05:00
Matt Bruce
5a22e6ecd0 first cut
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 17:03:59 -05:00
Matt Bruce
b993952e30 updated labelable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 15:26:40 -05:00
Matt Bruce
b50f4014c1 added resetable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 15:25:34 -05:00
Matt Bruce
ffe3641500 refactored out VDS from naming conventions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 13:56:14 -05:00
Matt Bruce
2b103724e3 removed methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 11:44:44 -05:00
Matt Bruce
7fef4aadb7 refactored constants
updated constant references
fixed bug in checkbox

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 08:46:51 -05:00
Matt Bruce
2c4b0a578a Merge branch 'develop' into generic-class
# Conflicts:
#	VDS/Classes/VDSControl.swift
#	VDS/Components/Toggle/VDSToggle.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 17:05:58 -05:00
Matt Bruce
63d5b97de6 refactored color to surface
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 12:05:49 -05:00
Matt Bruce
ff61d3ff39 updated for accessable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 11:53:58 -05:00
Matt Bruce
49e84c5255 updated control to take in generic class
updated toggle to include this and make a abstract class and new subclass

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 10:33:23 -05:00
Matt Bruce
641ae4d572 refactored code for debounce
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 13:04:36 -05:00
Matt Bruce
4127ad18d2 removed files
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:26:46 -05:00
Matt Bruce
74cbd6a2fe udpated protocols
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:07:02 -05:00
Matt Bruce
01083bd8c8 added classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:06:49 -05:00
Matt Bruce
4878fc70ab added associated type
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-27 10:34:36 -05:00
Matt Bruce
d61f60cc21 refactored more of the toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-26 12:04:41 -05:00
Matt Bruce
b1324444f8 refactored out speicific atomic code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-26 11:08:42 -05:00
Matt Bruce
6b77c2829a first cut of Toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-25 14:51:12 -05:00