Commit Graph

276 Commits

Author SHA1 Message Date
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
56a72f62a2 removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:18:59 -05:00
Matt Bruce
49911145cf refactored checkboxgroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:44:10 -05:00
Matt Bruce
ac2a77acf5 refactored radiobuttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:39:39 -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
c05f35de03 updated width/height for collectionview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:12:19 -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
c975f2b06e added Gesture publisher / extension to UIView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:29:44 -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
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
f13c9488a4 didSelect
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 12:27:37 -05:00
Matt Bruce
5d5c17606e Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-31 10:38:31 -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
a9a3aeee18 updated default implementation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 09:57:35 -05:00
Matt Bruce
c6ae09f730 removed isUserInteractive to control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 09:06:01 -05:00
Matt Bruce
126b094178 moved isUserInteractive to isEnabled setter 2022-08-31 09:05:38 -05:00
Matt Bruce
a0bc95d849 refactored into base class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 18:16:00 -05:00
Matt Bruce
980642e72c pulled in protocol method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:09:37 -05:00
Matt Bruce
572a7dd123 added valueChanged event
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:07:21 -05:00
Matt Bruce
4054695a6b worked on more changes for swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:00:49 -05:00
Matt Bruce
574d6f84ac fixed stackviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 16:26:31 -05:00
Matt Bruce
ca938bf18f remvoed codable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 15:57:14 -05:00
Matt Bruce
584663eab8 Merge branch 'develop' into feature/radioSwatch
# Conflicts:
#	VDS/Components/Label/Attributes/LabelAttributeColor.swift
#	VDS/Components/Label/Attributes/LabelAttributeFont.swift
#	VDS/Components/Label/Attributes/LabelAttributeUnderline.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 15:50:54 -05:00
Matt Bruce
d87adf477c updated to remove codable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:46:15 -05:00
Matt Bruce
2247e529c0 coverted to colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:44:01 -05:00
Matt Bruce
1468294637 added colorcodable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:43:54 -05:00
Matt Bruce
298a170be9 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:37:58 -05:00
Matt Bruce
3b3ea3bece removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:37:55 -05:00
Matt Bruce
d6a2ebaf95 refactored into extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:37:34 -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
cfecae528b updated cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:35:16 -05:00
Matt Bruce
6ce40e1a39 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:34:22 -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
ee07116952 remvoed logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 09:18:28 -05:00
Matt Bruce
ba4bd4e1f5 first cut of radioswatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 09:18:09 -05:00
Matt Bruce
34c85f0c48 coverted to colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:20:24 -05:00
Matt Bruce
cd97f8b997 first cut of default model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:20:18 -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
4dcddd7fef added colorcodable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:19:48 -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
8f319e3b11 refactored name
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 11:00:21 -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
e951326f7c updated for orientation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 08:53:53 -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
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
06f25259f7 updated when strikethrough is drawn
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 11:15:24 -05:00
Matt Bruce
3eeb6f5dcb listening for rotation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 11:15:11 -05:00
Matt Bruce
37372c5487 refactored to use Protocol extension methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 08:20:49 -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
d2258d2744 added radiobox model/group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 16:54:59 -05:00
Matt Bruce
883281a94a fixed bug in text position
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 16:54:49 -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
72f993ab55 removed errorText
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 14:52:50 -05:00
Matt Bruce
844aa13277 refactored out selector base selector group base class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 14:49:00 -05:00
Matt Bruce
6fb56aec19 changed associated name
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 13:28:00 -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
3eb19646c8 Added checkbox group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 10:30:55 -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
e34f8f0ed8 renamed methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 18:20:20 -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
304023381c updated to copyWith
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:49:44 -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
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
268570b3bb added publishers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 15:20:56 -05:00
Matt Bruce
1b3bcfab25 refactored to using UIControl publisher for .valuechanged
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 14:11:34 -05:00
Matt Bruce
95540d44d5 refactored selector
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 09:41:25 -05:00
Matt Bruce
a58facf2d7 udpated toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 09:38:59 -05:00
Matt Bruce
8fd2c833f0 added uiControl publisher
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 09:32:56 -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
350da3fb2b udpated for micro issue on no textsize
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 14:27:44 -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
43c60fe895 updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 08:01:49 -05:00
Matt Bruce
caba5c7cd7 renamed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 08:00:51 -05:00
Matt Bruce
85f6722d4c updated action to combine
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 07:59:31 -05:00
Matt Bruce
cade12b0cd refactored label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 18:16:16 -05:00
Matt Bruce
aab0cd86ac refactored label to include lineheight and letterspacing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 16:11:07 -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
b912835c22 added light
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 11:33:20 -05:00
Matt Bruce
2ed981f0ad added Typography
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 11:33:07 -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
c2a9fecd3b added shouldUpdateView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 16:30:48 -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
f3b9999e34 updates
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 12:11:23 -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
1b9830993b added hasError update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:39:53 -05:00
Matt Bruce
ce9b19cdfc updated to point to publisher
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:28:52 -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