Commit Graph

3907 Commits

Author SHA1 Message Date
Matt Bruce
7c05d9fcc7 refactored out setting form field validity within validation
refactored validate method to return tuple and again not mess with setting formfield validity

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 15:54:36 -06:00
Matt Bruce
df2b6b4db2 removed setting the form field validity within a validation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 15:53:43 -06:00
Matt Bruce
7432454232 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui.git into feature/optional-readonly
# Conflicts:
#	MVMCoreUI.xcodeproj/project.pbxproj

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 13:59:52 -06:00
Matt Bruce
1fe73feb1f added init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:52:27 -06:00
Matt Bruce
d3f4f21b02 refactored StateLabel to FormLabel
add errorLabel
removed all constraints and replaced with UIStackView
show/hide errorLabel within showError

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:51:57 -06:00
Matt Bruce
083d767740 updated model with:
removed: titleLabel, feedbackLabel
added: required

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:48:34 -06:00
Matt Bruce
8444ad15eb refactored StateLabelModel/StateLabel to FormLabelModel/FormLabel
removed state (error/disabled/error)
replace with enabled (model) / isEnabled (view)

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:47:37 -06:00
Matt Bruce
95b32491d1 moved clearablemodelprotocol out of the formfieldeffect
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 10:19:12 -06:00
Matt Bruce
63a23033cc added ClearableModelProtocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 10:17:10 -06:00
Matt Bruce
cb3811f4ea update readOnly didSet to only effect the FormField only and not title/feedback labels
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-10 13:54:55 -06:00
Matt Bruce
05674a6798 added isReadOnly to views/helpers to read the model.readOnly property and update the UI similarly to disabled state
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-07 12:54:28 -06:00
Matt Bruce
6c7c683b27 added readOnly to models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-07 12:53:06 -06:00
Matt Bruce
8397522c46 implemented dynamic rule effect
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-06 15:13:53 -06:00
Matt Bruce
17f7161fe0 fixed default text bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-05 14:41:24 -06:00
Nishanth T
dc8732e9ef removed unneccessary comment 2022-01-05 22:48:45 +05:30
Nishanth T
631c3a8067 changed model title 2022-01-05 22:42:08 +05:30
Nishanth T
4ed9dcacfd Update ListOneColumnFullWidthTextBodyText.swift 2022-01-05 18:40:58 +05:30
Nishanth T
d27def951e Merge branch 'develop' into bugfix/Accessibility 2022-01-05 18:38:09 +05:30
Nishanth T
d35eceb78c Added accessibiltyText for pillButton and link 2022-01-05 18:37:21 +05:30
Rajendran, Nandhini
da31c93b5e Fix for enabledColor in CaretLinkModel 2022-01-03 15:06:25 +00:00
Nishanth T
1a912b485e Merge branch 'develop' into bugfix/Accessibility 2021-12-23 01:47:58 +05:30
Pfeil, Scott Robert
603dbc4430 Merge branch 'feature/swift_subnav_manaager' into 'develop'
sub nav manager

See merge request BPHV_MIPS/mvm_core_ui!787
2021-12-21 16:23:24 +00:00
Krishna Kishore Bandaru
27c3e9da1e Merge branch 'develop' into bugfix/popupAlert_analytics 2021-12-21 13:09:12 +05:30
Krishna Kishore Bandaru
bd729b514a added analytics data for AlertModel 2021-12-21 13:08:39 +05:30
Scott Pfeil
065cf9a2af remove self. 2021-12-20 14:47:43 -05:00
Scott Pfeil
15d60bd3eb remove self. 2021-12-20 14:45:14 -05:00
Scott Pfeil
9aad8e897c cleanup 2021-12-17 15:53:20 -05:00
Scott Pfeil
5aaf93186a fix tabs to respect proper spacing 2021-12-17 15:47:38 -05:00
Scott Pfeil
ba16e241cb sub nav manager 2021-12-17 14:48:42 -05:00
Nishanth T
694a557c86 modified code for clarity 2021-12-17 19:41:55 +05:30
Nishanth T
97b19696d7 Merge branch 'develop' into bugfix/Accessibility 2021-12-17 19:40:53 +05:30
Matt Bruce
27bca4e436 refactored CarouselItemModelProtocol to inherit FormFieldProtocol
update CarouselItemModel with FormFieldProtocol requirements

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2021-12-16 17:33:28 -06:00
Nishanth T
649a9361e4 added accessibility text 2021-12-17 01:59:13 +05:30
Matt Bruce
5233777a25 updated formFieldValue to look for enabled property
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2021-12-16 10:48:16 -06:00
Bruce, Matt R
87195296cc FormFieldEffects Update 2021-12-14 21:18:37 +00:00
Krishna Kishore Bandaru
3c8046587b setting pageJSON for alertobject 2021-12-10 19:37:26 +05:30
Scott Pfeil
5ad469daf5 add missing prefix 2021-12-07 15:13:42 -05:00
Subhankar
d9aa6cf662 removed comment 2021-12-07 22:08:35 +05:30
Subhankar
557a532b3f change in variable 2021-12-07 22:03:11 +05:30
Subhankar
ab1ee24156 added spacing to unordered list 2021-12-07 21:46:38 +05:30
Krishna Kishore Bandaru
2b5ce09b10 added new function hideTopAlertViewOfType 2021-11-11 23:11:31 +05:30
Krishna Kishore Bandaru
e1261d9e4d Updated hideTopAlert method name 2021-11-10 21:16:03 +05:30
Scott Pfeil
6c12d7eda0 set variable at the beginning of function 2021-11-09 10:05:50 -05:00
Scott Pfeil
5c9d628a17 move setup panels to split 2021-11-08 13:06:34 -05:00
Scott Pfeil
beab18ad09 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui into develop 2021-11-08 11:16:08 -05:00
Suresh, Kamlesh
7eff1094d1 Merge branch 'develop' into feature/ft_enhancements 2021-11-01 17:09:46 -04:00
Suresh, Kamlesh
1d868ff9cb FT chnages 2021-11-01 11:51:09 -04:00
Scott Pfeil
6cc2cc25b3 change mdn calculation
default errors not received from server
2021-10-25 17:32:19 -04:00
Matt Bruce
3a1ad0f93d call super handleOtherActions in an subclassed method 2021-10-21 15:06:31 -05:00
Scott Pfeil
66973bd4cb added checks 2021-10-18 17:03:26 -04:00