@breadstone/mosaik-elements-svelte 0.1.69 → 0.1.71

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 (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/index.mjs +683 -37
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -38073,6 +38073,18 @@ function sO() {
38073
38073
  resize: none;
38074
38074
  }
38075
38075
 
38076
+ :host input[part="input"] {
38077
+ min-inline-size: 0;
38078
+ }
38079
+
38080
+ :host input[part="input"]:-moz-placeholder-shown {
38081
+ text-overflow: ellipsis;
38082
+ }
38083
+
38084
+ :host input[part="input"]:placeholder-shown {
38085
+ text-overflow: ellipsis;
38086
+ }
38087
+
38076
38088
  :host [part="label"] {
38077
38089
  -webkit-user-select: none;
38078
38090
  -moz-user-select: none;
@@ -38080,6 +38092,7 @@ function sO() {
38080
38092
  pointer-events: none;
38081
38093
  transform-origin: 0 0;
38082
38094
  text-align: left;
38095
+ max-inline-size: calc(100% - var(--textbox-padding-left) - var(--textbox-padding-right));
38083
38096
  text-overflow: ellipsis;
38084
38097
  white-space: nowrap;
38085
38098
  will-change: transform;
@@ -38359,6 +38372,18 @@ function cO() {
38359
38372
  resize: none;
38360
38373
  }
38361
38374
 
38375
+ :host input[part="input"] {
38376
+ min-inline-size: 0;
38377
+ }
38378
+
38379
+ :host input[part="input"]:-moz-placeholder-shown {
38380
+ text-overflow: ellipsis;
38381
+ }
38382
+
38383
+ :host input[part="input"]:placeholder-shown {
38384
+ text-overflow: ellipsis;
38385
+ }
38386
+
38362
38387
  :host [part="label"] {
38363
38388
  -webkit-user-select: none;
38364
38389
  -moz-user-select: none;
@@ -38366,6 +38391,7 @@ function cO() {
38366
38391
  pointer-events: none;
38367
38392
  transform-origin: 0 0;
38368
38393
  text-align: left;
38394
+ max-inline-size: calc(100% - var(--textbox-padding-left) - var(--textbox-padding-right));
38369
38395
  text-overflow: ellipsis;
38370
38396
  white-space: nowrap;
38371
38397
  will-change: transform;
@@ -38868,6 +38894,18 @@ function lO() {
38868
38894
  resize: none;
38869
38895
  }
38870
38896
 
38897
+ :host input[part="input"] {
38898
+ min-inline-size: 0;
38899
+ }
38900
+
38901
+ :host input[part="input"]:-moz-placeholder-shown {
38902
+ text-overflow: ellipsis;
38903
+ }
38904
+
38905
+ :host input[part="input"]:placeholder-shown {
38906
+ text-overflow: ellipsis;
38907
+ }
38908
+
38871
38909
  :host [part="label"] {
38872
38910
  -webkit-user-select: none;
38873
38911
  -moz-user-select: none;
@@ -38875,6 +38913,7 @@ function lO() {
38875
38913
  pointer-events: none;
38876
38914
  transform-origin: 0 0;
38877
38915
  text-align: left;
38916
+ max-inline-size: calc(100% - var(--textbox-padding-left) - var(--textbox-padding-right));
38878
38917
  text-overflow: ellipsis;
38879
38918
  white-space: nowrap;
38880
38919
  will-change: transform;
@@ -69187,6 +69226,18 @@ function LI() {
69187
69226
  transition-property: inherit;
69188
69227
  }
69189
69228
 
69229
+ :host input[part="input"] {
69230
+ min-inline-size: 0;
69231
+ }
69232
+
69233
+ :host input[part="input"]:-moz-placeholder-shown {
69234
+ text-overflow: ellipsis;
69235
+ }
69236
+
69237
+ :host input[part="input"]:placeholder-shown {
69238
+ text-overflow: ellipsis;
69239
+ }
69240
+
69190
69241
  :host [part="label"] {
69191
69242
  -webkit-user-select: none;
69192
69243
  -moz-user-select: none;
@@ -69194,6 +69245,7 @@ function LI() {
69194
69245
  pointer-events: none;
69195
69246
  transform-origin: 0 0;
69196
69247
  text-align: left;
69248
+ max-inline-size: calc(100% - var(--chipbox-padding-left) - var(--chipbox-padding-right));
69197
69249
  text-overflow: ellipsis;
69198
69250
  white-space: nowrap;
69199
69251
  will-change: transform;
@@ -69416,6 +69468,18 @@ function RI() {
69416
69468
  transition-property: inherit;
69417
69469
  }
69418
69470
 
69471
+ :host input[part="input"] {
69472
+ min-inline-size: 0;
69473
+ }
69474
+
69475
+ :host input[part="input"]:-moz-placeholder-shown {
69476
+ text-overflow: ellipsis;
69477
+ }
69478
+
69479
+ :host input[part="input"]:placeholder-shown {
69480
+ text-overflow: ellipsis;
69481
+ }
69482
+
69419
69483
  :host [part="label"] {
69420
69484
  -webkit-user-select: none;
69421
69485
  -moz-user-select: none;
@@ -69423,6 +69487,7 @@ function RI() {
69423
69487
  pointer-events: none;
69424
69488
  transform-origin: 0 0;
69425
69489
  text-align: left;
69490
+ max-inline-size: calc(100% - var(--chipbox-padding-left) - var(--chipbox-padding-right));
69426
69491
  text-overflow: ellipsis;
69427
69492
  white-space: nowrap;
69428
69493
  will-change: transform;
@@ -69863,6 +69928,18 @@ function zI() {
69863
69928
  transition-property: inherit;
69864
69929
  }
69865
69930
 
69931
+ :host input[part="input"] {
69932
+ min-inline-size: 0;
69933
+ }
69934
+
69935
+ :host input[part="input"]:-moz-placeholder-shown {
69936
+ text-overflow: ellipsis;
69937
+ }
69938
+
69939
+ :host input[part="input"]:placeholder-shown {
69940
+ text-overflow: ellipsis;
69941
+ }
69942
+
69866
69943
  :host [part="label"] {
69867
69944
  -webkit-user-select: none;
69868
69945
  -moz-user-select: none;
@@ -69870,6 +69947,7 @@ function zI() {
69870
69947
  pointer-events: none;
69871
69948
  transform-origin: 0 0;
69872
69949
  text-align: left;
69950
+ max-inline-size: calc(100% - var(--chipbox-padding-left) - var(--chipbox-padding-right));
69873
69951
  text-overflow: ellipsis;
69874
69952
  white-space: nowrap;
69875
69953
  will-change: transform;
@@ -71750,7 +71828,7 @@ var pL = {
71750
71828
  _skipInitial;
71751
71829
  _unobservedUpdate = !1;
71752
71830
  constructor(e, t) {
71753
- super(e), t?.target !== null && this._targets.add(t?.target ?? e), this._config = t?.config, this._skipInitial = t?.skipInitial ?? !1, this.callback = t?.callback, this._observer = new ResizeObserver((e) => {
71831
+ super(e), t?.target !== null && this._targets.add(t?.target ?? e), this._config = t?.config, this._skipInitial = t?.skipInitial ?? !1, this.callback = t?.callback, this._observer = typeof ResizeObserver > "u" ? null : new ResizeObserver((e) => {
71754
71832
  this.handleChanges(e), this.host.requestUpdate();
71755
71833
  });
71756
71834
  }
@@ -71767,16 +71845,16 @@ var pL = {
71767
71845
  !this._skipInitial && this._unobservedUpdate && this.handleChanges([]), this._unobservedUpdate = !1;
71768
71846
  }
71769
71847
  observe(e) {
71770
- this._targets.add(e), this._observer.observe(e, this._config), this._unobservedUpdate = !0, this.host.requestUpdate();
71848
+ this._targets.add(e), this._observer?.observe(e, this._config), this._unobservedUpdate = !0, this.host.requestUpdate();
71771
71849
  }
71772
71850
  unobserve(e) {
71773
- this._targets.delete(e), this._observer.unobserve(e);
71851
+ this._targets.delete(e), this._observer?.unobserve(e);
71774
71852
  }
71775
71853
  disconnect() {
71776
- this._observer.disconnect();
71854
+ this._observer?.disconnect();
71777
71855
  }
71778
71856
  handleChanges(e) {
71779
- this.value = this.callback?.(e, this._observer);
71857
+ this._observer && (this.value = this.callback?.(e, this._observer));
71780
71858
  }
71781
71859
  };
71782
71860
  //#endregion
@@ -74263,6 +74341,18 @@ function QL() {
74263
74341
  position: relative;
74264
74342
  }
74265
74343
 
74344
+ :host input[part="input"] {
74345
+ min-inline-size: 0;
74346
+ }
74347
+
74348
+ :host input[part="input"]:-moz-placeholder-shown {
74349
+ text-overflow: ellipsis;
74350
+ }
74351
+
74352
+ :host input[part="input"]:placeholder-shown {
74353
+ text-overflow: ellipsis;
74354
+ }
74355
+
74266
74356
  :host [part="label"] {
74267
74357
  -webkit-user-select: none;
74268
74358
  -moz-user-select: none;
@@ -74270,6 +74360,7 @@ function QL() {
74270
74360
  pointer-events: none;
74271
74361
  transform-origin: 0 0;
74272
74362
  text-align: left;
74363
+ max-inline-size: calc(100% - var(--numberbox-padding-left) - var(--numberbox-padding-right));
74273
74364
  text-overflow: ellipsis;
74274
74365
  white-space: nowrap;
74275
74366
  will-change: transform;
@@ -74507,6 +74598,18 @@ function $L() {
74507
74598
  position: relative;
74508
74599
  }
74509
74600
 
74601
+ :host input[part="input"] {
74602
+ min-inline-size: 0;
74603
+ }
74604
+
74605
+ :host input[part="input"]:-moz-placeholder-shown {
74606
+ text-overflow: ellipsis;
74607
+ }
74608
+
74609
+ :host input[part="input"]:placeholder-shown {
74610
+ text-overflow: ellipsis;
74611
+ }
74612
+
74510
74613
  :host [part="label"] {
74511
74614
  -webkit-user-select: none;
74512
74615
  -moz-user-select: none;
@@ -74514,6 +74617,7 @@ function $L() {
74514
74617
  pointer-events: none;
74515
74618
  transform-origin: 0 0;
74516
74619
  text-align: left;
74620
+ max-inline-size: calc(100% - var(--numberbox-padding-left) - var(--numberbox-padding-right));
74517
74621
  text-overflow: ellipsis;
74518
74622
  white-space: nowrap;
74519
74623
  will-change: transform;
@@ -75005,6 +75109,18 @@ function eR() {
75005
75109
  position: relative;
75006
75110
  }
75007
75111
 
75112
+ :host input[part="input"] {
75113
+ min-inline-size: 0;
75114
+ }
75115
+
75116
+ :host input[part="input"]:-moz-placeholder-shown {
75117
+ text-overflow: ellipsis;
75118
+ }
75119
+
75120
+ :host input[part="input"]:placeholder-shown {
75121
+ text-overflow: ellipsis;
75122
+ }
75123
+
75008
75124
  :host [part="label"] {
75009
75125
  -webkit-user-select: none;
75010
75126
  -moz-user-select: none;
@@ -75012,6 +75128,7 @@ function eR() {
75012
75128
  pointer-events: none;
75013
75129
  transform-origin: 0 0;
75014
75130
  text-align: left;
75131
+ max-inline-size: calc(100% - var(--numberbox-padding-left) - var(--numberbox-padding-right));
75015
75132
  text-overflow: ellipsis;
75016
75133
  white-space: nowrap;
75017
75134
  will-change: transform;
@@ -80125,6 +80242,18 @@ function ez() {
80125
80242
  transition-property: inherit;
80126
80243
  }
80127
80244
 
80245
+ :host input[part="input"] {
80246
+ min-inline-size: 0;
80247
+ }
80248
+
80249
+ :host input[part="input"]:-moz-placeholder-shown {
80250
+ text-overflow: ellipsis;
80251
+ }
80252
+
80253
+ :host input[part="input"]:placeholder-shown {
80254
+ text-overflow: ellipsis;
80255
+ }
80256
+
80128
80257
  :host [part="label"] {
80129
80258
  -webkit-user-select: none;
80130
80259
  -moz-user-select: none;
@@ -80132,6 +80261,7 @@ function ez() {
80132
80261
  pointer-events: none;
80133
80262
  transform-origin: 0 0;
80134
80263
  text-align: left;
80264
+ max-inline-size: calc(100% - var(--colorbox-padding-left) - var(--colorbox-padding-right));
80135
80265
  text-overflow: ellipsis;
80136
80266
  white-space: nowrap;
80137
80267
  will-change: transform;
@@ -80364,6 +80494,18 @@ function tz() {
80364
80494
  transition-property: inherit;
80365
80495
  }
80366
80496
 
80497
+ :host input[part="input"] {
80498
+ min-inline-size: 0;
80499
+ }
80500
+
80501
+ :host input[part="input"]:-moz-placeholder-shown {
80502
+ text-overflow: ellipsis;
80503
+ }
80504
+
80505
+ :host input[part="input"]:placeholder-shown {
80506
+ text-overflow: ellipsis;
80507
+ }
80508
+
80367
80509
  :host [part="label"] {
80368
80510
  -webkit-user-select: none;
80369
80511
  -moz-user-select: none;
@@ -80371,6 +80513,7 @@ function tz() {
80371
80513
  pointer-events: none;
80372
80514
  transform-origin: 0 0;
80373
80515
  text-align: left;
80516
+ max-inline-size: calc(100% - var(--colorbox-padding-left) - var(--colorbox-padding-right));
80374
80517
  text-overflow: ellipsis;
80375
80518
  white-space: nowrap;
80376
80519
  will-change: transform;
@@ -80821,6 +80964,18 @@ function nz() {
80821
80964
  transition-property: inherit;
80822
80965
  }
80823
80966
 
80967
+ :host input[part="input"] {
80968
+ min-inline-size: 0;
80969
+ }
80970
+
80971
+ :host input[part="input"]:-moz-placeholder-shown {
80972
+ text-overflow: ellipsis;
80973
+ }
80974
+
80975
+ :host input[part="input"]:placeholder-shown {
80976
+ text-overflow: ellipsis;
80977
+ }
80978
+
80824
80979
  :host [part="label"] {
80825
80980
  -webkit-user-select: none;
80826
80981
  -moz-user-select: none;
@@ -80828,6 +80983,7 @@ function nz() {
80828
80983
  pointer-events: none;
80829
80984
  transform-origin: 0 0;
80830
80985
  text-align: left;
80986
+ max-inline-size: calc(100% - var(--colorbox-padding-left) - var(--colorbox-padding-right));
80831
80987
  text-overflow: ellipsis;
80832
80988
  white-space: nowrap;
80833
80989
  will-change: transform;
@@ -82815,6 +82971,18 @@ function Ez() {
82815
82971
  position: relative;
82816
82972
  }
82817
82973
 
82974
+ :host input[part="input"] {
82975
+ min-inline-size: 0;
82976
+ }
82977
+
82978
+ :host input[part="input"]:-moz-placeholder-shown {
82979
+ text-overflow: ellipsis;
82980
+ }
82981
+
82982
+ :host input[part="input"]:placeholder-shown {
82983
+ text-overflow: ellipsis;
82984
+ }
82985
+
82818
82986
  :host [part="label"] {
82819
82987
  -webkit-user-select: none;
82820
82988
  -moz-user-select: none;
@@ -82822,6 +82990,7 @@ function Ez() {
82822
82990
  pointer-events: none;
82823
82991
  transform-origin: 0 0;
82824
82992
  text-align: left;
82993
+ max-inline-size: calc(100% - var(--datebox-padding-left) - var(--datebox-padding-right));
82825
82994
  text-overflow: ellipsis;
82826
82995
  white-space: nowrap;
82827
82996
  will-change: transform;
@@ -83059,6 +83228,18 @@ function Dz() {
83059
83228
  position: relative;
83060
83229
  }
83061
83230
 
83231
+ :host input[part="input"] {
83232
+ min-inline-size: 0;
83233
+ }
83234
+
83235
+ :host input[part="input"]:-moz-placeholder-shown {
83236
+ text-overflow: ellipsis;
83237
+ }
83238
+
83239
+ :host input[part="input"]:placeholder-shown {
83240
+ text-overflow: ellipsis;
83241
+ }
83242
+
83062
83243
  :host [part="label"] {
83063
83244
  -webkit-user-select: none;
83064
83245
  -moz-user-select: none;
@@ -83066,6 +83247,7 @@ function Dz() {
83066
83247
  pointer-events: none;
83067
83248
  transform-origin: 0 0;
83068
83249
  text-align: left;
83250
+ max-inline-size: calc(100% - var(--datebox-padding-left) - var(--datebox-padding-right));
83069
83251
  text-overflow: ellipsis;
83070
83252
  white-space: nowrap;
83071
83253
  will-change: transform;
@@ -83417,6 +83599,18 @@ function Oz() {
83417
83599
  position: relative;
83418
83600
  }
83419
83601
 
83602
+ :host input[part="input"] {
83603
+ min-inline-size: 0;
83604
+ }
83605
+
83606
+ :host input[part="input"]:-moz-placeholder-shown {
83607
+ text-overflow: ellipsis;
83608
+ }
83609
+
83610
+ :host input[part="input"]:placeholder-shown {
83611
+ text-overflow: ellipsis;
83612
+ }
83613
+
83420
83614
  :host [part="label"] {
83421
83615
  -webkit-user-select: none;
83422
83616
  -moz-user-select: none;
@@ -83424,6 +83618,7 @@ function Oz() {
83424
83618
  pointer-events: none;
83425
83619
  transform-origin: 0 0;
83426
83620
  text-align: left;
83621
+ max-inline-size: calc(100% - var(--datebox-padding-left) - var(--datebox-padding-right));
83427
83622
  text-overflow: ellipsis;
83428
83623
  white-space: nowrap;
83429
83624
  will-change: transform;
@@ -84973,6 +85168,18 @@ function Hz() {
84973
85168
  position: relative;
84974
85169
  }
84975
85170
 
85171
+ :host input[part="input"] {
85172
+ min-inline-size: 0;
85173
+ }
85174
+
85175
+ :host input[part="input"]:-moz-placeholder-shown {
85176
+ text-overflow: ellipsis;
85177
+ }
85178
+
85179
+ :host input[part="input"]:placeholder-shown {
85180
+ text-overflow: ellipsis;
85181
+ }
85182
+
84976
85183
  :host [part="label"] {
84977
85184
  -webkit-user-select: none;
84978
85185
  -moz-user-select: none;
@@ -84980,6 +85187,7 @@ function Hz() {
84980
85187
  pointer-events: none;
84981
85188
  transform-origin: 0 0;
84982
85189
  text-align: left;
85190
+ max-inline-size: calc(100% - var(--datetimebox-padding-left) - var(--datetimebox-padding-right));
84983
85191
  text-overflow: ellipsis;
84984
85192
  white-space: nowrap;
84985
85193
  will-change: transform;
@@ -85253,6 +85461,18 @@ function Uz() {
85253
85461
  position: relative;
85254
85462
  }
85255
85463
 
85464
+ :host input[part="input"] {
85465
+ min-inline-size: 0;
85466
+ }
85467
+
85468
+ :host input[part="input"]:-moz-placeholder-shown {
85469
+ text-overflow: ellipsis;
85470
+ }
85471
+
85472
+ :host input[part="input"]:placeholder-shown {
85473
+ text-overflow: ellipsis;
85474
+ }
85475
+
85256
85476
  :host [part="label"] {
85257
85477
  -webkit-user-select: none;
85258
85478
  -moz-user-select: none;
@@ -85260,6 +85480,7 @@ function Uz() {
85260
85480
  pointer-events: none;
85261
85481
  transform-origin: 0 0;
85262
85482
  text-align: left;
85483
+ max-inline-size: calc(100% - var(--datetimebox-padding-left) - var(--datetimebox-padding-right));
85263
85484
  text-overflow: ellipsis;
85264
85485
  white-space: nowrap;
85265
85486
  will-change: transform;
@@ -85730,6 +85951,18 @@ function Wz() {
85730
85951
  position: relative;
85731
85952
  }
85732
85953
 
85954
+ :host input[part="input"] {
85955
+ min-inline-size: 0;
85956
+ }
85957
+
85958
+ :host input[part="input"]:-moz-placeholder-shown {
85959
+ text-overflow: ellipsis;
85960
+ }
85961
+
85962
+ :host input[part="input"]:placeholder-shown {
85963
+ text-overflow: ellipsis;
85964
+ }
85965
+
85733
85966
  :host [part="label"] {
85734
85967
  -webkit-user-select: none;
85735
85968
  -moz-user-select: none;
@@ -85737,6 +85970,7 @@ function Wz() {
85737
85970
  pointer-events: none;
85738
85971
  transform-origin: 0 0;
85739
85972
  text-align: left;
85973
+ max-inline-size: calc(100% - var(--datetimebox-padding-left) - var(--datetimebox-padding-right));
85740
85974
  text-overflow: ellipsis;
85741
85975
  white-space: nowrap;
85742
85976
  will-change: transform;
@@ -86690,6 +86924,18 @@ function Xz() {
86690
86924
  position: relative;
86691
86925
  }
86692
86926
 
86927
+ :host input[part="input"] {
86928
+ min-inline-size: 0;
86929
+ }
86930
+
86931
+ :host input[part="input"]:-moz-placeholder-shown {
86932
+ text-overflow: ellipsis;
86933
+ }
86934
+
86935
+ :host input[part="input"]:placeholder-shown {
86936
+ text-overflow: ellipsis;
86937
+ }
86938
+
86693
86939
  :host [part="label"] {
86694
86940
  -webkit-user-select: none;
86695
86941
  -moz-user-select: none;
@@ -86697,6 +86943,7 @@ function Xz() {
86697
86943
  pointer-events: none;
86698
86944
  transform-origin: 0 0;
86699
86945
  text-align: left;
86946
+ max-inline-size: calc(100% - var(--durationbox-padding-left) - var(--durationbox-padding-right));
86700
86947
  text-overflow: ellipsis;
86701
86948
  white-space: nowrap;
86702
86949
  will-change: transform;
@@ -86952,6 +87199,18 @@ function Zz() {
86952
87199
  position: relative;
86953
87200
  }
86954
87201
 
87202
+ :host input[part="input"] {
87203
+ min-inline-size: 0;
87204
+ }
87205
+
87206
+ :host input[part="input"]:-moz-placeholder-shown {
87207
+ text-overflow: ellipsis;
87208
+ }
87209
+
87210
+ :host input[part="input"]:placeholder-shown {
87211
+ text-overflow: ellipsis;
87212
+ }
87213
+
86955
87214
  :host [part="label"] {
86956
87215
  -webkit-user-select: none;
86957
87216
  -moz-user-select: none;
@@ -86959,6 +87218,7 @@ function Zz() {
86959
87218
  pointer-events: none;
86960
87219
  transform-origin: 0 0;
86961
87220
  text-align: left;
87221
+ max-inline-size: calc(100% - var(--durationbox-padding-left) - var(--durationbox-padding-right));
86962
87222
  text-overflow: ellipsis;
86963
87223
  white-space: nowrap;
86964
87224
  will-change: transform;
@@ -87455,6 +87715,18 @@ function Qz() {
87455
87715
  position: relative;
87456
87716
  }
87457
87717
 
87718
+ :host input[part="input"] {
87719
+ min-inline-size: 0;
87720
+ }
87721
+
87722
+ :host input[part="input"]:-moz-placeholder-shown {
87723
+ text-overflow: ellipsis;
87724
+ }
87725
+
87726
+ :host input[part="input"]:placeholder-shown {
87727
+ text-overflow: ellipsis;
87728
+ }
87729
+
87458
87730
  :host [part="label"] {
87459
87731
  -webkit-user-select: none;
87460
87732
  -moz-user-select: none;
@@ -87462,6 +87734,7 @@ function Qz() {
87462
87734
  pointer-events: none;
87463
87735
  transform-origin: 0 0;
87464
87736
  text-align: left;
87737
+ max-inline-size: calc(100% - var(--durationbox-padding-left) - var(--durationbox-padding-right));
87465
87738
  text-overflow: ellipsis;
87466
87739
  white-space: nowrap;
87467
87740
  will-change: transform;
@@ -88038,6 +88311,18 @@ function iB() {
88038
88311
  position: relative;
88039
88312
  }
88040
88313
 
88314
+ :host input[part="input"] {
88315
+ min-inline-size: 0;
88316
+ }
88317
+
88318
+ :host input[part="input"]:-moz-placeholder-shown {
88319
+ text-overflow: ellipsis;
88320
+ }
88321
+
88322
+ :host input[part="input"]:placeholder-shown {
88323
+ text-overflow: ellipsis;
88324
+ }
88325
+
88041
88326
  :host [part="label"] {
88042
88327
  -webkit-user-select: none;
88043
88328
  -moz-user-select: none;
@@ -88045,6 +88330,7 @@ function iB() {
88045
88330
  pointer-events: none;
88046
88331
  transform-origin: 0 0;
88047
88332
  text-align: left;
88333
+ max-inline-size: calc(100% - var(--filebox-padding-left) - var(--filebox-padding-right));
88048
88334
  text-overflow: ellipsis;
88049
88335
  white-space: nowrap;
88050
88336
  will-change: transform;
@@ -88261,6 +88547,18 @@ function aB() {
88261
88547
  position: relative;
88262
88548
  }
88263
88549
 
88550
+ :host input[part="input"] {
88551
+ min-inline-size: 0;
88552
+ }
88553
+
88554
+ :host input[part="input"]:-moz-placeholder-shown {
88555
+ text-overflow: ellipsis;
88556
+ }
88557
+
88558
+ :host input[part="input"]:placeholder-shown {
88559
+ text-overflow: ellipsis;
88560
+ }
88561
+
88264
88562
  :host [part="label"] {
88265
88563
  -webkit-user-select: none;
88266
88564
  -moz-user-select: none;
@@ -88268,6 +88566,7 @@ function aB() {
88268
88566
  pointer-events: none;
88269
88567
  transform-origin: 0 0;
88270
88568
  text-align: left;
88569
+ max-inline-size: calc(100% - var(--filebox-padding-left) - var(--filebox-padding-right));
88271
88570
  text-overflow: ellipsis;
88272
88571
  white-space: nowrap;
88273
88572
  will-change: transform;
@@ -88691,6 +88990,18 @@ function oB() {
88691
88990
  position: relative;
88692
88991
  }
88693
88992
 
88993
+ :host input[part="input"] {
88994
+ min-inline-size: 0;
88995
+ }
88996
+
88997
+ :host input[part="input"]:-moz-placeholder-shown {
88998
+ text-overflow: ellipsis;
88999
+ }
89000
+
89001
+ :host input[part="input"]:placeholder-shown {
89002
+ text-overflow: ellipsis;
89003
+ }
89004
+
88694
89005
  :host [part="label"] {
88695
89006
  -webkit-user-select: none;
88696
89007
  -moz-user-select: none;
@@ -88698,6 +89009,7 @@ function oB() {
88698
89009
  pointer-events: none;
88699
89010
  transform-origin: 0 0;
88700
89011
  text-align: left;
89012
+ max-inline-size: calc(100% - var(--filebox-padding-left) - var(--filebox-padding-right));
88701
89013
  text-overflow: ellipsis;
88702
89014
  white-space: nowrap;
88703
89015
  will-change: transform;
@@ -94964,6 +95276,18 @@ function eH() {
94964
95276
  position: relative;
94965
95277
  }
94966
95278
 
95279
+ :host input[part="input"] {
95280
+ min-inline-size: 0;
95281
+ }
95282
+
95283
+ :host input[part="input"]:-moz-placeholder-shown {
95284
+ text-overflow: ellipsis;
95285
+ }
95286
+
95287
+ :host input[part="input"]:placeholder-shown {
95288
+ text-overflow: ellipsis;
95289
+ }
95290
+
94967
95291
  :host [part="label"] {
94968
95292
  -webkit-user-select: none;
94969
95293
  -moz-user-select: none;
@@ -94971,6 +95295,7 @@ function eH() {
94971
95295
  pointer-events: none;
94972
95296
  transform-origin: 0 0;
94973
95297
  text-align: left;
95298
+ max-inline-size: calc(100% - var(--passwordbox-padding-left) - var(--passwordbox-padding-right));
94974
95299
  text-overflow: ellipsis;
94975
95300
  white-space: nowrap;
94976
95301
  will-change: transform;
@@ -95186,6 +95511,18 @@ function tH() {
95186
95511
  position: relative;
95187
95512
  }
95188
95513
 
95514
+ :host input[part="input"] {
95515
+ min-inline-size: 0;
95516
+ }
95517
+
95518
+ :host input[part="input"]:-moz-placeholder-shown {
95519
+ text-overflow: ellipsis;
95520
+ }
95521
+
95522
+ :host input[part="input"]:placeholder-shown {
95523
+ text-overflow: ellipsis;
95524
+ }
95525
+
95189
95526
  :host [part="label"] {
95190
95527
  -webkit-user-select: none;
95191
95528
  -moz-user-select: none;
@@ -95193,6 +95530,7 @@ function tH() {
95193
95530
  pointer-events: none;
95194
95531
  transform-origin: 0 0;
95195
95532
  text-align: left;
95533
+ max-inline-size: calc(100% - var(--passwordbox-padding-left) - var(--passwordbox-padding-right));
95196
95534
  text-overflow: ellipsis;
95197
95535
  white-space: nowrap;
95198
95536
  will-change: transform;
@@ -95615,6 +95953,18 @@ function nH() {
95615
95953
  position: relative;
95616
95954
  }
95617
95955
 
95956
+ :host input[part="input"] {
95957
+ min-inline-size: 0;
95958
+ }
95959
+
95960
+ :host input[part="input"]:-moz-placeholder-shown {
95961
+ text-overflow: ellipsis;
95962
+ }
95963
+
95964
+ :host input[part="input"]:placeholder-shown {
95965
+ text-overflow: ellipsis;
95966
+ }
95967
+
95618
95968
  :host [part="label"] {
95619
95969
  -webkit-user-select: none;
95620
95970
  -moz-user-select: none;
@@ -95622,6 +95972,7 @@ function nH() {
95622
95972
  pointer-events: none;
95623
95973
  transform-origin: 0 0;
95624
95974
  text-align: left;
95975
+ max-inline-size: calc(100% - var(--passwordbox-padding-left) - var(--passwordbox-padding-right));
95625
95976
  text-overflow: ellipsis;
95626
95977
  white-space: nowrap;
95627
95978
  will-change: transform;
@@ -101369,6 +101720,18 @@ function RU() {
101369
101720
  overflow-y: auto;
101370
101721
  }
101371
101722
 
101723
+ :host input[part="input"] {
101724
+ min-inline-size: 0;
101725
+ }
101726
+
101727
+ :host input[part="input"]:-moz-placeholder-shown {
101728
+ text-overflow: ellipsis;
101729
+ }
101730
+
101731
+ :host input[part="input"]:placeholder-shown {
101732
+ text-overflow: ellipsis;
101733
+ }
101734
+
101372
101735
  :host [part="label"] {
101373
101736
  -webkit-user-select: none;
101374
101737
  -moz-user-select: none;
@@ -101376,6 +101739,7 @@ function RU() {
101376
101739
  pointer-events: none;
101377
101740
  transform-origin: 0 0;
101378
101741
  text-align: left;
101742
+ max-inline-size: calc(100% - var(--prompt-box-padding-left) - var(--prompt-box-padding-right));
101379
101743
  text-overflow: ellipsis;
101380
101744
  white-space: nowrap;
101381
101745
  will-change: transform;
@@ -101456,9 +101820,10 @@ function zU() {
101456
101820
  --prompt-box-floating-label-font-size: 12px;
101457
101821
  --prompt-box-floating-label-line-height: 12px;
101458
101822
  --prompt-box-focus-ring-active-width: 8px;
101459
- --prompt-box-focus-ring-color: unset;
101823
+ --prompt-box-focus-ring-color: var(--joy-scheme-highlight);
101460
101824
  --prompt-box-focus-ring-inward-offset: 2px;
101461
101825
  --prompt-box-focus-ring-outward-offset: 0px;
101826
+ --prompt-box-focus-ring-width: 0px;
101462
101827
  --prompt-box-font-family: unset;
101463
101828
  --prompt-box-font-letter-spacing: unset;
101464
101829
  --prompt-box-font-line-height: unset;
@@ -101577,6 +101942,18 @@ function zU() {
101577
101942
  overflow-y: auto;
101578
101943
  }
101579
101944
 
101945
+ :host input[part="input"] {
101946
+ min-inline-size: 0;
101947
+ }
101948
+
101949
+ :host input[part="input"]:-moz-placeholder-shown {
101950
+ text-overflow: ellipsis;
101951
+ }
101952
+
101953
+ :host input[part="input"]:placeholder-shown {
101954
+ text-overflow: ellipsis;
101955
+ }
101956
+
101580
101957
  :host [part="label"] {
101581
101958
  -webkit-user-select: none;
101582
101959
  -moz-user-select: none;
@@ -101584,6 +101961,7 @@ function zU() {
101584
101961
  pointer-events: none;
101585
101962
  transform-origin: 0 0;
101586
101963
  text-align: left;
101964
+ max-inline-size: calc(100% - var(--prompt-box-padding-left) - var(--prompt-box-padding-right));
101587
101965
  text-overflow: ellipsis;
101588
101966
  white-space: nowrap;
101589
101967
  will-change: transform;
@@ -101662,46 +102040,59 @@ function zU() {
101662
102040
  :host([appearance="plain"]) {
101663
102041
  --prompt-box-border-width: 0;
101664
102042
  --prompt-box-background-color: var(--joy-scheme-transparent);
102043
+ --prompt-box-focus-ring-inward-offset: 0px;
102044
+ --prompt-box-focus-ring-outward-offset: 0px;
101665
102045
  }
101666
102046
 
101667
102047
  :host([appearance="soft"]), :host([appearance="solid"]) {
101668
102048
  --prompt-box-background-color: var(--joy-scheme-highlight);
102049
+ --prompt-box-focus-ring-inward-offset: 0px;
102050
+ --prompt-box-focus-ring-outward-offset: 0px;
101669
102051
  }
101670
102052
 
101671
102053
  :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101672
102054
  --prompt-box-border-color: var(--joy-color-primary-500);
102055
+ --prompt-box-focus-ring-color: var(--joy-color-primary-500);
101673
102056
  }
101674
102057
 
101675
102058
  :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101676
102059
  --prompt-box-border-color: var(--joy-color-secondary-500);
102060
+ --prompt-box-focus-ring-color: var(--joy-color-secondary-500);
101677
102061
  }
101678
102062
 
101679
102063
  :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101680
102064
  --prompt-box-border-color: var(--joy-color-tertiary-500);
102065
+ --prompt-box-focus-ring-color: var(--joy-color-tertiary-500);
101681
102066
  }
101682
102067
 
101683
102068
  :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101684
102069
  --prompt-box-border-color: var(--joy-color-danger-500);
102070
+ --prompt-box-focus-ring-color: var(--joy-color-danger-500);
101685
102071
  }
101686
102072
 
101687
102073
  :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101688
102074
  --prompt-box-border-color: var(--joy-color-warning-500);
102075
+ --prompt-box-focus-ring-color: var(--joy-color-warning-500);
101689
102076
  }
101690
102077
 
101691
102078
  :host([variant="success"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101692
102079
  --prompt-box-border-color: var(--joy-color-success-500);
102080
+ --prompt-box-focus-ring-color: var(--joy-color-success-500);
101693
102081
  }
101694
102082
 
101695
102083
  :host([variant="info"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101696
102084
  --prompt-box-border-color: var(--joy-color-info-500);
102085
+ --prompt-box-focus-ring-color: var(--joy-color-info-500);
101697
102086
  }
101698
102087
 
101699
102088
  :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101700
102089
  --prompt-box-border-color: var(--joy-color-highlight-500);
102090
+ --prompt-box-focus-ring-color: var(--joy-color-highlight-500);
101701
102091
  }
101702
102092
 
101703
102093
  :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):hover), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):active), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([readonly]:not([readonly="false"])):focus-within) {
101704
102094
  --prompt-box-border-color: var(--joy-color-neutral-500);
102095
+ --prompt-box-focus-ring-color: var(--joy-color-neutral-500);
101705
102096
  }
101706
102097
 
101707
102098
  `;
@@ -101840,6 +102231,18 @@ function BU() {
101840
102231
  overflow-y: auto;
101841
102232
  }
101842
102233
 
102234
+ :host input[part="input"] {
102235
+ min-inline-size: 0;
102236
+ }
102237
+
102238
+ :host input[part="input"]:-moz-placeholder-shown {
102239
+ text-overflow: ellipsis;
102240
+ }
102241
+
102242
+ :host input[part="input"]:placeholder-shown {
102243
+ text-overflow: ellipsis;
102244
+ }
102245
+
101843
102246
  :host [part="label"] {
101844
102247
  -webkit-user-select: none;
101845
102248
  -moz-user-select: none;
@@ -101847,6 +102250,7 @@ function BU() {
101847
102250
  pointer-events: none;
101848
102251
  transform-origin: 0 0;
101849
102252
  text-align: left;
102253
+ max-inline-size: calc(100% - var(--prompt-box-padding-left) - var(--prompt-box-padding-right));
101850
102254
  text-overflow: ellipsis;
101851
102255
  white-space: nowrap;
101852
102256
  will-change: transform;
@@ -105312,6 +105716,18 @@ function KW() {
105312
105716
  transition-property: inherit;
105313
105717
  }
105314
105718
 
105719
+ :host input[part="input"] {
105720
+ min-inline-size: 0;
105721
+ }
105722
+
105723
+ :host input[part="input"]:-moz-placeholder-shown {
105724
+ text-overflow: ellipsis;
105725
+ }
105726
+
105727
+ :host input[part="input"]:placeholder-shown {
105728
+ text-overflow: ellipsis;
105729
+ }
105730
+
105315
105731
  :host [part="label"] {
105316
105732
  -webkit-user-select: none;
105317
105733
  -moz-user-select: none;
@@ -105319,6 +105735,7 @@ function KW() {
105319
105735
  pointer-events: none;
105320
105736
  transform-origin: 0 0;
105321
105737
  text-align: left;
105738
+ max-inline-size: calc(100% - var(--richtextbox-padding-left) - var(--richtextbox-padding-right));
105322
105739
  text-overflow: ellipsis;
105323
105740
  white-space: nowrap;
105324
105741
  will-change: transform;
@@ -105561,6 +105978,18 @@ function qW() {
105561
105978
  transition-property: inherit;
105562
105979
  }
105563
105980
 
105981
+ :host input[part="input"] {
105982
+ min-inline-size: 0;
105983
+ }
105984
+
105985
+ :host input[part="input"]:-moz-placeholder-shown {
105986
+ text-overflow: ellipsis;
105987
+ }
105988
+
105989
+ :host input[part="input"]:placeholder-shown {
105990
+ text-overflow: ellipsis;
105991
+ }
105992
+
105564
105993
  :host [part="label"] {
105565
105994
  -webkit-user-select: none;
105566
105995
  -moz-user-select: none;
@@ -105568,6 +105997,7 @@ function qW() {
105568
105997
  pointer-events: none;
105569
105998
  transform-origin: 0 0;
105570
105999
  text-align: left;
106000
+ max-inline-size: calc(100% - var(--richtextbox-padding-left) - var(--richtextbox-padding-right));
105571
106001
  text-overflow: ellipsis;
105572
106002
  white-space: nowrap;
105573
106003
  will-change: transform;
@@ -106042,6 +106472,18 @@ function JW() {
106042
106472
  transition-property: inherit;
106043
106473
  }
106044
106474
 
106475
+ :host input[part="input"] {
106476
+ min-inline-size: 0;
106477
+ }
106478
+
106479
+ :host input[part="input"]:-moz-placeholder-shown {
106480
+ text-overflow: ellipsis;
106481
+ }
106482
+
106483
+ :host input[part="input"]:placeholder-shown {
106484
+ text-overflow: ellipsis;
106485
+ }
106486
+
106045
106487
  :host [part="label"] {
106046
106488
  -webkit-user-select: none;
106047
106489
  -moz-user-select: none;
@@ -106049,6 +106491,7 @@ function JW() {
106049
106491
  pointer-events: none;
106050
106492
  transform-origin: 0 0;
106051
106493
  text-align: left;
106494
+ max-inline-size: calc(100% - var(--richtextbox-padding-left) - var(--richtextbox-padding-right));
106052
106495
  text-overflow: ellipsis;
106053
106496
  white-space: nowrap;
106054
106497
  will-change: transform;
@@ -120159,6 +120602,18 @@ function Lq() {
120159
120602
  position: relative;
120160
120603
  }
120161
120604
 
120605
+ :host input[part="input"] {
120606
+ min-inline-size: 0;
120607
+ }
120608
+
120609
+ :host input[part="input"]:-moz-placeholder-shown {
120610
+ text-overflow: ellipsis;
120611
+ }
120612
+
120613
+ :host input[part="input"]:placeholder-shown {
120614
+ text-overflow: ellipsis;
120615
+ }
120616
+
120162
120617
  :host [part="label"] {
120163
120618
  -webkit-user-select: none;
120164
120619
  -moz-user-select: none;
@@ -120166,6 +120621,7 @@ function Lq() {
120166
120621
  pointer-events: none;
120167
120622
  transform-origin: 0 0;
120168
120623
  text-align: left;
120624
+ max-inline-size: calc(100% - var(--timebox-padding-left) - var(--timebox-padding-right));
120169
120625
  text-overflow: ellipsis;
120170
120626
  white-space: nowrap;
120171
120627
  will-change: transform;
@@ -120418,6 +120874,18 @@ function Rq() {
120418
120874
  position: relative;
120419
120875
  }
120420
120876
 
120877
+ :host input[part="input"] {
120878
+ min-inline-size: 0;
120879
+ }
120880
+
120881
+ :host input[part="input"]:-moz-placeholder-shown {
120882
+ text-overflow: ellipsis;
120883
+ }
120884
+
120885
+ :host input[part="input"]:placeholder-shown {
120886
+ text-overflow: ellipsis;
120887
+ }
120888
+
120421
120889
  :host [part="label"] {
120422
120890
  -webkit-user-select: none;
120423
120891
  -moz-user-select: none;
@@ -120425,6 +120893,7 @@ function Rq() {
120425
120893
  pointer-events: none;
120426
120894
  transform-origin: 0 0;
120427
120895
  text-align: left;
120896
+ max-inline-size: calc(100% - var(--timebox-padding-left) - var(--timebox-padding-right));
120428
120897
  text-overflow: ellipsis;
120429
120898
  white-space: nowrap;
120430
120899
  will-change: transform;
@@ -120877,6 +121346,18 @@ function zq() {
120877
121346
  position: relative;
120878
121347
  }
120879
121348
 
121349
+ :host input[part="input"] {
121350
+ min-inline-size: 0;
121351
+ }
121352
+
121353
+ :host input[part="input"]:-moz-placeholder-shown {
121354
+ text-overflow: ellipsis;
121355
+ }
121356
+
121357
+ :host input[part="input"]:placeholder-shown {
121358
+ text-overflow: ellipsis;
121359
+ }
121360
+
120880
121361
  :host [part="label"] {
120881
121362
  -webkit-user-select: none;
120882
121363
  -moz-user-select: none;
@@ -120884,6 +121365,7 @@ function zq() {
120884
121365
  pointer-events: none;
120885
121366
  transform-origin: 0 0;
120886
121367
  text-align: left;
121368
+ max-inline-size: calc(100% - var(--timebox-padding-left) - var(--timebox-padding-right));
120887
121369
  text-overflow: ellipsis;
120888
121370
  white-space: nowrap;
120889
121371
  will-change: transform;
@@ -142982,15 +143464,15 @@ function Efe(e) {
142982
143464
  @scroll="${(t) => e.handleMessagesScroll(t.detail.distanceToEnd)}">
142983
143465
  <div part="messages">
142984
143466
  <slot name="message"></slot>
142985
- ${R(e.scrollToEnd, () => I`
142986
- <mosaik-back-top part="backTop"
142987
- .dir="${e.dir}"
142988
- .lang="${e.lang}"
142989
- .offset="${e.scrollToEndThreshold}"
142990
- .to="${"bottom"}"></mosaik-back-top>
142991
- `)}
142992
143467
  </div>
142993
143468
  </mosaik-scroll>
143469
+ ${R(e.scrollToEnd, () => I`
143470
+ <mosaik-back-top part="backTop"
143471
+ .dir="${e.dir}"
143472
+ .lang="${e.lang}"
143473
+ .offset="${e.scrollToEndThreshold}"
143474
+ .to="${e.begin === W$.End ? "bottom" : "top"}"></mosaik-back-top>
143475
+ `)}
142994
143476
  </div>
142995
143477
  <div part="empty">
142996
143478
  <slot name="empty"></slot>
@@ -146042,9 +146524,22 @@ var Xfe = function(e, t, n, r) {
146042
146524
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
146043
146525
  return i > 3 && a && Object.defineProperty(t, n, a), a;
146044
146526
  }, c1 = class extends CU {
146527
+ _inheritance = wx(this, { context: Q$ });
146045
146528
  static get is() {
146046
146529
  return "mosaik-chat-prompt-box";
146047
146530
  }
146531
+ get variant() {
146532
+ return this._inheritance.get("variant", super.variant);
146533
+ }
146534
+ set variant(e) {
146535
+ this._inheritance.markExplicit("variant"), super.variant = e;
146536
+ }
146537
+ get appearance() {
146538
+ return this._inheritance.get("appearance", super.appearance);
146539
+ }
146540
+ set appearance(e) {
146541
+ this._inheritance.markExplicit("appearance"), super.appearance = e;
146542
+ }
146048
146543
  };
146049
146544
  c1 = Xfe([L({
146050
146545
  selector: "mosaik-chat-prompt-box",
@@ -146541,10 +147036,15 @@ var d1 = function(e, t, n, r) {
146541
147036
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
146542
147037
  }, p1 = class extends A(YE(U(P(W(T))))) {
146543
147038
  _intl;
147039
+ _messageResizeController;
147040
+ _observedMessageElements;
147041
+ _pendingInitialMessageResizeElements;
146544
147042
  _scrollToEnd;
146545
147043
  _scrollToEndThreshold;
146546
147044
  _scrollEndDistance;
146547
147045
  _isScrollEndAnchored;
147046
+ _messageResizeFollowFrame;
147047
+ _isMessageResizeFollowScheduled;
146548
147048
  _begin;
146549
147049
  _promptBoxElement;
146550
147050
  constructor() {
@@ -146555,7 +147055,11 @@ var d1 = function(e, t, n, r) {
146555
147055
  appearance: this.appearance,
146556
147056
  intl: this.intl
146557
147057
  })
146558
- }), this._scrollToEnd = l1.DEFAULTS.scrollToEnd, this._scrollToEndThreshold = l1.DEFAULTS.scrollToEndThreshold, this._scrollEndDistance = 0, this._isScrollEndAnchored = !0, this._begin = l1.DEFAULTS.begin;
147058
+ }), this._messageResizeController = new hL(this, {
147059
+ target: null,
147060
+ skipInitial: !0,
147061
+ callback: (e) => this.handleMessageResizes(e)
147062
+ }), this._scrollToEnd = l1.DEFAULTS.scrollToEnd, this._scrollToEndThreshold = l1.DEFAULTS.scrollToEndThreshold, this._scrollEndDistance = 0, this._isScrollEndAnchored = !0, this._observedMessageElements = /* @__PURE__ */ new Set(), this._pendingInitialMessageResizeElements = /* @__PURE__ */ new Set(), this._messageResizeFollowFrame = null, this._isMessageResizeFollowScheduled = !1, this._begin = l1.DEFAULTS.begin;
146559
147063
  }
146560
147064
  static get is() {
146561
147065
  return "mosaik-chat";
@@ -146585,14 +147089,22 @@ var d1 = function(e, t, n, r) {
146585
147089
  set intl(e) {
146586
147090
  this._intl.provide(e);
146587
147091
  }
146588
- onApplyTemplate() {
146589
- super.onApplyTemplate(), this.scrollToEnd && this.configureBackTop(), this.begin === W$.End && this.scrollMessagesToEnd(!1);
147092
+ connectedCallback() {
147093
+ super.connectedCallback(), this.hasUpdated && this.updateComplete.then(() => this.syncObservedMessageElements());
147094
+ }
147095
+ disconnectedCallback() {
147096
+ this.releaseMessageResizeObservations(), super.disconnectedCallback();
146590
147097
  }
146591
147098
  onSlotChanges(e) {
146592
- super.onSlotChanges(e), e === "input" && (this._promptBoxElement = this.getSlotAssignmentsOf("input", c1).at(0), this._promptBoxElement && (this._promptBoxElement.dir = this.dir, this._promptBoxElement.variant = this.variant, this._promptBoxElement.appearance = this.appearance, this._promptBoxElement.placeholder = this.intl.inputPlaceholder)), (e === void 0 || e === "message") && this.hasUpdated && this.begin === W$.End && this.scrollToEnd && this._isScrollEndAnchored && this.scrollMessagesToEnd(!0);
147099
+ super.onSlotChanges(e), e === "input" && (this._promptBoxElement = this.getSlotAssignmentsOf("input", c1).at(0), this._promptBoxElement && (this._promptBoxElement.dir = this.dir, this._promptBoxElement.placeholder = this.intl.inputPlaceholder)), (e === void 0 || e === "message") && (this.syncObservedMessageElements(), this.hasUpdated && this.begin === W$.End && this.scrollToEnd && this._isScrollEndAnchored && this.scrollMessagesToEnd(!0));
146593
147100
  }
146594
147101
  handleMessagesScroll(e) {
146595
- this._scrollEndDistance = e, this._isScrollEndAnchored = e <= this.scrollToEndThreshold;
147102
+ Number.isFinite(e) && (this._scrollEndDistance = Math.max(0, e), this._isScrollEndAnchored = this._scrollEndDistance <= this.scrollToEndThreshold);
147103
+ }
147104
+ onApplyTemplate() {
147105
+ super.onApplyTemplate(), this.begin === W$.End ? this.scrollMessagesToEnd(!1).then(() => {
147106
+ this.scrollToEnd && this.configureBackTop();
147107
+ }) : this.scrollToEnd && this.configureBackTop(), this.syncObservedMessageElements();
146596
147108
  }
146597
147109
  onWidthPropertyChanged(e, t) {
146598
147110
  t === void 0 || Pv.isAuto(t) ? (j.current.removeStyle(this, "min-width"), j.current.removeStyle(this, "width")) : (j.current.setStyle(this, "min-width", t), j.current.setStyle(this, "width", t));
@@ -146609,13 +147121,35 @@ var d1 = function(e, t, n, r) {
146609
147121
  this.scrollToEnd && this.getTemplatePart("backTop").attach(e.getScrollableElement());
146610
147122
  });
146611
147123
  }
147124
+ syncObservedMessageElements() {
147125
+ let e = new Set(this.getSlotAssignments("message"));
147126
+ for (let t of this._observedMessageElements) e.has(t) || (this._messageResizeController.unobserve(t), this._observedMessageElements.delete(t), this._pendingInitialMessageResizeElements.delete(t));
147127
+ for (let t of e) this._observedMessageElements.has(t) || (this._observedMessageElements.add(t), this._pendingInitialMessageResizeElements.add(t), this._messageResizeController.observe(t));
147128
+ }
147129
+ handleMessageResizes(e) {
147130
+ let t = !1;
147131
+ for (let n of e) this._observedMessageElements.has(n.target) && (this._pendingInitialMessageResizeElements.delete(n.target) || (t = !0));
147132
+ t && this.scheduleMessageResizeFollow();
147133
+ }
147134
+ scheduleMessageResizeFollow() {
147135
+ if (this._isMessageResizeFollowScheduled) return;
147136
+ this._isMessageResizeFollowScheduled = !0;
147137
+ let e = requestAnimationFrame(() => {
147138
+ this._isMessageResizeFollowScheduled = !1, this._messageResizeFollowFrame = null, this.scrollMessagesToEnd(!0);
147139
+ });
147140
+ this._messageResizeFollowFrame = this._isMessageResizeFollowScheduled ? e : null;
147141
+ }
147142
+ releaseMessageResizeObservations() {
147143
+ for (let e of this._observedMessageElements) this._messageResizeController.unobserve(e);
147144
+ this._observedMessageElements.clear(), this._pendingInitialMessageResizeElements.clear(), this._messageResizeFollowFrame !== null && cancelAnimationFrame(this._messageResizeFollowFrame), this._messageResizeFollowFrame = null, this._isMessageResizeFollowScheduled = !1;
147145
+ }
146612
147146
  scrollMessagesToEnd(e) {
146613
147147
  let t = this.getTemplatePart("scroll");
146614
- t.updateComplete.then(() => {
147148
+ return t.updateComplete.then(() => new Promise((n) => {
146615
147149
  requestAnimationFrame(() => {
146616
- this.begin === W$.End && (!e || this.scrollToEnd && this._isScrollEndAnchored) && t.scrollToPosition(2 ** 53 - 1, !1);
147150
+ this.begin === W$.End && (!e || this.scrollToEnd && this._isScrollEndAnchored) && t.scrollToPosition(2 ** 53 - 1, !1), n();
146617
147151
  });
146618
- });
147152
+ }));
146619
147153
  }
146620
147154
  };
146621
147155
  d1([
@@ -148122,9 +148656,22 @@ var fpe = function(e, t, n, r) {
148122
148656
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
148123
148657
  return i > 3 && a && Object.defineProperty(t, n, a), a;
148124
148658
  }, C1 = class extends FU {
148659
+ _inheritance = wx(this, { context: Q$ });
148125
148660
  static get is() {
148126
148661
  return "mosaik-chat-prompt-box-attachment-list";
148127
148662
  }
148663
+ get variant() {
148664
+ return this._inheritance.get("variant", super.variant);
148665
+ }
148666
+ set variant(e) {
148667
+ this._inheritance.markExplicit("variant"), super.variant = e;
148668
+ }
148669
+ get appearance() {
148670
+ return this._inheritance.get("appearance", super.appearance);
148671
+ }
148672
+ set appearance(e) {
148673
+ this._inheritance.markExplicit("appearance"), super.appearance = e;
148674
+ }
148128
148675
  };
148129
148676
  C1 = fpe([L({
148130
148677
  selector: "mosaik-chat-prompt-box-attachment-list",
@@ -171700,11 +172247,14 @@ function o_e() {
171700
172247
  }
171701
172248
 
171702
172249
  :host {
172250
+ box-sizing: border-box;
172251
+ min-width: 0;
172252
+ max-width: 100%;
171703
172253
  padding: var(--toast-actions-padding-top) var(--toast-actions-padding-right) var(--toast-actions-padding-bottom) var(--toast-actions-padding-left);
171704
172254
  justify-content: space-between;
171705
172255
  align-items: center;
171706
172256
  gap: var(--toast-actions-gap);
171707
- flex-direction: row;
172257
+ flex-flow: wrap;
171708
172258
  display: flex;
171709
172259
  position: relative;
171710
172260
  }
@@ -171712,7 +172262,9 @@ function o_e() {
171712
172262
  :host [part="prefix"], :host [part="content"], :host [part="suffix"] {
171713
172263
  align-items: center;
171714
172264
  gap: var(--toast-actions-gap);
171715
- flex-direction: row;
172265
+ flex-flow: wrap;
172266
+ min-width: 0;
172267
+ max-width: 100%;
171716
172268
  display: flex;
171717
172269
  }
171718
172270
 
@@ -171721,6 +172273,11 @@ function o_e() {
171721
172273
  justify-content: flex-end;
171722
172274
  }
171723
172275
 
172276
+ :host ::slotted(*) {
172277
+ min-width: 0;
172278
+ max-width: 100%;
172279
+ }
172280
+
171724
172281
  `;
171725
172282
  }
171726
172283
  //#endregion
@@ -171779,11 +172336,14 @@ function s_e() {
171779
172336
  }
171780
172337
 
171781
172338
  :host {
172339
+ box-sizing: border-box;
172340
+ min-width: 0;
172341
+ max-width: 100%;
171782
172342
  padding: var(--toast-actions-padding-top) var(--toast-actions-padding-right) var(--toast-actions-padding-bottom) var(--toast-actions-padding-left);
171783
172343
  justify-content: space-between;
171784
172344
  align-items: center;
171785
172345
  gap: var(--toast-actions-gap);
171786
- flex-direction: row;
172346
+ flex-flow: wrap;
171787
172347
  display: flex;
171788
172348
  position: relative;
171789
172349
  }
@@ -171791,7 +172351,9 @@ function s_e() {
171791
172351
  :host [part="prefix"], :host [part="content"], :host [part="suffix"] {
171792
172352
  align-items: center;
171793
172353
  gap: var(--toast-actions-gap);
171794
- flex-direction: row;
172354
+ flex-flow: wrap;
172355
+ min-width: 0;
172356
+ max-width: 100%;
171795
172357
  display: flex;
171796
172358
  }
171797
172359
 
@@ -171800,6 +172362,11 @@ function s_e() {
171800
172362
  justify-content: flex-end;
171801
172363
  }
171802
172364
 
172365
+ :host ::slotted(*) {
172366
+ min-width: 0;
172367
+ max-width: 100%;
172368
+ }
172369
+
171803
172370
  `;
171804
172371
  }
171805
172372
  //#endregion
@@ -171858,11 +172425,14 @@ function c_e() {
171858
172425
  }
171859
172426
 
171860
172427
  :host {
172428
+ box-sizing: border-box;
172429
+ min-width: 0;
172430
+ max-width: 100%;
171861
172431
  padding: var(--toast-actions-padding-top) var(--toast-actions-padding-right) var(--toast-actions-padding-bottom) var(--toast-actions-padding-left);
171862
172432
  justify-content: space-between;
171863
172433
  align-items: center;
171864
172434
  gap: var(--toast-actions-gap);
171865
- flex-direction: row;
172435
+ flex-flow: wrap;
171866
172436
  display: flex;
171867
172437
  position: relative;
171868
172438
  }
@@ -171870,7 +172440,9 @@ function c_e() {
171870
172440
  :host [part="prefix"], :host [part="content"], :host [part="suffix"] {
171871
172441
  align-items: center;
171872
172442
  gap: var(--toast-actions-gap);
171873
- flex-direction: row;
172443
+ flex-flow: wrap;
172444
+ min-width: 0;
172445
+ max-width: 100%;
171874
172446
  display: flex;
171875
172447
  }
171876
172448
 
@@ -171879,6 +172451,11 @@ function c_e() {
171879
172451
  justify-content: flex-end;
171880
172452
  }
171881
172453
 
172454
+ :host ::slotted(*) {
172455
+ min-width: 0;
172456
+ max-width: 100%;
172457
+ }
172458
+
171882
172459
  `;
171883
172460
  }
171884
172461
  //#endregion
@@ -172047,13 +172624,17 @@ function d_e() {
172047
172624
 
172048
172625
  :host [part="root"] {
172049
172626
  pointer-events: all;
172627
+ box-sizing: border-box;
172628
+ width: max-content;
172629
+ min-width: min(52px, 100dvw - var(--toast-offset-x) * 2);
172630
+ max-width: calc(100dvw - var(--toast-offset-x) * 2);
172631
+ max-height: calc(100dvh - var(--toast-offset-y) * 2);
172050
172632
  border: var(--toast-border);
172051
172633
  border-color: var(--toast-border-color);
172052
172634
  border-radius: var(--toast-border-radius);
172053
172635
  border-style: var(--toast-border-style);
172054
172636
  border-width: var(--toast-border-width);
172055
172637
  background-color: var(--toast-background-color);
172056
- min-width: 52px;
172057
172638
  color: var(--toast-foreground-color);
172058
172639
  box-shadow: var(--toast-shadow);
172059
172640
  transition-duration: var(--toast-transition-duration);
@@ -172073,12 +172654,18 @@ function d_e() {
172073
172654
  :host [part="root"] [part="body"] {
172074
172655
  align-items: center;
172075
172656
  gap: var(--toast-gap);
172076
- flex-direction: row;
172657
+ flex-flow: wrap;
172658
+ min-width: 0;
172659
+ max-width: 100%;
172077
172660
  display: flex;
172078
172661
  }
172079
172662
 
172080
172663
  :host [part="root"] [part="text"] {
172664
+ overflow-wrap: anywhere;
172081
172665
  flex-direction: column;
172666
+ flex: auto;
172667
+ min-width: 0;
172668
+ max-width: 100%;
172082
172669
  display: flex;
172083
172670
  }
172084
172671
 
@@ -172093,11 +172680,24 @@ function d_e() {
172093
172680
  color: inherit;
172094
172681
  }
172095
172682
 
172096
- :host [part="root"] [part="icon"] {
172683
+ :host [part="root"] [part="content"]::part(text) {
172684
+ overflow-wrap: anywhere;
172685
+ -webkit-line-clamp: var(--__max-lines);
172686
+ -webkit-box-orient: vertical;
172687
+ display: -webkit-box;
172688
+ overflow: hidden;
172689
+ }
172690
+
172691
+ :host [part="root"] [part="icon"], :host [part="root"] [part="progressRing"], :host [part="root"] [part="close"] {
172097
172692
  color: inherit;
172098
172693
  flex-shrink: 0;
172099
172694
  }
172100
172695
 
172696
+ :host [part="root"] slot[name="actions"]::slotted(*) {
172697
+ min-width: 0;
172698
+ max-width: 100%;
172699
+ }
172700
+
172101
172701
  :host [part="root"] [part="progressFill"] {
172102
172702
  background-color: var(--toast-progress-fill-color);
172103
172703
  border-radius: inherit;
@@ -172523,13 +173123,17 @@ function f_e() {
172523
173123
 
172524
173124
  :host [part="root"] {
172525
173125
  pointer-events: all;
173126
+ box-sizing: border-box;
173127
+ width: max-content;
173128
+ min-width: min(52px, 100dvw - var(--toast-offset-x) * 2);
173129
+ max-width: calc(100dvw - var(--toast-offset-x) * 2);
173130
+ max-height: calc(100dvh - var(--toast-offset-y) * 2);
172526
173131
  border: var(--toast-border);
172527
173132
  border-color: var(--toast-border-color);
172528
173133
  border-radius: var(--toast-border-radius);
172529
173134
  border-style: var(--toast-border-style);
172530
173135
  border-width: var(--toast-border-width);
172531
173136
  background-color: var(--toast-background-color);
172532
- min-width: 52px;
172533
173137
  color: var(--toast-foreground-color);
172534
173138
  box-shadow: var(--toast-shadow);
172535
173139
  transition-duration: var(--toast-transition-duration);
@@ -172549,12 +173153,18 @@ function f_e() {
172549
173153
  :host [part="root"] [part="body"] {
172550
173154
  align-items: center;
172551
173155
  gap: var(--toast-gap);
172552
- flex-direction: row;
173156
+ flex-flow: wrap;
173157
+ min-width: 0;
173158
+ max-width: 100%;
172553
173159
  display: flex;
172554
173160
  }
172555
173161
 
172556
173162
  :host [part="root"] [part="text"] {
173163
+ overflow-wrap: anywhere;
172557
173164
  flex-direction: column;
173165
+ flex: auto;
173166
+ min-width: 0;
173167
+ max-width: 100%;
172558
173168
  display: flex;
172559
173169
  }
172560
173170
 
@@ -172569,11 +173179,24 @@ function f_e() {
172569
173179
  color: inherit;
172570
173180
  }
172571
173181
 
172572
- :host [part="root"] [part="icon"] {
173182
+ :host [part="root"] [part="content"]::part(text) {
173183
+ overflow-wrap: anywhere;
173184
+ -webkit-line-clamp: var(--__max-lines);
173185
+ -webkit-box-orient: vertical;
173186
+ display: -webkit-box;
173187
+ overflow: hidden;
173188
+ }
173189
+
173190
+ :host [part="root"] [part="icon"], :host [part="root"] [part="progressRing"], :host [part="root"] [part="close"] {
172573
173191
  color: inherit;
172574
173192
  flex-shrink: 0;
172575
173193
  }
172576
173194
 
173195
+ :host [part="root"] slot[name="actions"]::slotted(*) {
173196
+ min-width: 0;
173197
+ max-width: 100%;
173198
+ }
173199
+
172577
173200
  :host [part="root"] [part="progressFill"] {
172578
173201
  background-color: var(--toast-progress-fill-color);
172579
173202
  border-radius: inherit;
@@ -173003,13 +173626,17 @@ function p_e() {
173003
173626
 
173004
173627
  :host [part="root"] {
173005
173628
  pointer-events: all;
173629
+ box-sizing: border-box;
173630
+ width: max-content;
173631
+ min-width: min(52px, 100dvw - var(--toast-offset-x) * 2);
173632
+ max-width: calc(100dvw - var(--toast-offset-x) * 2);
173633
+ max-height: calc(100dvh - var(--toast-offset-y) * 2);
173006
173634
  border: var(--toast-border);
173007
173635
  border-color: var(--toast-border-color);
173008
173636
  border-radius: var(--toast-border-radius);
173009
173637
  border-style: var(--toast-border-style);
173010
173638
  border-width: var(--toast-border-width);
173011
173639
  background-color: var(--toast-background-color);
173012
- min-width: 52px;
173013
173640
  color: var(--toast-foreground-color);
173014
173641
  box-shadow: var(--toast-shadow);
173015
173642
  transition-duration: var(--toast-transition-duration);
@@ -173029,12 +173656,18 @@ function p_e() {
173029
173656
  :host [part="root"] [part="body"] {
173030
173657
  align-items: center;
173031
173658
  gap: var(--toast-gap);
173032
- flex-direction: row;
173659
+ flex-flow: wrap;
173660
+ min-width: 0;
173661
+ max-width: 100%;
173033
173662
  display: flex;
173034
173663
  }
173035
173664
 
173036
173665
  :host [part="root"] [part="text"] {
173666
+ overflow-wrap: anywhere;
173037
173667
  flex-direction: column;
173668
+ flex: auto;
173669
+ min-width: 0;
173670
+ max-width: 100%;
173038
173671
  display: flex;
173039
173672
  }
173040
173673
 
@@ -173049,11 +173682,24 @@ function p_e() {
173049
173682
  color: inherit;
173050
173683
  }
173051
173684
 
173052
- :host [part="root"] [part="icon"] {
173685
+ :host [part="root"] [part="content"]::part(text) {
173686
+ overflow-wrap: anywhere;
173687
+ -webkit-line-clamp: var(--__max-lines);
173688
+ -webkit-box-orient: vertical;
173689
+ display: -webkit-box;
173690
+ overflow: hidden;
173691
+ }
173692
+
173693
+ :host [part="root"] [part="icon"], :host [part="root"] [part="progressRing"], :host [part="root"] [part="close"] {
173053
173694
  color: inherit;
173054
173695
  flex-shrink: 0;
173055
173696
  }
173056
173697
 
173698
+ :host [part="root"] slot[name="actions"]::slotted(*) {
173699
+ min-width: 0;
173700
+ max-width: 100%;
173701
+ }
173702
+
173057
173703
  :host [part="root"] [part="progressFill"] {
173058
173704
  background-color: var(--toast-progress-fill-color);
173059
173705
  border-radius: inherit;
@@ -190244,7 +190890,7 @@ m6([C({ eventName: "resizeStart" }), h6("design:type", Object)], g6.prototype, "
190244
190890
  memphis: ebe,
190245
190891
  cosmopolitan: Qye
190246
190892
  },
190247
- imports: []
190893
+ imports: [oQ]
190248
190894
  }), h6("design:paramtypes", [])], g6);
190249
190895
  //#endregion
190250
190896
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Ribbon/RibbonElementTemplate.js