Commit Graph

309 Commits

Author SHA1 Message Date
Matt Bruce
5c21e5469f adding print
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:06:43 -05:00
Matt Bruce
d611960ac8 refactored entryfield
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:04:49 -05:00
Matt Bruce
85337833d4 refactored out layout subviews, causing infinite loop
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:04:34 -05:00
Matt Bruce
2f0600eafb refatored entry field/textField, still not done but now these don't have models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 10:07:42 -05:00
Matt Bruce
46eaac262c Merge branch 'develop' into feature/entryFields
# Conflicts:
#	VDS.xcodeproj/project.pbxproj

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-01 16:42:38 -05:00
Matt Bruce
ced2bec5c2 added TextLink/TextLinkCaret
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-01 15:13:11 -05:00
Matt Bruce
ea28526689 don't default to .black
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-01 15:12:55 -05:00
Scott Pfeil
4d362f41ad Open it up 2022-10-28 10:27:30 -04:00
Matt Bruce
faf6c84044 fixed bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-26 13:44:25 -05:00
Matt Bruce
790fa208db added isAnimated logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 17:07:45 -05:00
Matt Bruce
5e8a1d349b removed code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 15:28:06 -05:00
Matt Bruce
46d0bb3047 added @objc() class name to keep collisions from occurring
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 10:42:24 -05:00
Matt Bruce
1e046fa336 removed / replaced anything to do with model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:41:41 -05:00
Matt Bruce
b5314ad879 deleted all models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:12:25 -05:00
Matt Bruce
0b237b4847 updated swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:07:58 -05:00
Matt Bruce
60dbfa9d2b refactored to use layoutSubviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 14:06:03 -05:00
Matt Bruce
e53e66b96a updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:17:16 -05:00
Matt Bruce
fa39ce82d1 fix toggle bugs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:13:38 -05:00
Matt Bruce
63543b5cf5 fixed issues with init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:13:28 -05:00
Matt Bruce
4bf9ce83b5 refactored to remove models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 10:55:36 -05:00
Matt Bruce
f47a910dae updated constaint
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-13 10:51:00 -05:00
Matt Bruce
558d6c16ab updated logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-12 09:02:39 -05:00
Matt Bruce
1f91459b9e refactored toggle to match updated property names
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-12 09:00:41 -05:00
Matt Bruce
087691bc62 update label within toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-12 08:16:29 -05:00
Matt Bruce
5a8e34f327 removed code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-11 10:43:09 -05:00
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
802fd385bf refactored more colorable for AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:57 -05:00
Matt Bruce
56563885b8 added type erasure
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:53 -05:00
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
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
0a8b0c2f7c updated code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:24:49 -05:00
Matt Bruce
163c292796 updated color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:22:28 -05:00
Matt Bruce
02325d0d30 updated entry fields
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 14:17:17 -05:00
Matt Bruce
0abcbde5ec refactored colorable again
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 13:51:18 -05:00
Matt Bruce
27a5d665cf refactored more colorable for AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 12:47:18 -05:00
Matt Bruce
b81dac7039 added type erasure
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 10:52:49 -05:00
Matt Bruce
94ad6cd9f8 updated label/badge to AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 10:44:04 -05:00
Matt Bruce
c29cd4a7a5 accessable update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-07 09:15:05 -05:00
Matt Bruce
3ae6167f18 tooltipo update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-07 09:14:02 -05:00
Matt Bruce
26da08ba48 images
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-07 09:13:20 -05:00
Matt Bruce
02a3bd9e78 refactored names of XXXLabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 15:08:03 -05:00
Matt Bruce
e2573492fa added entry field colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 12:44:42 -05:00
Matt Bruce
61493d382d added more structs for helping attribrutes/colors, etc..
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 11:39:27 -05:00
Matt Bruce
7551519d2d added accessibleText for actions as an override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 11:38:44 -05:00
Matt Bruce
be71919ccf added new properties for accessible and for actions that aren't text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 11:38:20 -05:00
Matt Bruce
68868a35ed first cut of entry fields
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-03 15:28:18 -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
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
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
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