@softpak/components 20.7.2 → 20.7.4
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.
|
@@ -31,6 +31,7 @@ var spxSpinner_actions = /*#__PURE__*/Object.freeze({
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
const initialState = {
|
|
34
|
+
loadActions: [],
|
|
34
35
|
nrOfLoadActions: 0,
|
|
35
36
|
show: false,
|
|
36
37
|
};
|
|
@@ -42,23 +43,26 @@ var spxSpinner_initial = /*#__PURE__*/Object.freeze({
|
|
|
42
43
|
|
|
43
44
|
var spxSpinner_reducer = createFeature({
|
|
44
45
|
name: 'spxSpinner',
|
|
45
|
-
reducer: createReducer(initialState, on(hide, (state) => {
|
|
46
|
+
reducer: createReducer(initialState, on(hide, (state, { action }) => {
|
|
46
47
|
return {
|
|
47
48
|
...state,
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
loadActions: action ? [...state.loadActions.filter(a => a !== action)] : state.loadActions,
|
|
50
|
+
nrOfLoadActions: !action ? state.nrOfLoadActions : (state.nrOfLoadActions > 1 ? state.nrOfLoadActions - 1 : 0),
|
|
51
|
+
show: state.loadActions.length >= 1 || state.nrOfLoadActions > 1 ? true : false,
|
|
50
52
|
};
|
|
51
53
|
}), on(reset, (state) => {
|
|
52
54
|
return {
|
|
53
55
|
...state,
|
|
54
56
|
show: false,
|
|
57
|
+
loadActions: [],
|
|
55
58
|
nrOfLoadActions: 0,
|
|
56
59
|
};
|
|
57
|
-
}), on(show, (state) => {
|
|
60
|
+
}), on(show, (state, { action }) => {
|
|
58
61
|
return {
|
|
59
62
|
...state,
|
|
60
63
|
show: true,
|
|
61
|
-
|
|
64
|
+
loadActions: action ? (state.loadActions.find(a => a === action) ? state.loadActions : [...state.loadActions, action]) : state.loadActions,
|
|
65
|
+
nrOfLoadActions: !action ? state.nrOfLoadActions : (state.nrOfLoadActions + 1),
|
|
62
66
|
};
|
|
63
67
|
})),
|
|
64
68
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-spinner.mjs","sources":["../../../../projects/softpak/components/spx-spinner/spx-spinner.component.ts","../../../../projects/softpak/components/spx-spinner/spx-spinner.component.html","../../../../projects/softpak/components/spx-spinner/store/spx-spinner/spx-spinner.actions.ts","../../../../projects/softpak/components/spx-spinner/store/spx-spinner/spx-spinner.initial.ts","../../../../projects/softpak/components/spx-spinner/store/spx-spinner/spx-spinner.reducer.ts","../../../../projects/softpak/components/spx-spinner/softpak-components-spx-spinner.ts"],"sourcesContent":["\nimport { Component, input } from '@angular/core';\n\n@Component({\n selector: 'spx-spinner',\n imports: [],\n templateUrl: './spx-spinner.component.html',\n styleUrl: './spx-spinner.component.scss',\n})\nexport class SpxSpinnerComponent {\n readonly spxShow = input<boolean>(true);\n readonly spxLoaderText = input.required<string>();\n}\n","<div class=\"spx-spinner__wrapper spx-spinner2\"\n [class.is-shown]=\"this.spxShow()\">\n <div class=\"rounded-xl bg-white text-black absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-[150px] h-[150px]\">\n <div class=\"spx-spinner__content\">\n <svg class=\"spx-spinner__image m-auto\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"xMidYMid\">\n <g transform=\"rotate(0 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.9166666666666666s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(30 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.8333333333333334s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(60 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.75s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(90 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.6666666666666666s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(120 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.5833333333333334s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(150 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.5s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(180 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.4166666666666667s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(210 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.3333333333333333s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(240 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.25s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(270 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.16666666666666666s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(300 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.08333333333333333s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(330 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"0s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n </svg>\n @if (this.spxLoaderText()) {\n <span class=\"text-black pb-2 block text-center\">{{this.spxLoaderText()}}</span>\n }\n </div>\n </div>\n </div>","import { createAction, props, union } from '@ngrx/store';\n\nexport const hide = createAction('[SPX / Spinner] Hide', props<Record<string, unknown>>());\nexport const reset = createAction('[SPX / Spinner] Reset', props<Record<string, unknown>>());\nexport const show = createAction('[SPX / Spinner] Show', props<Record<string, unknown>>());\n\nconst all = union({\n hide,\n show,\n});\n\nexport type Actions = typeof all;\n","import { StateI } from \"./spx-spinner.state\";\n\nexport const initialState: StateI = {\n nrOfLoadActions: 0,\n show: false,\n};\n","\nimport * as actions from './spx-spinner.actions';\nimport { createFeature, createReducer, on } from '@ngrx/store';\nimport { StateI } from './spx-spinner.state';\nimport { initialState } from './spx-spinner.initial';\n\nexport default createFeature({\n name: 'spxSpinner',\n reducer: createReducer(\n initialState,\n on(actions.hide, (state: StateI): StateI => {\n return {\n ...state,\n nrOfLoadActions: state.nrOfLoadActions > 1 ? state.nrOfLoadActions - 1 : 0,\n show: state.nrOfLoadActions > 1 ? true : false,\n };\n }),\n on(actions.reset, (state: StateI): StateI => {\n return {\n ...state,\n show: false,\n nrOfLoadActions: 0,\n };\n }),\n on(actions.show, (state: StateI): StateI => {\n return {\n ...state,\n show: true,\n nrOfLoadActions: state.nrOfLoadActions + 1,\n };\n }),\n ),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["actions.hide","actions.reset","actions.show"],"mappings":";;;;MASa,mBAAmB,CAAA;AANhC,IAAA,WAAA,GAAA;AAOW,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAU,IAAI,mDAAC;AAC9B,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,QAAQ,wDAAU;AAClD;8GAHY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,gWCThC,kuJAuEQ,EAAA,MAAA,EAAA,CAAA,gyDAAA,CAAA,EAAA,CAAA,CAAA;;2FD9DK,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,S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;SAC7C;AACH,KAAC,CAAC,CACP;AACJ,CAAA,CAAC;;;;;;;;;;;AChCF;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-spinner.mjs","sources":["../../../../projects/softpak/components/spx-spinner/spx-spinner.component.ts","../../../../projects/softpak/components/spx-spinner/spx-spinner.component.html","../../../../projects/softpak/components/spx-spinner/store/spx-spinner/spx-spinner.actions.ts","../../../../projects/softpak/components/spx-spinner/store/spx-spinner/spx-spinner.initial.ts","../../../../projects/softpak/components/spx-spinner/store/spx-spinner/spx-spinner.reducer.ts","../../../../projects/softpak/components/spx-spinner/softpak-components-spx-spinner.ts"],"sourcesContent":["\nimport { Component, input } from '@angular/core';\n\n@Component({\n selector: 'spx-spinner',\n imports: [],\n templateUrl: './spx-spinner.component.html',\n styleUrl: './spx-spinner.component.scss',\n})\nexport class SpxSpinnerComponent {\n readonly spxShow = input<boolean>(true);\n readonly spxLoaderText = input.required<string>();\n}\n","<div class=\"spx-spinner__wrapper spx-spinner2\"\n [class.is-shown]=\"this.spxShow()\">\n <div class=\"rounded-xl bg-white text-black absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-[150px] h-[150px]\">\n <div class=\"spx-spinner__content\">\n <svg class=\"spx-spinner__image m-auto\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"xMidYMid\">\n <g transform=\"rotate(0 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.9166666666666666s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(30 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.8333333333333334s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(60 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.75s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(90 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.6666666666666666s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(120 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.5833333333333334s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(150 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.5s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(180 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.4166666666666667s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(210 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.3333333333333333s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(240 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.25s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(270 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.16666666666666666s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(300 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"-0.08333333333333333s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n <g transform=\"rotate(330 50 50)\">\n <rect x=\"47.5\" y=\"23.5\" rx=\"2.5\" ry=\"2.75\" width=\"5\" height=\"11\" fill=\"#00457c\">\n <animate attributeName=\"opacity\" values=\"1;0\" keyTimes=\"0;1\" dur=\"1s\" begin=\"0s\" repeatCount=\"indefinite\"></animate>\n </rect>\n </g>\n </svg>\n @if (this.spxLoaderText()) {\n <span class=\"text-black pb-2 block text-center\">{{this.spxLoaderText()}}</span>\n }\n </div>\n </div>\n </div>","import { createAction, props, union } from '@ngrx/store';\n\nexport const hide = createAction('[SPX / Spinner] Hide', props<{ action?: string; }>());\nexport const reset = createAction('[SPX / Spinner] Reset', props<Record<string, unknown>>());\nexport const show = createAction('[SPX / Spinner] Show', props<{ action?: string; }>());\n\nconst all = union({\n hide,\n show,\n});\n\nexport type Actions = typeof all;\n","import { StateI } from \"./spx-spinner.state\";\n\nexport const initialState: StateI = {\n loadActions: [],\n nrOfLoadActions: 0,\n show: false,\n};\n","import * as actions from './spx-spinner.actions';\n\nimport { createFeature, createReducer, on } from '@ngrx/store';\n\nimport { StateI } from './spx-spinner.state';\nimport { initialState } from './spx-spinner.initial';\n\nexport default createFeature({\n name: 'spxSpinner',\n reducer: createReducer(\n initialState,\n on(actions.hide, (state: StateI, { action }): StateI => {\n return {\n ...state,\n loadActions: action ? [...state.loadActions.filter(a => a !== action)] : state.loadActions,\n nrOfLoadActions: !action ? state.nrOfLoadActions : (state.nrOfLoadActions > 1 ? state.nrOfLoadActions - 1 : 0),\n show: state.loadActions.length >= 1 || state.nrOfLoadActions > 1 ? true : false,\n };\n }),\n on(actions.reset, (state: StateI): StateI => {\n return {\n ...state,\n show: false,\n loadActions: [],\n nrOfLoadActions: 0,\n };\n }),\n on(actions.show, (state: StateI, { action }): StateI => {\n return {\n ...state,\n show: true,\n loadActions: action ? (state.loadActions.find(a => a === action) ? state.loadActions : [...state.loadActions, action]) : state.loadActions,\n nrOfLoadActions: !action ? state.nrOfLoadActions : (state.nrOfLoadActions + 1),\n };\n }),\n ),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["actions.hide","actions.reset","actions.show"],"mappings":";;;;MASa,mBAAmB,CAAA;AANhC,IAAA,WAAA,GAAA;AAOW,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAU,IAAI,mDAAC;AAC9B,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,QAAQ,wDAAU;AAClD;8GAHY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,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K,CAAC,eAAe,GAAG,CAAC,GAAG,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9G,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,IAAI,CAAC,IAAI,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,IAAI,GAAG,KAAK;SAClF;KACJ,CAAC,EACF,EAAE,CAACC,KAAa,EAAE,CAAC,KAAa,KAAY;QACxC,OAAO;AACH,YAAA,GAAG,KAAK;AACR,YAAA,IAAI,EAAE,KAAK;AACX,YAAA,WAAW,EAAE,EAAE;AACf,YAAA,eAAe,EAAE,CAAC;SACrB;AACL,KAAC,CAAC,EACF,EAAE,CAACC,IAAY,EAAE,CAAC,KAAa,EAAE,EAAE,MAAM,EAAE,KAAY;QACnD,OAAO;AACH,YAAA,GAAG,KAAK;AACR,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,WAAW,EAAE,MAAM,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,MAAM,CAAC,GAAG,KAAK,CAAC,WAAW,GAAG,CAAC,GAAG,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC,IAAI,KAAK,CAAC,WAAW;AAC1I,YAAA,eAAe,EAAE,CAAC,MAAM,GAAG,KAAK,CAAC,eAAe,IAAI,KAAK,CAAC,eAAe,GAAG,CAAC,CAAC;SACjF;AACL,KAAC,CAAC,CACL;AACJ,CAAA,CAAC;;;;;;;;;;;ACpCF;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softpak/components",
|
|
3
|
-
"version": "20.7.
|
|
3
|
+
"version": "20.7.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "20.x.x",
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"types": "./index.d.ts",
|
|
33
33
|
"default": "./fesm2022/softpak-components.mjs"
|
|
34
34
|
},
|
|
35
|
+
"./spx-alert": {
|
|
36
|
+
"types": "./spx-alert/index.d.ts",
|
|
37
|
+
"default": "./fesm2022/softpak-components-spx-alert.mjs"
|
|
38
|
+
},
|
|
35
39
|
"./spx-404-page": {
|
|
36
40
|
"types": "./spx-404-page/index.d.ts",
|
|
37
41
|
"default": "./fesm2022/softpak-components-spx-404-page.mjs"
|
|
@@ -40,26 +44,26 @@
|
|
|
40
44
|
"types": "./spx-app-expiry/index.d.ts",
|
|
41
45
|
"default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
|
|
42
46
|
},
|
|
47
|
+
"./spx-app-configuration": {
|
|
48
|
+
"types": "./spx-app-configuration/index.d.ts",
|
|
49
|
+
"default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
|
|
50
|
+
},
|
|
43
51
|
"./spx-button": {
|
|
44
52
|
"types": "./spx-button/index.d.ts",
|
|
45
53
|
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
46
54
|
},
|
|
47
|
-
"./spx-
|
|
48
|
-
"types": "./spx-
|
|
49
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
55
|
+
"./spx-card": {
|
|
56
|
+
"types": "./spx-card/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/softpak-components-spx-card.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./spx-change-details": {
|
|
60
|
+
"types": "./spx-change-details/index.d.ts",
|
|
61
|
+
"default": "./fesm2022/softpak-components-spx-change-details.mjs"
|
|
50
62
|
},
|
|
51
63
|
"./spx-capitalize": {
|
|
52
64
|
"types": "./spx-capitalize/index.d.ts",
|
|
53
65
|
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
54
66
|
},
|
|
55
|
-
"./spx-app-configuration": {
|
|
56
|
-
"types": "./spx-app-configuration/index.d.ts",
|
|
57
|
-
"default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
|
|
58
|
-
},
|
|
59
|
-
"./spx-card": {
|
|
60
|
-
"types": "./spx-card/index.d.ts",
|
|
61
|
-
"default": "./fesm2022/softpak-components-spx-card.mjs"
|
|
62
|
-
},
|
|
63
67
|
"./spx-channel-selection": {
|
|
64
68
|
"types": "./spx-channel-selection/index.d.ts",
|
|
65
69
|
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
@@ -68,37 +72,33 @@
|
|
|
68
72
|
"types": "./spx-check-digit/index.d.ts",
|
|
69
73
|
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
70
74
|
},
|
|
75
|
+
"./spx-form-section": {
|
|
76
|
+
"types": "./spx-form-section/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/softpak-components-spx-form-section.mjs"
|
|
78
|
+
},
|
|
71
79
|
"./spx-confirm": {
|
|
72
80
|
"types": "./spx-confirm/index.d.ts",
|
|
73
81
|
"default": "./fesm2022/softpak-components-spx-confirm.mjs"
|
|
74
82
|
},
|
|
75
|
-
"./spx-form-
|
|
76
|
-
"types": "./spx-form-
|
|
77
|
-
"default": "./fesm2022/softpak-components-spx-form-
|
|
83
|
+
"./spx-form-view": {
|
|
84
|
+
"types": "./spx-form-view/index.d.ts",
|
|
85
|
+
"default": "./fesm2022/softpak-components-spx-form-view.mjs"
|
|
78
86
|
},
|
|
79
87
|
"./spx-helpers": {
|
|
80
88
|
"types": "./spx-helpers/index.d.ts",
|
|
81
89
|
"default": "./fesm2022/softpak-components-spx-helpers.mjs"
|
|
82
90
|
},
|
|
83
|
-
"./spx-
|
|
84
|
-
"types": "./spx-
|
|
85
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
86
|
-
},
|
|
87
|
-
"./spx-number-check": {
|
|
88
|
-
"types": "./spx-number-check/index.d.ts",
|
|
89
|
-
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
91
|
+
"./spx-inputs": {
|
|
92
|
+
"types": "./spx-inputs/index.d.ts",
|
|
93
|
+
"default": "./fesm2022/softpak-components-spx-inputs.mjs"
|
|
90
94
|
},
|
|
91
95
|
"./spx-navigation": {
|
|
92
96
|
"types": "./spx-navigation/index.d.ts",
|
|
93
97
|
"default": "./fesm2022/softpak-components-spx-navigation.mjs"
|
|
94
98
|
},
|
|
95
|
-
"./spx-
|
|
96
|
-
"types": "./spx-
|
|
97
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
98
|
-
},
|
|
99
|
-
"./spx-form-view": {
|
|
100
|
-
"types": "./spx-form-view/index.d.ts",
|
|
101
|
-
"default": "./fesm2022/softpak-components-spx-form-view.mjs"
|
|
99
|
+
"./spx-number-check": {
|
|
100
|
+
"types": "./spx-number-check/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
102
102
|
},
|
|
103
103
|
"./spx-pagination": {
|
|
104
104
|
"types": "./spx-pagination/index.d.ts",
|
|
@@ -112,34 +112,38 @@
|
|
|
112
112
|
"types": "./spx-progress-bar/index.d.ts",
|
|
113
113
|
"default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
|
|
114
114
|
},
|
|
115
|
-
"./spx-
|
|
116
|
-
"types": "./spx-
|
|
117
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
115
|
+
"./spx-spinner": {
|
|
116
|
+
"types": "./spx-spinner/index.d.ts",
|
|
117
|
+
"default": "./fesm2022/softpak-components-spx-spinner.mjs"
|
|
118
118
|
},
|
|
119
119
|
"./spx-pipes": {
|
|
120
120
|
"types": "./spx-pipes/index.d.ts",
|
|
121
121
|
"default": "./fesm2022/softpak-components-spx-pipes.mjs"
|
|
122
122
|
},
|
|
123
|
+
"./spx-stock-info": {
|
|
124
|
+
"types": "./spx-stock-info/index.d.ts",
|
|
125
|
+
"default": "./fesm2022/softpak-components-spx-stock-info.mjs"
|
|
126
|
+
},
|
|
123
127
|
"./spx-storage": {
|
|
124
128
|
"types": "./spx-storage/index.d.ts",
|
|
125
129
|
"default": "./fesm2022/softpak-components-spx-storage.mjs"
|
|
126
130
|
},
|
|
127
|
-
"./spx-
|
|
128
|
-
"types": "./spx-
|
|
129
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
131
|
+
"./spx-suggestion": {
|
|
132
|
+
"types": "./spx-suggestion/index.d.ts",
|
|
133
|
+
"default": "./fesm2022/softpak-components-spx-suggestion.mjs"
|
|
130
134
|
},
|
|
131
135
|
"./spx-toaster": {
|
|
132
136
|
"types": "./spx-toaster/index.d.ts",
|
|
133
137
|
"default": "./fesm2022/softpak-components-spx-toaster.mjs"
|
|
134
138
|
},
|
|
139
|
+
"./spx-toggle": {
|
|
140
|
+
"types": "./spx-toggle/index.d.ts",
|
|
141
|
+
"default": "./fesm2022/softpak-components-spx-toggle.mjs"
|
|
142
|
+
},
|
|
135
143
|
"./spx-tabs": {
|
|
136
144
|
"types": "./spx-tabs/index.d.ts",
|
|
137
145
|
"default": "./fesm2022/softpak-components-spx-tabs.mjs"
|
|
138
146
|
},
|
|
139
|
-
"./spx-suggestion": {
|
|
140
|
-
"types": "./spx-suggestion/index.d.ts",
|
|
141
|
-
"default": "./fesm2022/softpak-components-spx-suggestion.mjs"
|
|
142
|
-
},
|
|
143
147
|
"./spx-translate": {
|
|
144
148
|
"types": "./spx-translate/index.d.ts",
|
|
145
149
|
"default": "./fesm2022/softpak-components-spx-translate.mjs"
|
|
@@ -148,10 +152,6 @@
|
|
|
148
152
|
"types": "./spx-update/index.d.ts",
|
|
149
153
|
"default": "./fesm2022/softpak-components-spx-update.mjs"
|
|
150
154
|
},
|
|
151
|
-
"./spx-toggle": {
|
|
152
|
-
"types": "./spx-toggle/index.d.ts",
|
|
153
|
-
"default": "./fesm2022/softpak-components-spx-toggle.mjs"
|
|
154
|
-
},
|
|
155
155
|
"./spx-validation": {
|
|
156
156
|
"types": "./spx-validation/index.d.ts",
|
|
157
157
|
"default": "./fesm2022/softpak-components-spx-validation.mjs"
|
package/spx-spinner/index.d.ts
CHANGED
|
@@ -8,10 +8,22 @@ declare class SpxSpinnerComponent {
|
|
|
8
8
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxSpinnerComponent, "spx-spinner", never, { "spxShow": { "alias": "spxShow"; "required": false; "isSignal": true; }; "spxLoaderText": { "alias": "spxLoaderText"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
declare const hide: _ngrx_store.ActionCreator<"[SPX / Spinner] Hide", (props:
|
|
11
|
+
declare const hide: _ngrx_store.ActionCreator<"[SPX / Spinner] Hide", (props: {
|
|
12
|
+
action?: string;
|
|
13
|
+
}) => {
|
|
14
|
+
action?: string;
|
|
15
|
+
} & _ngrx_store.Action<"[SPX / Spinner] Hide">>;
|
|
12
16
|
declare const reset: _ngrx_store.ActionCreator<"[SPX / Spinner] Reset", (props: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Spinner] Reset">>;
|
|
13
|
-
declare const show: _ngrx_store.ActionCreator<"[SPX / Spinner] Show", (props:
|
|
14
|
-
|
|
17
|
+
declare const show: _ngrx_store.ActionCreator<"[SPX / Spinner] Show", (props: {
|
|
18
|
+
action?: string;
|
|
19
|
+
}) => {
|
|
20
|
+
action?: string;
|
|
21
|
+
} & _ngrx_store.Action<"[SPX / Spinner] Show">>;
|
|
22
|
+
declare const all: ({
|
|
23
|
+
action?: string;
|
|
24
|
+
} & _ngrx_store.Action<"[SPX / Spinner] Hide">) | ({
|
|
25
|
+
action?: string;
|
|
26
|
+
} & _ngrx_store.Action<"[SPX / Spinner] Show">);
|
|
15
27
|
type Actions = typeof all;
|
|
16
28
|
|
|
17
29
|
type spxSpinner_actions_d_Actions = Actions;
|
|
@@ -24,6 +36,7 @@ declare namespace spxSpinner_actions_d {
|
|
|
24
36
|
}
|
|
25
37
|
|
|
26
38
|
interface StateI {
|
|
39
|
+
loadActions: string[];
|
|
27
40
|
nrOfLoadActions: number;
|
|
28
41
|
show: boolean;
|
|
29
42
|
}
|
|
@@ -46,8 +59,9 @@ declare const _default: {
|
|
|
46
59
|
name: "spxSpinner";
|
|
47
60
|
reducer: _ngrx_store.ActionReducer<StateI, _ngrx_store.Action<string>>;
|
|
48
61
|
selectSpxSpinnerState: _ngrx_store.MemoizedSelector<Record<string, any>, StateI, (featureState: StateI) => StateI>;
|
|
49
|
-
|
|
62
|
+
selectLoadActions: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: StateI) => string[]>;
|
|
50
63
|
selectNrOfLoadActions: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: StateI) => number>;
|
|
64
|
+
selectShow: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI) => boolean>;
|
|
51
65
|
};
|
|
52
66
|
|
|
53
67
|
declare namespace spxSpinner_reducer_d {
|