@softpak/components 20.7.2 → 20.7.3

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
- nrOfLoadActions: state.nrOfLoadActions > 1 ? state.nrOfLoadActions - 1 : 0,
49
- show: state.nrOfLoadActions > 1 ? true : false,
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
- nrOfLoadActions: state.nrOfLoadActions + 1,
64
+ loadActions: action ? [...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,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WACd,EAAE,EAAA,QAAA,EAAA,kuJAAA,EAAA,MAAA,EAAA,CAAA,gyDAAA,CAAA,EAAA;;;AEHR,MAAM,IAAI,GAAG,YAAY,CAAC,sBAAsB,EAAE,KAAK,EAA2B,CAAC;AACnF,MAAM,KAAK,GAAG,YAAY,CAAC,uBAAuB,EAAE,KAAK,EAA2B,CAAC;AACrF,MAAM,IAAI,GAAG,YAAY,CAAC,sBAAsB,EAAE,KAAK,EAA2B,CAAC;AAE1F,MAAM,GAAG,GAAG,KAAK,CAAC;IACd,IAAI;IACJ,IAAI;AACP,CAAA,CAAC;;;;;;;;;ACPK,MAAM,YAAY,GAAW;AAChC,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,IAAI,EAAE,KAAK;CACd;;;;;;;ACCD,yBAAe,aAAa,CAAC;AACzB,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,OAAO,EAAE,aAAa,CAClB,YAAY,EACZ,EAAE,CAACA,IAAY,EAAE,CAAC,KAAa,KAAY;QACvC,OAAO;AACH,YAAA,GAAG,KAAK;AACR,YAAA,eAAe,EAAE,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,CAAC;AAC1E,YAAA,IAAI,EAAE,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,IAAI,GAAG,KAAK;SACjD;KACF,CAAC,EACF,EAAE,CAACC,KAAa,EAAE,CAAC,KAAa,KAAY;QAC1C,OAAO;AACH,YAAA,GAAG,KAAK;AACR,YAAA,IAAI,EAAE,KAAK;AACX,YAAA,eAAe,EAAE,CAAC;SACrB;KACF,CAAC,EACF,EAAE,CAACC,IAAY,EAAE,CAAC,KAAa,KAAY;QACzC,OAAO;AACH,YAAA,GAAG,KAAK;AACR,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,eAAe,EAAE,KAAK,CAAC,eAAe,GAAG,CAAC;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, 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,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,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WACd,EAAE,EAAA,QAAA,EAAA,kuJAAA,EAAA,MAAA,EAAA,CAAA,gyDAAA,CAAA,EAAA;;;AEHR,MAAM,IAAI,GAAG,YAAY,CAAC,sBAAsB,EAAE,KAAK,EAAwB,CAAC;AAChF,MAAM,KAAK,GAAG,YAAY,CAAC,uBAAuB,EAAE,KAAK,EAA2B,CAAC;AACrF,MAAM,IAAI,GAAG,YAAY,CAAC,sBAAsB,EAAE,KAAK,EAAwB,CAAC;AAEvF,MAAM,GAAG,GAAG,KAAK,CAAC;IACd,IAAI;IACJ,IAAI;AACP,CAAA,CAAC;;;;;;;;;ACPK,MAAM,YAAY,GAAW;AAChC,IAAA,WAAW,EAAE,EAAE;AACf,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,IAAI,EAAE,KAAK;CACd;;;;;;;ACCD,yBAAe,aAAa,CAAC;AACzB,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,OAAO,EAAE,aAAa,CAClB,YAAY,EACZ,EAAE,CAACA,IAAY,EAAE,CAAC,KAAa,EAAE,EAAE,MAAM,EAAE,KAAY;QACnD,OAAO;AACH,YAAA,GAAG,KAAK;YACR,WAAW,EAAE,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,WAAW;AAC1F,YAAA,eAAe,EAAE,CAAC,MAAM,GAAG,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,KAAK,CAAC,eAAe,GAAG,CAAC,GAAG,CAAC;YAC5G,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,GAAG,CAAC,GAAG,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,WAAW;AACxE,YAAA,eAAe,EAAE,CAAC,MAAM,GAAG,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,GAAG,CAAC;SAC/E;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.2",
3
+ "version": "20.7.3",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "20.x.x",
@@ -36,25 +36,29 @@
36
36
  "types": "./spx-404-page/index.d.ts",
37
37
  "default": "./fesm2022/softpak-components-spx-404-page.mjs"
38
38
  },
