mmhglobal-zcore
v2.30.0
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.0.
Downloads
171
Readme
MmhglobalZcore
This library was generated with Angular CLI version 13.3.0.
Changelog
2.30.0
- [auth-interceptor] - Enhanced: exception handling for API errors.
- [zgroup.model] - Added: loadViaAsset property for zudf to enable runtime loading from the asset folder.
- [zgroup.model] - Added interfaces: FormBuilderQueryParamData, and enums: DebuggerFieldElementName, FormBuilderDirectAccessQueryParamValue, FormBuilderDirectAccessQueryParamKey for the debugger section.
- [field.service] - Added: getFormFieldElementFromServer() and getListFieldElementFromServerWithoutMapping() for retrieving Field Element details from the server.
- [webApi.service] - Added: functions to facilitate interaction with the Node server.
- [zcore.service] - Added: isAppRunningInLocalhost() to check if the app is running on localhost.
2.29.0
- [resourceapi.service] - Enhancement: Enhanced to store and reuse the project domain URL in session storage.
- [resourceapi.service] - Added: Added the getCustomResource function to fetch custom resources from the environment file.
- [resourceapi.service] - Changed: Changed getDomainUrlByProjectCode to getProjectDomainUrl for getting domain url from environment.ts.
- [resourceapi.service] - Added: Added getAppmonDomainUrl function to get Appmon domain url only.
- [field.service] - Enhancement: Changed the API route prefix used by the service to private.
- [field.service] - Enhancement: Added an extra parameter to allow passing in and using the custom resource value.
- [zgroup.model] - Added: CustomResource property for zudf; DisableStrictMode for sfdatetimepicker.
- [zgroup.model] - Added: Added StateSettingInfo interface and StateType enum for statesetting service.
- [zgroup.model] - Added: Added action property to NavItem.
- [zgroup.model] - Added: Temp added following to zField:
CheckboxOnly: boolean; // zgrid
Background: any; //ztrendcard
Header: string; // ztrendcard
ValueAxis: Array<any>; //zchart
CrossingValues: Array<any>; //zchart
DisabledDates: number | string | DatetimeStep; // zNumeric, zDateTime
LabelVisualConfiguration: any; //zChart
CategoryAxis: Array<any>; //zchart Navigator
NavigatorAxis: Array<any>; //zchart Navigator
CustomTooltipFunc: string;//zChart
LegendSpacing: number;//zChart
LabelVisual: Array<any>;//zChart
ValueNavigatorAxis: Array<any>;//zChart
Panes: Array<any>;//zChart
Navigator: boolean;//zChart
NavItems: Array<any>; //zchart
- [zcomponent.model] - Added: Added Id for ZGridSettings interface.
- [statesetting.service] - Added: Created a new service to interact with the project's Web API for saving, deleting, and reading state settings.
2.28.1
- [offlinedatabase.service] - Fix: Updated the decoding method to use decodeURIComponent for getJsonCache.
- [webapi.service] - Enhancement: Skipped warning messages returned by the ApiSummaryInfos API.
2.28.0
- [zcomponent.model] - Enhancement: Improved the generateAndDownload function to handle multiple JSON files.
- [zcomponent.model] - Fix: Correctly handles lazy-loaded dropdown data when search text is null and improves asynchronous fetching.
- [zgroup.model] - Added: New enum and interface to support asset data; new InnerRatio for ztrendcard.
- [field.service] - Development: Update for loadViaAsset feature.
- [webapi.service] - Development: Added new function assetsHttpLocalGet, assetsHttpNodeGet, assetsHttpNodePut for loadViaAsset feature.
2.27.0
- [zcomponent.model] - Remove texteditor value from zModel before patchValue() IM2408-005258.
- [idle.service] - Enhancement: Allow developers to customize the idle dialog with optional properties for the header, content, button colors, and button order through the environment configuration.
idleConfig: {
isEnabled: true,
idleThresholdMinutes: 20,
waitingIdleThresholdMinutes: 5,
header: 'My Dialog Title',
sessionExpiryMessage: 'Waiting your response until: ${formattedIdleThresholdTime}',
reverseButtonOrder: true,
buttonColorYes: 'danger',
buttonColorNo: 'warning',
buttonColorOk: 'primary'
}
2.26.0
- [zcomponent.model] - Enhanced generateAndDownload to handle JSON and ZIP files.
- [zgroup.model] - Added more TriggerFromType properties.
- [resourceapi.service] - Enhanced to capture the Appmon domain URL.
- [field.service] - Refined and enhanced getFormFieldCode to retrieve field elements. If loadViaAsset is true in the environment, it loads from asset folder; otherwise, it will load from the OAuth Web API.
2.25.0
- [idle.service] - Updated default values for idleThresholdMinutes and waitingIdleThresholdMinutes to 20 and 5 minutes, respectively.
- [auth.service] - Enabled idle service by default if not specified in the environment.
- [auth.service] - Removed the unused enableIdleAutoLogout handling condition.
2.24.2
- [zgroup.model][zcomponent.model] - Added property support for
zganttchart
.
timelineViewType: string[];
timelimeDefault: string;
timelineSize: string;
selectable: boolean;
uniqueKey: string;
max: number;
onItemClick: string;
defaultCollapse: boolean;
allowCollapse: boolean;
[offlinedatabase.service] - getJsonCache to handle only if cache returned data length is valid.
2.24.1
- [webapi.service] - Minor fix for
buildHttpHeaders
, handlingthis.group
being null.
2.24.0
- [group.model] - Added
buttonEventDetail
forzgroup
to retain button details,maxdate
andmindate
datetime properties. - [workflow.service] - Added handling
DisableTriggerTimer
forfunctionalButton_OnClick
. - [webapi.service] - Enhanced
buildEventDetail
to utilizebuttonEventDetail
if the passed event is null.
2.23.5
- [webapi.service] - Included
field element form name
ineventdetail
.
2.23.4
- [zgroup.model] - Added
isCollapse
inPanelItem
.
2.23.3
- [zgroup.model] - Added
ExcelCellFormat
,ExportDataResourceURL
for grid exporting usage.
2.23.2
- [zcomponent.model] - Fixed for
getInfiniteData
used for dropdown lazyloading.
2.23.1
- [zcomponent.model] - Removed subscribe for
getInfiniteData
ifrecordId
is present, as it is an observable function.
2.23.0
- [zcomponent.model] - Changes for
getInfiniteData
to load all data based on an interval of 0.5 sec until the total record count or a maximum of 1000 records (whichever is lower). - [attachment] - Changed to adopt
webapiService
new argument passing. - [field] - Added
triggerFrom
optional argument forgetFormFieldCode
function. - [webapi.service] - Changed 3rd argument to use
WebApiAdditionalDetail
object for future enhancements. - [workflow.service] - Changed to adopt
webapiService
new argument passing.
2.22.0
- [sessionmanager.service] - Added new service for session manager.
- [zgroup.model] - Added
AllowedFileExtension
,MaxInfiniteTotalLoad
property forZField
. - [zgroup.model] - Added
TriggerFromType
function. - [zcomponent.model] - Added
generateTimeStampId
function.
2.21.1
- [signalr.service] - Minimized warning messages for signalr not being enabled.
- [fontawesome] - Added
getAllIcons
function.
2.21.0
- [alert.service] -
dismissByHeader
now returns result when filtering the array. - [toast.service] -
dismissByHeader
now returns result when filtering the array. - [workflow.service] - Enabled
isTrigger
when a functional button is clicked. - [zgroup.model] - Added
SelectOptionsPinned
for pinning select all checkbox column.
2.20.1
- [translation] - Fixed error message alert header and button not being translated (#3722).
2.20.0
- [field.service] - Added functions to support form builder.
- [zgroup.model] - Added
menuItems
inZField
to supportkmenu
. - [zgroup.model] - Added
PanelArea
inZField
to supportksplitter
. - [zgroup.model] - Added
SearchOperator
,SearchLength
inZField
forselectMultiple
property; addedDropdownSearchOperator
object support. - [zgroup.model] - Added
FieldElementFormType
andIsGenerateFormControlNameByContainerName
inZField
to supportzudf
. - [translation] - Fixed bug if value is empty.
- [fontawesome] - Added icons.
2.19.5
- [zgroup.model] - Added
ExcelCellFormat
for grid exporting usage.
2.19.4
- [zgroup.model] - Added
ExportDataResourceURL
forzgrid
usage.
2.19.3
- [error-handler] - Refined the error message for fields using
MinLengthIgnoreSpace
field attribute (#3483). - [component.model.ts] - Added
ToolTipPosition
property forAddOns
component (#3580).
2.19.2
- [zgroup.model] - Removed unused
beforeGridGetData
fromZGroup
. - [field.service] - Enhanced list form to handle "_loaded" event properly.
- [fontawesome] - Added few more icon support.
2.19.1
- [logging.service] - Standardized method for logging and debugging.
2.19.0
- Added
ContextMenuSettings
intoZField
. - [idle-service] - Enhanced to distinct user include project iis setting. Fine tune for alert when session timeout.
- [fontawesome] - Added eye icon.
2.18.2
- Tidying up and organizing the
zField
for every component.
2.18.1
- Deprecated
isMobileScreen()
inzcomponent.model.ts
.
2.18.0
The following properties have been removed from
zField
:cellFilter
filterCellFiltered
enablePinning
pinnedRight
UpdateOnBlur
AppendDivClearFix
EnableHiding
AddButtonVisible
DefaultAsChecked
EnableExportRTF
EnableExportTIFF
EnableExportMHTML
EnableExportXPS
FontSize
GridClickableIcons
DefaultQuery
DefaultValue
IsNullable
OnApplyClick
ShowQueryResult
SuccessCreatedMessage
SuccessUpdatedMessage
ResourceURLAlt
doubleHeight
EnableExportCSV
EnableExportExcel
EnableExportPDF
CheckboxOptions
CheckedValues
[cache] Clear cache upon logout (method 1).
Enhanced idle service and implemented auto token refresh feature. It can be enabled by adding the following configuration in the environment:
idleConfig: {
isEnabled: true,
idleThresholdMinutes: 15,
waitingIdleThresholdMinutes: 1
2.17.0
- [zgroup.model] Added
isGroupByEnabled
property inVirtualScrollOption
interface. - [alert.service] Minor fix for alert not initially callback if no translated content.
2.16.0
- Changed
ITSMLoggingService
tologgingService
. - Created
proxyService
to inject service in case of circular import. Alert
andToast service
now will not notify again if triggered 2nd time with same header and message.- [zcomponent.model] - Added
beforeModalReponse
forModalPageParams
. - [zgroup.modal] - Added
Okay
forDialogResponse
. - [translate.service] - Used
proxyService
to inject auth service when called. - [alert.service] - Enhanced default
backdropDismiss
as false, added methoddismissAll
,dismissByHeader
,dismissByMessage
,getLatestAlert
. - [auth.service] - Added handling of
enableIdleAutoLogout
if set in environment. - [toast.service] - Changed
dismiss
todismissAll
, added methoddismissByHeader
,dismissByMessage
. - [webapi.service] - Changed to use renamed
logging.service
instead.
2.15.0 (identical to 2.14.0)
- No modifications have been made.
2.14.0
- [ui-signal.service] - Added new service to broadcast events emitted by ui components.
2.13.1
- [zcomponent.model] - Fixed
getgroupvalue
returning boolean if value is undefined in group scope.
2.13.0
- Note:
app.module
requires usinghttpInterceptorProviders
in the provider and removing existing Interceptor. - [Interceptor] - Reorganized the interceptor to follow angular standard.
- [logging-interceptor] - Added log in console whenever API is triggered.
- [zgroup.model] - Tidied the property, added enum
OauthResponseStatus
for oauth response status usage. - [auth.service] - Cleaned up the code, added more logging and error catching handling.
- [webapi.service] - Added log if error 401.
- [zcore] - Added handling of enable debugger when URL with debug session.
2.12.0
- [zcomponent.model] - Bug fix for
getGroupValue
, should escape if unable to find the property in the group scope. - [signalr.service] - Added log to console if not enabled.
- [zgroup.model] - Cleaned up the
zfield
property. - [zgroup.model] - Added
ExpandDisabledNodes
property forztree
. - [zgroup.model] - Added
VirtualScrollOption
andDataSetResult
for virtual scroll component.
2.11.1
- [zcomponent.model] - Renamed the variable to be more readable.
- [zgroup.model] - Minor code tidy for the
zField
property. - [zgroup.model] - Added
GridFilterConfiguration
property andFilterConfiguration
interface forzgrid
filtering.
2.11.0
- [zgroup] - Cleaned property for ztree attributes and added
TreeViewCheckboxConfiguration
property with proper interface. - [zcomponent.model] - Added
getCheckedValues
,setCheckedValues
, andsetDisabledCheckBox
property (for ztree). - [zcomponent.model] - Fixed bug where hidden columns were not working.
- [zgroup] - Added new properties for
ksplitter
andvirtual scroll
.
2.10.1
- [zgroup.model] - Added
SelectionStyle
interface inzField
forzcolorpicker
option.
2.10.0
- [collectActivity.service] - Changed to use interface object
ActivityInfo
in parameter as part of code cleaning. - [zgroup.model] - Added
FormInfo
andActivityInfo
interface; renamedFieldType
toFormType
. - [field.service; resourceapi.service; webapi.service] - Changed to pass
ActivityInfo
as parameter when callingcollectActivity
. - [field.service] - Changed variable names for readability.
2.9.0
- [public-api] - Removed
statepersistent
default used for grid. - [zcomponent-model] - Improved
ZGridSettings
interface. - [zcomponent-model] - Changed
ZGridColumnSettings
toZGridColumnConfigs
. - [zcomponent-model] - Added
setGridState
andsetGridToFirstPage
property forzgrid
. - [zcomponent-model] - Cleaned up
getGridColumns
function code and usedZGridSettings
object instead of multiple parameters. - [auth.service] - Generated special token for component usage.
- [zgroup] - Added interface for
zModalConfig
tozgroup.model
. - [zgroup] - Added new property into
ZField
:OnScroll
(for virtual_scroll). - [zgroup] - Added new properties into
ZField
:CheckboxOptions
,CheckedValues
(for ztree). - [zgroup] - Added new property into
ZField
:ComponentSettings
(for texteditor). - [zcomponent.model] - Fine-tuned
ModalPageParams
naming and added new params.
2.8.8
- [zcomponent.model] - Added
generateAndDownload
andgenerateZipFile
functions for generating files and enabling them to be downloaded as a zip archive.
2.8.7
- [components] - Enhanced Input Field Validator: Added
MinLengthIgnoreSpace
and Custom Validator. - [zgroup] - Added
PanelItems
inZField
forksplitter
. - [zgroup] - Added
Section
inZField
for virtual scroll component.
2.8.6
- [zgroup.model] - Added
DataRowClass
intogroup.model
. - [field.service] - Added
refreshFormField
function to reload field element.
2.8.5
- [public-api] - Added
offinedatabase.service
.
2.8.4
- [zcomponent.model] - Enhanced
ComponentSetProperty
interface with more functions to manage component style. - [fontawesome] - Allowed using icons from
free-regular-svg-icons
library. Use 'far_' as prefix (e.g.,far_file-zipper
). - [zgroup.model] - Added
RowHighlight
interface for grid. - [resourceapi.service] - Added function to retrieve project domain URL.
- [offinedatabase.service] - Changed handling for offline database.
2.8.3
- [auth.service] - URL validation for cache clearing will incorporate the base href from
index.html
, if available.
2.8.2
- [auth.service] - Excluded the forward slash from the href when validating for cache clearance during login.
2.8.1
- [auth.service] - Bug fix for validation.
2.8.0
- [auth.service] - Cleaned up the code and reinstated the auto-login condition. Added before initiating auto-login, check to see if the current URL corresponds to the login page. If it does, the code will automatically clear the cache.
- [zgroup] - Added interface for
CacheInfo
,JsonCache
, and movedAuthInfo
interface tozgroup.model
.
2.7.2
- [auth.service] - Minor code cleanup.
2.7.1
- [toast.service] - Default permanent toast alert at bottom.
- [webapi.service] -
ClientUrl
value cleanup before sending. - [zgroup] - Default
subscribeToModificationAlert
as true.
2.7.0
- [toast.service] - Added
showPermanently
function to permanently display the toast alert. - [signalR.service] - Enhanced all functions and removed
getEvent
function, main function will besubscribeToEvent
which allows passing callback function. - [offlinedatabase] - Added offline database service for storing data to the
indexedDb
. - [alert.service] - Added
stopAutoCloseOnBackgroundClick
to controlbackdropDismiss
. By default, it is false. - [zgroup] - Added
CacheInfo
forZField
,signalRCallbackHandler
&subscribeToModificationAlert
forZGroup
to be used for signalR. Improved few enum options. - [webapi.service] - Added
ClientUrl
to sendwindow.location.href
in the header for every API call.
2.6.8
- [attachment.service] - Added Sharepoint service integration.
- [sharepoint.service] - Added Sharepoint service.
- [zgroup] - Added Sharepoint interface and new attribute for field element.
- [auth.service] - Standard X-LocalDate format across all browsers and all languages.
2.6.6
- [auth.service] - Added API header in OAuth Token API for AppMon Access Logging.
- Added
beforeLoadColumn
event name to be used byztreelist
,zgrid
.
2.6.5
- Added
clonedFields
ingroup
forzloop
to store the cloned fields that will be used for error message display. - [ComponentErrorHandlerService] - Enhanced error handler service to handle for zloop child components.
2.6.4
- Added enum
InternalComponentType
to control which internal kendo component to use as dropdown list.
2.6.3
- Added
Orientation
forksplitter
. - Shifted
removeTextEditorValueFromFormPatching
function from main service toZComponentHelper
. - Workflow service to call
removeTextEditorValueFromFormPatching
whenpatchValue
for the formgroup.
2.6.2
- Added
LoopingElementConfig
forngFor
config.
2.6.1
- Added
HideShowResultPanel
forZField
. - [workflowservice] - Updated
localGoToButton_OnClick
function to be in sync withserverGoToButton_OnClick
function.
2.6.0
- Moved component error handler to
zcore
, to allow full usage in all libraries.
2.5.0
- Handle
Min
andMax
value validator inznumeric
component.
2.4.11
- Updated extra error handling for interceptor if token expired.
2.4.10
- Added extra error handling for interceptor if token expired.
2.4.9
- Updated
ComponentSetProperty
forzudf
. - Updated model argument for
zudf
function.
2.4.8
- Updated
ActionType
and added default delimiter. - Updated model argument for
zudf
function.
2.4.7
- Added
Field Element Name
argument torenderFieldElement
,renderFieldElementByJsonString
forzudf
.
2.4.6
- Added
DisableAutoAppendGridDateFilterCol
attribute forzgrid
.
2.4.5
- Fix workflow service to patch back status if
processingstatus
returned false.
2.4.4
- Added
FieldElementName
inzField
for after form loaded event. - Field service will now handle
getComponentLoaded$
after event triggered. - Added
FieldType
and updatedDefaultMessage
.
2.4.2
- [groupmodel] - Added few properties for the model and updated default message.
- [workflowservice] -
afterworkflowaction
to return API response.
2.4.1
- Rebuild due to library compatibility issue.
2.4.0
- [zcomponent] - Handle
GridCellReplaceValue
set in field element forzgrid
. Cell value changes based on setting in field element.
2.3.0
- [fontawesome] - Implemented
getIcon
function to be used by component to retrieve icon.
2.2.1
- [fontawesome] - Added few new icons.
2.2.0
- [authservice] - Changes for external login authentication.
2.1.1
- [zcomponent.model] - Temp fix to ignore
zudf
field if its value is not null.
2.1.0
- [zgroup] - Added
FieldElementCode
forZField
. - [cache service] - Added new cache service method.
- [signalR] - Added signalR service.
2.0.2
- Enhanced webapi service not to show error message upon 401 and added flag to control the display of error message.
- Added default enums for
ComponentType
,ActionType
,DefaultMessage
,DefaultDialogTitle
for more project consistency and standardization.
2.0.1
- Customized
IsRequired
,MinLength
,MaxLength
validator fortexteditor
that ignores HTML strings.
2.0.0
- Release library version 2.
- Added group property to hide all add/remove buttons before UI rendered (
isHideAllAddNode
,isHideAllRemoveNode
). - Added optional input params for
hideAddNode
andhideRemoveNode
used inztree
.