@dyedurham-test/search-and-file-widget 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/dnd-filing-shell.js +36 -42
  2. package/package.json +1 -1
@@ -68179,7 +68179,7 @@ By proceeding with this filing under any of the above-named Acts, the authorizer
68179
68179
  }], () => [], null);
68180
68180
  })();
68181
68181
  (() => {
68182
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(PreviewFormComponent, { className: "PreviewFormComponent", filePath: "src/app/components/preview-form/preview-form.component.ts", lineNumber: 38 });
68182
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(PreviewFormComponent, { className: "PreviewFormComponent", filePath: "src/app/components/preview-form/preview-form.component.ts", lineNumber: 36 });
68183
68183
  })();
68184
68184
  }
68185
68185
  });
@@ -68799,64 +68799,64 @@ By proceeding with this filing under any of the above-named Acts, the authorizer
68799
68799
  // src/app/components/filing/filing.component.ts
68800
68800
  function FilingComponent_Conditional_4_Template(rf, ctx) {
68801
68801
  if (rf & 1) {
68802
- const _r2 = \u0275\u0275getCurrentView();
68802
+ const _r1 = \u0275\u0275getCurrentView();
68803
68803
  \u0275\u0275elementStart(0, "delta-form", 7);
68804
68804
  \u0275\u0275listener("close", function FilingComponent_Conditional_4_Template_delta_form_close_0_listener() {
68805
- \u0275\u0275restoreView(_r2);
68806
- const ctx_r2 = \u0275\u0275nextContext();
68807
- return \u0275\u0275resetView(ctx_r2.onClose());
68805
+ \u0275\u0275restoreView(_r1);
68806
+ const ctx_r1 = \u0275\u0275nextContext();
68807
+ return \u0275\u0275resetView(ctx_r1.onClose());
68808
68808
  })("validate", function FilingComponent_Conditional_4_Template_delta_form_validate_0_listener() {
68809
- \u0275\u0275restoreView(_r2);
68810
- const ctx_r2 = \u0275\u0275nextContext();
68811
- return \u0275\u0275resetView(ctx_r2.onDeltaDataSubmit());
68809
+ \u0275\u0275restoreView(_r1);
68810
+ const ctx_r1 = \u0275\u0275nextContext();
68811
+ return \u0275\u0275resetView(ctx_r1.onDeltaDataSubmit());
68812
68812
  });
68813
68813
  \u0275\u0275elementEnd();
68814
68814
  }
68815
68815
  if (rf & 2) {
68816
- const ctx_r2 = \u0275\u0275nextContext();
68817
- \u0275\u0275property("alertData", ctx_r2.alertData())("actionsDisabled", ctx_r2.isLoading())("form", ctx_r2.deltaForm);
68816
+ const ctx_r1 = \u0275\u0275nextContext();
68817
+ \u0275\u0275property("alertData", ctx_r1.alertData())("actionsDisabled", ctx_r1.isLoading())("form", ctx_r1.deltaForm);
68818
68818
  }
68819
68819
  }
68820
68820
  function FilingComponent_Conditional_5_Template(rf, ctx) {
68821
68821
  if (rf & 1) {
68822
- const _r4 = \u0275\u0275getCurrentView();
68822
+ const _r3 = \u0275\u0275getCurrentView();
68823
68823
  \u0275\u0275elementStart(0, "preview-form", 8);
68824
68824
  \u0275\u0275listener("file", function FilingComponent_Conditional_5_Template_preview_form_file_0_listener() {
68825
- \u0275\u0275restoreView(_r4);
68826
- const ctx_r2 = \u0275\u0275nextContext();
68827
- return \u0275\u0275resetView(ctx_r2.onFile());
68825
+ \u0275\u0275restoreView(_r3);
68826
+ const ctx_r1 = \u0275\u0275nextContext();
68827
+ return \u0275\u0275resetView(ctx_r1.onFile());
68828
68828
  })("close", function FilingComponent_Conditional_5_Template_preview_form_close_0_listener() {
68829
- \u0275\u0275restoreView(_r4);
68830
- const ctx_r2 = \u0275\u0275nextContext();
68831
- return \u0275\u0275resetView(ctx_r2.onClose());
68829
+ \u0275\u0275restoreView(_r3);
68830
+ const ctx_r1 = \u0275\u0275nextContext();
68831
+ return \u0275\u0275resetView(ctx_r1.onClose());
68832
68832
  })("validateAndFile", function FilingComponent_Conditional_5_Template_preview_form_validateAndFile_0_listener() {
68833
- \u0275\u0275restoreView(_r4);
68834
- const ctx_r2 = \u0275\u0275nextContext();
68835
- return \u0275\u0275resetView(ctx_r2.onPreviewValidate());
68833
+ \u0275\u0275restoreView(_r3);
68834
+ const ctx_r1 = \u0275\u0275nextContext();
68835
+ return \u0275\u0275resetView(ctx_r1.onPreviewValidate());
68836
68836
  });
68837
68837
  \u0275\u0275elementEnd();
68838
68838
  }
68839
68839
  if (rf & 2) {
68840
- const ctx_r2 = \u0275\u0275nextContext();
68841
- \u0275\u0275property("initialFormValue", ctx_r2.previewFormInitialValue)("actionsDisabled", ctx_r2.isLoading())("form", ctx_r2.previewForm);
68840
+ const ctx_r1 = \u0275\u0275nextContext();
68841
+ \u0275\u0275property("initialFormValue", ctx_r1.previewFormInitialValue)("actionsDisabled", ctx_r1.isLoading())("form", ctx_r1.previewForm);
68842
68842
  }
68843
68843
  }