39
+ "./spx-alert": {
40
+ "types": "./spx-alert/index.d.ts",
41
+ "default": "./fesm2022/softpak-components-spx-alert.mjs"
42
+ },
39
43
  "./spx-app-expiry": {
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-alert": {
48
- "types": "./spx-alert/index.d.ts",
49
- "default": "./fesm2022/softpak-components-spx-alert.mjs"
50
- },
51
55
  "./spx-capitalize": {
52
56
  "types": "./spx-capitalize/index.d.ts",
53
57
  "default": "./fesm2022/softpak-components-spx-capitalize.mjs"
54
58
  },
55
- "./spx-app-configuration": {
56
- "types": "./spx-app-configuration/index.d.ts",
57
- "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
59
+ "./spx-change-details": {
60
+ "types": "./spx-change-details/index.d.ts",
61
+ "default": "./fesm2022/softpak-components-spx-change-details.mjs"
58
62
  },
59
63
  "./spx-card": {
60
64
  "types": "./spx-card/index.d.ts",
@@ -72,6 +76,10 @@
72
76
  "types": "./spx-confirm/index.d.ts",
73
77
  "default": "./fesm2022/softpak-components-spx-confirm.mjs"
74
78
  },
79
+ "./spx-form-view": {
80
+ "types": "./spx-form-view/index.d.ts",
81
+ "default": "./fesm2022/softpak-components-spx-form-view.mjs"
82
+ },
75
83
  "./spx-form-section": {
76
84
  "types": "./spx-form-section/index.d.ts",
77
85
  "default": "./fesm2022/softpak-components-spx-form-section.mjs"
@@ -80,58 +88,46 @@
80
88
  "types": "./spx-helpers/index.d.ts",
81
89
  "default": "./fesm2022/softpak-components-spx-helpers.mjs"
82
90
  },
83
- "./spx-change-details": {
84
- "types": "./spx-change-details/index.d.ts",
85
- "default": "./fesm2022/softpak-components-spx-change-details.mjs"
86
- },
87
- "./spx-number-check": {
88
- "types": "./spx-number-check/index.d.ts",
89
- "default": "./fesm2022/softpak-components-spx-number-check.mjs"
90
- },
91
- "./spx-navigation": {
92
- "types": "./spx-navigation/index.d.ts",
93
- "default": "./fesm2022/softpak-components-spx-navigation.mjs"
94
- },
95
91
  "./spx-inputs": {
96
92
  "types": "./spx-inputs/index.d.ts",
97
93
  "default": "./fesm2022/softpak-components-spx-inputs.mjs"
98
94
  },
99
- "./spx-form-view": {
100
- "types": "./spx-form-view/index.d.ts",
101
- "default": "./fesm2022/softpak-components-spx-form-view.mjs"
95
+ "./spx-navigation": {
96
+ "types": "./spx-navigation/index.d.ts",
97
+ "default": "./fesm2022/softpak-components-spx-navigation.mjs"
102
98
  },
103
99
  "./spx-pagination": {
104
100
  "types": "./spx-pagination/index.d.ts",
105
101
  "default": "./fesm2022/softpak-components-spx-pagination.mjs"
106
102
  },
107
- "./spx-patch": {
108
- "types": "./spx-patch/index.d.ts",
109
- "default": "./fesm2022/softpak-components-spx-patch.mjs"
103
+ "./spx-number-check": {
104
+ "types": "./spx-number-check/index.d.ts",
105
+ "default": "./fesm2022/softpak-components-spx-number-check.mjs"
106
+ },
107
+ "./spx-pipes": {
108
+ "types": "./spx-pipes/index.d.ts",
109
+ "default": "./fesm2022/softpak-components-spx-pipes.mjs"
110
110
  },
111
111
  "./spx-progress-bar": {
112
112
  "types": "./spx-progress-bar/index.d.ts",
113
113
  "default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
114
114
  },
115
+ "./spx-patch": {
116
+ "types": "./spx-patch/index.d.ts",
117
+ "default": "./fesm2022/softpak-components-spx-patch.mjs"
118
+ },
119
+ "./spx-spinner": {
120
+ "types": "./spx-spinner/index.d.ts",
121
+ "default": "./fesm2022/softpak-components-spx-spinner.mjs"
122
+ },
115
123
  "./spx-stock-info": {
116
124
  "types": "./spx-stock-info/index.d.ts",
117
125
  "default": "./fesm2022/softpak-components-spx-stock-info.mjs"
118
126
  },
119
- "./spx-pipes": {
120
- "types": "./spx-pipes/index.d.ts",
121
- "default": "./fesm2022/softpak-components-spx-pipes.mjs"
122
- },
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-spinner": {
128
- "types": "./spx-spinner/index.d.ts",
129
- "default": "./fesm2022/softpak-components-spx-spinner.mjs"
130
- },
131
- "./spx-toaster": {
132
- "types": "./spx-toaster/index.d.ts",
133
- "default": "./fesm2022/softpak-components-spx-toaster.mjs"
134
- },
135
131
  "./spx-tabs": {
136
132
  "types": "./spx-tabs/index.d.ts",
137
133
  "default": "./fesm2022/softpak-components-spx-tabs.mjs"
@@ -140,14 +136,14 @@
140
136
  "types": "./spx-suggestion/index.d.ts",
141
137
  "default": "./fesm2022/softpak-components-spx-suggestion.mjs"
142
138
  },
139
+ "./spx-toaster": {
140
+ "types": "./spx-toaster/index.d.ts",
141
+ "default": "./fesm2022/softpak-components-spx-toaster.mjs"
142
+ },
143
143
  "./spx-translate": {
144
144
  "types": "./spx-translate/index.d.ts",
145
145
  "default": "./fesm2022/softpak-components-spx-translate.mjs"
146
146
  },
147
- "./spx-update": {
148
- "types": "./spx-update/index.d.ts",
149
- "default": "./fesm2022/softpak-components-spx-update.mjs"
150
- },
151
147
  "./spx-toggle": {
152
148
  "types": "./spx-toggle/index.d.ts",
153
149
  "default": "./fesm2022/softpak-components-spx-toggle.mjs"
@@ -156,13 +152,17 @@
156
152
  "types": "./spx-validation/index.d.ts",
157
153
  "default": "./fesm2022/softpak-components-spx-validation.mjs"
158
154
  },
159
- "./spx-validation-messages": {
160
- "types": "./spx-validation-messages/index.d.ts",
161
- "default": "./fesm2022/softpak-components-spx-validation-messages.mjs"
162
- },
163
155
  "./spx-welcome": {
164
156
  "types": "./spx-welcome/index.d.ts",
165
157
  "default": "./fesm2022/softpak-components-spx-welcome.mjs"
158
+ },
159
+ "./spx-update": {
160
+ "types": "./spx-update/index.d.ts",
161
+ "default": "./fesm2022/softpak-components-spx-update.mjs"
162
+ },
163
+ "./spx-validation-messages": {
164
+ "types": "./spx-validation-messages/index.d.ts",
165
+ "default": "./fesm2022/softpak-components-spx-validation-messages.mjs"
166
166
  }
167
167
  }
168
168
  }
@@ -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: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Spinner] Hide">>;
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: Record<string, unknown>) => Record<string, unknown> & _ngrx_store.Action<"[SPX / Spinner] Show">>;
14
- declare const all: (Record<string, unknown> & _ngrx_store.Action<"[SPX / Spinner] Hide">) | (Record<string, unknown> & _ngrx_store.Action<"[SPX / Spinner] Show">);
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
  }
@@ -47,6 +60,7 @@ declare const _default: {
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
  selectShow: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: StateI) => boolean>;
63
+ selectLoadActions: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: StateI) => string[]>;
50
64
  selectNrOfLoadActions: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: StateI) => number>;
51
65
  };
52
66