123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- var Unibase;
- (function (Unibase) {
- let Themes;
- (function (Themes) {
- let Compact;
- (function (Compact) {
- let Components;
- (function (Components) {
- class WalkThrough {
- constructor() {
- this.dashboardObj = {
- des: 'You can view your Dashboard Groups and Dashboards here',
- title: "DashBoard"
- };
- this.reportObj = {
- des: 'You can view your Report Groups and Reports list here',
- title: "Reports",
- };
- this.appObj = {
- des: 'You can view your App Groups and Apps list here',
- title: "Apps",
- };
- this.dateObj = {
- des: 'Select the default date range that need to applied for Dashboards and Reports',
- title: "Date Filter",
- };
- this.branchObj = {
- des: 'You can switch your Branch ,Fisical Year and Data access related information',
- title: "Branch",
- };
- this.notificationsObj = {
- des: 'You can view your related notifcations list and clear them',
- title: "Notifications",
- };
- this.taskObj = {
- des: 'You can view your related tasks and manage them',
- title: "Tasks",
- };
- this.profileObj = {
- des: 'To view your Profile info, Application Help ,Themes and User Logoff',
- title: "Profile",
- };
- this.dashboardSettingsObj = {
- des: 'You can configure dashboard layout here and manage dashboard permissions to the users',
- title: "Dashbaord Settings",
- };
- this.commonFiltersObj = {
- des: 'You can select filters to be applied to a Dashbaord',
- title: "Common filters",
- };
- }
- LeftNavigation() {
- let steps = [{
- element: '[data-buttontype="nav-button-dashboards"]',
- title: this.dashboardObj.title,
- description: this.dashboardObj.des,
- position: "bottom"
- },
- {
- element: '[data-buttontype="nav-button-apps"]',
- title: this.appObj.title,
- description: this.appObj.des,
- position: "bottom"
- },
- {
- element: '[data-buttontype="nav-button-reports"]',
- title: this.reportObj.title,
- description: this.reportObj.des,
- position: "bottom"
- },
- {
- element: '[title="Dashboard Settings"]',
- title: this.dashboardSettingsObj.title,
- description: this.dashboardSettingsObj.des,
- position: "left"
- },
- {
- element: '[title="Common Filters"]',
- title: this.commonFiltersObj.title,
- description: this.commonFiltersObj.des,
- position: "left"
- },
- {
- element: '#right_side_menu_userdetails',
- title: this.profileObj.title,
- description: this.profileObj.des,
- position: "left"
- },
- {
- element: '#navCmnDateFilterDp',
- title: this.dateObj.title,
- description: this.dateObj.des,
- position: "left"
- },
- {
- element: '.usertheme',
- title: 'Theme',
- description: 'You can choose your theme here.',
- position: "left"
- },
- {
- element: '.right-side-menu-content-wrap #lnk_nav_changebranch',
- title: this.branchObj.title,
- description: this.branchObj.des,
- position: "left"
- },
- {
- element: '[title="Notifications"]',
- title: this.notificationsObj.title,
- description: this.notificationsObj.des,
- position: "left"
- },
- {
- element: '[title="Tasks"]',
- title: this.taskObj.title,
- description: this.taskObj.des,
- position: "left"
- },
- ];
- return steps;
- }
- TopNavigation() {
- let steps = [{
- element: '.nav-dashboards-item',
- title: this.dashboardObj.title,
- description: this.dashboardObj.des,
- position: "bottom"
- },
- {
- element: '.nav-apps-item',
- title: this.appObj.title,
- description: this.appObj.des,
- position: "bottom"
- },
- {
- element: '.nav-reports-item',
- title: this.reportObj.title,
- description: this.reportObj.des,
- position: "bottom"
- },
- {
- element: '#report-daterange_navCmnDateFilter-0',
- title: this.dateObj.title,
- description: this.dateObj.des,
- position: "left"
- },
- {
- element: '#lnk_nav_changebranch',
- title: this.branchObj.title,
- description: this.branchObj.des,
- position: "left"
- },
- {
- element: '[title="Notifications"]',
- title: this.notificationsObj.title,
- description: this.notificationsObj.des,
- position: "left"
- },
- {
- element: '[title="Tasks"]',
- title: this.taskObj.title,
- description: this.taskObj.des,
- position: "left"
- },
- {
- element: '#nav-profile-dropdown',
- title: this.profileObj.title,
- description: this.profileObj.des,
- position: "left"
- },
- {
- element: '[title="Dashboard Settings"]',
- title: this.dashboardSettingsObj.title,
- description: this.dashboardSettingsObj.des,
- position: "left"
- },
- {
- element: '[title="Common Filters"]',
- title: this.commonFiltersObj.title,
- description: this.commonFiltersObj.des,
- position: "left"
- },
- ];
- return steps;
- }
- TopandLeftNavigation() {
- let steps = [{
- element: '.nav-dashboards-item',
- title: this.dashboardObj.title,
- description: this.dashboardObj.des,
- position: "bottom"
- },
- {
- element: '.nav-apps-item',
- title: this.appObj.title,
- description: this.appObj.des,
- position: "bottom"
- },
- {
- element: '.nav-reports-item',
- title: this.reportObj.title,
- description: this.reportObj.des,
- position: "bottom"
- },
- {
- element: '#report-daterange_navCmnDateFilter-0',
- title: this.dateObj.title,
- description: this.dateObj.des,
- position: "left"
- },
- {
- element: '#lnk_nav_changebranch',
- title: this.branchObj.title,
- description: this.branchObj.des,
- position: "left"
- },
- {
- element: '[title="Notifications"]',
- title: this.notificationsObj.title,
- description: this.notificationsObj.des,
- position: "left"
- },
- {
- element: '[title="Tasks"]',
- title: this.taskObj.title,
- description: this.taskObj.des,
- position: "left"
- },
- {
- element: '#nav-profile-dropdown',
- title: this.profileObj.title,
- description: this.profileObj.des,
- position: "left"
- },
- {
- element: '[title="Dashboard Settings"]',
- title: this.dashboardSettingsObj.title,
- description: this.dashboardSettingsObj.des,
- position: "left"
- },
- {
- element: '[title="Common Filters"]',
- title: this.commonFiltersObj.title,
- description: this.commonFiltersObj.des,
- position: "left"
- },
- ];
- return steps;
- }
- app() {
- let steps = [{
- element: '.report-title-dp-wrapper',
- title: "App Report",
- description: 'To View connected reports of the app.',
- position: "right"
- },
- {
- element: '#ListSearch',
- title: "Search",
- description: 'You can search the app realted information by entering keywords.',
- position: "right"
- },
- {
- element: '[title="Dynamic Filters"]',
- title: "Dynamic Filters",
- description: 'You can apply filters here to load relevant data.',
- position: "right"
- },
- {
- element: '.create-btn',
- title: "Create",
- description: 'You can click here to open new creation form.',
- position: "left"
- },
- {
- element: '[title="More"]',
- title: "App More",
- description: 'To open connected child Apps and Manage more settings of the app like notifications, permissions, Stages and other settings.',
- position: "left"
- }
- ];
- steps = steps.filter(function (e) {
- return $(e.element).is(":visible") == true;
- });
- return steps;
- }
- details() {
- let steps = [
- {
- element: '.btnChangeStage',
- title: "Stages",
- description: 'You can click here to update stage of the record.',
- position: "left"
- },
- {
- element: '.Detail_Configurations_' + Unibase.Platform.Helpers.NavigationHelper.Instance().getLastContainerId() + ' a[onclick*="loadForm("]',
- title: "Edit",
- description: 'You can click here to edit the current record.',
- position: "left"
- },
- {
- element: '.select.div_configurationsetting',
- title: "More",
- description: 'You can click here to view more options.',
- position: "left"
- },
- {
- element: '#layout-detail-tabs',
- title: "Tabs",
- description: 'You can switch tabs here to view relevant data.',
- position: "bottom"
- },
- {
- element: '#detail-close',
- title: "Back",
- description: 'You can click here to load previous page.',
- position: "right"
- }
- ];
- steps = steps.filter(function (e) {
- return $(e.element).is(":visible") == true;
- });
- return steps;
- }
- static Instance() {
- if (this._instance === undefined)
- this._instance = new Unibase.Themes.Compact.Components.WalkThrough;
- return this._instance;
- }
- }
- Components.WalkThrough = WalkThrough;
- })(Components = Compact.Components || (Compact.Components = {}));
- })(Compact = Themes.Compact || (Themes.Compact = {}));
- })(Themes = Unibase.Themes || (Unibase.Themes = {}));
- })(Unibase || (Unibase = {}));
|