@everymatrix/stage-dm-button 1.0.0 → 1.0.16

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/main.js CHANGED
@@ -29425,6 +29425,7 @@ var ApiHandlerService = class _ApiHandlerService {
29425
29425
 
29426
29426
  // libs/shared/data-access/utils/src/lib/services/session.service.ts
29427
29427
  var SessionService = class _SessionService {
29428
+ intervalSub = null;
29428
29429
  sessionDataSubject = new BehaviorSubject(null);
29429
29430
  sessionData$ = this.sessionDataSubject.asObservable();
29430
29431
  get sessionData() {
@@ -29453,8 +29454,16 @@ var SessionService = class _SessionService {
29453
29454
  this.sessionDataSubject.next(newSessionData);
29454
29455
  }
29455
29456
  };
29457
+ resetSession() {
29458
+ this.setInitData(null);
29459
+ this.setupHeaders();
29460
+ }
29461
+ setInitData(data) {
29462
+ this.sessionDataSubject.next(data);
29463
+ }
29456
29464
  setupHeaders() {
29457
- interval(12e5).pipe(startWith(0)).subscribe(() => this.getHeaders());
29465
+ this.intervalSub?.unsubscribe();
29466
+ this.intervalSub = interval(12e5).pipe(startWith(0)).subscribe(() => this.getHeaders());
29458
29467
  }
29459
29468
  static \u0275fac = function SessionService_Factory(__ngFactoryType__) {
29460
29469
  return new (__ngFactoryType__ || _SessionService)();
@@ -29570,6 +29579,20 @@ var uiGridCustomStyles = `
29570
29579
  ui-grid-menu-button .ui-grid-menu .ui-grid-menu-mid {
29571
29580
  overflow: scroll;
29572
29581
  }
29582
+
29583
+ .ui-grid-viewport {
29584
+ &::-webkit-scrollbar {
29585
+ width: 6px;
29586
+ height: 6px;
29587
+ background: #fff;
29588
+ z-index: 999999;
29589
+ }
29590
+
29591
+ &::-webkit-scrollbar-thumb {
29592
+ border-radius: 5px;
29593
+ background: #9aa6bc;
29594
+ }
29595
+ }
29573
29596
  `;
29574
29597
 
29575
29598
  // libs/shared/data-access/utils/src/lib/services/shadow-dom-style-injector.service.ts
@@ -29703,13 +29726,14 @@ var UiGridCommonService = class _UiGridCommonService {
29703
29726
  return {
29704
29727
  restrict: "E",
29705
29728
  scope: {},
29706
- template: `<div ui-grid="options" class="grid ui-grid-selectable" ng-show="options.isVisible"
29729
+ template: `<div ui-grid="options" class="grid ui-grid-selectable" ng-show="options.isVisible" ng-style="{ 'height': (options.scrollHeight || 360) + 'px' }"
29707
29730
  ui-grid-grouping
29708
29731
  ui-grid-auto-resize
29709
29732
  ui-grid-infinite-scroll
29710
29733
  ui-grid-resize-columns
29711
29734
  ui-grid-pinning
29712
29735
  ui-grid-selection
29736
+ ui-grid-pagination
29713
29737
  ui-grid-move-columns>
29714
29738
  <div class="data-loading-board" ng-if="options.dataLoading">Loading data ...</div>
29715
29739
  <div class="watermark-board" ng-if="!options.dataLoading && !options.data.length">No data available</div>
@@ -29761,6 +29785,22 @@ var UiGridCommonService = class _UiGridCommonService {
29761
29785
  return ngAppEl.getAttribute("ng-app");
29762
29786
  return null;
29763
29787
  }
29788
+ static init(element2, module2) {
29789
+ try {
29790
+ if (!_UiGridCommonService.getAngularJsMainModuleName()) {
29791
+ if (!_UiGridCommonService.isAngularjsModuleDefined(module2)) {
29792
+ _UiGridCommonService.initAngularjsApp(module2);
29793
+ }
29794
+ if (!_UiGridCommonService.isElementBootstrapped(element2)) {
29795
+ _UiGridCommonService.bootstrapAngularjsApp(element2, module2);
29796
+ }
29797
+ } else {
29798
+ _UiGridCommonService.compileAngularjsApp(element2);
29799
+ }
29800
+ } catch (error) {
29801
+ console.error(`Failed to init angularjs module ${module2}: `, error);
29802
+ }
29803
+ }
29764
29804
  getUniqueId() {
29765
29805
  const id = Date.now().toString(36) + Math.random().toString(36).substring(2);
29766
29806
  if (this._uniqueIds.includes(id))
@@ -30759,7 +30799,6 @@ var TemplateService = class _TemplateService {
30759
30799
  if (template && (template.errorCode || template.successful === "false")) {
30760
30800
  throw new Error(template.message);
30761
30801
  }
30762
- this.template.set(template || null);
30763
30802
  return template;
30764
30803
  }));
30765
30804
  }
@@ -30787,13 +30826,41 @@ var TemplateService = class _TemplateService {
30787
30826
  };
30788
30827
  return this.apiHandlerService.Post(url, body);
30789
30828
  }
30790
- setUrlTemplateId(templateId) {
30829
+ setSearchParams(params) {
30791
30830
  const url = new URL(window.location.href);
30792
- if (url.searchParams.get("templateId") !== templateId) {
30793
- url.searchParams.set("templateId", templateId);
30831
+ const currentQueryParams = Object.keys(params).reduce((acc, key) => {
30832
+ acc[key] = url.searchParams.get(key);
30833
+ return acc;
30834
+ }, {});
30835
+ Object.keys(params).forEach((key) => params[key] ? url.searchParams.set(key, params[key]) : url.searchParams.delete(key));
30836
+ const updatedQueryParams = Object.keys(params).reduce((acc, key) => {
30837
+ acc[key] = url.searchParams.get(key);
30838
+ return acc;
30839
+ }, {});
30840
+ const isParamsChanged = Object.keys(params).some((key) => currentQueryParams[key] !== updatedQueryParams[key]);
30841
+ if (isParamsChanged) {
30794
30842
  window.history.pushState({}, "", url.toString());
30795
30843
  }
30796
30844
  }
30845
+ updateTemplateList(template) {
30846
+ this.templatesList.update((arr) => {
30847
+ const list = [...arr];
30848
+ const index = list.findIndex((t) => t.template_id === template.template_id);
30849
+ if (index !== -1) {
30850
+ list[index] = template;
30851
+ } else {
30852
+ list.push(template);
30853
+ }
30854
+ return list;
30855
+ });
30856
+ }
30857
+ baseTemplate() {
30858
+ const url = new URL(window.location.href);
30859
+ const templateName = url.searchParams.get("templateName");
30860
+ const modificationId = url.searchParams.get("modificationId");
30861
+ const templateId = url.searchParams.get("templateId");
30862
+ return templateName && modificationId && templateId ? this.templatesList().find((item) => item.template_id === templateId && !item.is_temporary) : null;
30863
+ }
30797
30864
  get templateChangedSubject() {
30798
30865
  return this.templateChanged;
30799
30866
  }
@@ -30820,7 +30887,8 @@ var REPORTS = {
30820
30887
  MM_VERIFICATION: {
30821
30888
  reportId: 100,
30822
30889
  reportName: "Verification Report",
30823
- reportKey: "mm_verification_report"
30890
+ reportKey: "mm_verification_report",
30891
+ exportReportName: "verification_report"
30824
30892
  }
30825
30893
  };
30826
30894
 
@@ -30899,6 +30967,12 @@ var SendingService = class _SendingService {
30899
30967
  apiHandlerService = inject(ApiHandlerService);
30900
30968
  sessionService = inject(SessionService);
30901
30969
  httpClient = inject(HttpClient);
30970
+ fileNameVariables = [
30971
+ { "id": "template_name", "name": "template_name" },
30972
+ { "id": "schedule_name", "name": "schedule_name" },
30973
+ { "id": "timestamp", "name": "timestamp" },
30974
+ { "id": "uuid", "name": "uuid" }
30975
+ ];
30902
30976
  getSchedules(reportId, templateId, domainId) {
30903
30977
  const url = this.apiHandlerService.getACSBaseUrl("get_report_schedules", "ce");
30904
30978
  const body = {
@@ -30941,7 +31015,7 @@ var SendingService = class _SendingService {
30941
31015
  connection_type: destination,
30942
31016
  connection_id: connectionId,
30943
31017
  folder_name: folderName,
30944
- filename_format: fileName,
31018
+ filename_format: this.convertString(fileName, this.fileNameVariables),
30945
31019
  timestamp_format: dateTimeFormat
30946
31020
  };
30947
31021
  const report = Object.values(REPORTS).find((r) => r.reportId === report_id);
@@ -31018,12 +31092,12 @@ var SendingService = class _SendingService {
31018
31092
  return response;
31019
31093
  }));
31020
31094
  }
31021
- deleteSchedule(domainId, scheduleId) {
31095
+ deleteSchedule(domainId, scheduleId, scheduleGroupId) {
31022
31096
  const body = {
31023
31097
  p_report_params: {
31024
31098
  p_domains: [domainId],
31025
31099
  p_operation_type: "2",
31026
- p_schedule_group_id: null,
31100
+ p_schedule_group_id: scheduleGroupId,
31027
31101
  p_schedule_id: scheduleId
31028
31102
  }
31029
31103
  };
@@ -31074,6 +31148,16 @@ var SendingService = class _SendingService {
31074
31148
  }
31075
31149
  return;
31076
31150
  }
31151
+ convertString(inputString, variablesArray) {
31152
+ let result = inputString;
31153
+ const sortedVariables = [...variablesArray].sort((a, b) => b.id.length - a.id.length);
31154
+ for (const variable of sortedVariables) {
31155
+ const regex = new RegExp(`#${variable.id}(?=[^a-zA-Z]|$)`, "g");
31156
+ result = result ? result.replace(regex, `{${variable.id}}`) : "";
31157
+ }
31158
+ result = result ? result.replace(/##/g, "#") : "";
31159
+ return result;
31160
+ }
31077
31161
  static \u0275fac = function SendingService_Factory(__ngFactoryType__) {
31078
31162
  return new (__ngFactoryType__ || _SendingService)();
31079
31163
  };
@@ -31086,6 +31170,49 @@ var SendingService = class _SendingService {
31086
31170
  }], null, null);
31087
31171
  })();
31088
31172
 
31173
+ // libs/shared/data-access/utils/src/lib/services/tracing-info.service.ts
31174
+ var TracingInfoService = class _TracingInfoService {
31175
+ intervalSub = null;
31176
+ tracingInfoSubject = new BehaviorSubject(null);
31177
+ tracingInfoData$ = this.tracingInfoSubject.asObservable();
31178
+ constructor() {
31179
+ this.setupTracingInfo();
31180
+ }
31181
+ getTracingInfo() {
31182
+ window.postMessage({ type: "GetTracingInfo" }, "*");
31183
+ window.addEventListener("message", this.listener);
31184
+ }
31185
+ listener = (e) => {
31186
+ if (e.data?.type === "SetTracingInfo") {
31187
+ window.removeEventListener("message", this.listener);
31188
+ this.tracingInfoSubject.next(e.data.payload);
31189
+ }
31190
+ };
31191
+ resetTracingInfo() {
31192
+ this.setInitData(null);
31193
+ this.setupTracingInfo();
31194
+ }
31195
+ setInitData(data) {
31196
+ this.tracingInfoSubject.next(data);
31197
+ }
31198
+ setupTracingInfo() {
31199
+ this.intervalSub?.unsubscribe();
31200
+ this.intervalSub = interval(12e5).pipe(startWith(0)).subscribe(() => this.getTracingInfo());
31201
+ }
31202
+ static \u0275fac = function TracingInfoService_Factory(__ngFactoryType__) {
31203
+ return new (__ngFactoryType__ || _TracingInfoService)();
31204
+ };
31205
+ static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _TracingInfoService, factory: _TracingInfoService.\u0275fac, providedIn: "root" });
31206
+ };
31207
+ (() => {
31208
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(TracingInfoService, [{
31209
+ type: Injectable,
31210
+ args: [{
31211
+ providedIn: "root"
31212
+ }]
31213
+ }], () => [], null);
31214
+ })();
31215
+
31089
31216
  // node_modules/@angular/platform-browser/fesm2022/animations/async.mjs
