PageSourceSearch

https://office.workvine.nl/chunk-OZZHQ7VF.js

js workvine.nl collected 2026-10-09 01:40:31 UTC 11,616 bytes, 258 lines download raw bytes

1import { DateTimeStringPipe, DateTimeStringPipeModule } from "./chunk-XCCZLKPW.js";
2import { Component, Input, setClassMetadata, ɵsetClassDebugInfo, ɵɵadvance, ɵɵconditional, ɵɵconditionalCreate, ɵɵdefineComponent, ɵɵdomElementContainerEnd, ɵɵdomElementContainerStart, ɵɵdomElementEnd, ɵɵdomElementStart, ɵɵdomProperty, ɵɵi18n, ɵɵnextContext, ɵɵpipe, ɵɵpipeBind3, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵrepeaterTrackByIdentity, ɵɵsanitizeUrl, ɵɵtext, ɵɵtextInterpolate1 } from "./chunk-ZGC4HH7K.js";
3
4// src/app/_secure/_shared/ehr-work-session-table/ehr-work-session-table.component.ts
5function EhrWorkSessionTableComponent_Conditional_0_For_12_Conditional_8_Template(rf, ctx) {
6  if (rf & 1) {
7    ɵɵdomElementStart(0, "a", 14);
8    ɵɵdomElementContainerStart(1);
9    ɵɵi18n(2, 4);
10    ɵɵdomElementContainerEnd();
11    ɵɵdomElementEnd();
12  }
13  if (rf & 2) {
14    const session_r1 = ɵɵnextContext().$implicit;
15    ɵɵdomProperty("href", "https://maps.google.com/?q=" + (session_r1.checkInLocation == null ? null : session_r1.checkInLocation.latitude) + "," + (session_r1.checkInLocation == null ? null : session_r1.checkInLocation.longitude), ɵɵsanitizeUrl);
16  }
17}
18function EhrWorkSessionTableComponent_Conditional_0_For_12_Conditional_10_Template(rf, ctx) {
19  if (rf & 1) {
20    ɵɵdomElementStart(0, "a", 14);
21    ɵɵdomElementContainerStart(1);
22    ɵɵi18n(2, 5);
23    ɵɵdomElementContainerEnd();
24    ɵɵdomElementEnd();
25  }
26  if (rf & 2) {
27    const session_r1 = ɵɵnextContext().$implicit;
28    ɵɵdomProperty("href", "https://maps.google.com/?q=" + (session_r1.checkOutLocation == null ? null : session_r1.checkOutLocation.latitude) + "," + (session_r1.checkOutLocation == null ? null : session_r1.checkOutLocation.longitude), ɵɵsanitizeUrl);
29  }
30}
31function EhrWorkSessionTableComponent_Conditional_0_For_12_Template(rf, ctx) {
32  if (rf & 1) {
33    ɵɵdomElementStart(0, "div", 13)(1, "div");
34    ɵɵtext(2);
35    ɵɵpipe(3, "dateTimeString");
36    ɵɵdomElementEnd();
37    ɵɵdomElementStart(4, "div");
38    ɵɵtext(5);
39    ɵɵpipe(6, "dateTimeString");
40    ɵɵdomElementEnd();
41    ɵɵdomElementStart(7, "div");
42    ɵɵconditionalCreate(8, EhrWorkSessionTableComponent_Conditional_0_For_12_Conditional_8_Template, 3, 1, "a", 14);
43    ɵɵdomElementEnd();
44    ɵɵdomElementStart(9, "div");
45    ɵɵconditionalCreate(10, EhrWorkSessionTableComponent_Conditional_0_For_12_Conditional_10_Template, 3, 1, "a", 14);
46    ɵɵdomElementEnd()();
47  }
48  if (rf & 2) {
49    const session_r1 = ctx.$implicit;
50    ɵɵadvance(2);
51    ɵɵtextInterpolate1(" ", ɵɵpipeBind3(3, 4, session_r1 == null ? null : session_r1.startTime, null, "HH:mm:ss"), " ");
52    ɵɵadvance(3);
53    ɵɵtextInterpolate1(" ", ɵɵpipeBind3(6, 8, session_r1 == null ? null : session_r1.endTime, null, "HH:mm:ss"), " ");
54    ɵɵadvance(3);
55    ɵɵconditional((session_r1 == null ? null : session_r1.checkInLocation == null ? null : session_r1.checkInLocation.latitude) && (session_r1 == null ? null : session_r1.checkInLocation == null ? null : session_r1.checkInLocation.longitude) ? 8 : -1);
56    ɵɵadvance(2);
57    ɵɵconditional((session_r1 == null ? null : session_r1.checkOutLocation == null ? null : session_r1.checkOutLocation.latitude) && (session_r1 == null ? null : session_r1.checkOutLocation == null ? null : session_r1.checkOutLocation.longitude) ? 10 : -1);
58  }
59}
60function EhrWorkSessionTableComponent_Conditional_0_Template(rf, ctx) {
61  if (rf & 1) {
62    ɵɵdomElementStart(0, "div", 7)(1, "div", 9)(2, "div", 10);
63    ɵɵi18n(3, 0);
64    ɵɵdomElementEnd();
65    ɵɵdomElementStart(4, "div", 10);
66    ɵɵi18n(5, 1);
67    ɵɵdomElementEnd();
68    ɵɵdomElementStart(6, "div", 10);
69    ɵɵi18n(7, 2);
70    ɵɵdomElementEnd();
71    ɵɵdomElementStart(8, "div", 11);
72    ɵɵi18n(9, 3);
73    ɵɵdomElementEnd()();
74    ɵɵdomElementStart(10, "div", 12);
75    ɵɵrepeaterCreate(11, EhrWorkSessionTableComponent_Conditional_0_For_12_Template, 11, 12, "div", 13, ɵɵrepeaterTrackByIdentity);
76    ɵɵdomElementEnd()();
77  }
78  if (rf & 2) {
79    const ctx_r1 = ɵɵnextContext();
80    ɵɵadvance(11);
81    ɵɵrepeater(ctx_r1.workSessions);
82  }
83}
84function EhrWorkSessionTableComponent_Conditional_1_Template(rf, ctx) {
85  if (rf & 1) {
86    ɵɵdomElementStart(0, "div", 8)(1, "p");
87    ɵɵi18n(2, 6);
88    ɵɵdomElementEnd()();
89  }
90}
91var EhrWorkSessionTableComponent = class _EhrWorkSessionTableComponent {
92  constructor() {
93    this.workSessions = [];
94  }
95  static {
96    this.ɵfac = function EhrWorkSessionTableComponent_Factory(__ngFactoryType__) {
97      return new (__ngFactoryType__ || _EhrWorkSessionTableComponent)();
98    };
99  }
100  static {
101    this.ɵcmp = /* @__PURE__ */ɵɵdefineComponent({
102      type: _EhrWorkSessionTableComponent,
103      selectors: [["ehr-work-session-table"]],
104      inputs: {
105        workSessions: "workSessions",
106        record: "record"
107      },
108      decls: 2,
109      vars: 1,
110      consts: () => {
111        let i18n_0;
112        if (false) {
113          const MSG_EXTERNAL_start_time$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_0 = goog.getMsg("Start time");
114          i18n_0 = MSG_EXTERNAL_start_time$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_0;
115        } else {
116          i18n_0 = "Starttijd";
117        }
118        let i18n_1;
119        if (false) {
120          const MSG_EXTERNAL_end_time$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_1 = goog.getMsg("End time");
121          i18n_1 = MSG_EXTERNAL_end_time$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_1;
122        } else {
123          i18n_1 = "Eindtijd";
124        }
125        let i18n_2;
126        if (false) {
127          const MSG_EXTERNAL_check_in_location$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_2 = goog.getMsg("Check-in Location");
128          i18n_2 = MSG_EXTERNAL_check_in_location$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_2;
129        } else {
130          i18n_2 = "Check-in locatie";
131        }
132        let i18n_3;
133        if (false) {
134          const MSG_EXTERNAL_check_out_location$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_3 = goog.getMsg("Check-out Location");
135          i18n_3 = MSG_EXTERNAL_check_out_location$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_3;
136        } else {
137          i18n_3 = "Check-out locatie";
138        }
139        let i18n_4;
140        if (false) {
141          const MSG_EXTERNAL_view$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_4 = goog.getMsg(" View ");
142          i18n_4 = MSG_EXTERNAL_view$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_4;
143        } else {
144          i18n_4 = "Bekijk";
145        }
146        let i18n_5;
147        if (false) {
148          const MSG_EXTERNAL_view$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_5 = goog.getMsg(" View ");
149          i18n_5 = MSG_EXTERNAL_view$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_5;
150        } else {
151          i18n_5 = "Bekijk";
152        }
153        let i18n_6;
154        if (false) {
155          const MSG_EXTERNAL_data_not_found$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_6 = goog.getMsg("Data not found");
156          i18n_6 = MSG_EXTERNAL_data_not_found$$SRC_APP__SECURE__SHARED_EHR_WORK_SESSION_TABLE_EHR_WORK_SESSION_TABLE_COMPONENT_TS_6;
157        } else {
158          i18n_6 = "Geen gegevens gevonden";
159        }
160        return [i18n_0, i18n_1, i18n_2, i18n_3, i18n_4, i18n_5, i18n_6, [1, "ehr-widget-table"], [1, "ehr-widget-no-data"], [1, "ehr-widget-table-header"], [1, "ehr-widget-table-header-col"], [1, "ehr-widget-table-header-col", 2, "text-align", "left"], [1, "ehr-widget-table-body"], [1, "ehr-widget-table-item"], ["target", "_blank", "rel", "noopener noreferrer", 1, "flex-row-start-center", 3, "href"]];
161      },
162      template: function EhrWorkSessionTableComponent_Template(rf, ctx) {
163        if (rf & 1) {
164          ɵɵconditionalCreate(0, EhrWorkSessionTableComponent_Conditional_0_Template, 13, 0, "div", 7)(1, EhrWorkSessionTableComponent_Conditional_1_Template, 3, 0, "div", 8);
165        }
166        if (rf & 2) {
167          ɵɵconditional(ctx.workSessions && ctx.workSessions.length > 0 ? 0 : 1);
168        }
169      },
170      dependencies: [DateTimeStringPipeModule, DateTimeStringPipe],
171      encapsulation: 2
172    });
173  }
174};
175(() => {
176  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(EhrWorkSessionTableComponent, [{
177    type: Component,
178    args: [{
179      selector: "ehr-work-session-table",
180      imports: [DateTimeStringPipeModule],
181      standalone: true,
182      template: `@if (workSessions && workSessions.length > 0) {\r
183  <div class="ehr-widget-table">\r
184    <div class="ehr-widget-table-header">\r
185      <div class="ehr-widget-table-header-col" i18n="@@start-time">Start time</div>\r
186\r
187      <div class="ehr-widget-table-header-col" i18n="@@end-time">End time</div>\r
188\r
189      <div class="ehr-widget-table-header-col" i18n="@@check-in-location">Check-in Location</div>\r
190\r
191      <div class="ehr-widget-table-header-col" style="text-align: left" i18n="@@check-out-location">Check-out Location</div>\r
192    </div>\r
193\r
194    <div class="ehr-widget-table-body">\r
195      @for (session of workSessions; track session; ) {\r
196        <div class="ehr-widget-table-item">\r
197          <div>\r
198            {{ session?.startTime | dateTimeString:null : 'HH:mm:ss' }}\r
199          </div>\r
200\r
201          <div>\r
202            {{ session?.endTime | dateTimeString:null : 'HH:mm:ss' }}\r
203          </div>\r
204\r
205          <div>\r
206            @if (session?.checkInLocation?.latitude && session?.checkInLocation?.longitude) {\r
207              <a\r
208                [href]="'https://maps.google.com/?q=' + session.checkInLocation?.latitude + ',' + session.checkInLocation?.longitude"\r
209                target="_blank" rel="noopener noreferrer" class="flex-row-start-center">\r
210                <ng-container i18n="@@view">\r
211                View\r
212              </ng-container>\r
213              </a>\r
214            }\r
215          </div>\r
216\r
217          <div>\r
218            @if (session?.checkOutLocation?.latitude && session?.checkOutLocation?.longitude) {\r
219              <a\r
220                [href]="'https://maps.google.com/?q=' + session.checkOutLocation?.latitude + ',' + session.checkOutLocation?.longitude"\r
221                target="_blank" rel="noopener noreferrer" class="flex-row-start-center">\r
222                <ng-container i18n="@@view">\r
223                View\r
224              </ng-container>\r
225              </a>\r
226            }\r
227          </div>\r
228        </div>\r
229      }\r
230    </div>\r
231  </div>\r
232} @else {\r
233  <div class="ehr-widget-no-data">\r
234    <p i18n="@@data-not-found">Data not found</p>\r
235  </div>\r
236}\r
237\r
238`
239    }]
240  }], null, {
241    workSessions: [{
242      type: Input
243    }],
244    record: [{
245      type: Input
246    }]
247  });
248})();
249(() => {
250  (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassDebugInfo(EhrWorkSessionTableComponent, {
251    className: "EhrWorkSessionTableComponent",
252    filePath: "src/app/_secure/_shared/ehr-work-session-table/ehr-work-session-table.component.ts",
253    lineNumber: 15
254  });
255})();
256export { EhrWorkSessionTableComponent };
257/**i18n:55a58011b6fcf12b70aba021cbe233ce2fe179902ce3502a5c6547ccaba0ed7f*/
258//# sourceMappingURL=chunk-OZZHQ7VF.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.