68844
68844
  function FilingComponent_Conditional_6_Template(rf, ctx) {
68845
68845
  if (rf & 1) {
68846
- const _r5 = \u0275\u0275getCurrentView();
68846
+ const _r4 = \u0275\u0275getCurrentView();
68847
68847
  \u0275\u0275elementStart(0, "terms-and-conditions", 9);
68848
68848
  \u0275\u0275listener("prev", function FilingComponent_Conditional_6_Template_terms_and_conditions_prev_0_listener() {
68849
- \u0275\u0275restoreView(_r5);
68850
- const ctx_r2 = \u0275\u0275nextContext();
68851
- return \u0275\u0275resetView(ctx_r2.onTermsAndConditionsPrevClick());
68849
+ \u0275\u0275restoreView(_r4);
68850
+ const ctx_r1 = \u0275\u0275nextContext();
68851
+ return \u0275\u0275resetView(ctx_r1.onTermsAndConditionsPrevClick());
68852
68852
  })("close", function FilingComponent_Conditional_6_Template_terms_and_conditions_close_0_listener() {
68853
- \u0275\u0275restoreView(_r5);
68854
- const ctx_r2 = \u0275\u0275nextContext();
68855
- return \u0275\u0275resetView(ctx_r2.onClose());
68853
+ \u0275\u0275restoreView(_r4);
68854
+ const ctx_r1 = \u0275\u0275nextContext();
68855
+ return \u0275\u0275resetView(ctx_r1.onClose());
68856
68856
  })("confirm", function FilingComponent_Conditional_6_Template_terms_and_conditions_confirm_0_listener($event) {
68857
- \u0275\u0275restoreView(_r5);
68858
- const ctx_r2 = \u0275\u0275nextContext();
68859
- return \u0275\u0275resetView(ctx_r2.onSubmit($event));
68857
+ \u0275\u0275restoreView(_r4);
68858
+ const ctx_r1 = \u0275\u0275nextContext();
68859
+ return \u0275\u0275resetView(ctx_r1.onSubmit($event));
68860
68860
  });
68861
68861
  \u0275\u0275elementEnd();
68862
68862
  }
@@ -69108,15 +69108,9 @@ By proceeding with this filing under any of the above-named Acts, the authorizer
69108
69108
  let _t;
69109
69109
  \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.scrollContainer = _t.first);
69110
69110
  }