31090
31217
  var ANIMATION_PREFIX = "@";
31091
31218
  var AsyncAnimationRendererFactory = class _AsyncAnimationRendererFactory {
@@ -38515,7 +38642,7 @@ var commonSelectStyles = `
38515
38642
  }
38516
38643
  }
38517
38644
 
38518
- .p-multiselect-list-container, .p-select-list-container {
38645
+ .p-multiselect-list-container, .p-select-list-container, .p-autocomplete-list-container {
38519
38646
  font-size: 14px;
38520
38647
  &::-webkit-scrollbar {
38521
38648
  width: 6px;
@@ -38586,12 +38713,12 @@ var primengCustomPreset = definePreset(lara_default, {
38586
38713
  paddingX: "12px",
38587
38714
  paddingY: "8px",
38588
38715
  css: () => `
38589
- .form-control-field {
38716
+ .form-control-field, .p-autocomplete-input {
38590
38717
  &:focus-visible {
38591
38718
  box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16)!important;
38592
38719
  }
38593
38720
  }
38594
- .form-control-field:focus-visible {
38721
+ .form-control-field:focus-visible, .p-autocomplete-input:focus-visible, {
38595
38722
  box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16)!important;
38596
38723
  }
38597
38724
  .input:focus-visible {
@@ -38769,7 +38896,7 @@ var primengCustomPreset = definePreset(lara_default, {
38769
38896
  height: 16px;
38770
38897
  top: 50%;
38771
38898
  margin: 0;
38772
- transform: translateY(-50%);
38899
+ transform: translate(-4px, -50%);
38773
38900
  }
38774
38901
  }
38775
38902
 
@@ -38875,8 +39002,13 @@ var primengCustomPreset = definePreset(lara_default, {
38875
39002
 
38876
39003
  .datepicker-wrapper, .p-datepicker {
38877
39004
  .p-inputtext {
38878
- padding-inline: 32px;
38879
- }
39005
+ padding-inline: 32px;
39006
+ &:placeholder-shown {
39007
+ padding-inline: unset;
39008
+ padding-inline-start: 32px;
39009
+ padding-inline-end: 12px;
39010
+ }
39011
+ }
38880
39012
  }
38881
39013
 
38882
39014
  .p-datepicker-input-icon-container {
@@ -39008,7 +39140,8 @@ var primengCustomPreset = definePreset(lara_default, {
39008
39140
  }
39009
39141
 
39010
39142
  .p-dialog-content {
39011
- padding: 0 24px 24px 24px;
39143
+ padding: 0 24px 19px 24px;
39144
+ margin-bottom: 5px;
39012
39145
  &::-webkit-scrollbar {
39013
39146
  width: 6px;
39014
39147
  height: 6px;
@@ -39021,6 +39154,10 @@ var primengCustomPreset = definePreset(lara_default, {
39021
39154
  }
39022
39155
  }
39023
39156
 
39157
+ .dialog-content-overflow-visible.p-dialog-content {
39158
+ overflow: visible !important;
39159
+ }
39160
+
39024
39161
  .p-dialog-close-button {
39025
39162
  border-radius: 4px!important;
39026
39163
  &:hover {
@@ -39503,21 +39640,131 @@ var appConfig = {
39503
39640
  };
39504
39641
 
39505
39642
  // libs/shared/data-access/utils/src/lib/strategies/mm-reports/verification-request-body.ts
39643
+ var import_moment3 = __toESM(require_moment());
39644
+
39645
+ // libs/shared/data-access/utils/src/lib/utils/date-hints.ts
39506
39646
  var import_moment2 = __toESM(require_moment());
39647
+ var TimePeriod;
39648
+ (function(TimePeriod2) {
39649
+ TimePeriod2["Today"] = "today";
39650
+ TimePeriod2["Yesterday"] = "yesterday";
39651
+ TimePeriod2["CurrentWeek"] = "current_week";
39652
+ TimePeriod2["CurrentMonth"] = "current_month";
39653
+ TimePeriod2["CurrentQuarter"] = "current_quarter";
39654
+ TimePeriod2["LastMonth"] = "last_month";
39655
+ TimePeriod2["LastQuarter"] = "last_quarter";
39656
+ TimePeriod2["Last30Days"] = "last_30_days";
39657
+ TimePeriod2["CurrentYear"] = "current_year";
39658
+ TimePeriod2["Custom"] = "custom";
39659
+ })(TimePeriod || (TimePeriod = {}));
39660
+ var DATE_HINTS = [
39661
+ {
39662
+ name: "Today",
39663
+ dateAlias: TimePeriod.Today,
39664
+ interval: {
39665
+ start: (0, import_moment2.default)().startOf("day").toDate(),
39666
+ end: (0, import_moment2.default)().endOf("day").toDate()
39667
+ }
39668
+ },
39669
+ {
39670
+ name: "Yesterday",
39671
+ dateAlias: TimePeriod.Yesterday,
39672
+ interval: {
39673
+ start: (0, import_moment2.default)().subtract(1, "days").startOf("day").toDate(),
39674
+ end: (0, import_moment2.default)().subtract(1, "days").endOf("day").toDate()
39675
+ }
39676
+ },
39677
+ {
39678
+ name: "Current Week",
39679
+ dateAlias: TimePeriod.CurrentWeek,
39680
+ interval: {
39681
+ start: (0, import_moment2.default)().startOf("isoWeek").startOf("day").toDate(),
39682
+ end: (0, import_moment2.default)().endOf("day").toDate()
39683
+ }
39684
+ },
39685
+ {
39686
+ name: "Current Month",
39687
+ dateAlias: TimePeriod.CurrentMonth,
39688
+ interval: {
39689
+ start: (0, import_moment2.default)().startOf("month").startOf("day").toDate(),
39690
+ end: (0, import_moment2.default)().endOf("day").toDate()
39691
+ }
39692
+ },
39693
+ {
39694
+ name: "Current Quarter",
39695
+ dateAlias: TimePeriod.CurrentQuarter,
39696
+ interval: {
39697
+ start: (0, import_moment2.default)().startOf("quarter").startOf("day").toDate(),
39698
+ end: (0, import_moment2.default)().endOf("day").toDate()
39699
+ }
39700
+ },
39701
+ {
39702
+ name: "Last Month",
39703
+ dateAlias: TimePeriod.LastMonth,
39704
+ interval: {
39705
+ start: (0, import_moment2.default)().subtract(1, "months").startOf("month").startOf("day").toDate(),
39706
+ end: (0, import_moment2.default)().subtract(1, "months").endOf("month").endOf("day").toDate()
39707
+ }
39708
+ },
39709
+ {
39710
+ name: "Last Quarter",
39711
+ dateAlias: TimePeriod.LastQuarter,
39712
+ interval: {
39713
+ start: (0, import_moment2.default)().subtract(1, "quarter").startOf("quarter").startOf("day").toDate(),
39714
+ end: (0, import_moment2.default)().subtract(1, "quarter").endOf("quarter").endOf("day").toDate()
39715
+ }
39716
+ },
39717
+ {
39718
+ name: "Last 30 Days",
39719
+ dateAlias: TimePeriod.Last30Days,
39720
+ interval: {
39721
+ start: (0, import_moment2.default)().subtract(30, "days").startOf("day").toDate(),
39722
+ end: (0, import_moment2.default)().subtract(1, "day").endOf("day").toDate()
39723
+ }
39724
+ },
39725
+ {
39726
+ name: "Current Year",
39727
+ dateAlias: TimePeriod.CurrentYear,
39728
+ interval: {
39729
+ start: (0, import_moment2.default)().startOf("year").startOf("day").toDate(),
39730
+ end: (0, import_moment2.default)().endOf("day").toDate()
39731
+ }
39732
+ }
39733
+ ];
39734
+
39735
+ // libs/shared/data-access/utils/src/lib/functions/date-transform.ts
39736
+ var dateTransform = (dateType, key) => {
39737
+ const updatedTime = DATE_HINTS.find((item) => item.dateAlias === dateType);
39738
+ return updatedTime?.interval[key];
39739
+ };
39740
+
39741
+ // libs/shared/data-access/utils/src/lib/strategies/mm-reports/verification-request-body.ts
39507
39742
  var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
39508
39743
  sessionService = inject(SessionService);
39509
39744
  csvLimit = 1e7;
39510
39745
  pageLimit = 100;
39511
- buildRequestBody(config) {
39512
- const { offset = 0, limit, allFilters, formData, columns, executionType, isGrandTotal = false, sorting, template } = config;
39746
+ buildRequestBody(config, tracingInfo) {
39747
+ const { offset = 0, limit, allFilters, formData, columns, executionType, isGrandTotal = false, sorting, template, exportReportName, isSending } = config;
39748
+ let templateName = "";
39749
+ const name = template?.template_name;
39750
+ if (executionType === "csv_load") {
39751
+ if (!name) {
39752
+ templateName = exportReportName;
39753
+ } else if (name.includes(exportReportName) || isSending) {
39754
+ templateName = name;
39755
+ } else {
39756
+ templateName = `${exportReportName}_${name}`;
39757
+ }
39758
+ } else {
39759
+ templateName = name;
39760
+ }
39513
39761
  const result = {
39514
39762
  p_columns: columns,
39515
39763
  p_additional_params: {},
39516
- p_tracing_info: {
39517
- p_template_name: template ? template.template_name : null,
39518
- p_template_id: template ? template.template_id : null,
39519
- p_user_id: this.sessionService.sessionData?.Username
39520
- },
39764
+ p_tracing_info: Object.assign({
39765
+ p_template_name: templateName || null,
39766
+ p_template_id: template ? template.template_id : null
39767
+ }, tracingInfo),
39521
39768
  p_advanced_filtering: {
39522
39769
  p_offset: offset || 0,
39523
39770
  p_limit: executionType === "csv_load" ? this.csvLimit : limit === null ? this.pageLimit : limit,
@@ -39536,17 +39783,23 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
39536
39783
  }
39537
39784
  let value;
39538
39785
  if (field_id === "merchant") {
39539
- value = formData["merchant_name"] ?? null;
39786
+ value = this.nullUndefinedOrEmpty(formData["merchant_name"]) ? null : formData["merchant_name"];
39540
39787
  } else {
39541
- value = formData[field_id] ?? null;
39788
+ value = this.nullUndefinedOrEmpty(formData[field_id]) ? null : formData[field_id];
39542
39789
  }
39543
39790
  const prefixedKey = field_id === "merchant_name" ? "p_domains" : `p_${field_id}`;
39544
39791
  if (field.field_data_type === "TIMESTAMP" && value) {
39545
- const { start, end } = value;
39546
- if (start && end) {
39792
+ const { start, end, alias } = value;
39793
+ if (start && end || alias) {
39794
+ let startDate = start;
39795
+ let endDate = end;
39796
+ if (alias && alias !== "custom") {
39797
+ startDate = dateTransform(alias, "start");
39798
+ endDate = dateTransform(alias, "end");
39799
+ }
39547
39800
  value = [
39548
- (0, import_moment2.default)(start).format("YYYY-MM-DD HH:mm:ss.SSS"),
39549
- (0, import_moment2.default)(end).format("YYYY-MM-DD HH:mm:ss.SSS")
39801
+ (0, import_moment3.default)(startDate).format("YYYY-MM-DD HH:mm:ss.SSS"),
39802
+ (0, import_moment3.default)(endDate).format("YYYY-MM-DD HH:mm:ss.SSS")
39550
39803
  ];
39551
39804
  }
39552
39805
  }
@@ -39558,6 +39811,9 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
39558
39811
  });
39559
39812
  return result;
39560
39813
  }
39814
+ nullUndefinedOrEmpty(value) {
39815
+ return value === null || value === void 0 || value === "";
39816
+ }
39561
39817
  static \u0275fac = function VerificationRequestBodyStrategy_Factory(__ngFactoryType__) {
39562
39818
  return new (__ngFactoryType__ || _VerificationRequestBodyStrategy)();
39563
39819
  };
@@ -39677,7 +39933,7 @@ var DmButtonLibComponent = class _DmButtonLibComponent {
39677
39933
  \u0275\u0275advance(2);
39678
39934
  \u0275\u0275conditional(ctx.text ? 2 : -1);
39679
39935
  }
39680
- }, dependencies: [NgClass, NgStyle], styles: ['/* node_modules/modern-normalize/modern-normalize.css */\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\nhtml {\n font-family:\n system-ui,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji";\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n}\nbody {\n margin: 0;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp,\npre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n border-color: currentcolor;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nlegend {\n padding: 0;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\n\n/* libs/components/dm-button-lib/src/lib/dm-button-lib/dm-button-lib.component.scss */\n* {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput,\ntextarea,\n[contenteditable=true] {\n caret-color: auto !important;\n}\nbody {\n margin: 0;\n padding: 0;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n padding: 0;\n}\n.input:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: 14px;\n line-height: 18px;\n font-variant-numeric: lining-nums tabular-nums;\n font-weight: 400;\n cursor: pointer;\n position: relative;\n}\n.form-control-container .form-control-label {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n.form-control-container .form-control-field {\n font-size: 14px;\n color: #252a34;\n font-weight: 400;\n line-height: 18px;\n font-style: normal;\n font-variant-numeric: lining-nums tabular-nums;\n width: 100%;\n}\n.form-control-container .form-control-error-message {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container .form-control-hint-message {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.dm-button {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n background: transparent;\n border: none;\n cursor: pointer;\n font-weight: 600;\n}\n.dm-button.primary-filled {\n background: #0076dd;\n color: #ffffff;\n border: none;\n}\n.dm-button.primary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #0076dd;\n}\n.dm-button.primary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #0076dd;\n}\n.dm-button.primary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #0076dd;\n}\n.dm-button.primary-outlined {\n background: transparent;\n color: #0076dd;\n border: 1px solid #0076dd;\n}\n.dm-button.primary-outlined:hover:not(:disabled) {\n background: rgba(0, 118, 221, 0.08);\n}\n.dm-button.primary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-outlined:active:not(:disabled) {\n background: rgba(0, 118, 221, 0.22);\n}\n.dm-button.primary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.secondary-filled {\n background: #5d6983;\n color: #ffffff;\n position: relative;\n}\n.dm-button.secondary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #5d6983;\n}\n.dm-button.secondary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #5d6983;\n}\n.dm-button.secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n}\n.dm-button.secondary-outlined {\n background: transparent;\n color: #5d6983;\n border: 1px solid #5d6983;\n}\n.dm-button.secondary-outlined:hover:not(:disabled) {\n background: rgba(93, 105, 131, 0.08);\n}\n.dm-button.secondary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-outlined:active:not(:disabled) {\n background: rgba(93, 105, 131, 0.22);\n}\n.dm-button.secondary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.destructive-filled {\n background: #d6421e;\n color: #ffffff;\n border: none;\n}\n.dm-button.destructive-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #d6421e;\n}\n.dm-button.destructive-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #d6421e;\n}\n.dm-button.destructive-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #d6421e;\n}\n.dm-button.destructive-outlined {\n background: transparent;\n color: #d6421e;\n border: 1px solid #d6421e;\n}\n.dm-button.destructive-outlined:hover:not(:disabled) {\n background: rgba(214, 66, 30, 0.08);\n}\n.dm-button.destructive-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-outlined:active:not(:disabled) {\n background: rgba(214, 66, 30, 0.22);\n}\n.dm-button.destructive-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.small {\n display: flex;\n padding: 4px 8px;\n gap: 4px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 16px;\n}\n.dm-button.small svg {\n width: 16px;\n height: 16px;\n}\n.dm-button.medium {\n display: flex;\n height: 36px;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 18px;\n}\n.dm-button.large {\n display: flex;\n padding: 12px 16px;\n border-radius: 8px;\n font-size: 16px;\n line-height: 20px;\n}\n.dm-button.large svg {\n width: 24px;\n height: 24px;\n}\n.dm-button .dm-button-icon {\n display: flex;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon {\n height: 16px;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon svg {\n width: 16px;\n height: 16px;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon {\n height: 20px;\n display: flex;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon svg {\n width: 20px;\n height: 20px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon {\n height: 24px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon svg {\n width: 24px;\n height: 24px;\n}\n:host ::ng-deep .primary-outlined .dm-button-icon svg {\n fill: #0076dd;\n}\n:host ::ng-deep .secondary-outlined .dm-button-icon svg {\n fill: #5d6983;\n}\n:host ::ng-deep .primary-filled .dm-button-icon svg,\n:host ::ng-deep .secondary-filled .dm-button-icon svg {\n fill: #ffffff;\n}\n:host ::ng-deep .primary-filled:disabled,\n:host ::ng-deep .secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n color: rgba(255, 255, 255, 0.5);\n}\n:host ::ng-deep .primary-filled:disabled svg,\n:host ::ng-deep .secondary-filled:disabled svg {\n fill: rgba(255, 255, 255, 0.5);\n}\n/*! Bundled license information:\n\nmodern-normalize/modern-normalize.css:\n (*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize *)\n*/\n/*# sourceMappingURL=dm-button-lib.component.css.map */\n'], encapsulation: 3, changeDetection: 0 });
39936
+ }, dependencies: [NgClass, NgStyle], styles: ['/* node_modules/modern-normalize/modern-normalize.css */\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\nhtml {\n font-family:\n system-ui,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji";\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n}\nbody {\n margin: 0;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp,\npre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n border-color: currentcolor;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nlegend {\n padding: 0;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\n\n/* libs/components/dm-button-lib/src/lib/dm-button-lib/dm-button-lib.component.scss */\n* {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput,\ntextarea,\n[contenteditable=true] {\n caret-color: auto !important;\n}\nbody {\n margin: 0;\n padding: 0;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n padding: 0;\n}\n.input:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: 14px;\n line-height: 18px;\n font-variant-numeric: lining-nums tabular-nums;\n font-weight: 400;\n cursor: pointer;\n position: relative;\n}\n.form-control-container .form-control-label {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n.form-control-container .form-control-field,\n.form-control-container .p-autocomplete-input {\n font-size: 14px;\n color: #252a34;\n font-weight: 400;\n line-height: 18px;\n font-style: normal;\n font-variant-numeric: lining-nums tabular-nums;\n width: 100%;\n}\n.form-control-container .form-control-error-message {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container .form-control-hint-message {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.dm-button {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n background: transparent;\n border: none;\n cursor: pointer;\n font-weight: 600;\n}\n.dm-button.primary-filled {\n background: #0076dd;\n color: #ffffff;\n border: none;\n}\n.dm-button.primary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #0076dd;\n}\n.dm-button.primary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #0076dd;\n}\n.dm-button.primary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #0076dd;\n}\n.dm-button.primary-outlined {\n background: transparent;\n color: #0076dd;\n border: 1px solid #0076dd;\n}\n.dm-button.primary-outlined:hover:not(:disabled) {\n background: rgba(0, 118, 221, 0.08);\n}\n.dm-button.primary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-outlined:active:not(:disabled) {\n background: rgba(0, 118, 221, 0.22);\n}\n.dm-button.primary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.secondary-filled {\n background: #5d6983;\n color: #ffffff;\n position: relative;\n}\n.dm-button.secondary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #5d6983;\n}\n.dm-button.secondary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #5d6983;\n}\n.dm-button.secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n}\n.dm-button.secondary-outlined {\n background: transparent;\n color: #5d6983;\n border: 1px solid #5d6983;\n}\n.dm-button.secondary-outlined:hover:not(:disabled) {\n background: rgba(93, 105, 131, 0.08);\n}\n.dm-button.secondary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-outlined:active:not(:disabled) {\n background: rgba(93, 105, 131, 0.22);\n}\n.dm-button.secondary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.destructive-filled {\n background: #d6421e;\n color: #ffffff;\n border: none;\n}\n.dm-button.destructive-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #d6421e;\n}\n.dm-button.destructive-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #d6421e;\n}\n.dm-button.destructive-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #d6421e;\n}\n.dm-button.destructive-outlined {\n background: transparent;\n color: #d6421e;\n border: 1px solid #d6421e;\n}\n.dm-button.destructive-outlined:hover:not(:disabled) {\n background: rgba(214, 66, 30, 0.08);\n}\n.dm-button.destructive-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-outlined:active:not(:disabled) {\n background: rgba(214, 66, 30, 0.22);\n}\n.dm-button.destructive-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.small {\n display: flex;\n padding: 4px 8px;\n gap: 4px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 16px;\n}\n.dm-button.small svg {\n width: 16px;\n height: 16px;\n}\n.dm-button.medium {\n display: flex;\n height: 36px;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 18px;\n}\n.dm-button.large {\n display: flex;\n padding: 12px 16px;\n border-radius: 8px;\n font-size: 16px;\n line-height: 20px;\n}\n.dm-button.large svg {\n width: 24px;\n height: 24px;\n}\n.dm-button .dm-button-icon {\n display: flex;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon {\n height: 16px;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon svg {\n width: 16px;\n height: 16px;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon {\n height: 20px;\n display: flex;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon svg {\n width: 20px;\n height: 20px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon {\n height: 24px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon svg {\n width: 24px;\n height: 24px;\n}\n:host ::ng-deep .primary-outlined .dm-button-icon svg {\n fill: #0076dd;\n}\n:host ::ng-deep .secondary-outlined .dm-button-icon svg {\n fill: #5d6983;\n}\n:host ::ng-deep .primary-filled .dm-button-icon svg,\n:host ::ng-deep .secondary-filled .dm-button-icon svg {\n fill: #ffffff;\n}\n:host ::ng-deep .primary-filled:disabled,\n:host ::ng-deep .secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n color: rgba(255, 255, 255, 0.5);\n}\n:host ::ng-deep .primary-filled:disabled svg,\n:host ::ng-deep .secondary-filled:disabled svg {\n fill: rgba(255, 255, 255, 0.5);\n}\n/*! Bundled license information:\n\nmodern-normalize/modern-normalize.css:\n (*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize *)\n*/\n/*# sourceMappingURL=dm-button-lib.component.css.map */\n'], encapsulation: 3, changeDetection: 0 });
39681
39937
  };
39682
39938
  (() => {
39683
39939
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(DmButtonLibComponent, [{
@@ -39709,7 +39965,7 @@ var DmButtonLibComponent = class _DmButtonLibComponent {
39709
39965
  }
39710
39966
  <ng-content select="[icon-right]"></ng-content>
39711
39967
  </button>
39712
- `, standalone: true, imports: [NgClass, NgStyle], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.ShadowDom, styles: ['/* node_modules/modern-normalize/modern-normalize.css */\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\nhtml {\n font-family:\n system-ui,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji";\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n}\nbody {\n margin: 0;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp,\npre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n border-color: currentcolor;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nlegend {\n padding: 0;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\n\n/* libs/components/dm-button-lib/src/lib/dm-button-lib/dm-button-lib.component.scss */\n* {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput,\ntextarea,\n[contenteditable=true] {\n caret-color: auto !important;\n}\nbody {\n margin: 0;\n padding: 0;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n padding: 0;\n}\n.input:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: 14px;\n line-height: 18px;\n font-variant-numeric: lining-nums tabular-nums;\n font-weight: 400;\n cursor: pointer;\n position: relative;\n}\n.form-control-container .form-control-label {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n.form-control-container .form-control-field {\n font-size: 14px;\n color: #252a34;\n font-weight: 400;\n line-height: 18px;\n font-style: normal;\n font-variant-numeric: lining-nums tabular-nums;\n width: 100%;\n}\n.form-control-container .form-control-error-message {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container .form-control-hint-message {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.dm-button {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n background: transparent;\n border: none;\n cursor: pointer;\n font-weight: 600;\n}\n.dm-button.primary-filled {\n background: #0076dd;\n color: #ffffff;\n border: none;\n}\n.dm-button.primary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #0076dd;\n}\n.dm-button.primary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #0076dd;\n}\n.dm-button.primary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #0076dd;\n}\n.dm-button.primary-outlined {\n background: transparent;\n color: #0076dd;\n border: 1px solid #0076dd;\n}\n.dm-button.primary-outlined:hover:not(:disabled) {\n background: rgba(0, 118, 221, 0.08);\n}\n.dm-button.primary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-outlined:active:not(:disabled) {\n background: rgba(0, 118, 221, 0.22);\n}\n.dm-button.primary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.secondary-filled {\n background: #5d6983;\n color: #ffffff;\n position: relative;\n}\n.dm-button.secondary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #5d6983;\n}\n.dm-button.secondary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #5d6983;\n}\n.dm-button.secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n}\n.dm-button.secondary-outlined {\n background: transparent;\n color: #5d6983;\n border: 1px solid #5d6983;\n}\n.dm-button.secondary-outlined:hover:not(:disabled) {\n background: rgba(93, 105, 131, 0.08);\n}\n.dm-button.secondary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-outlined:active:not(:disabled) {\n background: rgba(93, 105, 131, 0.22);\n}\n.dm-button.secondary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.destructive-filled {\n background: #d6421e;\n color: #ffffff;\n border: none;\n}\n.dm-button.destructive-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #d6421e;\n}\n.dm-button.destructive-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #d6421e;\n}\n.dm-button.destructive-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #d6421e;\n}\n.dm-button.destructive-outlined {\n background: transparent;\n color: #d6421e;\n border: 1px solid #d6421e;\n}\n.dm-button.destructive-outlined:hover:not(:disabled) {\n background: rgba(214, 66, 30, 0.08);\n}\n.dm-button.destructive-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-outlined:active:not(:disabled) {\n background: rgba(214, 66, 30, 0.22);\n}\n.dm-button.destructive-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.small {\n display: flex;\n padding: 4px 8px;\n gap: 4px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 16px;\n}\n.dm-button.small svg {\n width: 16px;\n height: 16px;\n}\n.dm-button.medium {\n display: flex;\n height: 36px;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 18px;\n}\n.dm-button.large {\n display: flex;\n padding: 12px 16px;\n border-radius: 8px;\n font-size: 16px;\n line-height: 20px;\n}\n.dm-button.large svg {\n width: 24px;\n height: 24px;\n}\n.dm-button .dm-button-icon {\n display: flex;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon {\n height: 16px;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon svg {\n width: 16px;\n height: 16px;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon {\n height: 20px;\n display: flex;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon svg {\n width: 20px;\n height: 20px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon {\n height: 24px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon svg {\n width: 24px;\n height: 24px;\n}\n:host ::ng-deep .primary-outlined .dm-button-icon svg {\n fill: #0076dd;\n}\n:host ::ng-deep .secondary-outlined .dm-button-icon svg {\n fill: #5d6983;\n}\n:host ::ng-deep .primary-filled .dm-button-icon svg,\n:host ::ng-deep .secondary-filled .dm-button-icon svg {\n fill: #ffffff;\n}\n:host ::ng-deep .primary-filled:disabled,\n:host ::ng-deep .secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n color: rgba(255, 255, 255, 0.5);\n}\n:host ::ng-deep .primary-filled:disabled svg,\n:host ::ng-deep .secondary-filled:disabled svg {\n fill: rgba(255, 255, 255, 0.5);\n}\n/*! Bundled license information:\n\nmodern-normalize/modern-normalize.css:\n (*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize *)\n*/\n/*# sourceMappingURL=dm-button-lib.component.css.map */\n'] }]
39968
+ `, standalone: true, imports: [NgClass, NgStyle], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.ShadowDom, styles: ['/* node_modules/modern-normalize/modern-normalize.css */\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\nhtml {\n font-family:\n system-ui,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji";\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n}\nbody {\n margin: 0;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp,\npre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n border-color: currentcolor;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nlegend {\n padding: 0;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\n\n/* libs/components/dm-button-lib/src/lib/dm-button-lib/dm-button-lib.component.scss */\n* {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput,\ntextarea,\n[contenteditable=true] {\n caret-color: auto !important;\n}\nbody {\n margin: 0;\n padding: 0;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n padding: 0;\n}\n.input:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: 14px;\n line-height: 18px;\n font-variant-numeric: lining-nums tabular-nums;\n font-weight: 400;\n cursor: pointer;\n position: relative;\n}\n.form-control-container .form-control-label {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n.form-control-container .form-control-field,\n.form-control-container .p-autocomplete-input {\n font-size: 14px;\n color: #252a34;\n font-weight: 400;\n line-height: 18px;\n font-style: normal;\n font-variant-numeric: lining-nums tabular-nums;\n width: 100%;\n}\n.form-control-container .form-control-error-message {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container .form-control-hint-message {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.dm-button {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n background: transparent;\n border: none;\n cursor: pointer;\n font-weight: 600;\n}\n.dm-button.primary-filled {\n background: #0076dd;\n color: #ffffff;\n border: none;\n}\n.dm-button.primary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #0076dd;\n}\n.dm-button.primary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #0076dd;\n}\n.dm-button.primary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #0076dd;\n}\n.dm-button.primary-outlined {\n background: transparent;\n color: #0076dd;\n border: 1px solid #0076dd;\n}\n.dm-button.primary-outlined:hover:not(:disabled) {\n background: rgba(0, 118, 221, 0.08);\n}\n.dm-button.primary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 118, 221, 0.16);\n}\n.dm-button.primary-outlined:active:not(:disabled) {\n background: rgba(0, 118, 221, 0.22);\n}\n.dm-button.primary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.secondary-filled {\n background: #5d6983;\n color: #ffffff;\n position: relative;\n}\n.dm-button.secondary-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #5d6983;\n}\n.dm-button.secondary-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #5d6983;\n}\n.dm-button.secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n}\n.dm-button.secondary-outlined {\n background: transparent;\n color: #5d6983;\n border: 1px solid #5d6983;\n}\n.dm-button.secondary-outlined:hover:not(:disabled) {\n background: rgba(93, 105, 131, 0.08);\n}\n.dm-button.secondary-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.16);\n}\n.dm-button.secondary-outlined:active:not(:disabled) {\n background: rgba(93, 105, 131, 0.22);\n}\n.dm-button.secondary-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.destructive-filled {\n background: #d6421e;\n color: #ffffff;\n border: none;\n}\n.dm-button.destructive-filled:hover:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #d6421e;\n}\n.dm-button.destructive-filled:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-filled:active:not(:disabled) {\n background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), #d6421e;\n}\n.dm-button.destructive-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #d6421e;\n}\n.dm-button.destructive-outlined {\n background: transparent;\n color: #d6421e;\n border: 1px solid #d6421e;\n}\n.dm-button.destructive-outlined:hover:not(:disabled) {\n background: rgba(214, 66, 30, 0.08);\n}\n.dm-button.destructive-outlined:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 4px rgba(214, 66, 30, 0.16);\n}\n.dm-button.destructive-outlined:active:not(:disabled) {\n background: rgba(214, 66, 30, 0.22);\n}\n.dm-button.destructive-outlined:disabled {\n opacity: 50%;\n}\n.dm-button.small {\n display: flex;\n padding: 4px 8px;\n gap: 4px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 16px;\n}\n.dm-button.small svg {\n width: 16px;\n height: 16px;\n}\n.dm-button.medium {\n display: flex;\n height: 36px;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 18px;\n}\n.dm-button.large {\n display: flex;\n padding: 12px 16px;\n border-radius: 8px;\n font-size: 16px;\n line-height: 20px;\n}\n.dm-button.large svg {\n width: 24px;\n height: 24px;\n}\n.dm-button .dm-button-icon {\n display: flex;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon {\n height: 16px;\n}\n:host ::ng-deep .dm-button.small .dm-button-icon svg {\n width: 16px;\n height: 16px;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon {\n height: 20px;\n display: flex;\n}\n:host ::ng-deep .dm-button.medium .dm-button-icon svg {\n width: 20px;\n height: 20px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon {\n height: 24px;\n}\n:host ::ng-deep .dm-button.large .dm-button-icon svg {\n width: 24px;\n height: 24px;\n}\n:host ::ng-deep .primary-outlined .dm-button-icon svg {\n fill: #0076dd;\n}\n:host ::ng-deep .secondary-outlined .dm-button-icon svg {\n fill: #5d6983;\n}\n:host ::ng-deep .primary-filled .dm-button-icon svg,\n:host ::ng-deep .secondary-filled .dm-button-icon svg {\n fill: #ffffff;\n}\n:host ::ng-deep .primary-filled:disabled,\n:host ::ng-deep .secondary-filled:disabled {\n background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5d6983;\n color: rgba(255, 255, 255, 0.5);\n}\n:host ::ng-deep .primary-filled:disabled svg,\n:host ::ng-deep .secondary-filled:disabled svg {\n fill: rgba(255, 255, 255, 0.5);\n}\n/*! Bundled license information:\n\nmodern-normalize/modern-normalize.css:\n (*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize *)\n*/\n/*# sourceMappingURL=dm-button-lib.component.css.map */\n'] }]
39713
39969
  }], () => [{ type: ElementRef }, { type: ShadowDomStyleInjectorService }], { text: [{
39714
39970
  type: Input
39715
39971
  }], variant: [{