Commit Graph

1052 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
2e6bb6fbab added prepare for reuse
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:53:51 -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
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
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
2a53bae78c refactored handlerPublisher()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-09 10:44:53 -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
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
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
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