@ldmjs/ui 2.0.0 → 2.0.1-beta.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 (120) hide show
  1. package/README.md +6 -13
  2. package/{dist → build/dist}/components/ld-avatar.js +1 -1
  3. package/build/dist/components/ld-calendar.js +1 -0
  4. package/{dist → build/dist}/components/ld-checkbox.js +1 -1
  5. package/{dist → build/dist}/components/ld-chip.js +1 -1
  6. package/{dist → build/dist}/components/ld-combobox.js +1 -1
  7. package/build/dist/components/ld-data-iterator.js +1 -0
  8. package/build/dist/components/ld-datepicker.js +1 -0
  9. package/build/dist/components/ld-daterange.js +1 -0
  10. package/build/dist/components/ld-dialog.js +1 -0
  11. package/build/dist/components/ld-edit-list-box.js +1 -0
  12. package/{dist → build/dist}/components/ld-edit-masked-text.js +1 -1
  13. package/{dist → build/dist}/components/ld-edit-text.js +1 -1
  14. package/{dist → build/dist}/components/ld-radiobutton.js +1 -1
  15. package/{dist → build/dist}/components/ld-radiogroup.js +1 -1
  16. package/build/dist/components/ld-select-list-box.js +1 -0
  17. package/build/dist/components/ld-select.js +1 -0
  18. package/{dist → build/dist}/components/ld-slider.js +1 -1
  19. package/build/dist/components/ld-text-viewer.js +1 -0
  20. package/{dist → build/dist}/components/ld-textarea.js +1 -1
  21. package/{dist → build/dist}/components/ld-timepicker.js +1 -1
  22. package/{dist → build/dist}/components/ld-uploader.js +1 -1
  23. package/build/dist/i18n/en/en-En.json +66 -0
  24. package/{dist → build/dist}/index.d.ts +4 -1
  25. package/build/dist/index.js +1 -0
  26. package/{dist → build/dist}/scss/_calendar.scss +43 -10
  27. package/{dist → build/dist}/scss/_inputs.scss +37 -0
  28. package/build/dist/scss/_treeview.scss +34 -0
  29. package/{dist → build/dist}/scss/index.scss +1 -2
  30. package/build/dist/types/daterange.d.ts +42 -0
  31. package/build/dist/types/options.d.ts +178 -0
  32. package/{dist → build/dist}/types/validators.d.ts +1 -1
  33. package/package.json +6 -6
  34. package/dist/components/ld-calendar.js +0 -1
  35. package/dist/components/ld-data-iterator.js +0 -1
  36. package/dist/components/ld-datepicker.js +0 -1
  37. package/dist/components/ld-dialog.js +0 -1
  38. package/dist/components/ld-edit-list-box.js +0 -1
  39. package/dist/components/ld-select-list-box.js +0 -1
  40. package/dist/components/ld-select.js +0 -1
  41. package/dist/components/ld-text-viewer.js +0 -1
  42. package/dist/i18n/en/en-En.json +0 -18
  43. package/dist/index.js +0 -1
  44. package/dist/scss/_treeview.scss +0 -35
  45. package/dist/types/options.d.ts +0 -68
  46. /package/{dist → build/dist}/components/ld-badge.js +0 -0
  47. /package/{dist → build/dist}/components/ld-breadcrumbs.js +0 -0
  48. /package/{dist → build/dist}/components/ld-button.js +0 -0
  49. /package/{dist → build/dist}/components/ld-expansion-panel.js +0 -0
  50. /package/{dist → build/dist}/components/ld-expansion-panels.js +0 -0
  51. /package/{dist → build/dist}/components/ld-icon.js +0 -0
  52. /package/{dist → build/dist}/components/ld-loader.js +0 -0
  53. /package/{dist → build/dist}/components/ld-page-toolbar.js +0 -0
  54. /package/{dist → build/dist}/components/ld-pager.js +0 -0
  55. /package/{dist → build/dist}/components/ld-progress.js +0 -0
  56. /package/{dist → build/dist}/components/ld-splitter.js +0 -0
  57. /package/{dist → build/dist}/components/ld-step.js +0 -0
  58. /package/{dist → build/dist}/components/ld-switch.js +0 -0
  59. /package/{dist → build/dist}/components/ld-tab.js +0 -0
  60. /package/{dist → build/dist}/components/ld-tabs.js +0 -0
  61. /package/{dist → build/dist}/components/ld-text-markup.js +0 -0
  62. /package/{dist → build/dist}/components/ld-toggle-buttons.js +0 -0
  63. /package/{dist → build/dist}/fonts/Roboto-Medium.ttf +0 -0
  64. /package/{dist → build/dist}/fonts/Roboto-Medium.woff +0 -0
  65. /package/{dist → build/dist}/fonts/Roboto-Medium.woff2 +0 -0
  66. /package/{dist → build/dist}/fonts/Roboto-Regular.ttf +0 -0
  67. /package/{dist → build/dist}/fonts/Roboto-Regular.woff +0 -0
  68. /package/{dist → build/dist}/fonts/Roboto-Regular.woff2 +0 -0
  69. /package/{dist → build/dist}/fonts/Roboto-SemiBold.ttf +0 -0
  70. /package/{dist → build/dist}/fonts/Roboto-SemiBold.woff +0 -0
  71. /package/{dist → build/dist}/fonts/Roboto-SemiBold.woff2 +0 -0
  72. /package/{dist → build/dist}/i18n/ru/ru-Ru.json +0 -0
  73. /package/{dist → build/dist}/lib/imask.js +0 -0
  74. /package/{dist → build/dist}/lib/runtime-template.js +0 -0
  75. /package/{dist → build/dist}/lib/toastification.js +0 -0
  76. /package/{dist → build/dist}/scss/_animations.scss +0 -0
  77. /package/{dist → build/dist}/scss/_avatar.scss +0 -0
  78. /package/{dist → build/dist}/scss/_badge.scss +0 -0
  79. /package/{dist → build/dist}/scss/_breadcrumbs.scss +0 -0
  80. /package/{dist → build/dist}/scss/_buttons.scss +0 -0
  81. /package/{dist → build/dist}/scss/_checkbox.scss +0 -0
  82. /package/{dist → build/dist}/scss/_chip.scss +0 -0
  83. /package/{dist → build/dist}/scss/_colors.scss +0 -0
  84. /package/{dist → build/dist}/scss/_dialogs.scss +0 -0
  85. /package/{dist → build/dist}/scss/_editor.scss +0 -0
  86. /package/{dist → build/dist}/scss/_expansions.scss +0 -0
  87. /package/{dist → build/dist}/scss/_fonts.scss +0 -0
  88. /package/{dist → build/dist}/scss/_iterator.scss +0 -0
  89. /package/{dist → build/dist}/scss/_loader.scss +0 -0
  90. /package/{dist → build/dist}/scss/_pager.scss +0 -0
  91. /package/{dist → build/dist}/scss/_progress.scss +0 -0
  92. /package/{dist → build/dist}/scss/_radiobutton.scss +0 -0
  93. /package/{dist → build/dist}/scss/_radiogroup.scss +0 -0
  94. /package/{dist → build/dist}/scss/_scroll.scss +0 -0
  95. /package/{dist → build/dist}/scss/_shadows.scss +0 -0
  96. /package/{dist → build/dist}/scss/_slider.scss +0 -0
  97. /package/{dist → build/dist}/scss/_splitter.scss +0 -0
  98. /package/{dist → build/dist}/scss/_step.scss +0 -0
  99. /package/{dist → build/dist}/scss/_switch.scss +0 -0
  100. /package/{dist → build/dist}/scss/_tabs.scss +0 -0
  101. /package/{dist → build/dist}/scss/_textmarkup.scss +0 -0
  102. /package/{dist → build/dist}/scss/_textviewer.scss +0 -0
  103. /package/{dist → build/dist}/scss/_time.scss +0 -0
  104. /package/{dist → build/dist}/scss/_toasted.scss +0 -0
  105. /package/{dist → build/dist}/scss/_toggle.scss +0 -0
  106. /package/{dist → build/dist}/scss/_toolbar.scss +0 -0
  107. /package/{dist → build/dist}/scss/_tooltip.scss +0 -0
  108. /package/{dist → build/dist}/scss/_uploader.scss +0 -0
  109. /package/{dist → build/dist}/scss/_variables.scss +0 -0
  110. /package/{dist → build/dist}/scss/utils.scss +0 -0
  111. /package/{dist → build/dist}/types/breadcrumbs.d.ts +0 -0
  112. /package/{dist → build/dist}/types/calendar.d.ts +0 -0
  113. /package/{dist → build/dist}/types/combobox.d.ts +0 -0
  114. /package/{dist → build/dist}/types/dialogs.d.ts +0 -0
  115. /package/{dist → build/dist}/types/form.d.ts +0 -0
  116. /package/{dist → build/dist}/types/iterator.d.ts +0 -0
  117. /package/{dist → build/dist}/types/pager.d.ts +0 -0
  118. /package/{dist → build/dist}/types/toasted.d.ts +0 -0
  119. /package/{dist → build/dist}/types/validation.d.ts +0 -0
  120. /package/{dist → build/dist}/utils/validators.js +0 -0
@@ -1,5 +1,7 @@
1
1
  @use "utils";
2
2
 
3
+ $button-width: 36px;
4
+
3
5
  @mixin calendarbutton {
4
6
  $parent: utils.getParent(&);
5
7
 
@@ -8,7 +10,30 @@
8
10
  justify-content: center;
9
11
  height: var(--button-xs);
10
12
  border: 2px solid transparent;
11
- border-radius: var(--border-radius);
13
+
14
+ $start: utils.getSelector($parent, '--start');
15
+ $end: utils.getSelector($parent, '--end');
16
+ $in-range: utils.getSelector($parent, '--in-range');
17
+
18
+ &#{$start} {
19
+ @include selected();
20
+ border-top-left-radius: var(--border-radius);
21
+ border-bottom-left-radius: var(--border-radius);
22
+ }
23
+
24
+ &#{$end} {
25
+ @include selected();
26
+ border-top-right-radius: var(--border-radius);
27
+ border-bottom-right-radius: var(--border-radius);
28
+ }
29
+
30
+ &#{$in-range} {
31
+ background-color: var(--primary-l-5);
32
+
33
+ &:hover {
34
+ background-color: var(--primary-l-4) !important;
35
+ }
36
+ }
12
37
 