69111
- }, inputs: { signature: [1, "signature"], deltaData: [1, "deltaData"], validateOptions: [1, "validateOptions"] }, outputs: { changeDeltaData: "changeDeltaData", onResultGet: "onResultGet", close: "close" }, decls: 8, vars: 7, consts: [["scrollContainer", ""], [1, "filing"], [3, "activeStepChange", "subtitle", "title", "activeStep"], [1, "filing-content"], [3, "alertData", "actionsDisabled", "form"], [3, "initialFormValue", "actionsDisabled", "form"], [1, "filing-content-loading"], [3, "close", "validate", "alertData", "actionsDisabled", "form"], [3, "file", "close", "validateAndFile", "initialFormValue", "actionsDisabled", "form"], [3, "prev", "close", "confirm"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
69111
+ }, inputs: { signature: [1, "signature"], deltaData: [1, "deltaData"], validateOptions: [1, "validateOptions"] }, outputs: { changeDeltaData: "changeDeltaData", onResultGet: "onResultGet", close: "close" }, decls: 8, vars: 7, consts: [["scrollContainer", ""], [1, "filing"], [3, "subtitle", "title", "activeStep"], [1, "filing-content"], [3, "alertData", "actionsDisabled", "form"], [3, "initialFormValue", "actionsDisabled", "form"], [1, "filing-content-loading"], [3, "close", "validate", "alertData", "actionsDisabled", "form"], [3, "file", "close", "validateAndFile", "initialFormValue", "actionsDisabled", "form"], [3, "prev", "close", "confirm"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
69112
69112
  if (rf & 1) {
69113
- const _r1 = \u0275\u0275getCurrentView();
69114
- \u0275\u0275elementStart(0, "div", 1)(1, "stepper", 2);
69115
- \u0275\u0275listener("activeStepChange", function FilingComponent_Template_stepper_activeStepChange_1_listener($event) {
69116
- \u0275\u0275restoreView(_r1);
69117
- return \u0275\u0275resetView(ctx.activeStep = $event);
69118
- });
69119
- \u0275\u0275elementStart(2, "div", 3, 0);
69113
+ \u0275\u0275elementStart(0, "div", 1)(1, "stepper", 2)(2, "div", 3, 0);
69120
69114
  \u0275\u0275template(4, FilingComponent_Conditional_4_Template, 1, 3, "delta-form", 4)(5, FilingComponent_Conditional_5_Template, 1, 3, "preview-form", 5)(6, FilingComponent_Conditional_6_Template, 1, 0, "terms-and-conditions");
69121
69115
  \u0275\u0275elementEnd()();
69122
69116
  \u0275\u0275template(7, FilingComponent_Conditional_7_Template, 2, 1, "div", 6);
@@ -69139,14 +69133,14 @@ By proceeding with this filing under any of the above-named Acts, the authorizer
69139
69133
  (() => {
69140
69134
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingComponent, [{
69141
69135
  type: Component,
69142
- args: [{ selector: "app-filing", imports: [MatButtonModule, Stepper, DeltaFormComponent, TermsAndConditionsComponent, PreviewFormComponent, MatProgressSpinner], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.ShadowDom, template: '<div class="filing">\r\n <stepper [subtitle]="subtitle" [title]="title" (activeStepChange)="activeStep = $event" [activeStep]="activeStep">\r\n <div #scrollContainer class="filing-content">\r\n @if (activeStep === steps.Validate) {\r\n <delta-form [alertData]="alertData()" [actionsDisabled]="isLoading()" (close)="onClose()" (validate)="onDeltaDataSubmit()" [form]="deltaForm"/>\r\n }\r\n @if (activeStep === steps.FilingPreview) {\r\n <preview-form [initialFormValue]="previewFormInitialValue" [actionsDisabled]="isLoading()" (file)="onFile()" (close)="onClose()" (validateAndFile)="onPreviewValidate()" [form]="previewForm"/>\r\n }\r\n @if (activeStep === steps.TermsAndConditions) {\r\n <terms-and-conditions (prev)="onTermsAndConditionsPrevClick()" (close)="onClose()" (confirm)="onSubmit($event)"/>\r\n }\r\n </div>\r\n\r\n </stepper>\r\n\r\n @if (isLoading()) {\r\n <div class="filing-content-loading">\r\n <mat-spinner [diameter]="40"/>\r\n </div>\r\n }\r\n</div>\r\n\r\n\r\n\r\n', styles: ["/* src/app/components/filing/filing.component.scss */\n:host .filing {\n height: 100%;\n position: relative;\n}\n:host .filing-content {\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n position: relative;\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: rgba(128, 128, 128, 0.2);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n/*# sourceMappingURL=filing.component.css.map */\n"] }]
69136
+ args: [{ selector: "app-filing", imports: [MatButtonModule, Stepper, DeltaFormComponent, TermsAndConditionsComponent, PreviewFormComponent, MatProgressSpinner], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.ShadowDom, template: '<div class="filing">\r\n <stepper [subtitle]="subtitle" [title]="title" [activeStep]="activeStep">\r\n <div #scrollContainer class="filing-content">\r\n @if (activeStep === steps.Validate) {\r\n <delta-form [alertData]="alertData()" [actionsDisabled]="isLoading()" (close)="onClose()" (validate)="onDeltaDataSubmit()" [form]="deltaForm"/>\r\n }\r\n @if (activeStep === steps.FilingPreview) {\r\n <preview-form [initialFormValue]="previewFormInitialValue" [actionsDisabled]="isLoading()" (file)="onFile()" (close)="onClose()" (validateAndFile)="onPreviewValidate()" [form]="previewForm"/>\r\n }\r\n @if (activeStep === steps.TermsAndConditions) {\r\n <terms-and-conditions (prev)="onTermsAndConditionsPrevClick()" (close)="onClose()" (confirm)="onSubmit($event)"/>\r\n }\r\n </div>\r\n\r\n </stepper>\r\n\r\n @if (isLoading()) {\r\n <div class="filing-content-loading">\r\n <mat-spinner [diameter]="40"/>\r\n </div>\r\n }\r\n</div>\r\n\r\n\r\n\r\n', styles: ["/* src/app/components/filing/filing.component.scss */\n:host .filing {\n height: 100%;\n position: relative;\n}\n:host .filing-content {\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n position: relative;\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: rgba(128, 128, 128, 0.2);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n/*# sourceMappingURL=filing.component.css.map */\n"] }]
69143
69137
  }], () => [], { scrollContainer: [{
69144
69138
  type: ViewChild,
69145
69139
  args: ["scrollContainer"]
69146
69140
  }] });
69147
69141
  })();
69148
69142
  (() => {
69149
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 44 });
69143
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 42 });
69150
69144
  })();
69151
69145
  }
69152
69146
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham-test/search-and-file-widget",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {