Commit Graph

1245 Commits

Author SHA1 Message Date
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
9b22fb4e2f refactored hasError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:54:10 -05:00
Matt Bruce
8f63017ce9 added selectedModelHandler/Handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:46:33 -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
421ea78991 refactored to use modelHandler instead direct model change
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 15:51:20 -05:00
Matt Bruce
6b16782b6c added set(with to init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 14:09:51 -05:00
Matt Bruce
a07fc10a7e udpated swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-09 12:52:34 -05:00
Matt Bruce
8217e08182 refactored out radiobox default implementation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 18:59:34 -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
e9c5a14ac9 refactored radiobuttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:29:57 -05:00
Matt Bruce
dcd8d6ef94 refactored radioboxgroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:29:49 -05:00
Matt Bruce
bc0610b828 refactored checkboxgroupbase to use subclass and update default implementation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:20:51 -05:00
Matt Bruce
d77b9c1d80 adding solocheckbox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:19:47 -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
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
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
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
e951326f7c updated for orientation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 08:53:53 -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
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
e34f8f0ed8 renamed methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 18:20: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
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
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
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
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
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
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
91685c4c59 updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 14:46:19 -05:00
Matt Bruce
b82b170c80 fix issue with selectors error
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 10:12:59 -05:00
Matt Bruce
c498c1ded3 fix for error
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 10:04:33 -05:00
Matt Bruce
eeabdba54c fix for radiobutton on launch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 10:04:16 -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
706c55d0f2 Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-11 15:47:28 -05:00
Matt Bruce
3c2ea29330 fixed bug in naming
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:21:08 -05:00
Matt Bruce
f002907c2f moved shouldUpdate to SelectorBase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:20:12 -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
6deb2154a9 Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-11 14:04:57 -05:00
Matt Bruce
8824ea95bc refactored radio button group more
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 12:15:53 -05:00
Matt Bruce
8e4d4d6ded refactored radio button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 11:56:11 -05:00
Matt Bruce
b0ae07fd69 refactored to selector group base and pulled out models 2022-08-11 11:10:09 -05:00
Matt Bruce
036d9462a8 Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-11 10:56:43 -05:00
Matt Bruce
db018ac32b removed override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 10:56:37 -05:00
Matt Bruce
21686bbcd1 remvoed didSelect
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 10:56:18 -05:00
Matt Bruce
e6c55ef588 update to add subscribers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:54:58 -05:00
Matt Bruce
ee4bea37ca forcing to override selected
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:54:02 -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
f97b08460a added radio button shouldUpdate
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:48:32 -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
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
Matt Bruce
26642e2d55 printing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 11:48:55 -05:00
Matt Bruce
103cec3db2 updated selector groups
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 10:53:23 -05:00
Matt Bruce
a55bea38de updated to selector base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 10:11:03 -05:00
Matt Bruce
63d8ad2d25 Merge branch 'develop' into feature/groups
# Conflicts:
#	VDS.xcodeproj/project.pbxproj

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 08:27:10 -05:00
Matt Bruce
c70997edb9 removed prints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 16:27:03 -05:00
Matt Bruce
49b3868acc update subscriber
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 16:25:37 -05:00
Matt Bruce
9292ba8e5a new func override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:36:49 -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
cd327a7f78 added new attribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:35:28 -05:00
Matt Bruce
ac0eb792cf radio button groud
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 07:57:13 -05:00
Matt Bruce
d4aedf4615 removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-08 11:34:17 -05:00
Matt Bruce
fc3ce375ac refactored into base control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-08 10:47:17 -05:00
Matt Bruce
bd0981e018 added radio button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-08 09:38:16 -05:00
Matt Bruce
61d65e9b60 added toggle cotainer to meet specs
refactored all configurable default properties to one area

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 14:37:49 -05:00
Matt Bruce
5b800c0450 moved the disabled/surface to the base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:56:44 -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
4a83c733e2 removed set(
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:41:16 -05:00
Matt Bruce
73410ab6bb refactored error in checkboxconfig
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:04:30 -05:00
Matt Bruce
b3622ce854 refactored isTrue/False to forTrue/false
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:59:10 -05:00
Matt Bruce
b318f1519b renamed helper to config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:56:06 -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
50bb76d806 added accessibilty actions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 20:16:34 -05:00
Matt Bruce
e3edf940c7 converted to struct
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 16:34:31 -05:00
Matt Bruce
cd58fc810e fixed bugs in generic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 16:30:53 -05:00
Matt Bruce
f768c6eab6 refactored toggle colors and models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 16:05:27 -05:00
Matt Bruce
20622bef41 added properties to label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:41:32 -05:00
Matt Bruce
64778d7951 refactored to a generic label/labelbase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:33:27 -05:00
Matt Bruce
fd4b9a1b28 made initable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:33:09 -05:00
Matt Bruce
3acde8b4c8 created color helpers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:11:02 -05:00
Matt Bruce
5820401c50 refactored label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 10:24:43 -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
cff23c26e4 refactored names
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 17:03:28 -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
da517ee9f8 updated checkbox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 13:33:01 -05:00
Matt Bruce
bf9562d264 refactored ViewProtocol
removed @objcMembers from components

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 11:44:35 -05:00
Matt Bruce
7dc21628af cleaned up more code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 10:31:18 -05:00
Matt Bruce
3b2d52dcd3 refactored controls properties to match model
cleaned up code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 10:19:07 -05:00
Matt Bruce
5cfd3c379d updated color logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 10:00:18 -05:00
Matt Bruce
0b8d585354 refactored checkbox coloring
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 09:52:23 -05:00
Matt Bruce
ce4faadf0c converted defaults to structs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 09:01:46 -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
7256f0971c updated shapelayer
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 17:09:38 -05:00
Matt Bruce
d8a55d87bc updated checkbox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 16:22:55 -05:00
Matt Bruce
ef5cb2ae84 added checkbox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 15:09:13 -05:00
Matt Bruce
1f74df31e9 removed excess accessability
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 15:09:03 -05:00
Matt Bruce
6641b94d7a fixed ref
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 12:02:13 -05:00
Matt Bruce
81d36f0096 refactored label
added label computer var off of toggle

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 11:59:30 -05:00
Matt Bruce
c7efb92a34 updated colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 08:59:15 -05:00
Matt Bruce
d4a1f0e5ed refactored more
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 17:38:14 -05:00
Matt Bruce
0aeaeeb81c Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-01 17:36:46 -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
70071778a1 updated colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 16:24:25 -05:00
Matt Bruce
0ace568f7d refactored label text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 15:42:50 -05:00
Matt Bruce
074700ddfe removed prints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 13:34:14 -05:00
Matt Bruce
d7beea240c upddate animations
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 13:31:41 -05:00
Matt Bruce
669c2b15b5 refactored colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 12:41:05 -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
8dc988aae9 changed default from large to small
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 11:54:39 -05:00
Matt Bruce
2edd58c6d8 updated for accessable and ensure label on showtext/textposition changes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 11:54:27 -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
482d3854a1 removed default models
added accessibility

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 09:20:26 -05:00
Matt Bruce
831f4baf18 moved default models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 09:20:01 -05:00
Matt Bruce
5de60eef0f removed class since this is inherit
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 08:56:55 -05:00
Matt Bruce
398ae82151 removed static helper size methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 16:10:47 -05:00
Matt Bruce
e8da41eb70 refactored properties using this
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 16:06:42 -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
f5c7d73bad update toggle sizes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 10:53:30 -05:00
Matt Bruce
529be82f36 fixed bug for disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 09:54:26 -05:00
Matt Bruce
eaae15658e removed ObservableObject
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 09:11:01 -05:00
Matt Bruce
6c2ffa4976 refactore everything to state changed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 08:36:49 -05:00
Matt Bruce
6c0a0460e8 updated toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:07:16 -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
2eac9edc24 refactored
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 11:17:43 -05:00
Matt Bruce
b18edd6033 updated toggle/model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-27 18:26:15 -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