@vitrosoftware/common-ui-ts 1.1.48 → 1.1.50

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.
@@ -12,10 +12,6 @@
12
12
  margin-left: 32px;
13
13
  }
14
14
 
15
- .vitro-item-container {
16
- margin-top: 16px;
17
- }
18
-
19
15
  .vitro-item {
20
16
  display: flex;
21
17
  margin-bottom: 4px;
@@ -136,7 +136,8 @@
136
136
  background-color: #DCEEFF !important;
137
137
  }
138
138
 
139
- .TWMenuMain {
139
+ .TWCellMenuMain,
140
+ .TWFilterMenuMain {
140
141
  width: 241px !important;
141
142
  margin-top: 24px !important;
142
143
  margin-left: -34px;
@@ -145,7 +146,8 @@
145
146
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.15), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
146
147
  }
147
148
 
148
- .TWMenuMain::before {
149
+ .TWCellMenuMain::before,
150
+ .TWFilterMenuMain::before {
149
151
  content: '';
150
152
  display: block;
151
153
  height: 11px;
@@ -160,7 +162,8 @@
160
162
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.31554 1.65838L0.382812 11H15.6249L9.69214 1.65838C8.90651 0.421336 7.10117 0.421335 6.31554 1.65838Z' fill='white'/%3E%3C/svg%3E%0A");
161
163
  }
162
164
 
163
- .TWMenuOuter {
165
+ .TWCellMenuMain .TWMenuOuter,
166
+ .TWFilterMenuMain .TWMenuOuter {
164
167
  padding: 0;
165
168
  margin: 0;
166
169
  border-radius: 4px !important;
@@ -168,36 +171,45 @@
168
171
  min-width: 241px !important;
169
172
  }
170
173
 
171
- .TWMenuBody {
174
+ .TWCellMenuMain .TWMenuBody,
175
+ .TWFilterMenuMain .TWMenuBody {
172
176
  margin: 0 !important;
173
177
  width: 100%;
174
178
  }
175
179
 
176
- .TWMenuBody {
180
+ .TWCellMenuMain .TWMenuBody,
181
+ .TWFilterMenuMain .TWMenuBody {
177
182
  cursor: default;
178
183
  margin: 0px 1px 0px 1px;
179
184
  }
180
185
 
181
- .TWMenuFocus, .TWMenuHover {
186
+ .TWCellMenuMain .TWMenuFocus,
187
+ .TWCellMenuMain .TWMenuHover,
188
+ .TWFilterMenuMain .TWMenuHover,
189
+ .TWFilterMenuMain .TWMenuHover {
182
190
  background: #F3F8FF !important;
183
191
  }
184
192
 
185
- .TWMenuItem {
193
+ .TWCellMenuMain .TWMenuItem,
194
+ .TWFilterMenuMain .TWMenuItem {
186
195
  margin: 0 !important;
187
196
  padding: 8px 0 !important;
188
197
  }
189
198
 
190
- .TWMenuItemText {
199
+ .TWCellMenuMain .TWMenuItemText,
200
+ .TWFilterMenuMain .TWMenuItemText {
191
201
  line-height: 150%;
192
202
  padding-left: 12px;
193
203
  white-space: normal;
194
204
  }
195
205
 
196
- div.TWMenuItemText {
206
+ .TWCellMenuMain div.TWMenuItemText,
207
+ .TWFilterMenuMain div.TWMenuItemText {
197
208
  margin-left: 32px;
198
209
  }
199
210
 
200
- .TWMenuItemIcon {
211
+ .TWCellMenuMain .TWMenuItemIcon,
212
+ .TWFilterMenuMain .TWMenuItemIcon {
201
213
  height: 20px;
202
214
  width: 32px;
203
215
  background-size: 20px;
@@ -418,14 +430,6 @@ div.TWMenuItemText {
418
430
  font-size: 10pt;
419
431
  }
420
432
 
421
- .TWMessage .TWMessageButtons {
422
- display: flex;
423
- width: 100%;
424
- padding: 0;
425
- justify-content: flex-end;
426
- margin: 0;
427
- }
428
-
429
433
  .TWMessage .vitro-icon-before {
430
434
  /* ico-question.svg URL-encoder for SVG */
431
435
  background-image: url("data:image/svg+xml,%3Csvg width='49' height='49' viewBox='0 0 49 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.1631 44.1426C35.2088 44.1426 44.1631 35.1883 44.1631 24.1426C44.1631 13.0969 35.2088 4.14258 24.1631 4.14258C13.1174 4.14258 4.16309 13.0969 4.16309 24.1426C4.16309 35.1883 13.1174 44.1426 24.1631 44.1426Z' stroke='%23BDBDBD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M18.3428 18.1426C18.813 16.806 19.7411 15.6788 20.9627 14.9609C22.1843 14.2429 23.6206 13.9805 25.0171 14.22C26.4137 14.4596 27.6804 15.1857 28.5929 16.2697C29.5055 17.3537 30.0049 18.7257 30.0028 20.1426C30.0028 24.1426 24.0028 26.1426 24.0028 26.1426' stroke='%23BDBDBD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M24.1631 34.1426H24.1831' stroke='%23BDBDBD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
@@ -437,49 +441,6 @@ div.TWMenuItemText {
437
441
  flex-shrink: 0;
438
442
  }
439
443
 
440
- .TWMessage .TWMessageButtons > button, .TWLow .TWMenuButton, .TWProgressButtons > button {
441
- height: 32px;
442
- line-height: 32px;
443
- background: #0097ff;
444
- color: #fff;
445
- width: auto;
446
- padding: 0 12px;
447
- min-width: 96px;
448
- margin: 8px 0 0 8px;
449
- border-radius: 8px;
450
- border: none;
451
- padding: 0 !important;
452
- font-weight: 500;
453
- outline: none;
454
- font-family: GraphikRegular;
455
- font-size: 10pt;
456
- }
457
-
458
- .TWMessage .TWMessageButtons > button:hover, .TWLow .TWMenuButton:hover, .TWProgressButtons > button:hover {
459
- background: rgba(0, 151, 255, .8);
460
- border-color: transparent;
461
- }
462
-
463
- .TWMessage .TWMessageButtons > button:first-child {
464
- margin-left: 0;
465
- }
466
-
467
- .TWMessage .TWMessageButtons > button:last-child,
468
- .TWMenuFoot > button:last-child,
469
- .TWProgressButtons > button:last-child {
470
- background: #fff;
471
- color: #0097ff;
472
- border: 1px solid #0097ff;
473
- }
474
-
475
- .TWMessage .TWMessageButtons > button:last-child:hover,
476
- .TWMenuFoot > button:last-child:hover,
477
- .TWProgressButtons > button:last-child {
478
- background: #fff;
479
- border-color: rgba(0, 151, 255, .8);
480
- color: rgba(0, 151, 255, .8);
481
- }
482
-
483
444
  .TWFilter12Left, .TWFilter12Right, .TWFilter12Menu {
484
445
  /*ico-tableview-contains-not.svg URL-encoder for SVG*/
485
446
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cg fill='%23ff5b2d'%3E%3Cpolygon points='12,24 12,40 24,32'/%3E%3Cpolygon points='52,40 52,24 40,32'/%3E%3Cpolygon points='28,33.3 36,28 36,20 40,20 40,12 24,12 24,20 28,20'/%3E%3Cpolygon points='36,32 28,37.3 28,44 24,44 24,52 40,52 40,44 36,44'/%3E%3Cpolygon fill='%23ff5b2d' points='48,20 48,16 12,40 12,44'/%3E%3C/g%3E%3C/svg%3E") !important;
@@ -731,4 +692,101 @@ div.TWMenuItemText {
731
692
 
732
693
  .TWHeaderGroupCustom {
733
694
  padding: 0;
695
+ }
696
+
697
+ .TWCfgMenuItem {
698
+ margin: 0;
699
+ background: #fff !important;
700
+ padding: 0 16px !important;
701
+ }
702
+
703
+ .TWCfgMenuItem .TWCfgMenuItemText {
704
+ padding: 4px 0;
705
+ }
706
+
707
+ .TWCfgMenuItem .TWCfgMenuBoolIconRight {
708
+ background-size: 16px;
709
+ }
710
+
711
+ .TWCfgMenuMain {
712
+ margin-top: -5%;
713
+ border-radius: 4px;
714
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.15), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
715
+ }
716
+
717
+ .TWMenuButton {
718
+ border-radius: 4px;
719
+ background: #347FDE;
720
+ padding: 8px 16px !important;
721
+ color: #fff !important;
722
+ margin: 0 !important;
723
+ }
724
+
725
+ .TWMenuButton:hover,
726
+ .TWMenuButton:active {
727
+ background: #3274E0;
728
+ }
729
+
730
+ .TWDialogButtonCancel {
731
+ color: #222D44 !important;
732
+ background: #fff;
733
+ }
734
+
735
+ .TWDialogButtonCancel:hover,
736
+ .TWDialogButtonCancel:active {
737
+ color: #222D44 !important;
738
+ background: #F3F8FF;
739
+ }
740
+
741
+ .TWCfgMenuCaption {
742
+ font-weight: normal;
743
+ line-height: 150%;
744
+ padding: 4px;
745
+ }
746
+
747
+ .TWCfgMenuHead {
748
+ background: #fff;
749
+ border-bottom: 1px solid #E4E6EC;
750
+ padding: 20px 16px 20px 16px !important;
751
+ }
752
+
753
+ .TWCfgMenuHeadText {
754
+ font-size: 20px;
755
+ line-height: 24px;
756
+ text-align: left;
757
+ }
758
+
759
+ .TWCfgMenuClose {
760
+ position: absolute;
761
+ height: 60px;
762
+ width: 60px !important;
763
+ top: -9px;
764
+ right: -64px;
765
+ background-size: 100%;
766
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60' fill='none'%3E%3Cpath d='M16.8906 43.1056L29.9981 29.9981L43.1056 43.1056M43.1056 16.8906L29.9956 29.9981L16.8906 16.8906' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
767
+ }
768
+
769
+ .TWCfgMenuBody {
770
+ margin: 0;
771
+ width: 100%;
772
+ padding: 8px 0;
773
+ }
774
+
775
+ .TWCfgMenuFoot {
776
+ border-top: 1px solid #E4E6EC;
777
+ padding: 16px 16px !important;
778
+ display: flex;
779
+ grid-gap: 12px;
780
+ justify-content: flex-start;
781
+ flex-direction: row-reverse;
782
+ }
783
+
784
+ .TWCfgMenuOuterBottom {
785
+ padding: 0 !important;
786
+ border-radius: 4px;
787
+ }
788
+
789
+ .GridDisabled {
790
+ background: #222D44;
791
+ opacity: 0.2;
734
792
  }
package/dist/index.css CHANGED
@@ -1349,10 +1349,6 @@
1349
1349
  margin-left: 32px;
1350
1350
  }
1351
1351
 
1352
- ._action-handler-info_vitro-item-container__hZvMvH {
1353
- margin-top: 16px;
1354
- }
1355
-
1356
1352
  ._action-handler-info_vitro-item_2pXL5Ks {
1357
1353
  display: flex;
1358
1354
  margin-bottom: 4px;
package/dist/index.js CHANGED
@@ -59648,7 +59648,7 @@ var UpdatingPopover = React__default.forwardRef(function (_ref, ref) {
59648
59648
  }, props), children));
59649
59649
  });
59650
59650
 
59651
- var styles$8 = {"vitro-info-container":"_action-handler-info_vitro-info-container_eNvJr3n","vitro-action-info":"_action-handler-info_vitro-action-info_40N4L4N","vitro-item-container":"_action-handler-info_vitro-item-container__hZvMvH","vitro-item":"_action-handler-info_vitro-item_2pXL5Ks","vitro-title":"_action-handler-info_vitro-title_kdIhxqv","vitro-subtitle":"_action-handler-info_vitro-subtitle_29cfoD0","vitro-progress-bar":"_action-handler-info_vitro-progress-bar_2IxowO0","vitro-button-cancel":"_action-handler-info_vitro-button-cancel_3eqrIKx","vitro-success":"_action-handler-info_vitro-success_22wks7Q","vitro-progress":"_action-handler-info_vitro-progress_1pVf3VJ","vitro-error":"_action-handler-info_vitro-error_2JNd137","vitro-status":"_action-handler-info_vitro-status_3Ey3f6C"};
59651
+ var styles$8 = {"vitro-info-container":"_action-handler-info_vitro-info-container_eNvJr3n","vitro-action-info":"_action-handler-info_vitro-action-info_40N4L4N","vitro-item":"_action-handler-info_vitro-item_2pXL5Ks","vitro-title":"_action-handler-info_vitro-title_kdIhxqv","vitro-subtitle":"_action-handler-info_vitro-subtitle_29cfoD0","vitro-progress-bar":"_action-handler-info_vitro-progress-bar_2IxowO0","vitro-button-cancel":"_action-handler-info_vitro-button-cancel_3eqrIKx","vitro-success":"_action-handler-info_vitro-success_22wks7Q","vitro-progress":"_action-handler-info_vitro-progress_1pVf3VJ","vitro-error":"_action-handler-info_vitro-error_2JNd137","vitro-status":"_action-handler-info_vitro-status_3Ey3f6C"};
59652
59652
 
59653
59653
  var ActionInfoItem = function ActionInfoItem(props) {
59654
59654
  var getClassName = function getClassName() {
@@ -59714,11 +59714,6 @@ var ActionHandlerConstants = {
59714
59714
  get TRIGGER () { return TRIGGER; }
59715
59715
  };
59716
59716
 
59717
- var actionMap = {
59718
- before: 0,
59719
- progress: 1,
59720
- after: 2
59721
- };
59722
59717
  var ActionInfo = function ActionInfo(props) {
59723
59718
  var localeService = inversifyReact.useInjection(SERVICE.LOCALE);
59724
59719
  var getInfo = function getInfo(item) {
@@ -59755,32 +59750,9 @@ var ActionInfo = function ActionInfo(props) {
59755
59750
  }
59756
59751
  return info;
59757
59752
  };
59758
- var getText = function getText() {
59759
- var successCount = props.successResult ? props.successResult.length : 0;
59760
- if (props.action === actionMap.progress) {
59761
- return localeService.create(LOCALE$1.PROGRESS_STD, {
59762
- actionCode: localeService.create(LOCALE$1.ACTION + CTRL.DOT + props.actionCode)
59763
- });
59764
- }
59765
- if (props.action === actionMap.after) {
59766
- if (props.isSuccess) {
59767
- return localeService.create(LOCALE$1.SUCCESS_STD, {
59768
- count: successCount,
59769
- actionCode: localeService.create(LOCALE$1.ACTION + CTRL.DOT + props.actionCode)
59770
- });
59771
- } else {
59772
- return localeService.create(LOCALE$1.ERROR_STD, {
59773
- actionCode: localeService.create(LOCALE$1.ACTION + CTRL.DOT + props.actionCode)
59774
- });
59775
- }
59776
- }
59777
- return CTRL.EMPTY;
59778
- };
59779
59753
  return React__default.createElement("div", {
59780
59754
  className: styles$8['vitro-info-container']
59781
59755
  }, React__default.createElement("div", {
59782
- className: styles$8['vitro-action-info']
59783
- }, getText()), React__default.createElement("div", {
59784
59756
  className: styles$8['vitro-item-container']
59785
59757
  }, props.itemList.map(function (item) {
59786
59758
  return React__default.createElement(ActionInfoItem, {
@@ -59791,7 +59763,7 @@ var ActionInfo = function ActionInfo(props) {
59791
59763
  })));
59792
59764
  };
59793
59765
 
59794
- var actionMap$1 = {
59766
+ var actionMap = {
59795
59767
  before: 0,
59796
59768
  progress: 1,
59797
59769
  after: 2
@@ -59816,7 +59788,7 @@ var ActionHandler = function ActionHandler(props) {
59816
59788
  var _useState6 = React.useState(false),
59817
59789
  blockInterface = _useState6[0],
59818
59790
  setBlockInterface = _useState6[1];
59819
- var _useState7 = React.useState(actionMap$1.before),
59791
+ var _useState7 = React.useState(actionMap.before),
59820
59792
  currentAction = _useState7[0],
59821
59793
  setCurrentAction = _useState7[1];
59822
59794
  var _useState8 = React.useState(null),
@@ -59856,19 +59828,19 @@ var ActionHandler = function ActionHandler(props) {
59856
59828
  var localeService = inversifyReact.useInjection(SERVICE.LOCALE);
59857
59829
  var action = props.actionText || localeService.create(LOCALE$1.ACTION + CTRL.DOT + props.actionCode);
59858
59830
  React.useEffect(function () {
59859
- setIsCloseEnabled(currentAction !== actionMap$1.progress);
59860
- if (currentAction === actionMap$1.before) {
59831
+ setIsCloseEnabled(currentAction !== actionMap.progress);
59832
+ if (currentAction === actionMap.before) {
59861
59833
  setState(styles$7['vitro-confirm']);
59862
59834
  setShowItemCount(true);
59863
59835
  setIcon(styles$7['vitro-icon-before']);
59864
59836
  }
59865
- if (currentAction === actionMap$1.progress) {
59837
+ if (currentAction === actionMap.progress) {
59866
59838
  setState(CTRL.EMPTY);
59867
59839
  setShowProgressBar(!props.isHideProgressBar);
59868
59840
  setShowItemCount(false);
59869
59841
  setIcon(styles$7['vitro-icon-progress']);
59870
59842
  }
59871
- if (currentAction !== actionMap$1.progress) {
59843
+ if (currentAction !== actionMap.progress) {
59872
59844
  setShowProgressBar(false);
59873
59845
  }
59874
59846
  }, [currentAction]);
@@ -59917,14 +59889,14 @@ var ActionHandler = function ActionHandler(props) {
59917
59889
  }
59918
59890
  setText(confText + CTRL.QUESTION);
59919
59891
  }
59920
- setCurrentAction(actionMap$1.before);
59892
+ setCurrentAction(actionMap.before);
59921
59893
  };
59922
59894
  var finish = function finish(success, error, successResult, failResult) {
59923
59895
  if (failResult.length) {
59924
59896
  setShow(true);
59925
59897
  }
59926
59898
  setSuccess(success);
59927
- setCurrentAction(actionMap$1.after);
59899
+ setCurrentAction(actionMap.after);
59928
59900
  if (props.onAfterAction) {
59929
59901
  props.onAfterAction(error, successResult, failResult);
59930
59902
  }
@@ -60021,7 +59993,7 @@ var ActionHandler = function ActionHandler(props) {
60021
59993
  }
60022
59994
  }
60023
59995
  ;
60024
- setCurrentAction(actionMap$1.progress);
59996
+ setCurrentAction(actionMap.progress);
60025
59997
  if (props.isBlockInterface) {
60026
59998
  setBlockInterface(true);
60027
59999
  }
@@ -60152,7 +60124,7 @@ var ActionHandler = function ActionHandler(props) {
60152
60124
  if (!props.isShowProgress && !props.isShowAfterAction && !props.isConfirm) {
60153
60125
  window.document.body.click();
60154
60126
  }
60155
- if (currentAction !== actionMap$1.progress) {
60127
+ if (currentAction !== actionMap.progress) {
60156
60128
  init();
60157
60129
  }
60158
60130
  if (!props.isConfirm) {
@@ -60160,7 +60132,7 @@ var ActionHandler = function ActionHandler(props) {
60160
60132
  }
60161
60133
  };
60162
60134
  var onEscClick = function onEscClick(e) {
60163
- if (e.keyCode === ESC_KEY_CODE && currentAction === actionMap$1.before) {
60135
+ if (e.keyCode === ESC_KEY_CODE && currentAction === actionMap.before) {
60164
60136
  hideDialog();
60165
60137
  }
60166
60138
  };
@@ -60170,12 +60142,12 @@ var ActionHandler = function ActionHandler(props) {
60170
60142
  };
60171
60143
  var close = function close(error, successResult, failResult) {
60172
60144
  if (isCloseEnabled) {
60173
- if (currentAction == actionMap$1.after && props.onAfterActionClose) {
60145
+ if (currentAction == actionMap.after && props.onAfterActionClose) {
60174
60146
  props.onAfterActionClose(error, successResult, failResult);
60175
60147
  }
60176
60148
  hideDialog();
60177
60149
  }
60178
- if (currentAction === actionMap$1.progress) {
60150
+ if (currentAction === actionMap.progress) {
60179
60151
  cancellationToken.cancel = true;
60180
60152
  }
60181
60153
  };
@@ -60189,8 +60161,8 @@ var ActionHandler = function ActionHandler(props) {
60189
60161
  itemCount: data.itemCount
60190
60162
  });
60191
60163
  };
60192
- var showConfirmButtonGroup = props.isConfirm && currentAction === actionMap$1.before;
60193
- var showCloseButtonGroup = currentAction !== actionMap$1.before;
60164
+ var showConfirmButtonGroup = props.isConfirm && currentAction === actionMap.before;
60165
+ var showCloseButtonGroup = currentAction !== actionMap.before;
60194
60166
  var positionCenter = !props.target && !props.children;
60195
60167
  var content = React__default.createElement("div", {
60196
60168
  className: styles$7['vitro-content'] + CTRL.SPACE + state
@@ -60205,7 +60177,7 @@ var ActionHandler = function ActionHandler(props) {
60205
60177
  onClick: function onClick() {
60206
60178
  return setShowInfo(!showInfo);
60207
60179
  }
60208
- }), currentAction != actionMap$1.before && React__default.createElement("div", {
60180
+ }), currentAction != actionMap.before && React__default.createElement("div", {
60209
60181
  className: styles$7['vitro-button-close'],
60210
60182
  onClick: close
60211
60183
  }))), showItemCount && React__default.createElement("span", {
@@ -60230,7 +60202,7 @@ var ActionHandler = function ActionHandler(props) {
60230
60202
  }), React__default.createElement(Button$2, {
60231
60203
  onClick: onStart,
60232
60204
  text: action || props.labelYes || CTRL.EMPTY,
60233
- isDisabled: currentAction !== actionMap$1.before,
60205
+ isDisabled: currentAction !== actionMap.before,
60234
60206
  className: styles$7['vitro-button']
60235
60207
  })));
60236
60208
  return React__default.createElement(React__default.Fragment, null, props.children && React__default.createElement(OverlayTrigger, {
@@ -60246,7 +60218,7 @@ var ActionHandler = function ActionHandler(props) {
60246
60218
  onHide: close,
60247
60219
  placement: props.placement || PLACEMENT.TOP
60248
60220
  }, React__default.createElement(UpdatingPopover, null, content)), positionCenter && show && React__default.createElement("div", {
60249
- className: currentAction === actionMap$1.before ? styles$7['vitro-action-handler-dialog-confirm'] : styles$7['vitro-action-handler-dialog']
60221
+ className: currentAction === actionMap.before ? styles$7['vitro-action-handler-dialog-confirm'] : styles$7['vitro-action-handler-dialog']
60250
60222
  }, content), blockInterface && React__default.createElement("div", {
60251
60223
  className: styles$7['vitro-interface-blur']
60252
60224
  }));
@@ -61622,6 +61594,7 @@ var LookupPicker = function LookupPicker(props) {
61622
61594
  state = _useState7[0],
61623
61595
  setState = _useState7[1];
61624
61596
  var localeService = inversifyReact.useInjection(SERVICE.LOCALE);
61597
+ var isEditable = !props.isDisabled && !props.isReadOnly;
61625
61598
  var inputRef = React.useRef(null);
61626
61599
  var updatePending = function updatePending(valueList) {
61627
61600
  return setPending(valueList ? false : true);
@@ -61798,7 +61771,9 @@ var LookupPicker = function LookupPicker(props) {
61798
61771
  }
61799
61772
  };
61800
61773
  var copyValue = function copyValue() {
61801
- navigator.clipboard.writeText(selectedValueList.join(CTRL.COMMA));
61774
+ navigator.clipboard.writeText(selectedValueList.map(function (x) {
61775
+ return props.selectedValueTemplate(x);
61776
+ }).join(CTRL.COMMA));
61802
61777
  };
61803
61778
  var getClassName = function getClassName() {
61804
61779
  var classList = [styles$q['vitro-lookup-picker'], props.className];
@@ -61835,17 +61810,15 @@ var LookupPicker = function LookupPicker(props) {
61835
61810
  selectedValueTemplate: selectedValueTemplate,
61836
61811
  isMultiSelect: props.isMultiSelect,
61837
61812
  getHtmlValue: getHtmlValue
61838
- }) : !valueListVisible && React__default.createElement(React__default.Fragment, null, props.placeholder), !props.isDisabled && !props.isReadOnly && React__default.createElement("input", {
61813
+ }) : !valueListVisible && React__default.createElement(React__default.Fragment, null, props.placeholder), isEditable && React__default.createElement("input", {
61839
61814
  ref: inputRef,
61840
61815
  value: inputValue,
61841
61816
  onKeyDown: onKeyDown,
61842
61817
  onChange: onChange,
61843
- onClick: onFocus,
61844
- disabled: props.isDisabled,
61845
- readOnly: props.isReadOnly
61818
+ onClick: onFocus
61846
61819
  }), !props.isDisabled && props.children, React__default.createElement("div", {
61847
61820
  className: styles$q['vitro-right']
61848
- }, !props.isMultiSelect && selectedValueList && selectedValueList.length > 0 && !props.isDisabled && !props.isReadOnly && React__default.createElement("div", {
61821
+ }, !props.isMultiSelect && selectedValueList && selectedValueList.length > 0 && isEditable && React__default.createElement("div", {
61849
61822
  className: styles$q['vitro-button-close'],
61850
61823
  onClick: function onClick() {
61851
61824
  return onOptionValueDelete();
@@ -61858,7 +61831,7 @@ var LookupPicker = function LookupPicker(props) {
61858
61831
  }), props.isReadOnly ? React__default.createElement("span", {
61859
61832
  className: styles$q['vitro-button-copy'],
61860
61833
  onClick: copyValue
61861
- }) : null)), !props.isDisabled && (!props.filterMinLength || props.filterMinLength <= inputValue.length) && React__default.createElement(ValueList, {
61834
+ }) : null)), isEditable && (!props.filterMinLength || props.filterMinLength <= inputValue.length) && React__default.createElement(ValueList, {
61862
61835
  isPending: pending,
61863
61836
  inputValue: inputValue,
61864
61837
  list: filteredValueList,