Commit Graph

275 Commits

Author SHA1 Message Date
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
3b75957ce1 accessable update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:19 -05:00
Matt Bruce
986e410098 added accessibleText for actions as an override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:25:32 -05:00
Matt Bruce
0f2c045add added new properties for accessible and for actions that aren't text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:25:21 -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
Bruce, Matt R
1b75bfb369 Merge branch 'feature/Button' into 'develop'
start of button

See merge request BPHV_MIPS/vds_ios!2
2022-09-23 22:06:34 +00: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
adaabe7249 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/Button
# Conflicts:
#	VDS.xcodeproj/project.pbxproj

Signed-off-by: Jarrod Courtney <jarrod.courtney@gmail.com>
2022-09-23 11:07:48 -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
52084116d9 added Badge to the componements
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-22 16:59:59 -05:00
Matt Bruce
5694095aa4 added linebreakMode to paragraph style
made textColorConfiguration a public property and set it

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-22 16:59:30 -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
a07f86efe3 class is already equatble
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 17:20:20 -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
a561ea30d8 added Identifiable to LabelAttributeModel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:59:51 -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
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