@flarehr/apollo-super-selection 3.43.57073 → 3.44.57505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-71bcd96c.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-ffb44779.entry.js +14 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/{fl-button_46.cjs.entry.js → fl-button_31.cjs.entry.js} +44 -662
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/collection/collection-manifest.json +0 -30
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -13
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -22
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +1 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -32
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -2
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/{fl-button_46.entry.js → fl-button_31.entry.js} +45 -648
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/fl-button_31.entry.js +69 -0
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +4 -2
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -12
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -11
- package/dist/lib/types/components.d.ts +0 -199
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-efe4cd36.entry.js +0 -14
- package/dist/lib/apollo-super-selection/p-f853b0c9.system.entry.js +0 -69
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +0 -1
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +0 -13
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +0 -38
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +0 -13
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +0 -89
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +0 -31
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +0 -37
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +0 -62
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css +0 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +0 -94
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +0 -98
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +0 -18
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +0 -95
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +0 -50
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +0 -66
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +0 -64
- package/dist/lib/esm-es5/fl-button_46.entry.js +0 -69
- package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +0 -22
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +0 -2
- package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +0 -12
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +0 -11
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +0 -6
- package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +0 -58
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question1 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 1"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Are you currently a registered or enrolled nurse or assistant in nursing who is qualified and currently practicing, or working in the retail sector, or food and beverage service?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-1"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question2 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 2"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Are you currently a qualified tradesperson currently working within your area of expertise (e.g. hairdresser, chef, plumber, electrician, plasterer, carpenter or concreter), or a skilled worker with light manual duties (e.g. jeweller, building inspector, laboratory technician, foreman or office equipment technician)?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-2"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question3 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 3"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Are you currently a police officer, firefighter, paramedic, or other emergency or protective services worker, including security guard or corrections officer, or a professional sportsperson, or working in a manual occupation which does not require trade specific qualifications and may be subject to accident or environment hazards (e.g. earthmover, driver, cleaner, labourer, factory worker or agricultural worker)?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-3"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question4 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 4"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Are the usual work activities of your job considered office based or school teaching ( meaning you spend at least 80% of your work time doing clerical, call centre, administrative or other office or classroom based activities), or are you a medical practitioner, lawyer or engineer who spends at least 80% of your work hours in an office or clinical environment?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-4"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question5 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 5"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Do you currently perform, or intend to work in a job within the next three months that includes, any of the following risky activities: handling firearms (other than as a police officer, correctional officer or licensed security guard), dangerous chemicals or explosives, or offshore work \u2013 oil and gas platforms, ships at sea, or being underground (in construction and mining environments) or underwater for more than 20% of total at work time, or working at heights over 20 metres in any environment requiring hard hat and harness for safety by law, or crop dusting, aerial mustering or any low level flying activity (defined as below 150 metres or 500 feet), or flying more than 200 hours per annum as a passenger other than on a commercial airline, or as a pilot (fixed wing or helicopter)?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-5"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question6 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 6"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Are you earning more than $120,000 a year, (before tax and employer paid superannuation), from your job?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-6"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question7 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 7"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Do you have a university qualification which you are using/is required in your current role?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-7"; }
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
2
|
-
export class Question8 {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { class: "d-flex flex-fill" },
|
|
5
|
-
h("sss-qsuper-insurance-questions", null,
|
|
6
|
-
h("p", { class: "font-weight-bold" }, "Question 8"),
|
|
7
|
-
h("p", { class: " mb-0" }, "Do you have a senior/executive level management role in your company (your direct reports would be mid-level managers or skilled specialists in a sedentary setting), or is your role considered professional (e.g. doctor, solicitor, accountant \u2013 requiring membership of a professional or government body to practice in your occupation)?"))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "sss-qsuper-question-8"; }
|
|
10
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
-
import { injectHistory } from '@stencil/router';
|
|
3
|
-
import navigationService from '../../../../services/navigation.service';
|
|
4
|
-
import superSelectionAppService from '../../../../services/super-selection-app.service';
|
|
5
|
-
import { getNextRoute } from '../../helpers/getNextRoute';
|
|
6
|
-
import qSuperState from '../../services/qsuper.store';
|
|
7
|
-
export class QsuperQuestionYesNoButtons {
|
|
8
|
-
render() {
|
|
9
|
-
return (h("div", { class: "d-flex mt-4" },
|
|
10
|
-
h("div", { class: "flex-grow-1 w-50" },
|
|
11
|
-
h("div", { class: "mr-2" },
|
|
12
|
-
h("fl-button", { onClick: () => this.handleQuestionClick(true), isBlockElement: true, variant: "secondary" },
|
|
13
|
-
h("span", null, "Yes")))),
|
|
14
|
-
h("div", { class: "flex-grow-1 w-50" },
|
|
15
|
-
h("div", { class: "ml-2" },
|
|
16
|
-
h("fl-promise-button", { isBlockElement: true, variant: "secondary", onClick: () => this.handleQuestionClick(false) },
|
|
17
|
-
h("span", null, "No"))))));
|
|
18
|
-
}
|
|
19
|
-
handleQuestionClick(input) {
|
|
20
|
-
// on click of yes or no - record this to state
|
|
21
|
-
const baseAppUrl = superSelectionAppService.appBaseUrl;
|
|
22
|
-
const currentQuestion = window.location.pathname
|
|
23
|
-
.split(baseAppUrl + '/qsuper/insurance/')[1]
|
|
24
|
-
.replace(/\/+$/, '');
|
|
25
|
-
if (qSuperState.qSuperQuestionnaire.questions === undefined) {
|
|
26
|
-
qSuperState.qSuperQuestionnaire.questions = {
|
|
27
|
-
question1: false,
|
|
28
|
-
question2: false,
|
|
29
|
-
question3: false,
|
|
30
|
-
question4: false,
|
|
31
|
-
question5: false,
|
|
32
|
-
question6: false,
|
|
33
|
-
question7: false,
|
|
34
|
-
question8: false
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
qSuperState.qSuperQuestionnaire.questions[currentQuestion] = input;
|
|
38
|
-
qSuperState.qSuperInsuranceQuestions[currentQuestion].answered = true;
|
|
39
|
-
qSuperState.nextRoute = getNextRoute();
|
|
40
|
-
navigationService.navigateInternally(this.history, qSuperState.nextRoute);
|
|
41
|
-
}
|
|
42
|
-
static get is() { return "sss-qsuper-question-yes-no-buttons"; }
|
|
43
|
-
static get properties() { return {
|
|
44
|
-
"history": {
|
|
45
|
-
"type": "unknown",
|
|
46
|
-
"mutable": false,
|
|
47
|
-
"complexType": {
|
|
48
|
-
"original": "RouterHistory",
|
|
49
|
-
"resolved": "RouterHistory",
|
|
50
|
-
"references": {
|
|
51
|
-
"RouterHistory": {
|
|
52
|
-
"location": "import",
|
|
53
|
-
"path": "@stencil/router"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"required": false,
|
|
58
|
-
"optional": false,
|
|
59
|
-
"docs": {
|
|
60
|
-
"tags": [],
|
|
61
|
-
"text": ""
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}; }
|
|
65
|
-
}
|
|
66
|
-
injectHistory(QsuperQuestionYesNoButtons);
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { createStore } from '@stencil/store';
|
|
2
|
-
export var QSuperFormPages;
|
|
3
|
-
(function (QSuperFormPages) {
|
|
4
|
-
QSuperFormPages[QSuperFormPages["InsuranceConfirm"] = 0] = "InsuranceConfirm";
|
|
5
|
-
QSuperFormPages[QSuperFormPages["InsuranceQuestions"] = 1] = "InsuranceQuestions";
|
|
6
|
-
QSuperFormPages[QSuperFormPages["AccumulationAccount"] = 2] = "AccumulationAccount";
|
|
7
|
-
QSuperFormPages[QSuperFormPages["ConfirmSelection"] = 3] = "ConfirmSelection";
|
|
8
|
-
})(QSuperFormPages || (QSuperFormPages = {}));
|
|
9
|
-
export var QSuperInsuranceQuestions;
|
|
10
|
-
(function (QSuperInsuranceQuestions) {
|
|
11
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question1"] = 0] = "question1";
|
|
12
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question2"] = 1] = "question2";
|
|
13
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question3"] = 2] = "question3";
|
|
14
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question4"] = 3] = "question4";
|
|
15
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question5"] = 4] = "question5";
|
|
16
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question6"] = 5] = "question6";
|
|
17
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question7"] = 6] = "question7";
|
|
18
|
-
QSuperInsuranceQuestions[QSuperInsuranceQuestions["question8"] = 7] = "question8";
|
|
19
|
-
})(QSuperInsuranceQuestions || (QSuperInsuranceQuestions = {}));
|
|
20
|
-
export const initialStateQSuper = {
|
|
21
|
-
currentQSuperInsuranceQuestion: QSuperInsuranceQuestions.question1,
|
|
22
|
-
currentQSuperFormPage: QSuperFormPages.InsuranceConfirm,
|
|
23
|
-
qSuperFormValid: false,
|
|
24
|
-
nextRoute: '/',
|
|
25
|
-
continueAllowed: false,
|
|
26
|
-
qSuperOptInPageCheckbox: false,
|
|
27
|
-
qSuperJoinPageCheckbox: false,
|
|
28
|
-
qSuperInsuranceQuestions: {
|
|
29
|
-
question1: {
|
|
30
|
-
answered: false
|
|
31
|
-
},
|
|
32
|
-
question2: {
|
|
33
|
-
answered: false
|
|
34
|
-
},
|
|
35
|
-
question3: {
|
|
36
|
-
answered: false
|
|
37
|
-
},
|
|
38
|
-
question4: {
|
|
39
|
-
answered: false
|
|
40
|
-
},
|
|
41
|
-
question5: {
|
|
42
|
-
answered: false
|
|
43
|
-
},
|
|
44
|
-
question6: {
|
|
45
|
-
answered: false
|
|
46
|
-
},
|
|
47
|
-
question7: {
|
|
48
|
-
answered: false
|
|
49
|
-
},
|
|
50
|
-
question8: {
|
|
51
|
-
answered: false
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
qSuperQuestionnaire: {
|
|
55
|
-
reviewedApplication: false,
|
|
56
|
-
acceptedDeclaration: false,
|
|
57
|
-
readDutyOfDisclosure: false,
|
|
58
|
-
insuranceChosen: false
|
|
59
|
-
},
|
|
60
|
-
standardChoiceFormSignature: ''
|
|
61
|
-
};
|
|
62
|
-
const { state, reset } = createStore(initialStateQSuper);
|
|
63
|
-
export const resetQSuperStore = reset;
|
|
64
|
-
export default state;
|