13
38
  span {
14
39
  font-family: var(--regular);
@@ -23,7 +48,8 @@
23
48
 
24
49
  $selected: utils.getSelector($parent, '--selected');
25
50
 
26
- &:not([disabled]):not(#{$selected}) {
51
+ &:not([disabled]):not(#{$selected}):not(#{$start}):not(#{$end}):not(#{$in-range}) {
52
+ border-radius: var(--border-radius);
27
53
  &:hover {
28
54
  background-color: var(--grey-l-6);
29
55
  }
@@ -69,7 +95,7 @@
69
95
  }
70
96
 
71
97
  &:hover {
72
- background-color: var(--primary-d-1);
98
+ background-color: var(--primary-d-1) !important;
73
99
  span {
74
100
  color: var(--white);
75
101
  }
@@ -108,11 +134,12 @@ body {
108
134
 
109
135
  .v-date-picker-month__days {
110
136
  column-gap: 0;
137
+ justify-content: start;
111
138
  }
112
139
 
113
140
  .v-date-picker-month__day {
114
- width: 36px;
115
- height: 32px;
141
+ width: $button-width;
142
+ height: var(--button-xs);
116
143
  margin-bottom: 8px;
117
144
 
118
145
  &.v-date-picker-month__weekday {
@@ -120,18 +147,24 @@ body {
120
147
  }
121
148
  }
122
149
 
150
+ &:not(.ld-calendar--range) {
151
+ .ld-calendar-day {
152
+ border-radius: var(--border-radius);
153
+
154
+ &--selected {
155
+ @include selected();
156
+ }
157
+ }
158
+ }
159
+
123
160
  .ld-calendar-day {
124
161
  @include calendarbutton();
125
162
 
126
- width: var(--button-xs);
163
+ width: $button-width;
127
164
 
128
165
  &--today {
129
166
  @include today();
130
167
  }
131
-
132
- &--selected {
133
- @include selected();
134
- }
135
168
  }
136
169
 
137
170
  .ld-calendar-month {
@@ -581,6 +581,27 @@ body {
581
581
  }
582
582
  }
583
583
 
584
+ .ld-daterange {
585
+ @extend %custom-edit;
586
+
587
+ @include inputsize();
588
+
589
+ @include vfield();
590
+
591
+ @include vfieldborder();
592
+
593
+ @include vfielddisabled();
594
+
595
+ @include inputdetails();
596
+
597
+ .ld-daterange-date-field {
598
+ position: relative;
599
+ display: flex;
600
+ align-items: center;
601
+ flex-basis: 100%;
602
+ }
603
+ }
604
+
584
605
  .ld-timepicker {
585
606
  @extend %custom-edit;
586
607
 
@@ -906,6 +927,22 @@ body {
906
927
  }
907
928
  }
908
929
 
930
+ .v-menu.ld-daterange-menu {
931
+ .v-card.ld-daterange-dropdown {
932
+ padding: 0 !important;
933
+ .v-card-text {
934
+ display: flex;
935
+ padding: 0 !important;
936
+ }
937
+ .v-card-actions {
938
+ display: flex;
939
+ justify-content: flex-end;
940
+ padding: 16px !important;
941
+ min-height: unset;
942
+ }
943
+ }
944
+ }
945
+
909
946
  .v-menu.ld-timepicker-menu {
910
947
  .ld-timepicker-dropdown {
911
948
  padding: 16px !important;
@@ -0,0 +1,34 @@
1
+ @use "@ldmjs/treeview/styles";
2
+
3
+ body {
4
+ .ld-tree-view {
5
+ .ld-tree-view__item {
6
+ font-family: var(--medium);
7
+ font-size: var(--text-body-s);
8
+ color: var(--text);
9
+ min-height: var(--input-s);
10
+
11
+ .ld-tree-view__opener {
12
+ color: var(--grey-d-3);
13
+ }
14
+ }
15
+ &--hovered {
16
+ & > ul {
17
+ & > li {
18
+ .ld-tree-view__item {
19
+ &:hover {
20
+ background-color: var(--primary-l-6);
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+
27
+ .ld-tree-view--selected {
28
+ & > .ld-tree-view__item {
29
+ color: var(--primary-d-1);
30
+ background-color: var(--primary-l-5);
31
+ }
32
+ }
33
+ }
34
+ }
@@ -31,12 +31,11 @@
31
31
  @use "step";
32
32
  @use "slider";
33
33
  @use "editor";
34
- @use "treeview";
35
34
  @use "textviewer";
35
+ @use "treeview";
36
36
  @use "textmarkup";
37
37
  @use "expansions";
38
38
 
39
-
40
39
  @use "@ldmjs/datatable/styles";
41
40
 
42
41
  @use 'vuetify' with (
@@ -0,0 +1,42 @@
1
+ export type DateRange = [string | Date, string | Date];
2
+
3
+ export interface TimepickerProps {
4
+ placeholder: string;
5
+ is24hr: boolean;
6
+ }
7
+
8
+ export interface DatepickerProps {
9
+ minDate: Date;
10
+ maxDate: Date;
11
+ disabledDates: Array<Date>;
12
+ }
13
+
14
+ export interface IMaskOptions {
15
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
+ mask: any;
17
+ pattern: string;
18
+ lazy: boolean;
19
+ format: (date: Date) => string;
20
+ parse: (str: string) => Date | Array<Date>;
21
+ blocks: {
22
+ d: {
23
+ mask: typeof IMask.MaskedRange;
24
+ from: number;
25
+ to: number;
26
+ maxLength: number;
27
+ };
28
+ m: {
29
+ mask: typeof IMask.MaskedRange;
30
+ from: number;
31
+ to: number;
32
+ maxLength: number;
33
+ };
34
+ Y: {
35
+ mask: typeof IMask.MaskedRange;
36
+ from: number;
37
+ to: number;
38
+ };
39
+ };
40
+ min: unknown;
41
+ max: unknown;
42
+ }
@@ -0,0 +1,178 @@
1
+ /* eslint-disable-next-line @typescript-eslint/naming-convention */
2
+ export interface ldmuiExtension {
3
+ name: string;
4
+ alias: string;
5
+ props?: {
6
+ [key: string]: unknown;
7
+ };
8
+ }
9
+
10
+ /* eslint-disable-next-line @typescript-eslint/naming-convention */
11
+ export interface ldmuiAliases {
12
+ 'ld-button'?: string;
13
+ 'ld-icon'?: string;
14
+ 'ld-chip'?: string;
15
+ 'ld-badge'?: string;
16
+ 'ld-avatar'?: string;
17
+ 'ld-splitter'?: string;
18
+ 'ld-loader'?: string;
19
+ 'ld-progress'?: string;
20
+ 'ld-toggle-buttons'?: string;
21
+ 'ld-breadcrumbs'?: string;
22
+ 'ld-edit-text'?: string;
23
+ 'ld-datepicker'?: string;
24
+ 'ld-daterange'?: string;
25
+ 'ld-calendar'?: string;
26
+ 'ld-tab'?: string;
27
+ 'ld-tabs'?: string;
28
+ 'ld-page-toolbar'?: string;
29
+ 'ld-select-list-box'?: string;
30
+ 'ld-checkbox'?: string;
31
+ 'ld-radiobutton'?: string;
32
+ 'ld-radiogroup'?: string;
33
+ 'ld-textarea'?: string;
34
+ 'ld-select'?: string;
35
+ 'ld-combobox'?: string;
36
+ 'ld-timepicker'?: string;
37
+ 'ld-text-viewer'?: string;
38
+ 'ld-edit-masked-text'?: string;
39
+ 'ld-text-markup'?: string;
40
+ 'ld-switch'?: string;
41
+ 'ld-dialog'?: string;
42
+ 'ld-data-iterator'?: string;
43
+ 'ld-pager'?: string;
44
+ 'ld-edit-list-box'?: string;
45
+ 'ld-uploader'?: string;
46
+ 'ld-step'?: string;
47
+ 'ld-slider'?: string;
48
+ 'ld-datatable'?: string;
49
+ 'ld-expansion-panels'?: string;
50
+ 'ld-expansion-panel'?: string;
51
+ }
52
+
53
+ /* eslint-disable-next-line @typescript-eslint/naming-convention */
54
+ export interface ldmuiOptions {
55
+ prefix?: string;
56
+ aliases?: ldmuiAliases;
57
+ extensions?: Array<ldmuiExtension>;
58
+ language?: string;
59
+ viewport?: {
60
+ isMobile: string;
61
+ isTablet: string;
62
+ isDesktop: string;
63
+ };
64
+ LdAvatar?: {
65
+ [key: string]: unknown;
66
+ };
67
+ LdBadge?: {
68
+ [key: string]: unknown;
69
+ };
70
+ LdBreadcrumbs?: {
71
+ [key: string]: unknown;
72
+ };
73
+ LdButton?: {
74
+ [key: string]: unknown;
75
+ };
76
+ LdCalendar?: {
77
+ [key: string]: unknown;
78
+ };
79
+ LdCheckbox?: {
80
+ [key: string]: unknown;
81
+ };
82
+ LdChip?: {
83
+ [key: string]: unknown;
84
+ };
85
+ LdCombobox?: {
86
+ [key: string]: unknown;
87
+ };
88
+ LdDataIterator?: {
89
+ [key: string]: unknown;
90
+ };
91
+ LdDatatable?: {
92
+ [key: string]: unknown;
93
+ };
94
+ LdDatepicker?: {
95
+ [key: string]: unknown;
96
+ };
97
+ LdDialog?: {
98
+ [key: string]: unknown;
99
+ };
100
+ LdEditListBox?: {
101
+ [key: string]: unknown;
102
+ };
103
+ LdEditMaskedText?: {
104
+ [key: string]: unknown;
105
+ };
106
+ LdEditText?: {
107
+ [key: string]: unknown;
108
+ };
109
+ LdExpansionPanel?: {
110
+ [key: string]: unknown;
111
+ };
112
+ LdExpansionPanels?: {
113
+ [key: string]: unknown;
114
+ };
115
+ LdIcon?: {
116
+ [key: string]: unknown;
117
+ };
118
+ LdLoader?: {
119
+ [key: string]: unknown;
120
+ };
121
+ LdPageToolbar?: {
122
+ [key: string]: unknown;
123
+ };
124
+ LdPager?: {
125
+ [key: string]: unknown;
126
+ };
127
+ LdProgress?: {
128
+ [key: string]: unknown;
129
+ };
130
+ LdRadioButton?: {
131
+ [key: string]: unknown;
132
+ };
133
+ LdRadioGroup?: {
134
+ [key: string]: unknown;
135
+ };
136
+ LdSelect?: {
137
+ [key: string]: unknown;
138
+ };
139
+ LdSelectListBox?: {
140
+ [key: string]: unknown;
141
+ };
142
+ LdSlider?: {
143
+ [key: string]: unknown;
144
+ };
145
+ LdSplitter?: {
146
+ [key: string]: unknown;
147
+ };
148
+ LdStep?: {
149
+ [key: string]: unknown;
150
+ };
151
+ LdSwitch?: {
152
+ [key: string]: unknown;
153
+ };
154
+ LdTab?: {
155
+ [key: string]: unknown;
156
+ };
157
+ LdTabs?: {
158
+ [key: string]: unknown;
159
+ };
160
+ LdTextMarkup?: {
161
+ [key: string]: unknown;
162
+ };
163
+ LdTextViewer?: {
164
+ [key: string]: unknown;
165
+ };
166
+ LdTextarea?: {
167
+ [key: string]: unknown;
168
+ };
169
+ LdTimepicker?: {
170
+ [key: string]: unknown;
171
+ };
172
+ LdToggleButtons?: {
173
+ [key: string]: unknown;
174
+ };
175
+ LdUploader?: {
176
+ [key: string]: unknown;
177
+ };
178
+ }
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable no-nested-ternary */
2
- import { ValidateFunction } from './validation';
3
2
  import {
4
3
  alpha,
5
4
  alphaNum,
@@ -16,6 +15,7 @@ import {
16
15
  required,
17
16
  url,
18
17
  } from '@vuelidate/validators';
18
+ import { ValidateFunction } from './validation';
19
19
 
20
20
  /** requiredRule(name?: string) - Обязательность заполнения поля */
21
21
  export const requiredRule: (name?: string) => ValidateFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldmjs/ui",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-beta.0",
4
4
  "description": "ldm ui",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -12,7 +12,7 @@
12
12
  "build": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.js",
13
13
  "build:demo": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.demo.js",
14
14
  "build:all": "npm run build && npm run build:demo && npm run build:box",
15
- "demo": "cross-env NODE_ENV=production webpack serve --config config/webpack.config.demo.js --progress --profile",
15
+ "demo": "cross-env NODE_ENV=production webpack serve --config build/webpack.config.js --progress --profile",
16
16
  "build:box:stage1": "cross-env NODE_ENV=production webpack --config config/webpack.config.box.js --progress --profile",
17
17
  "build:box:stage2": "node config/index.js",
18
18
  "build:box": "npm run build:box:stage1 && npm run build:box:stage2",
@@ -34,7 +34,7 @@
34
34
  "license": "MIT",
35
35
  "homepage": "",
36
36
  "files": [
37
- "dist/"
37
+ "build/dist/"
38
38
  ],
39
39
  "devDependencies": {
40
40
  "@babel/core": "7.28.4",
@@ -48,7 +48,6 @@
48
48
  "@babel/preset-env": "7.28.3",
49
49
  "@babel/preset-typescript": "7.27.1",
50
50
  "@ldmjs/editor": "2.0.0",
51
- "@ldmjs/treeview": "2.0.0",
52
51
  "@popperjs/core": "2.11.8",
53
52
  "@types/babel__core": "7.20.5",
54
53
  "@types/babel__plugin-transform-runtime": "7.9.5",
@@ -109,7 +108,7 @@
109
108
  "vue-loader": "17.4.2",
110
109
  "vue-property-decorator": "10.0.0-rc.3",
111
110
  "vue-screen-utils": "1.0.0-beta.13",
112
- "vuetify": "3.12.2",
111
+ "vuetify": "3.12.3",
113
112
  "webpack": "5.105.2",
114
113
  "webpack-cli": "6.0.1",
115
114
  "webpack-dev-server": "5.2.2",
@@ -117,7 +116,8 @@
117
116
  },
118
117
  "dependencies": {
119
118
  "@ldmjs/core": "2.0.1",
120
- "@ldmjs/datatable": "2.0.0-beta.3"
119
+ "@ldmjs/datatable": "2.0.0",
120
+ "@ldmjs/treeview": "2.0.3"
121
121
  },
122
122
  "volta": {
123
123
  "node": "22.15.0",
@@ -1 +0,0 @@
1
- (function webpackUniversalModuleDefinition(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue"),require("vue-class-component"),require("vue-property-decorator")):"function"===typeof define&&define.amd?define(["vue","vue-class-component","vue-property-decorator"],t):"object"===typeof exports?exports["ldmui"]=t(require("vue"),require("vue-class-component"),require("vue-property-decorator")):e["ldmui"]=t(e["vue"],e["vue-class-component"],e["vue-property-decorator"])})(self,(e,t,o)=>(()=>{"use strict";var n={6262(e,t){t.A=(e,t)=>{const o=e.__vccOpts||e;for(const[e,n]of t)o[e]=n;return o}},2380(t){t.exports=e},9299(e){e.exports=t},5070(e){e.exports=o}},i={};function __webpack_require__(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return n[e](o,o.exports,__webpack_require__),o.exports}(()=>{__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};__webpack_require__.r(r),__webpack_require__.d(r,{default:()=>ee});var l=__webpack_require__(2380);const a=["disabled","onClick"],d=["disabled","onClick"],c={key:1,class:"w-100 d-flex justify-center"},s={disabled:!0},p={key:2,class:"w-100 d-flex justify-space-between"},u={disabled:!0},h=["disabled","onClick"],m={style:{display:"none"}},y=["onClick"],f={style:{display:"none"}},C=["onClick"],g={style:{display:"none"}};function render(e,t,o,n,i,r){const w=(0,l.resolveComponent)("v-spacer"),v=(0,l.resolveComponent)("svg-icon"),V=(0,l.resolveComponent)("v-date-picker");return(0,l.openBlock)(),(0,l.createBlock)(V,{class:"ld-calendar",ref:"vInput",modelValue:e.internalValue,"onUpdate:modelValue":t[2]||(t[2]=t=>e.internalValue=t),month:e.currentMonth,"onUpdate:month":[t[3]||(t[3]=t=>e.currentMonth=t),e.onUpdateMonth],year:e.currentYear,"onUpdate:year":t[4]||(t[4]=t=>e.currentYear=t),"hide-header":"","hide-title":"","weekday-format":"short",disabled:e.disabled||e.readonly,"first-day-of-week":e.firstDayOfWeek,min:e.minDate,max:e.maxDate,"view-mode":e.internalViewMode,"show-adjacent-months":!0,"allowed-dates":e.getAllowedDates,"onUpdate:viewMode":e.onUpdateViewMode},{controls:(0,l.withCtx)(({monthText:o,yearText:n,prevMonth:i,nextMonth:r,openMonths:h,openYears:m})=>[e.isMonth?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createElementVNode)("button",{disabled:e.disabled||e.readonly,onClick:h},(0,l.toDisplayString)(e.$ldmuii18n.gettext(o)),9,a),t[7]||(t[7]=(0,l.createTextVNode)()),(0,l.createElementVNode)("button",{disabled:e.disabled||e.readonly,class:"ml-1",onClick:m},(0,l.toDisplayString)(n),9,d),t[8]||(t[8]=(0,l.createTextVNode)()),(0,l.createVNode)(w),t[9]||(t[9]=(0,l.createTextVNode)()),((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(e.$ldmui.options.aliases["ld-button"]),{icon:"",text:"",disabled:e.disabled||e.readonly,onClick:i},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(v,null,{default:(0,l.withCtx)(()=>[...t[5]||(t[5]=[(0,l.createTextVNode)("arrow left",-1)])]),_:1})]),_:1},8,["disabled","onClick"])),t[10]||(t[10]=(0,l.createTextVNode)()),((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(e.$ldmui.options.aliases["ld-button"]),{icon:"",text:"",disabled:e.disabled||e.readonly,class:"ml-4",onClick:r},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(v,null,{default:(0,l.withCtx)(()=>[...t[6]||(t[6]=[(0,l.createTextVNode)("arrow right",-1)])]),_:1})]),_:1},8,["disabled","onClick"]))],64)):(0,l.createCommentVNode)("",!0),t[15]||(t[15]=(0,l.createTextVNode)()),e.isMonths?((0,l.openBlock)(),(0,l.createElementBlock)("div",c,[(0,l.createElementVNode)("button",s,(0,l.toDisplayString)(e.$ldmuii18n.gettext(o)),1)])):(0,l.createCommentVNode)("",!0),t[16]||(t[16]=(0,l.createTextVNode)()),e.isYear?((0,l.openBlock)(),(0,l.createElementBlock)("div",p,[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(e.$ldmui.options.aliases["ld-button"]),{icon:"",text:"",disabled:e.disabled||e.readonly,onClick:t[0]||(t[0]=t=>e.displayedCurrentYear-=10)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(v,null,{default:(0,l.withCtx)(()=>[...t[11]||(t[11]=[(0,l.createTextVNode)("arrow left",-1)])]),_:1})]),_:1},8,["disabled"])),t[13]||(t[13]=(0,l.createTextVNode)()),(0,l.createElementVNode)("button",u,(0,l.toDisplayString)(n),1),t[14]||(t[14]=(0,l.createTextVNode)()),((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(e.$ldmui.options.aliases["ld-button"]),{icon:"",text:"",disabled:e.disabled||e.readonly,class:"ml-4",onClick:t[1]||(t[1]=t=>e.displayedCurrentYear+=10)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(v,null,{default:(0,l.withCtx)(()=>[...t[12]||(t[12]=[(0,l.createTextVNode)("arrow right",-1)])]),_:1})]),_:1},8,["disabled"]))])):(0,l.createCommentVNode)("",!0)]),day:(0,l.withCtx)(({item:e,props:o})=>[(0,l.createElementVNode)("button",{class:(0,l.normalizeClass)(["ld-calendar-day",{"ld-calendar-day--today":e.isToday,"ld-calendar-day--selected":e.isSelected}]),disabled:e.isDisabled,onClick:o.onClick},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.localized),1)],10,h),t[17]||(t[17]=(0,l.createTextVNode)()),(0,l.createElementVNode)("div",m,(0,l.toDisplayString)(e),1)]),month:(0,l.withCtx)(({month:o,props:n,i})=>[(0,l.createElementVNode)("button",{class:(0,l.normalizeClass)(["ld-calendar-month",{"ld-calendar-month--today":i===e.now.getMonth(),"ld-calendar-month--selected":i===e.currentMonth}]),onClick:n.onClick},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$ldmuii18n.gettext(o.text)),1)],10,y),t[18]||(t[18]=(0,l.createTextVNode)()),(0,l.createElementVNode)("div",f,(0,l.toDisplayString)(o),1)]),year:(0,l.withCtx)(({year:o,props:n})=>[e.displayYear(o.value)?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createElementVNode)("button",{class:(0,l.normalizeClass)(["ld-calendar-year",{"ld-calendar-year--today":o.value===e.now.getFullYear(),"ld-calendar-year--selected":o.value===e.currentYear}]),onClick:n.onClick},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(o.text),1)],10,C),t[19]||(t[19]=(0,l.createTextVNode)()),(0,l.createElementVNode)("div",g,(0,l.toDisplayString)(o),1)],64)):(0,l.createCommentVNode)("",!0)]),_:1},8,["modelValue","month","year","disabled","first-day-of-week","min","max","view-mode","allowed-dates","onUpdate:month","onUpdate:viewMode"])}var w=__webpack_require__(5070);const v={key:0,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V={key:1,xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 20 22",fill:"none"},x={key:2,xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 22 22",fill:"none"},k={key:3,xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none"},b={key:4,xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none"},M={key:5,xmlns:"http://www.w3.org/2000/svg",width:"10",height:"7",viewBox:"0 0 10 7",fill:"none"},_={key:6,xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none"},B={key:7,xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},N={key:8,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L={key:9,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D={key:10,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"17",viewBox:"0 0 14 17",fill:"none"},E={key:11,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T={key:12,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H={key:13,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j={key:14,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S={key:15,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function iconvue_type_template_id_160b9cfc_ts_true_render(e,t,o,n,i,r){return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,["clear"===e.icon||"close"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",v,[...t[0]||(t[0]=[(0,l.createElementVNode)("path",{d:"M15.8334 5.34163L14.6584 4.16663L10.0001 8.82496L5.34175 4.16663L4.16675 5.34163L8.82508 9.99996L4.16675 14.6583L5.34175 15.8333L10.0001 11.175L14.6584 15.8333L15.8334 14.6583L11.1751 9.99996L15.8334 5.34163Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[16]||(t[16]=(0,l.createTextVNode)()),"event"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",V,[...t[1]||(t[1]=[(0,l.createElementVNode)("path",{d:"M14 1V5M6 1V5M1 9H19M3 3H17C18.1046 3 19 3.89543 19 5V19C19 20.1046 18.1046 21 17 21H3C1.89543 21 1 20.1046 1 19V5C1 3.89543 1.89543 3 3 3Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[17]||(t[17]=(0,l.createTextVNode)()),"clock"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",x,[...t[2]||(t[2]=[(0,l.createElementVNode)("path",{d:"M11 5V11L15 13M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[18]||(t[18]=(0,l.createTextVNode)()),"arrow right"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",k,[...t[3]||(t[3]=[(0,l.createElementVNode)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.4 0L0 1.4L4.6 6L0 10.6L1.4 12L7.4 6L1.4 0Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[19]||(t[19]=(0,l.createTextVNode)()),"arrow left"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",b,[...t[4]||(t[4]=[(0,l.createElementVNode)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.4 1.4L6 0L0 6L6 12L7.4 10.6L2.8 6L7.4 1.4Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[20]||(t[20]=(0,l.createTextVNode)()),"arrow down"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",M,[...t[5]||(t[5]=[(0,l.createElementVNode)("path",{d:"M1.175 -6.35783e-08L5 3.825L8.825 -6.35783e-08L10 1.18333L5 6.18333L0 1.18333L1.175 -6.35783e-08Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[21]||(t[21]=(0,l.createTextVNode)()),"arrow up"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",_,[...t[6]||(t[6]=[(0,l.createElementVNode)("path",{d:"M1.41 7.41L6 2.83L10.59 7.41L12 6L6 0L0 6L1.41 7.41Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[22]||(t[22]=(0,l.createTextVNode)()),"add"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",B,[...t[7]||(t[7]=[(0,l.createElementVNode)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 0C5.44772 0 5 0.447715 5 1V5H1C0.447715 5 0 5.44772 0 6C0 6.55228 0.447715 7 1 7H5V11C5 11.5523 5.44772 12 6 12C6.55228 12 7 11.5523 7 11V7H11C11.5523 7 12 6.55228 12 6C12 5.44771 11.5523 5 11 5H7V1C7 0.447715 6.55228 0 6 0Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[23]||(t[23]=(0,l.createTextVNode)()),"visibility"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",N,[...t[8]||(t[8]=[(0,l.createElementVNode)("path",{d:"M9.99998 7.08325C9.33694 7.08325 8.70105 7.34664 8.23221 7.81548C7.76337 8.28433 7.49998 8.92021 7.49998 9.58325C7.49998 10.2463 7.76337 10.8822 8.23221 11.351C8.70105 11.8199 9.33694 12.0833 9.99998 12.0833C10.663 12.0833 11.2989 11.8199 11.7677 11.351C12.2366 10.8822 12.5 10.2463 12.5 9.58325C12.5 8.92021 12.2366 8.28433 11.7677 7.81548C11.2989 7.34664 10.663 7.08325 9.99998 7.08325ZM9.99998 13.7499C8.89491 13.7499 7.8351 13.3109 7.0537 12.5295C6.2723 11.7481 5.83331 10.6883 5.83331 9.58325C5.83331 8.47818 6.2723 7.41838 7.0537 6.63697C7.8351 5.85557 8.89491 5.41659 9.99998 5.41659C11.105 5.41659 12.1649 5.85557 12.9463 6.63697C13.7277 7.41838 14.1666 8.47818 14.1666 9.58325C14.1666 10.6883 13.7277 11.7481 12.9463 12.5295C12.1649 13.3109 11.105 13.7499 9.99998 13.7499V13.7499ZM9.99998 3.33325C5.83331 3.33325 2.27498 5.92492 0.833313 9.58325C2.27498 13.2416 5.83331 15.8333 9.99998 15.8333C14.1666 15.8333 17.725 13.2416 19.1666 9.58325C17.725 5.92492 14.1666 3.33325 9.99998 3.33325Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[24]||(t[24]=(0,l.createTextVNode)()),"visibility_off"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",L,[...t[9]||(t[9]=[(0,l.createElementVNode)("path",{d:"M9.85831 6.66675L12.5 9.30008C12.5 9.25841 12.5 9.20841 12.5 9.16675C12.5 8.50371 12.2366 7.86782 11.7677 7.39898C11.2989 6.93014 10.663 6.66675 9.99998 6.66675C9.94998 6.66675 9.90831 6.66675 9.85831 6.66675ZM6.27498 7.33341L7.56665 8.62508C7.52498 8.80008 7.49998 8.97508 7.49998 9.16675C7.49998 9.82979 7.76337 10.4657 8.23221 10.9345C8.70105 11.4034 9.33694 11.6667 9.99998 11.6667C10.1833 11.6667 10.3666 11.6417 10.5416 11.6001L11.8333 12.8917C11.275 13.1667 10.6583 13.3334 9.99998 13.3334C8.89491 13.3334 7.8351 12.8944 7.0537 12.113C6.2723 11.3316 5.83331 10.2718 5.83331 9.16675C5.83331 8.50841 5.99998 7.89175 6.27498 7.33341ZM1.66665 2.72508L3.56665 4.62508L3.94165 5.00008C2.56665 6.08341 1.48331 7.50008 0.833313 9.16675C2.27498 12.8251 5.83331 15.4167 9.99998 15.4167C11.2916 15.4167 12.525 15.1667 13.65 14.7167L14.0083 15.0667L16.4416 17.5001L17.5 16.4417L2.72498 1.66675L1.66665 2.72508ZM9.99998 5.00008C11.105 5.00008 12.1649 5.43907 12.9463 6.22047C13.7277 7.00187 14.1666 8.06168 14.1666 9.16675C14.1666 9.70008 14.0583 10.2167 13.8666 10.6834L16.3083 13.1251C17.5583 12.0834 18.5583 10.7167 19.1666 9.16675C17.725 5.50841 14.1666 2.91675 9.99998 2.91675C8.83331 2.91675 7.71665 3.12508 6.66665 3.50008L8.47498 5.29175C8.94998 5.10841 9.45831 5.00008 9.99998 5.00008Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[25]||(t[25]=(0,l.createTextVNode)()),"file"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",D,[...t[10]||(t[10]=[(0,l.createElementVNode)("path",{d:"M7.5 5.83333H12.0833L7.5 1.25V5.83333ZM1.66667 0H8.33333L13.3333 5V15C13.3333 15.442 13.1577 15.8659 12.8452 16.1785C12.5326 16.4911 12.1087 16.6667 11.6667 16.6667H1.66667C0.741667 16.6667 0 15.9167 0 15V1.66667C0 0.741667 0.741667 0 1.66667 0ZM5.83333 1.66667H1.66667V15H5.83333H11.6667V7.5H5.83333V1.66667Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[26]||(t[26]=(0,l.createTextVNode)()),"to left"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",E,[...t[11]||(t[11]=[(0,l.createElementVNode)("path",{d:"M16.6668 9.16659H6.52516L11.1835 4.50825L10.0002 3.33325L3.3335 9.99992L10.0002 16.6666L11.1752 15.4916L6.52516 10.8333H16.6668V9.16659Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[27]||(t[27]=(0,l.createTextVNode)()),"collapse"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",T,[...t[12]||(t[12]=[(0,l.createElementVNode)("path",{d:"M16.175 2.5L12.425 6.25V3.25833H10.7583V9.09167H16.5917V7.425H13.6L17.35 3.675L16.175 2.5ZM3.25833 10.7583V12.425H6.25L2.5 16.175L3.675 17.35L7.425 13.6V16.5917H9.09167V10.7583H3.25833Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[28]||(t[28]=(0,l.createTextVNode)()),"expand"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",H,[...t[13]||(t[13]=[(0,l.createElementVNode)("path",{d:"M8.33333 17.5V15.8333H5.34167L9.09167 12.0833L7.91667 10.9083L4.16667 14.6583V11.6667H2.5V17.5H8.33333ZM12.0833 9.09167L15.8333 5.34167V8.33333H17.5V2.5H11.6667V4.16667H14.6583L10.9083 7.91667L12.0833 9.09167Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[29]||(t[29]=(0,l.createTextVNode)()),"help"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",j,[...t[14]||(t[14]=[(0,l.createElementVNode)("path",{d:"M9.1665 15.0001H10.8332V13.3334H9.1665V15.0001ZM9.99984 1.66675C8.90549 1.66675 7.82185 1.8823 6.81081 2.30109C5.79976 2.71987 4.8811 3.3337 4.10728 4.10752C2.54448 5.67033 1.6665 7.78994 1.6665 10.0001C1.6665 12.2102 2.54448 14.3298 4.10728 15.8926C4.8811 16.6665 5.79976 17.2803 6.81081 17.6991C7.82185 18.1179 8.90549 18.3334 9.99984 18.3334C12.21 18.3334 14.3296 17.4554 15.8924 15.8926C17.4552 14.3298 18.3332 12.2102 18.3332 10.0001C18.3332 8.90573 18.1176 7.8221 17.6988 6.81105C17.28 5.80001 16.6662 4.88135 15.8924 4.10752C15.1186 3.3337 14.1999 2.71987 13.1889 2.30109C12.1778 1.8823 11.0942 1.66675 9.99984 1.66675V1.66675ZM9.99984 16.6667C6.32484 16.6667 3.33317 13.6751 3.33317 10.0001C3.33317 6.32508 6.32484 3.33341 9.99984 3.33341C13.6748 3.33341 16.6665 6.32508 16.6665 10.0001C16.6665 13.6751 13.6748 16.6667 9.99984 16.6667ZM9.99984 5.00008C9.11578 5.00008 8.26794 5.35127 7.64281 5.97639C7.01769 6.60151 6.6665 7.44936 6.6665 8.33341H8.33317C8.33317 7.89139 8.50877 7.46746 8.82133 7.1549C9.13389 6.84234 9.55781 6.66675 9.99984 6.66675C10.4419 6.66675 10.8658 6.84234 11.1783 7.1549C11.4909 7.46746 11.6665 7.89139 11.6665 8.33341C11.6665 10.0001 9.1665 9.79175 9.1665 12.5001H10.8332C10.8332 10.6251 13.3332 10.4167 13.3332 8.33341C13.3332 7.44936 12.982 6.60151 12.3569 5.97639C11.7317 5.35127 10.8839 5.00008 9.99984 5.00008Z",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0),t[30]||(t[30]=(0,l.createTextVNode)()),"minimize"===e.icon?((0,l.openBlock)(),(0,l.createElementBlock)("svg",S,[...t[15]||(t[15]=[(0,l.createElementVNode)("path",{d:"M16.6666 11.6666H3.33325V8.33325H16.6666",fill:"currentColor"},null,-1)])])):(0,l.createCommentVNode)("",!0)],64)}var I=__webpack_require__(9299);class IconComponent extends I.Vue{icon=null;created(){const e=this.$slots.default();if(Array.isArray(e)){const t=e[0];if(!t)return;t.type===Symbol.for("v-txt")&&(this.icon=t.children)}}}var $=__webpack_require__(6262);const q=(0,$.A)(IconComponent,[["render",iconvue_type_template_id_160b9cfc_ts_true_render]]),P=q;function makeDecoratorEmit(e){function helper(t,o){return(0,I.createDecorator)((t,o)=>{const n=e.toLowerCase();t.emits||(t.emits=[]),t.emits.push(n);const i=t.methods[o];t.methods[o]=function emitter(...e){const emit=t=>{void 0===t?0===e.length?this.$emit(n):1===e.length?this.$emit(n,e[0]):this.$emit(n,...e):(e.unshift(t),this.$emit(n,...e))},t=i.apply(this,e);emit(t)}})(t,o)}return helper}const O=makeDecoratorEmit;var Z,__decorate=function(e,t,o,n){var i,r=arguments.length,l=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)l=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(r<3?i(l):r>3?i(t,o,l):i(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},__metadata=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};class InputMixin extends w.Vue{disabled;required;readonly;label;labelHint;inputHint;persistentHint;alignLabelToRight;tabindex;autofocus;hideDetails;placeholder;prependInnerIcon;autocomplete;form;onRequiredChanged(){!this.required&&this.validate&&this.validate()}created(){this.form&&this.form.register(this,null)}mounted(){if(this.$utils.isDefined(this.autofocus)&&this.$el instanceof HTMLElement){const e=this.$el.querySelector('input[type="text"]');if(e)return void e.setAttribute("autofocus",`${Boolean(this.autofocus)}`);const t=this.$el.querySelector("textarea");t&&t.setAttribute("autofocus",`${Boolean(this.autofocus)}`)}}unmounted(){this.form&&this.form.unregister(this,null)}get inputBindings(){return{variant:"outlined",placeholder:this.placeholder,hint:this.inputHint,persistentHint:this.persistentHint,hideDetails:this.hideDetails,readonly:this.readonly,disabled:this.disabled,autofocus:this.autofocus,tabindex:this.tabindex,autocomplete:this.autocomplete}}}__decorate([(0,w.Prop)({default:!1,type:Boolean}),__metadata("design:type",Boolean)],InputMixin.prototype,"disabled",void 0),__decorate([(0,w.Prop)({default:!1,type:Boolean}),__metadata("design:type",Boolean)],InputMixin.prototype,"required",void 0),__decorate([(0,w.Prop)({default:!1,type:Boolean}),__metadata("design:type",Boolean)],InputMixin.prototype,"readonly",void 0),__decorate([(0,w.Prop)({default:"",type:String}),__metadata("design:type",String)],InputMixin.prototype,"label",void 0),__decorate([(0,w.Prop)({default:"",type:String}),__metadata("design:type",String)],InputMixin.prototype,"labelHint",void 0),__decorate([(0,w.Prop)(),__metadata("design:type",String)],InputMixin.prototype,"inputHint",void 0),__decorate([(0,w.Prop)({type:Boolean,default:!1}),__metadata("design:type",Boolean)],InputMixin.prototype,"persistentHint",void 0),__decorate([(0,w.Prop)({type:Boolean,default:!1}),__metadata("design:type",Boolean)],InputMixin.prototype,"alignLabelToRight",void 0),__decorate([(0,w.Prop)(),__metadata("design:type",Object)],InputMixin.prototype,"tabindex",void 0),__decorate([(0,w.Prop)({type:Boolean,default:void 0}),__metadata("design:type",Boolean)],InputMixin.prototype,"autofocus",void 0),__decorate([(0,w.Prop)({type:Boolean,default:!1}),__metadata("design:type",Boolean)],InputMixin.prototype,"hideDetails",void 0),__decorate([(0,w.Prop)({type:String,default:""}),__metadata("design:type",String)],InputMixin.prototype,"placeholder",void 0),__decorate([(0,w.Prop)({type:String,default:""}),__metadata("design:type",String)],InputMixin.prototype,"prependInnerIcon",void 0),__decorate([(0,w.Prop)({type:String,default:"off"}),__metadata("design:type",String)],InputMixin.prototype,"autocomplete",void 0),__decorate([(0,w.Inject)({from:"form",default:null}),__metadata("design:type","function"===typeof(Z="undefined"!==typeof InjectionForm&&InjectionForm)?Z:Object)],InputMixin.prototype,"form",void 0),__decorate([(0,w.Watch)("required"),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],InputMixin.prototype,"onRequiredChanged",null);var A,Y,R,U,F,W,z,G,J,ld_calendarvue_type_script_lang_ts_external_decorate=function(e,t,o,n){var i,r=arguments.length,l=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)l=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(r<3?i(l):r>3?i(t,o,l):i(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},ld_calendarvue_type_script_lang_ts_external_metadata=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};let K=class CalendarComponent extends((0,w.mixins)(InputMixin)){modelValue;minDate;maxDate;viewMode;disabledDates;allowedDates;internalValue=null;internalViewMode=null;now=new Date;currentMonth=null;currentYear=null;displayedCurrentYear=null;emitUpdateModelValue(e){return e}onModelValueChanged(e){e instanceof Date&&0!==this.$utils.datetime.compare(e,this.internalValue,!1)&&(this.internalValue=new Date(e))}onValueChanged(e){this.emitUpdateModelValue(e)}onViewModeChanged(e){this.onUpdateViewMode(e)}onCurrentMonthChanged(){this.$utils.isDefined(this.currentMonth)||(this.currentMonth=(this.internalValue??this.now).getMonth())}onCurrentYearChanged(){this.$utils.isDefined(this.currentYear)||(this.currentYear=(this.internalValue??this.now).getFullYear())}mounted(){this.fixWeekdayTitle()}onUpdateMonth(){this.$nextTick(()=>{this.fixWeekdayTitle()})}onUpdateViewMode(e){this.internalViewMode=e,this.displayedCurrentYear=this.currentYear,this.$nextTick(()=>{this.fixWeekdayTitle()})}displayYear(e){return Math.abs(e-this.displayedCurrentYear)<=10}getAllowedDates(e){if(Array.isArray(this.disabledDates)&&this.disabledDates.length){const t=this.disabledDates.findIndex(t=>0===this.$utils.datetime.compare(e,t,!1));if(t>-1)return!1}if(Array.isArray(this.allowedDates)&&this.allowedDates.length){const t=this.allowedDates.findIndex(t=>0===this.$utils.datetime.compare(e,t,!1));return t>-1}return!0}fixWeekdayTitle(){const e=this.$refs["vInput"],t=e?e.$el:null;if(t){const e=t.querySelectorAll(".v-date-picker-month__weekday"),o=Array.from(e);if(Array.isArray(o)&&o.length>0)for(const e of o)e.innerHTML=this.$ldmuii18n.gettext(e.textContent)}}get firstDayOfWeek(){return this.locale.includes("en")?0:1}get locale(){return this.$ldmui.options.language}get isMonth(){return"month"===this.internalViewMode}get isMonths(){return"months"===this.internalViewMode}get isYear(){return"year"===this.internalViewMode}};ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Prop)(),ld_calendarvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(A="undefined"!==typeof Date&&Date)?A:Object)],K.prototype,"modelValue",void 0),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Prop)(),ld_calendarvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(Y="undefined"!==typeof Date&&Date)?Y:Object)],K.prototype,"minDate",void 0),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Prop)(),ld_calendarvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(R="undefined"!==typeof Date&&Date)?R:Object)],K.prototype,"maxDate",void 0),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Prop)({type:String,default:"month"}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(U="undefined"!==typeof TViewMode&&TViewMode)?U:Object)],K.prototype,"viewMode",void 0),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Prop)({type:Array,default:()=>[]}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(F="undefined"!==typeof Array&&Array)?F:Object)],K.prototype,"disabledDates",void 0),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Prop)({type:Array,default:()=>[]}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(W="undefined"!==typeof Array&&Array)?W:Object)],K.prototype,"allowedDates",void 0),ld_calendarvue_type_script_lang_ts_external_decorate([O("update:model-value"),ld_calendarvue_type_script_lang_ts_external_metadata("design:type",Function),ld_calendarvue_type_script_lang_ts_external_metadata("design:paramtypes",[Object]),ld_calendarvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],K.prototype,"emitUpdateModelValue",null),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Watch)("modelValue",{immediate:!0}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type",Function),ld_calendarvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(z="undefined"!==typeof Date&&Date)?z:Object]),ld_calendarvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],K.prototype,"onModelValueChanged",null),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Watch)("internalValue",{deep:!0}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type",Function),ld_calendarvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(G="undefined"!==typeof Date&&Date)?G:Object]),ld_calendarvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],K.prototype,"onValueChanged",null),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Watch)("viewMode",{immediate:!0}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type",Function),ld_calendarvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(J="undefined"!==typeof TViewMode&&TViewMode)?J:Object]),ld_calendarvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],K.prototype,"onViewModeChanged",null),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Watch)("currentMonth",{immediate:!0}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type",Function),ld_calendarvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_calendarvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],K.prototype,"onCurrentMonthChanged",null),ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Watch)("currentYear",{immediate:!0}),ld_calendarvue_type_script_lang_ts_external_metadata("design:type",Function),ld_calendarvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_calendarvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],K.prototype,"onCurrentYearChanged",null),K=ld_calendarvue_type_script_lang_ts_external_decorate([(0,w.Options)({components:{"svg-icon":P}})],K);const Q=K,X=(0,$.A)(Q,[["render",render]]),ee=X;return r})());
@@ -1 +0,0 @@
1
- (function webpackUniversalModuleDefinition(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue"),require("vue-class-component"),require("vue-property-decorator")):"function"===typeof define&&define.amd?define(["vue","vue-class-component","vue-property-decorator"],t):"object"===typeof exports?exports["ldmui"]=t(require("vue"),require("vue-class-component"),require("vue-property-decorator")):e["ldmui"]=t(e["vue"],e["vue-class-component"],e["vue-property-decorator"])})(self,(e,t,i)=>(()=>{"use strict";var o={6262(e,t){t.A=(e,t)=>{const i=e.__vccOpts||e;for(const[e,o]of t)i[e]=o;return i}},2380(t){t.exports=e},9299(e){e.exports=t},5070(e){e.exports=i}},s={};function __webpack_require__(e){var t=s[e];if(void 0!==t)return t.exports;var i=s[e]={exports:{}};return o[e](i,i.exports,__webpack_require__),i.exports}(()=>{__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};__webpack_require__.r(r),__webpack_require__.d(r,{default:()=>j});var n=__webpack_require__(2380);const h={class:"ld-data-iterator"},l={key:0,class:"top-fixed-item-wrapper"};function render(e,t,i,o,s,r){const a=(0,n.resolveComponent)("iterator-item");return(0,n.openBlock)(),(0,n.createElementBlock)("div",h,[e.fixedTopContext?((0,n.openBlock)(),(0,n.createElementBlock)("div",l,[(0,n.createVNode)(a,{id:"idx"+e.fixedTopContext.rowIndex,class:"top-fixed-item","data-uid":e.id(e.fixedTopContext.row),"data-test-id":"topFixedIeratorItem",onClick:t[0]||(t[0]=t=>e.onClick(e.fixedTopContext)),onDblclick:t[1]||(t[1]=t=>e.onClick(e.fixedTopContext)),onUpdateHeight:e.onUpdateFixedTopHeight},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"default",(0,n.normalizeProps)((0,n.guardReactiveProps)({item:e.fixedTopContext.row})),()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.entityFromItem(e.fixedTopContext.row)[e.keyProp]),1)])]),_:3},8,["id","data-uid","onUpdateHeight"])])):(0,n.createCommentVNode)("",!0),t[2]||(t[2]=(0,n.createTextVNode)()),(0,n.createElementVNode)("div",{ref:"list",id:"iterator-list",class:"iterator-list",style:(0,n.normalizeStyle)(e.listStyles)},[(0,n.createElementVNode)("div",{ref:"scroller",class:(0,n.normalizeClass)(["scroller",{mobile:e.isMobileGlobal}]),style:(0,n.normalizeStyle)(e.scrollerStyles)},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.visibleItems,t=>((0,n.openBlock)(),(0,n.createBlock)(a,{id:"idx"+t.rowIndex,class:(0,n.normalizeClass)(["item",{"active-list-item":e.isItemActive(t),mobile:e.isMobileGlobal,blink:e.isItemRemoving(t)}]),key:e.id(t.row),"data-uid":e.id(t.row),style:(0,n.normalizeStyle)(e.itemStyles(t)),"refresh-counter":e.refreshCounter,"data-test-id":"iteratorItem",onClick:i=>e.onClick(t),onDblclick:i=>e.onClick(t),onUpdateHeight:i=>e.onUpdateItemHeight(t,i)},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"default",(0,n.mergeProps)({ref_for:!0},{item:t.row,itemContext:{index:t.rowIndex}}),()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.entityFromItem(t.row)?e.entityFromItem(t.row)[e.keyProp]:"empty item"),1)])]),_:2},1032,["id","class","data-uid","style","refresh-counter","onClick","onDblclick","onUpdateHeight"]))),128))],6)],4)])}var a=__webpack_require__(5070),d=__webpack_require__(9299);function makeDecoratorEmit(e){function helper(t,i){return(0,d.createDecorator)((t,i)=>{const o=e.toLowerCase();t.emits||(t.emits=[]),t.emits.push(o);const s=t.methods[i];t.methods[i]=function emitter(...e){const emit=t=>{void 0===t?0===e.length?this.$emit(o):1===e.length?this.$emit(o,e[0]):this.$emit(o,...e):(e.unshift(t),this.$emit(o,...e))},t=s.apply(this,e);emit(t)}})(t,i)}return helper}const c=makeDecoratorEmit;class ViewportMixin extends a.Vue{viewport(){const e=document?.body?.getBoundingClientRect();return e?{w:e.width,h:e.height}:{w:window?.innerWidth,h:window?.innerHeight}}get globalMobileKey(){return this.$ldmui?.options?.viewport?.isMobile}get globalTabletKey(){return this.$ldmui?.options?.viewport?.isTablet}get globalDesktopKey(){return this.$ldmui?.options?.viewport?.isDesktop}get isMobileGlobal(){return!!this.globalMobileKey&&this[this.globalMobileKey]}get isTabletGlobal(){return!!this.globalTabletKey&&this[this.globalTabletKey]}get isDesktopGlobal(){return!!this.globalDesktopKey&&this[this.globalDesktopKey]}}class Datetime{toDate(e){return e instanceof Date?e:Array.isArray(e)?new Date(e[0],e[1],e[2]):"number"===typeof e||"string"===typeof e?new Date(e):"object"===typeof e&&"year"in e&&"month"in e&&"date"in e?new Date(e.year,e.month,e.date,e.hours,e.minutes,e.seconds,e.ms):e}localToISO(e,t="ru"){const{d:i,m:o,y:s,hh:r,mm:n,ss:h}=this.parseDate(e,t);if(i&&o&&s){let e=`${s}-${o}-${i}`;return e=r&&n?`${e}T${r}:${n}:${h||"00"}`:`${e}T00:00:00`,e}return""}dateToLocal(e,t="ru"){const i=this.toDate(e);return this.formatDate(i,"ru"===t?"DD.MM.YYYY":"MM/DD/YYYY")}compare(e,t,i=!0){if(!e||!t)return NaN;if(e=this.toDate(e),t=this.toDate(t),i){const i=e?this.toDate(e).valueOf():0,o=t?this.toDate(t).valueOf():0;return isFinite(i)&&isFinite(o)?Number(i>o)-Number(i<o):NaN}let o=0;return e.getDate()!==t.getDate()&&(o=e.getDate()>t.getDate()?1:-1),e.getMonth()!==t.getMonth()&&(o=e.getMonth()>t.getMonth()?1:-1),e.getFullYear()!==t.getFullYear()&&(o=e.getFullYear()>t.getFullYear()?1:-1),o}toServerString(e){if(!e)return null;const t=-e.getTimezoneOffset(),i=t>=0?"+":"-",pad=function(e){const t=Math.abs(Math.floor(e));return(t<10?"0":"")+t};return`${e.getFullYear()}-${pad(e.getMonth()+1)}-${pad(e.getDate())}T${pad(e.getHours())}:${pad(e.getMinutes())}:${pad(e.getSeconds())}${i}${pad(t/60)}:${pad(t%60)}`}formatDate(e,t){const i=String(e.getDate()),o=String(e.getMonth()+1),s=String(e.getFullYear()),r=String(e.getHours()),n=String(e.getMinutes()),h=String(e.getSeconds());return t.replace(/DD/g,this.leaderZero(i)).replace(/MM/g,this.leaderZero(o)).replace(/YYYY/g,s).replace(/hh/g,this.leaderZero(r)).replace(/mm/g,this.leaderZero(n)).replace(/ss/g,this.leaderZero(h))}leaderZero(e){return"number"===typeof e&&(e=String(e)),1===e.length?"0"+e:e}parseDate(e,t="ru"){let i=null;if("ru"===t&&(i=/^(\d\d?).(\d\d?).(\d\d\d?\d?)(, )?(\d\d)?:?(\d\d)?$/.exec(e)),"en"===t&&(i=/^(\d\d?)\/(\d\d?)\/(\d\d\d?\d?)$/.exec(e)),!i)return null;const o={d:null,m:null,y:null,hh:null,mm:null,ss:null};return i[1]&&(o["ru"===t?"d":"m"]=this.leaderZero(i[1])),i[2]&&(o["ru"===t?"m":"d"]=this.leaderZero(i[2])),i[3]&&(o["y"]=i[3]),i[5]&&(o["hh"]=this.leaderZero(i[5])),i[6]&&(o["mm"]=this.leaderZero(i[6])),i[7]&&(o["ss"]=this.leaderZero(i[7])),o}}const p=new Datetime;var g,__decorate=function(e,t,i,o){var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var h=e.length-1;h>=0;h--)(s=e[h])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},__metadata=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};let u=g=class IteratorItemComponent extends a.Vue{refreshCounter;static MIN_HEIGHT_EMTPY_ITEM=20;height=0;width=0;resizeObserver=null;elem=null;emitUpdateHeight(e){return e}emitRefreshCounterChanged(){this.emitUpdateHeight(this.$el.clientHeight)}mounted(){this.setupResizeObserver(),this.elem=this.$el,this.resizeObserver.observe(this.$el)}beforeUpdate(){this.elem!==this.$el&&(this.resizeObserver&&this.resizeObserver.unobserve(this.elem),this.setupResizeObserver(),this.resizeObserver.observe(this.$el))}beforeUnmount(){this.resizeObserver.unobserve(this.$el)}setupResizeObserver(){const e=this;this.resizeObserver=new window.ResizeObserver(t=>{let i=0;t.length&&t[0].contentRect?(i=t[0].contentRect.height,e.width=t[0].contentRect.width):(i=e.$el.clientHeight,e.width=e.$el.clientWidth),i>g.MIN_HEIGHT_EMTPY_ITEM&&i!==e.height&&(e.height=i,e.emitUpdateHeight(e.height))})}};__decorate([(0,a.Prop)(),__metadata("design:type",Number)],u.prototype,"refreshCounter",void 0),__decorate([c("update-height"),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",void 0)],u.prototype,"emitUpdateHeight",null),__decorate([(0,a.Watch)("refreshCounter"),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],u.prototype,"emitRefreshCounterChanged",null),u=g=__decorate([(0,a.Options)({name:"IteratorItem",template:"\n <div @click=\"$emit('click', $event)\" @dblclick=\"$emit('dblclick', $event)\">\n <slot></slot>\n </div>\n ",emits:["click","dblclick"]})],u);const m=u;class Strings{camelCase(e){return e=e.replace(/[^\d A-Za-z]/g," "),e=e.replace(/([a-z](?=[A-Z]))/g,"$1 "),e=e.replace(/([^\d A-Za-z])|^\d+/g,"").trim().toLowerCase(),e=e.replace(/([\d ]+)([A-Za-z])/g,(e,t,i)=>t.trim()+i.toUpperCase()),e}capitalize(e){if(!e)return e;const t=e[0],i=e.substring(1);return`${t.toUpperCase()}${i}`}}const f=new Strings,w={},y="undefined"!==typeof document?document.createElement("div").style:void 0,x=function(){const e="undefined"!==typeof window?window.getComputedStyle(document.documentElement,""):void 0,t="undefined"!==typeof e?Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/):null,i=null!==t?t[1]:void 0,o="undefined"!==typeof i?"WebKit|Moz|MS|O".match(new RegExp("("+i+")","i"))[1]:void 0;return o?{dom:o,lowercase:i,css:`-${i}-`,js:i[0].toUpperCase()+i.substr(1)}:void 0}();function getVendorPrefixedName(e){const t=f.camelCase(e);return w[t]||(void 0!==x&&void 0!==y[x.css+e]?w[t]=x.css+e:void 0!==y[e]&&(w[t]=e)),w[t]}const v="undefined"!==typeof window?getVendorPrefixedName("transform"):void 0,C="undefined"!==typeof window?getVendorPrefixedName("backfaceVisibility"):void 0,b="undefined"!==typeof window?Boolean(getVendorPrefixedName("transform")):void 0,I="undefined"!==typeof window?Boolean(getVendorPrefixedName("perspective")):void 0,R="undefined"!==typeof window?window.navigator.userAgent:"Chrome",P=R.includes("Safari/")&&!R.includes("Chrome/");function translateXY(e,t,i){"undefined"!==typeof v&&b?!P&&I?(e[v]=`translate3d(${t}px, ${i}px, 0)`,e[C]="hidden"):e[f.camelCase(v)]=`translate(${t}px, ${i}px)`:(e.top=`${i}px`,e.left=`${t}px`)}var T,H,k,F,S,A,_,D,O,U,$,Y,N,E,ld_data_iteratorvue_type_script_lang_ts_external_decorate=function(e,t,i,o){var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var h=e.length-1;h>=0;h--)(s=e[h])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},ld_data_iteratorvue_type_script_lang_ts_external_metadata=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};(function(e){e[e["None"]=0]="None",e[e["Page"]=1]="Page",e[e["ActiveRow"]=2]="ActiveRow",e[e["DoubleCheck"]=3]="DoubleCheck"})(E||(E={}));let M=T=class DataIteratorComponent extends((0,a.mixins)(ViewportMixin)){items;page;keyProp;sortField;entityFromItem;selectedIndices;firstItemSelectCounter;nextItemSelectCounter;minRowHeight;rowHeight;activeItem;fixTopActiveItem;padding;itemGap;toLastPage;scrollToActiveItem;removedItem;static COUNTER=0;static CNT=0;clicks=0;scrollbarV=!0;innerWidth=0;bodyHeight=0;offsetY=0;currentPage=0;activeRowIndex=-1;oldRowCount=0;rowContexts=[];visibleItems=[];afterEmptyItems=[];beforeEmptyItems=[];rowHeightsUpdate=[];lastRowOffsetY=0;enabledPages=null;itemsWaitingHeight=new Set;refreshCounter=0;fixedTopContext=null;firstVisible=0;lastVisible=0;loading=!1;scrollTo=E.None;removingIndex=-1;changedItemsPromise=Promise.resolve();timerId;pageSize;rowsChanged;onScrollListener;scrollDirty;fromPager;totalPages;resizeObserver;updatePageTimeoutId;firstRowForPage;callOnPageChanged;onKeyDownHandler;shouldSetActiveRow;checkRowsUpdatedTimer;waitForAllRowsUpdatedTimer;renderPromise;renderResolve;waitingForFirstPageRendered;listEl;stopTick;emitUpdateLoading(e){return e}emitUpdateTotalPages(e){return e}emitUpdatePage(e){return e}emitUpdateSelect(e,t){}emitClick(e,t){}emitDblclick(e,t){}loadingChanged(){this.emitUpdateLoading(this.loading)}async onItemsChanged(e,t){if(e===t){await this.changedItemsPromise;let t="updated";if(e.length<this.oldRowCount?t="removed":e.length>this.oldRowCount&&(t="added"),"removed"===t&&this.removedItem&&(this.changedItemsPromise=this.removeItem(),await this.changedItemsPromise,this.removingIndex=-1),this.rowContexts.forEach((t,i)=>{e[t.index]&&(t.row=e[t.index])}),"added"===t){const t=e.length-this.oldRowCount;for(let i=0;i<t;i++){const t=this.rowContexts[this.oldRowCount-1+i];this.rowContexts.push({index:this.oldRowCount+i,rowIndex:this.oldRowCount+i,offsetY:t?t.offsetY+this.approximateRowHeight:0,row:e[this.oldRowCount+i],rowHeight:this.approximateRowHeight})}this.sort(),this.updateRows(!0)}return void(this.oldRowCount=this.rowContexts.length)}this.visibleItems=[],this.rowContexts=[],e!==t&&await this.$nextTick(),this.rowsChanged=!0,this.init(),this.sort(),this.oldRowCount=this.rowContexts.length,this.offsetY=-1,this.currentPage=-1,this.totalPages=this.rowCount&&this.page>=0?this.page+1:1,this.emitUpdateTotalPages(this.totalPages),this.listEl.scrollTop=0,e!==t&&(this.listEl.style["visibility"]="hidden"),this.waitingForFirstPageRendered=!0,T.CNT=0,T.COUNTER=0,this.rowContexts.length?this.renderPromise=new Promise(e=>{this.renderResolve=e}):this.renderPromise=Promise.resolve();try{await this.renderPromise,this.selectedIndices.length||this.setSelected(0)}finally{this.listEl&&(this.listEl.style["visibility"]="unset"),this.waitingForFirstPageRendered=!1,this.rowContexts.length&&this.onPageChanged()}}onScrollHeightChanged(){this.calcTotalPages()}async onFixTopActiveItemChanged(){if(this.activeItem||this.fixTopActiveItem){if(this.fixTopActiveItem?this.fixedTopContext=this.excludeItem(this.activeItem):(this.includeItem(this.fixedTopContext),this.fixedTopContext=null),await this.$nextTick(),this.listEl){const e=this.listEl.getBoundingClientRect();this.innerWidth=Math.floor(e.width),this.bodyHeight=e.height}this.updateRows(!0),this.updatePage(),await this.$nextTick(),this.calcTotalPages()}}onMinRowHeightChanged(){this.onItemsChanged(this.items,null)}onPageChanged(){if(this.page===this.currentPage||this.waitingForFirstPageRendered||void 0===this.waitingForFirstPageRendered)return;if(T.COUNTER=0,this.rowCount&&!this.visibleItems.length||!this.listEl)return this.callOnPageChanged=!0,void this.startCheckAllRowsIsRendered();let e=(this.page-1)*this.bodyHeight;e+=1;const t=Math.abs(this.currentPage-this.page);let i=this.getRowIndex(e);this.firstRowForPage=i,this.scrollTo=E.Page;const o=Math.min(i+this.visibleItems.length-1,this.rowHeightsUpdate.length-1);!(t>1||this.toLastPage&&!this.scrollToActiveItem)||this.rowHeightsUpdate[i]&&this.rowHeightsUpdate[o]||(this.loading=!0,i=this.getRowIndexByAverage(e),i>=this.items.length-1&&(i=this.items.length-10),this.firstRowForPage=i);const s=this.rowContexts[i];this.fromPager=!0,this.scrollToActiveItem&&this.currentPage<0&&(this.scrollTo=E.ActiveRow,this.firstRowForPage=null),this.currentPage=this.page,s&&(this.listEl.scrollTop=s.offsetY,this.shouldSetActiveRow&&(this.shouldSetActiveRow=!1,this.setSelected(i))),this.startCheckAllRowsIsRendered()}onSortFieldChanged(e,t){e?.prop===t?.prop&&e?.direction===t?.direction||(this.sort(),this.updateRows(!0))}onSelectedIndicesChanged(){if(Array.isArray(this.selectedIndices)&&this.selectedIndices.length){const e=this.selectedIndices[0],t=this.rowContexts.findIndex(t=>t.index===e);t>=0&&(this.activeRowIndex=t)}else this.activeRowIndex=-1}async onFirstItemSelectCounterChanged(){await this.renderPromise,this.setSelected(0)}onNextItemSelectCounterChanged(){this.activeRowIndex+1<this.rowContexts.length&&this.setSelected(this.activeRowIndex+1)}async onInnerWidthChanged(e,t){t&&(this.updateRowOffsetsCache(0,!0),this.updateRows(!0),this.updatePage(),await this.$nextTick(),this.calcTotalPages())}created(){this.onItemsChanged(this.items,null)}mounted(){window.ResizeObserver&&(this.resizeObserver=new window.ResizeObserver(e=>{e.length&&e[0].contentRect?(this.bodyHeight=e[0].contentRect.height,this.innerWidth=e[0].contentRect.width):(this.bodyHeight=this.$el.clientHeight,this.innerWidth=this.$el.clientWidth)}),this.resizeObserver.observe(this.$el)),this.listEl=this.$el.querySelector("#iterator-list");const e=this.listEl.getBoundingClientRect();this.innerWidth=Math.floor(e.width),this.bodyHeight=e.height,this.init(),this.offsetY=0,this.currentPage=-1,this.totalPages=1,this.onKeyDownHandler=this.onKeyDown.bind(this),document.addEventListener("keydown",this.onKeyDownHandler),this.tick()}beforeUnmount(){this.stopTick=!0,document.removeEventListener("keydown",this.onKeyDownHandler),this.resizeObserver&&this.resizeObserver.unobserve(this.$el)}tick(e=!1){if(!this.stopTick&&(requestAnimationFrame(()=>this.tick()),this.loading=this.waitingForFirstPageRendered||Boolean(this.scrollTo!==E.None),this.scrollbarV)){if(!this.listEl)return;const t=this.listEl.scrollTop;if(!e&&this.offsetY===t)return;this.offsetY=t,clearTimeout(this.updatePageTimeoutId),this.scrollTo===E.Page?setTimeout(()=>this.updateRows(),10):this.updateRows(),this.updatePageTimeoutId=setTimeout(()=>this.updatePage(),100)}}isItemActive(e){return e.row===this.activeItem}isItemRemoving(e){return e.rowIndex===this.removingIndex}onClick(e){this.clicks++,1===this.clicks?this.timerId=setTimeout(()=>{this.emitClick(e.row,e.index),this.clicks=0},200):(clearTimeout(this.timerId),this.emitDblclick(e.row,e.index),this.clicks=0),this.setSelected(e.rowIndex)}onUpdateFixedTopHeight(e){this.fixedTopContext&&(this.fixedTopContext.rowHeight=e)}onUpdateItemHeight(e,t){try{if(t+=this.itemGap,this.rowHeightsUpdate[e.rowIndex]&&e.rowHeight===t)return;e.rowHeight=t,this.itemsWaitingHeight.delete(e.rowIndex),0===e.rowIndex&&(e.offsetY=0),clearTimeout(this.waitForAllRowsUpdatedTimer),this.waitForAllRowsUpdatedTimer=setTimeout(()=>{this.itemsWaitingHeight.size&&T.CNT<50?T.CNT++:this.waitingForFirstPageRendered?this.renderResolve():this.startCheckAllRowsIsRendered()},50)}finally{this.rowHeightsUpdate[e.rowIndex]=!0,this.itemsWaitingHeight.size||this.updateRowOffsetsCache(this.firstVisible,!0)}}startCheckAllRowsIsRendered(e){this.stopCheckAllRowsIsRendered(),this.checkRowsUpdatedTimer=setTimeout(()=>this.checkRowsUpdated(),e??50)}stopCheckAllRowsIsRendered(){clearTimeout(this.checkRowsUpdatedTimer)}checkRowsUpdated(){if(this.itemsWaitingHeight.size||!this.listEl)return T.COUNTER++,T.COUNTER>50&&(this.itemsWaitingHeight.clear(),this.updateRowOffsetsCache(0,!0)),void this.startCheckAllRowsIsRendered();if(this.stopCheckAllRowsIsRendered(),this.fromPager=!1,this.callOnPageChanged)return this.callOnPageChanged=!1,void this.$nextTick(()=>this.onPageChanged());if(this.scrollTo===E.DoubleCheck){let e=this.firstRowForPage??this.activeRowIndex;if((null===e||void 0===e||e<0)&&(this.onSelectedIndicesChanged(),e=this.activeRowIndex,this.setSelected(e)),e>=0&&this.rowHeightsUpdate[e]){const t=this.rowContexts[e],i=this.listEl,o=i.scrollTop+this.bodyHeight;t.offsetY>=i.scrollTop&&(t.offsetY+t.rowHeight<=o||t.rowHeight>=o)?(this.scrollTo=E.None,this.firstRowForPage=null,this.updatePage(),this.toLastPage&&this.currentPage<this.totalPages&&T.COUNTER<10&&(T.COUNTER++,this.scrollTo=E.Page,this.firstRowForPage=this.rowCount-5)):(i.scrollTop=t.offsetY,this.scrollTo=E.None)}else this.scrollTo=E.None}if(this.scrollTo===E.Page||this.scrollTo===E.ActiveRow){let e=this.firstRowForPage;if(this.scrollTo===E.ActiveRow&&(this.activeRowIndex<0&&(this.onSelectedIndicesChanged(),this.setSelected(this.activeRowIndex)),e=this.activeRowIndex),this.scrollTo=E.DoubleCheck,e>=0){const t=this.rowContexts[e],i=this.listEl;i.scrollTop=t?.offsetY??0}}this.scrollTo!==E.None&&this.startCheckAllRowsIsRendered(100)}updateRowOffsetsCache(e,t){let i=this.rowContexts[e];if(!i)return;let o=i.offsetY,s=0;const r=t?this.rowContexts.length:this.lastVisible+1;while(i&&e<r)i.offsetY=o,this.rowContexts[e]=i,s=i.rowHeight,o+=s,e++,i=this.rowContexts[e];this.lastRowOffsetY=o}itemStyles(e){const t={};if(0===e.rowIndex)return translateXY(t,0,0),t;if(e.offsetY)return translateXY(t,0,e.offsetY),t;const i=this.rowContexts[e.rowIndex].offsetY;return translateXY(t,0,i),t}topFixedStyles(){return{height:this.fixedTopContext?.rowHeight+"px"}}emptyItemStyles(e){const t={height:e.rowHeight+"px"};return e.offsetY&&translateXY(t,0,e.offsetY),t}onKeyDown(e){const t=e.target;if("BODY"!==t.tagName)return;if(["ArrowUp","PageUp","ArrowDown","PageDown"].includes(e.code)&&(e.preventDefault(),e.stopPropagation()),["PageUp","PageDown"].includes(e.code)){if("PageUp"===e.code&&this.currentPage>0)return this.shouldSetActiveRow=!0,void this.emitUpdatePage(this.currentPage-1);if("PageDown"===e.code&&this.currentPage<this.totalPages)return this.shouldSetActiveRow=!0,void this.emitUpdatePage(this.currentPage+1)}let i=-1;const o=this.rowContexts[this.rowContexts.length-1]?.rowIndex;switch(e.code){case"ArrowUp":this.activeRowIndex>0&&(i=this.activeRowIndex-1);break;case"ArrowDown":this.activeRowIndex<this.rowContexts.length-1&&(i=this.activeRowIndex+1);break}if(i<0||i>o)return;const{offsetY:s,rowHeight:r}=this.rowContexts[i];if(!r)return;let n=0,h=this.listEl.scrollTop;"ArrowDown"===e.code?n=s+r-(h+this.bodyHeight):"ArrowUp"===e.code&&(n=s-r-h),n>0&&"ArrowDown"===e.code||n<0&&"ArrowUp"===e.code?h+=n:0===n&&"ArrowUp"===e.code&&[0,1,2].includes(this.activeRowIndex)&&(h=n),this.listEl.scrollTop=h,this.setSelected(i)}calcTotalPages(){let e=this.bodyHeight?this.scrollHeight/this.bodyHeight:1;const t=Math.floor(e),i=e-t,o=this.getAverageItemHeight();return e=i>=o/this.scrollHeight?Math.ceil(e):t,this.totalPages!==e&&(this.totalPages=e,this.emitUpdateTotalPages(e)),!this.scrollToActiveItem&&this.toLastPage&&this.currentPage<this.totalPages&&this.emitUpdatePage(this.totalPages),e}updatePage(){if(this.fromPager||this.currentPage<0||this.firstRowForPage||this.callOnPageChanged)return;let e,t=this.lastVisible;for(let e=this.lastVisible;e>=0;e--){const i=this.rowContexts[e];if(!i)throw new Error("null rowContext");if(this.offsetY+this.bodyHeight>=i.offsetY){t=e;break}}if(t>=this.rowCount-1||this.scrollHeight-this.bodyHeight===this.offsetY)e=this.totalPages,this.emitUpdateTotalPages(this.totalPages);else{const t=this.getRowIndex(this.offsetY),i=this.rowContexts&&this.rowContexts.length>t?this.rowContexts[t]?.rowHeight:this.approximateRowHeight;e=!t||i>=this.bodyHeight?1:(this.offsetY+2*i)/this.bodyHeight,e=e<1?1:Math.ceil(e)}this.currentPage!==e&&(this.currentPage=e,this.emitUpdatePage(e))}init(){this.items?.length?(this.rowContexts=new Array(this.items.length).fill(null),this.rowContexts.forEach((e,t)=>{const i=0===t?0:this.rowContexts[t-1].offsetY+this.approximateRowHeight;this.rowContexts[t]={offsetY:i,row:this.items[t],rowIndex:t,index:t,rowHeight:this.approximateRowHeight}}),this.rowHeightsUpdate=new Array(this.rowCount)):(this.rowContexts=[],this.rowHeightsUpdate=[]),this.itemsWaitingHeight.clear()}async updateRows(e=!1,t=!1){const{first:i,last:o}=this.getIndexes();if(o<i)return;if(!e&&!this.rowsChanged&&this.firstVisible===i&&this.lastVisible===o)return;this.rowsChanged=!1,this.firstVisible=i,this.lastVisible=o;let s=i,r=0;const n=new Array(o-i);while(s<=o&&s<this.rowCount){const e=this.rowContexts[s];e&&(n[r]=e,r++,this.fixedRowHeight||this.rowHeightsUpdate[s]||this.itemsWaitingHeight.add(s)),s++,s%50===0&&await this.$nextTick()}this.pageSize=n.length-1,this.visibleItems=n}getIndexes(){let e=-1,t=-1;if(!this.rowContexts.length)return{first:e,last:t};if(this.scrollbarV){e=this.getRowIndex(this.offsetY),e=Math.max(e-1,0);while(e>0){if(this.rowHeightsUpdate[e-1])break;e--}for(let i=e;i<this.rowContexts.length;i++){const e=this.rowContexts[i];if(!e)throw new Error("null");if(-1===t&&this.offsetY+this.bodyHeight<=e.offsetY){t=i;break}}}return t=t>0?t:this.rowContexts.length-1,{first:e,last:t}}getRowIndexByAverage(e){if(0===e||!this.visibleItems.length)return 0;const t=this.getAverageItemHeight();return Math.floor(e/t)}getAverageItemHeight(){let e=0;for(const t of this.visibleItems)e+=t.rowHeight;return this.visibleItems.length?e/this.visibleItems.length:0}getRowIndex(e){if(0===e)return 0;let t=Math.floor(e/this.approximateRowHeight);t=t>=this.rowCount?this.rowCount-1:t;let i=0;const o=10;for(let s=t;s>0;s--)if(i=s,this.rowHeightsUpdate[s]&&this.rowContexts[s].offsetY-o<=e)return i;return 0}setSelected(e){if(e>=0){const t=this.rowContexts[e];t&&this.emitUpdateSelect(t.row,t.index)}}sort(){this.rowContexts?.length&&this.sortField&&this.entityFromItem&&(this.rowContexts.sort((e,t)=>{try{const i=this.entityFromItem(e.row),o=this.entityFromItem(t.row);if(i&&o){let e=0;switch(this.sortField.type){case"date":e=this.$utils.isDefined(i[this.sortField.prop])&&this.$utils.isDefined(o[this.sortField.prop])?p.compare(i[this.sortField.prop],o[this.sortField.prop]):-1;break;case"string":e=this.$utils.isDefined(i[this.sortField.prop])&&this.$utils.isDefined(o[this.sortField.prop])?i[this.sortField.prop].localeCompare(o[this.sortField.prop]):-1;break;case"number":e=this.$utils.isDefined(i[this.sortField.prop])&&this.$utils.isDefined(o[this.sortField.prop])?i[this.sortField.prop]<o[this.sortField.prop]?-1:1:-1;break}return"asc"===this.sortField.direction?e:-1*e}return 0}catch(e){console.error(e)}}),this.rowContexts.forEach((e,t)=>{e.rowIndex=t}),this.rowContexts[0].offsetY=0,this.updateRowOffsetsCache(0,!0))}id(e){const t=this.entityFromItem(e);return t?t[this.keyProp]:null}removeItem(){if(!this.removedItem)return Promise.resolve();const e=this.rowContexts.find(e=>e.index===this.removedItem.index);return e?(this.removingIndex=e.rowIndex,new Promise(t=>{setTimeout(()=>{e&&this.rowContexts.splice(e.rowIndex,1);for(const t of this.rowContexts)t.rowIndex>=e.rowIndex&&t.rowIndex--,t.index>this.removedItem.index&&t.index--;const i=e.rowIndex-1>=0?e.rowIndex-1:0;0===i&&this.rowContexts.length&&(this.rowContexts[0].offsetY=0),this.updateRowOffsetsCache(i,!0),this.updateRows(!0),t()},500)})):void 0}excludeItem(e){const t=this.rowContexts.findIndex(t=>t.row===e);if(t){const e=this.rowContexts[t];return this.rowContexts.splice(t,1),e}return null}includeItem(e){e&&this.rowContexts.splice(e.rowIndex,0,e)}get listStyles(){return{"padding-left":this.padding+"px","padding-right":this.padding+"px"}}get rowCount(){return this.rowContexts?.length??0}get approximateRowHeight(){return this.fixedRowHeight?this.rowHeight+this.itemGap:this.minRowHeight??50}get fixedRowHeight(){return"number"===typeof this.rowHeight}get scrollHeight(){if(!this.bodyHeight)return 0;let e=0;if(this.scrollbarV&&this.rowCount)if(this.fixedRowHeight&&"number"===typeof this.rowHeight){const t=this.rowHeight;e=t*this.rowCount}else if(Array.isArray(this.rowContexts)&&this.rowContexts.length){const t=this.rowContexts[this.rowCount-1];e=t?.offsetY+t?.rowHeight,e=Math.max(e,this.lastRowOffsetY-this.itemGap)}return e||(e=this.approximateRowHeight*this.rowCount),e}get scrollerStyles(){return{height:(this.scrollHeight||this.approximateRowHeight*this.rowCount)+"px",width:"100%"}}};ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)({type:Array,default:()=>[]}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(H="undefined"!==typeof Array&&Array)?H:Object)],M.prototype,"items",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Number)],M.prototype,"page",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)({required:!0}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",String)],M.prototype,"keyProp",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(k="undefined"!==typeof TSortField&&TSortField)?k:Object)],M.prototype,"sortField",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)({type:Function,default:e=>e}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function)],M.prototype,"entityFromItem",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)({type:Array,default:()=>[]}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(F="undefined"!==typeof Array&&Array)?F:Object)],M.prototype,"selectedIndices",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Number)],M.prototype,"firstItemSelectCounter",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Number)],M.prototype,"nextItemSelectCounter",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Number)],M.prototype,"minRowHeight",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Object)],M.prototype,"rowHeight",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(S="undefined"!==typeof TListItem&&TListItem)?S:Object)],M.prototype,"activeItem",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Boolean)],M.prototype,"fixTopActiveItem",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Number)],M.prototype,"padding",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)({default:5}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Number)],M.prototype,"itemGap",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)({default:!1}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Boolean)],M.prototype,"toLastPage",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Boolean)],M.prototype,"scrollToActiveItem",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Prop)(),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type","function"===typeof(A="undefined"!==typeof TRemovedItem&&TRemovedItem)?A:Object)],M.prototype,"removedItem",void 0),ld_data_iteratorvue_type_script_lang_ts_external_decorate([c("loading-update"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[Boolean]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"emitUpdateLoading",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([c("total-pages"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[Number]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"emitUpdateTotalPages",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([c("page"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[Number]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"emitUpdatePage",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([c("select"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(_="undefined"!==typeof TListItem&&TListItem)?_:Object,Number]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"emitUpdateSelect",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([c("click"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(D="undefined"!==typeof TListItem&&TListItem)?D:Object,Number]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"emitClick",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([c("dblclick"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(O="undefined"!==typeof TListItem&&TListItem)?O:Object,Number]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"emitDblclick",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("loading"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"loadingChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("items",{deep:!0}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(U="undefined"!==typeof Array&&Array)?U:Object,"function"===typeof($="undefined"!==typeof Array&&Array)?$:Object]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",Promise)],M.prototype,"onItemsChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("scrollHeight"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"onScrollHeightChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("fixTopActiveItem"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",Promise)],M.prototype,"onFixTopActiveItemChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("minRowHeight"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"onMinRowHeightChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("page"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"onPageChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("sortField"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",["function"===typeof(Y="undefined"!==typeof TSortField&&TSortField)?Y:Object,"function"===typeof(N="undefined"!==typeof TSortField&&TSortField)?N:Object]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"onSortFieldChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("selectedIndices",{immediate:!0}),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"onSelectedIndicesChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("firstItemSelectCounter"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",Promise)],M.prototype,"onFirstItemSelectCounterChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("nextItemSelectCounter"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",void 0)],M.prototype,"onNextItemSelectCounterChanged",null),ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Watch)("innerWidth"),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:type",Function),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:paramtypes",[Number,Number]),ld_data_iteratorvue_type_script_lang_ts_external_metadata("design:returntype",Promise)],M.prototype,"onInnerWidthChanged",null),M=T=ld_data_iteratorvue_type_script_lang_ts_external_decorate([(0,a.Options)({name:"IteratorVirtual",components:{IteratorItem:m},emits:["click","dblclick"]})],M);const z=M;var V=__webpack_require__(6262);const W=(0,V.A)(z,[["render",render]]),j=W;return r})());