@lion/ui 0.8.1 → 0.8.3

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 (132) hide show
  1. package/components/calendar/src/LionCalendar.js +6 -0
  2. package/components/core/src/DisabledWithTabIndexMixin.js +7 -0
  3. package/components/core/src/ScopedElementsMixin.js +58 -37
  4. package/components/core/test/ScopedElementsMixin.test.js +131 -0
  5. package/components/core/test/ssr-definitions/ScopedElementsHost.define.js +1 -0
  6. package/components/form-core/src/FormControlMixin.js +6 -0
  7. package/components/form-core/src/utils/SyncUpdatableMixin.js +7 -0
  8. package/components/form-core/src/validate/LionValidationFeedback.js +4 -2
  9. package/components/form-core/test/validate/lion-validation-feedback.test.js +12 -0
  10. package/components/icon/src/LionIcon.js +6 -0
  11. package/components/localize/src/LocalizeManager.js +258 -178
  12. package/components/overlays/src/OverlayController.js +40 -13
  13. package/components/overlays/src/OverlayMixin.js +7 -0
  14. package/components/overlays/test/OverlayController.test.js +233 -30
  15. package/components/overlays/test-helpers/mimicClick.js +2 -2
  16. package/components/progress-indicator/src/LionProgressIndicator.js +6 -0
  17. package/components/steps/src/LionStep.js +6 -0
  18. package/components/steps/src/LionSteps.js +6 -0
  19. package/components/tabs/src/LionTabs.js +6 -0
  20. package/components/tooltip/src/LionTooltip.js +6 -0
  21. package/custom-elements.json +716 -163
  22. package/dist-types/components/calendar/src/LionCalendar.d.ts +5 -0
  23. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  24. package/dist-types/components/core/src/DisabledWithTabIndexMixin.d.ts.map +1 -1
  25. package/dist-types/components/core/src/ScopedElementsMixin.d.ts +43 -6
  26. package/dist-types/components/core/src/ScopedElementsMixin.d.ts.map +1 -1
  27. package/dist-types/components/core/test/ScopedElementsMixin.test.d.ts +2 -0
  28. package/dist-types/components/core/test/ScopedElementsMixin.test.d.ts.map +1 -0
  29. package/dist-types/components/core/test/ssr-definitions/ScopedElementsHost.define.d.ts +2 -0
  30. package/dist-types/components/core/test/ssr-definitions/ScopedElementsHost.define.d.ts.map +1 -0
  31. package/dist-types/components/form-core/src/FormControlMixin.d.ts.map +1 -1
  32. package/dist-types/components/form-core/src/utils/SyncUpdatableMixin.d.ts.map +1 -1
  33. package/dist-types/components/form-core/src/validate/LionValidationFeedback.d.ts.map +1 -1
  34. package/dist-types/components/form-integrations/test/helpers/helpers.d.ts +3 -3
  35. package/dist-types/components/form-integrations/test/helpers/helpers.d.ts.map +1 -1
  36. package/dist-types/components/icon/src/LionIcon.d.ts +5 -0
  37. package/dist-types/components/icon/src/LionIcon.d.ts.map +1 -1
  38. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
  39. package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -1
  40. package/dist-types/components/input-file/src/LionSelectedFileList.d.ts +1 -1
  41. package/dist-types/components/localize/src/LocalizeManager.d.ts +108 -93
  42. package/dist-types/components/localize/src/LocalizeManager.d.ts.map +1 -1
  43. package/dist-types/components/overlays/src/OverlayController.d.ts +9 -5
  44. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  45. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  46. package/dist-types/components/overlays/test/OverlayController.test.d.ts +1 -1
  47. package/dist-types/components/overlays/test/OverlayController.test.d.ts.map +1 -1
  48. package/dist-types/components/overlays/test-helpers/mimicClick.d.ts +1 -1
  49. package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts +5 -0
  50. package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts.map +1 -1
  51. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -1
  52. package/dist-types/components/steps/src/LionStep.d.ts +5 -0
  53. package/dist-types/components/steps/src/LionStep.d.ts.map +1 -1
  54. package/dist-types/components/steps/src/LionSteps.d.ts +5 -0
  55. package/dist-types/components/steps/src/LionSteps.d.ts.map +1 -1
  56. package/dist-types/components/switch/src/LionSwitch.d.ts +1 -1
  57. package/dist-types/components/tabs/src/LionTabs.d.ts +5 -0
  58. package/dist-types/components/tabs/src/LionTabs.d.ts.map +1 -1
  59. package/dist-types/components/tooltip/src/LionTooltip.d.ts +5 -0
  60. package/dist-types/components/tooltip/src/LionTooltip.d.ts.map +1 -1
  61. package/dist-types/tsconfig.tsbuildinfo +1 -1
  62. package/docs/components/checkbox-group/overview.md +2 -2
  63. package/docs/components/collapsible/overview.md +1 -1
  64. package/docs/components/combobox/overview.md +1 -1
  65. package/docs/components/combobox/use-cases.md +1 -1
  66. package/docs/components/dialog/overview.md +1 -1
  67. package/docs/components/fieldset/overview.md +5 -5
  68. package/docs/components/form/overview.md +3 -3
  69. package/docs/components/icon/use-cases.md +1 -1
  70. package/docs/components/input/api-table.md +1 -1
  71. package/docs/components/input/overview.md +1 -1
  72. package/docs/components/input-amount/api-table.md +1 -1
  73. package/docs/components/input-amount/overview.md +3 -3
  74. package/docs/components/input-date/api-table.md +1 -1
  75. package/docs/components/input-date/overview.md +3 -3
  76. package/docs/components/input-datepicker/api-table.md +1 -1
  77. package/docs/components/input-datepicker/overview.md +5 -5
  78. package/docs/components/input-email/api-table.md +1 -1
  79. package/docs/components/input-email/overview.md +2 -2
  80. package/docs/components/input-file/api-table.md +1 -1
  81. package/docs/components/input-file/overview.md +1 -1
  82. package/docs/components/input-iban/api-table.md +1 -1
  83. package/docs/components/input-iban/overview.md +2 -2
  84. package/docs/components/input-range/api-table.md +1 -1
  85. package/docs/components/input-range/overview.md +2 -2
  86. package/docs/components/input-stepper/api-table.md +1 -1
  87. package/docs/components/input-stepper/overview.md +1 -1
  88. package/docs/components/input-tel/api-table.md +1 -1
  89. package/docs/components/input-tel/overview.md +1 -1
  90. package/docs/components/input-tel/use-cases.md +6 -6
  91. package/docs/components/input-tel-dropdown/api-table.md +1 -1
  92. package/docs/components/input-tel-dropdown/overview.md +1 -1
  93. package/docs/components/listbox/use-cases.md +1 -1
  94. package/docs/components/radio-group/api-table.md +1 -1
  95. package/docs/components/radio-group/overview.md +3 -3
  96. package/docs/components/select/api-table.md +1 -1
  97. package/docs/components/select/use-cases.md +1 -1
  98. package/docs/components/select-rich/api-table.md +1 -1
  99. package/docs/components/select-rich/use-cases.md +1 -1
  100. package/docs/components/switch/api-table.md +1 -1
  101. package/docs/components/tabs/examples.md +1 -1
  102. package/docs/components/textarea/api-table.md +1 -1
  103. package/docs/fundamentals/index.md +4 -4
  104. package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
  105. package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
  106. package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
  107. package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
  108. package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
  109. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  110. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  111. package/docs/fundamentals/rationales/accessibility.md +1 -1
  112. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  113. package/docs/fundamentals/systems/core/overview.md +1 -1
  114. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  115. package/docs/fundamentals/systems/form/model-value.md +1 -1
  116. package/docs/fundamentals/systems/form/overview.md +28 -28
  117. package/docs/fundamentals/systems/form/validate.md +2 -2
  118. package/docs/fundamentals/systems/localize/api-table.md +38 -37
  119. package/docs/fundamentals/systems/localize/overview.md +4 -4
  120. package/docs/fundamentals/systems/overlays/api-table.md +1 -0
  121. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  122. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  123. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  124. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  125. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  126. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  127. package/docs/guides/how-to/create-a-form.md +4 -4
  128. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  129. package/docs/guides/index.md +8 -8
  130. package/docs/guides/principles/index.md +5 -5
  131. package/docs/guides/principles/styling.md +1 -1
  132. package/package.json +1 -1
@@ -3246,6 +3246,17 @@
3246
3246
  },
3247
3247
  "privacy": "public"
3248
3248
  },
3249
+ {
3250
+ "kind": "field",
3251
+ "name": "enabledWarnings",
3252
+ "static": true,
3253
+ "description": "// TODO: check if this is a false positive or if we can improve",
3254
+ "inheritedFrom": {
3255
+ "name": "DisabledWithTabIndexMixin",
3256
+ "module": "components/core/src/DisabledWithTabIndexMixin.js"
3257
+ },
3258
+ "privacy": "public"
3259
+ },
3249
3260
  {
3250
3261
  "kind": "method",
3251
3262
  "name": "__internalSetTabIndex",
@@ -3550,6 +3561,17 @@
3550
3561
  },
3551
3562
  "privacy": "public"
3552
3563
  },
3564
+ {
3565
+ "kind": "field",
3566
+ "name": "enabledWarnings",
3567
+ "static": true,
3568
+ "description": "// TODO: check if this is a false positive or if we can improve",
3569
+ "inheritedFrom": {
3570
+ "name": "LionButton",
3571
+ "module": "components/button/src/LionButton.js"
3572
+ },
3573
+ "privacy": "public"
3574
+ },
3553
3575
  {
3554
3576
  "kind": "method",
3555
3577
  "name": "__internalSetTabIndex",
@@ -3974,6 +3996,17 @@
3974
3996
  },
3975
3997
  "privacy": "public"
3976
3998
  },
3999
+ {
4000
+ "kind": "field",
4001
+ "name": "enabledWarnings",
4002
+ "static": true,
4003
+ "description": "// TODO: check if this is a false positive or if we can improve",
4004
+ "inheritedFrom": {
4005
+ "name": "LionButton",
4006
+ "module": "components/button/src/LionButton.js"
4007
+ },
4008
+ "privacy": "public"
4009
+ },
3977
4010
  {
3978
4011
  "kind": "method",
3979
4012
  "name": "__internalSetTabIndex",
@@ -4685,6 +4718,13 @@
4685
4718
  "description": "This exposes an interface for datepickers that want to\nreinitialize when calendar is opened",
4686
4719
  "privacy": "public"
4687
4720
  },
4721
+ {
4722
+ "kind": "field",
4723
+ "name": "enabledWarnings",
4724
+ "static": true,
4725
+ "description": "// TODO: check if this is a false positive or if we can improve",
4726
+ "privacy": "public"
4727
+ },
4688
4728
  {
4689
4729
  "kind": "method",
4690
4730
  "name": "__calculateInitialCentralDate",
@@ -7128,6 +7168,17 @@
7128
7168
  "module": "components/form-core/src/FormControlMixin.js"
7129
7169
  }
7130
7170
  },
7171
+ {
7172
+ "kind": "field",
7173
+ "name": "enabledWarnings",
7174
+ "static": true,
7175
+ "description": "TODO: check if this is a false positive or if we can improve",
7176
+ "inheritedFrom": {
7177
+ "name": "FormControlMixin",
7178
+ "module": "components/form-core/src/FormControlMixin.js"
7179
+ },
7180
+ "privacy": "public"
7181
+ },
7131
7182
  {
7132
7183
  "kind": "method",
7133
7184
  "name": "_enhanceLightDomClasses",
@@ -18782,6 +18833,12 @@
18782
18833
  "module": "components/core/src/DisabledMixin.js"
18783
18834
  }
18784
18835
  },
18836
+ {
18837
+ "kind": "field",
18838
+ "name": "enabledWarnings",
18839
+ "static": true,
18840
+ "description": "// TODO: check if this is a false positive or if we can improve"
18841
+ },
18785
18842
  {
18786
18843
  "kind": "method",
18787
18844
  "name": "__internalSetTabIndex",
@@ -19396,6 +19453,17 @@
19396
19453
  "module": "components/overlays/src/OverlayMixin.js"
19397
19454
  }
19398
19455
  },
19456
+ {
19457
+ "kind": "field",
19458
+ "name": "enabledWarnings",
19459
+ "static": true,
19460
+ "description": "// TODO: check if this is a false positive or if we can improve",
19461
+ "inheritedFrom": {
19462
+ "name": "OverlayMixin",
19463
+ "module": "components/overlays/src/OverlayMixin.js"
19464
+ },
19465
+ "privacy": "public"
19466
+ },
19399
19467
  {
19400
19468
  "kind": "field",
19401
19469
  "name": "_overlayInvokerNode",
@@ -20890,6 +20958,17 @@
20890
20958
  "module": "components/form-core/src/FormControlMixin.js"
20891
20959
  }
20892
20960
  },
20961
+ {
20962
+ "kind": "field",
20963
+ "name": "enabledWarnings",
20964
+ "static": true,
20965
+ "description": "TODO: check if this is a false positive or if we can improve",
20966
+ "inheritedFrom": {
20967
+ "name": "FormControlMixin",
20968
+ "module": "components/form-core/src/FormControlMixin.js"
20969
+ },
20970
+ "privacy": "public"
20971
+ },
20893
20972
  {
20894
20973
  "kind": "method",
20895
20974
  "name": "_enhanceLightDomClasses",
@@ -34172,6 +34251,17 @@
34172
34251
  "module": "components/form-core/src/FormControlMixin.js"
34173
34252
  }
34174
34253
  },
34254
+ {
34255
+ "kind": "field",
34256
+ "name": "enabledWarnings",
34257
+ "static": true,
34258
+ "description": "TODO: check if this is a false positive or if we can improve",
34259
+ "inheritedFrom": {
34260
+ "name": "FormControlMixin",
34261
+ "module": "components/form-core/src/FormControlMixin.js"
34262
+ },
34263
+ "privacy": "public"
34264
+ },
34175
34265
  {
34176
34266
  "kind": "method",
34177
34267
  "name": "_enhanceLightDomClasses",
@@ -39461,6 +39551,16 @@
39461
39551
  "module": "components/form-core/src/FormControlMixin.js"
39462
39552
  }
39463
39553
  },
39554
+ {
39555
+ "kind": "field",
39556
+ "name": "enabledWarnings",
39557
+ "static": true,
39558
+ "description": "TODO: check if this is a false positive or if we can improve",
39559
+ "inheritedFrom": {
39560
+ "name": "FormControlMixin",
39561
+ "module": "components/form-core/src/FormControlMixin.js"
39562
+ }
39563
+ },
39464
39564
  {
39465
39565
  "kind": "method",
39466
39566
  "name": "_triggerInitialModelValueChangedEvent",
@@ -40356,7 +40456,7 @@
40356
40456
  }
40357
40457
  },
40358
40458
  {
40359
- "name": "klass",
40459
+ "name": "classToBeRegistered",
40360
40460
  "type": {
40361
40461
  "text": "typeof HTMLElement"
40362
40462
  }
@@ -40828,6 +40928,12 @@
40828
40928
  "privacy": "protected",
40829
40929
  "readonly": true
40830
40930
  },
40931
+ {
40932
+ "kind": "field",
40933
+ "name": "enabledWarnings",
40934
+ "static": true,
40935
+ "description": "TODO: check if this is a false positive or if we can improve"
40936
+ },
40831
40937
  {
40832
40938
  "kind": "method",
40833
40939
  "name": "_triggerInitialModelValueChangedEvent",
@@ -42002,6 +42108,16 @@
42002
42108
  "module": "components/form-core/src/FormControlMixin.js"
42003
42109
  }
42004
42110
  },
42111
+ {
42112
+ "kind": "field",
42113
+ "name": "enabledWarnings",
42114
+ "static": true,
42115
+ "description": "TODO: check if this is a false positive or if we can improve",
42116
+ "inheritedFrom": {
42117
+ "name": "FormControlMixin",
42118
+ "module": "components/form-core/src/FormControlMixin.js"
42119
+ }
42120
+ },
42005
42121
  {
42006
42122
  "kind": "method",
42007
42123
  "name": "_triggerInitialModelValueChangedEvent",
@@ -47488,6 +47604,16 @@
47488
47604
  "module": "components/form-core/src/FormControlMixin.js"
47489
47605
  }
47490
47606
  },
47607
+ {
47608
+ "kind": "field",
47609
+ "name": "enabledWarnings",
47610
+ "static": true,
47611
+ "description": "TODO: check if this is a false positive or if we can improve",
47612
+ "inheritedFrom": {
47613
+ "name": "FormControlMixin",
47614
+ "module": "components/form-core/src/FormControlMixin.js"
47615
+ }
47616
+ },
47491
47617
  {
47492
47618
  "kind": "method",
47493
47619
  "name": "_triggerInitialModelValueChangedEvent",
@@ -48383,7 +48509,7 @@
48383
48509
  }
48384
48510
  },
48385
48511
  {
48386
- "name": "klass",
48512
+ "name": "classToBeRegistered",
48387
48513
  "type": {
48388
48514
  "text": "typeof HTMLElement"
48389
48515
  }
@@ -49594,6 +49720,16 @@
49594
49720
  "module": "components/form-core/src/FormControlMixin.js"
49595
49721
  }
49596
49722
  },
49723
+ {
49724
+ "kind": "field",
49725
+ "name": "enabledWarnings",
49726
+ "static": true,
49727
+ "description": "TODO: check if this is a false positive or if we can improve",
49728
+ "inheritedFrom": {
49729
+ "name": "SyncUpdatableMixin",
49730
+ "module": "components/form-core/src/utils/SyncUpdatableMixin.js"
49731
+ }
49732
+ },
49597
49733
  {
49598
49734
  "kind": "method",
49599
49735
  "name": "_triggerInitialModelValueChangedEvent",
@@ -50551,7 +50687,7 @@
50551
50687
  }
50552
50688
  },
50553
50689
  {
50554
- "name": "klass",
50690
+ "name": "classToBeRegistered",
50555
50691
  "type": {
50556
50692
  "text": "typeof HTMLElement"
50557
50693
  }
@@ -56860,6 +56996,16 @@
56860
56996
  "module": "components/form-core/src/FormControlMixin.js"
56861
56997
  }
56862
56998
  },
56999
+ {
57000
+ "kind": "field",
57001
+ "name": "enabledWarnings",
57002
+ "static": true,
57003
+ "description": "TODO: check if this is a false positive or if we can improve",
57004
+ "inheritedFrom": {
57005
+ "name": "FormControlMixin",
57006
+ "module": "components/form-core/src/FormControlMixin.js"
57007
+ }
57008
+ },
56863
57009
  {
56864
57010
  "kind": "method",
56865
57011
  "name": "_enhanceLightDomClasses",
@@ -57663,7 +57809,7 @@
57663
57809
  }
57664
57810
  },
57665
57811
  {
57666
- "name": "klass",
57812
+ "name": "classToBeRegistered",
57667
57813
  "type": {
57668
57814
  "text": "typeof HTMLElement"
57669
57815
  }
@@ -59559,6 +59705,16 @@
59559
59705
  "module": "components/form-core/src/FormControlMixin.js"
59560
59706
  }
59561
59707
  },
59708
+ {
59709
+ "kind": "field",
59710
+ "name": "enabledWarnings",
59711
+ "static": true,
59712
+ "description": "TODO: check if this is a false positive or if we can improve",
59713
+ "inheritedFrom": {
59714
+ "name": "FormControlMixin",
59715
+ "module": "components/form-core/src/FormControlMixin.js"
59716
+ }
59717
+ },
59562
59718
  {
59563
59719
  "kind": "method",
59564
59720
  "name": "_triggerInitialModelValueChangedEvent",
@@ -60395,7 +60551,7 @@
60395
60551
  }
60396
60552
  },
60397
60553
  {
60398
- "name": "klass",
60554
+ "name": "classToBeRegistered",
60399
60555
  "type": {
60400
60556
  "text": "typeof HTMLElement"
60401
60557
  }
@@ -61612,6 +61768,16 @@
61612
61768
  "module": "components/form-core/src/FormControlMixin.js"
61613
61769
  }
61614
61770
  },
61771
+ {
61772
+ "kind": "field",
61773
+ "name": "enabledWarnings",
61774
+ "static": true,
61775
+ "description": "TODO: check if this is a false positive or if we can improve",
61776
+ "inheritedFrom": {
61777
+ "name": "SyncUpdatableMixin",
61778
+ "module": "components/form-core/src/utils/SyncUpdatableMixin.js"
61779
+ }
61780
+ },
61615
61781
  {
61616
61782
  "kind": "method",
61617
61783
  "name": "_enhanceLightDomClasses",
@@ -63032,7 +63198,7 @@
63032
63198
  }
63033
63199
  },
63034
63200
  {
63035
- "name": "klass",
63201
+ "name": "classToBeRegistered",
63036
63202
  "type": {
63037
63203
  "text": "typeof HTMLElement"
63038
63204
  }
@@ -64416,6 +64582,17 @@
64416
64582
  "module": "components/fieldset/src/LionFieldset.js"
64417
64583
  }
64418
64584
  },
64585
+ {
64586
+ "kind": "field",
64587
+ "name": "enabledWarnings",
64588
+ "static": true,
64589
+ "description": "TODO: check if this is a false positive or if we can improve",
64590
+ "inheritedFrom": {
64591
+ "name": "LionFieldset",
64592
+ "module": "components/fieldset/src/LionFieldset.js"
64593
+ },
64594
+ "privacy": "public"
64595
+ },
64419
64596
  {
64420
64597
  "kind": "method",
64421
64598
  "name": "_enhanceLightDomClasses",
@@ -66476,6 +66653,13 @@
66476
66653
  "description": "Custom element for rendering SVG icons",
66477
66654
  "name": "LionIcon",
66478
66655
  "members": [
66656
+ {
66657
+ "kind": "field",
66658
+ "name": "enabledWarnings",
66659
+ "static": true,
66660
+ "description": "TODO: check if this is a false positive or if we can improve",
66661
+ "privacy": "public"
66662
+ },
66479
66663
  {
66480
66664
  "kind": "field",
66481
66665
  "name": "svg",
@@ -67510,6 +67694,17 @@
67510
67694
  "module": "components/form-core/src/LionField.js"
67511
67695
  }
67512
67696
  },
67697
+ {
67698
+ "kind": "field",
67699
+ "name": "enabledWarnings",
67700
+ "static": true,
67701
+ "description": "TODO: check if this is a false positive or if we can improve",
67702
+ "inheritedFrom": {
67703
+ "name": "LionField",
67704
+ "module": "components/form-core/src/LionField.js"
67705
+ },
67706
+ "privacy": "public"
67707
+ },
67513
67708
  {
67514
67709
  "kind": "method",
67515
67710
  "name": "_triggerInitialModelValueChangedEvent",
@@ -69280,7 +69475,7 @@
69280
69475
  }
69281
69476
  },
69282
69477
  {
69283
- "name": "klass",
69478
+ "name": "classToBeRegistered",
69284
69479
  "type": {
69285
69480
  "text": "typeof HTMLElement"
69286
69481
  }
@@ -70726,6 +70921,17 @@
70726
70921
  "module": "components/form-core/src/LionField.js"
70727
70922
  }
70728
70923
  },
70924
+ {
70925
+ "kind": "field",
70926
+ "name": "enabledWarnings",
70927
+ "static": true,
70928
+ "description": "TODO: check if this is a false positive or if we can improve",
70929
+ "inheritedFrom": {
70930
+ "name": "LionField",
70931
+ "module": "components/form-core/src/LionField.js"
70932
+ },
70933
+ "privacy": "public"
70934
+ },
70729
70935
  {
70730
70936
  "kind": "method",
70731
70937
  "name": "_triggerInitialModelValueChangedEvent",
@@ -72490,7 +72696,7 @@
72490
72696
  }
72491
72697
  },
72492
72698
  {
72493
- "name": "klass",
72699
+ "name": "classToBeRegistered",
72494
72700
  "type": {
72495
72701
  "text": "typeof HTMLElement"
72496
72702
  }
@@ -73435,7 +73641,7 @@
73435
73641
  }
73436
73642
  },
73437
73643
  {
73438
- "name": "klass",
73644
+ "name": "classToBeRegistered",
73439
73645
  "type": {
73440
73646
  "text": "typeof HTMLElement"
73441
73647
  }
@@ -73652,6 +73858,17 @@
73652
73858
  "module": "components/overlays/src/OverlayMixin.js"
73653
73859
  }
73654
73860
  },
73861
+ {
73862
+ "kind": "field",
73863
+ "name": "enabledWarnings",
73864
+ "static": true,
73865
+ "description": "// TODO: check if this is a false positive or if we can improve",
73866
+ "inheritedFrom": {
73867
+ "name": "LionField",
73868
+ "module": "components/form-core/src/LionField.js"
73869
+ },
73870
+ "privacy": "public"
73871
+ },
73655
73872
  {
73656
73873
  "kind": "field",
73657
73874
  "name": "_overlayReferenceNode",
@@ -77569,6 +77786,17 @@
77569
77786
  "module": "components/form-core/src/LionField.js"
77570
77787
  }
77571
77788
  },
77789
+ {
77790
+ "kind": "field",
77791
+ "name": "enabledWarnings",
77792
+ "static": true,
77793
+ "description": "TODO: check if this is a false positive or if we can improve",
77794
+ "inheritedFrom": {
77795
+ "name": "LionField",
77796
+ "module": "components/form-core/src/LionField.js"
77797
+ },
77798
+ "privacy": "public"
77799
+ },
77572
77800
  {
77573
77801
  "kind": "method",
77574
77802
  "name": "_triggerInitialModelValueChangedEvent",
@@ -79357,7 +79585,7 @@
79357
79585
  }
79358
79586
  },
79359
79587
  {
79360
- "name": "klass",
79588
+ "name": "classToBeRegistered",
79361
79589
  "type": {
79362
79590
  "text": "typeof HTMLElement"
79363
79591
  }
@@ -80486,7 +80714,7 @@
80486
80714
  }
80487
80715
  },
80488
80716
  {
80489
- "name": "klass",
80717
+ "name": "classToBeRegistered",
80490
80718
  "type": {
80491
80719
  "text": "typeof HTMLElement"
80492
80720
  }
@@ -80635,6 +80863,17 @@
80635
80863
  "module": "components/form-core/src/LionField.js"
80636
80864
  }
80637
80865
  },
80866
+ {
80867
+ "kind": "field",
80868
+ "name": "enabledWarnings",
80869
+ "static": true,
80870
+ "description": "TODO: check if this is a false positive or if we can improve",
80871
+ "inheritedFrom": {
80872
+ "name": "LionField",
80873
+ "module": "components/form-core/src/LionField.js"
80874
+ },
80875
+ "privacy": "public"
80876
+ },
80638
80877
  {
80639
80878
  "kind": "method",
80640
80879
  "name": "_triggerInitialModelValueChangedEvent",
@@ -84752,6 +84991,17 @@
84752
84991
  "module": "components/form-core/src/LionField.js"
84753
84992
  }
84754
84993
  },
84994
+ {
84995
+ "kind": "field",
84996
+ "name": "enabledWarnings",
84997
+ "static": true,
84998
+ "description": "TODO: check if this is a false positive or if we can improve",
84999
+ "inheritedFrom": {
85000
+ "name": "LionField",
85001
+ "module": "components/form-core/src/LionField.js"
85002
+ },
85003
+ "privacy": "public"
85004
+ },
84755
85005
  {
84756
85006
  "kind": "method",
84757
85007
  "name": "_triggerInitialModelValueChangedEvent",
@@ -86540,7 +86790,7 @@
86540
86790
  }
86541
86791
  },
86542
86792
  {
86543
- "name": "klass",
86793
+ "name": "classToBeRegistered",
86544
86794
  "type": {
86545
86795
  "text": "typeof HTMLElement"
86546
86796
  }
@@ -88692,6 +88942,17 @@
88692
88942
  "module": "components/form-core/src/LionField.js"
88693
88943
  }
88694
88944
  },
88945
+ {
88946
+ "kind": "field",
88947
+ "name": "enabledWarnings",
88948
+ "static": true,
88949
+ "description": "TODO: check if this is a false positive or if we can improve",
88950
+ "inheritedFrom": {
88951
+ "name": "LionField",
88952
+ "module": "components/form-core/src/LionField.js"
88953
+ },
88954
+ "privacy": "public"
88955
+ },
88695
88956
  {
88696
88957
  "kind": "method",
88697
88958
  "name": "_triggerInitialModelValueChangedEvent",
@@ -90437,7 +90698,7 @@
90437
90698
  }
90438
90699
  },
90439
90700
  {
90440
- "name": "klass",
90701
+ "name": "classToBeRegistered",
90441
90702
  "type": {
90442
90703
  "text": "typeof HTMLElement"
90443
90704
  }
@@ -91985,6 +92246,17 @@
91985
92246
  "module": "components/form-core/src/LionField.js"
91986
92247
  }
91987
92248
  },
92249
+ {
92250
+ "kind": "field",
92251
+ "name": "enabledWarnings",
92252
+ "static": true,
92253
+ "description": "TODO: check if this is a false positive or if we can improve",
92254
+ "inheritedFrom": {
92255
+ "name": "LionField",
92256
+ "module": "components/form-core/src/LionField.js"
92257
+ },
92258
+ "privacy": "public"
92259
+ },
91988
92260
  {
91989
92261
  "kind": "method",
91990
92262
  "name": "_triggerInitialModelValueChangedEvent",
@@ -93773,7 +94045,7 @@
93773
94045
  }
93774
94046
  },
93775
94047
  {
93776
- "name": "klass",
94048
+ "name": "classToBeRegistered",
93777
94049
  "type": {
93778
94050
  "text": "typeof HTMLElement"
93779
94051
  }
@@ -95462,6 +95734,17 @@
95462
95734
  "module": "components/form-core/src/LionField.js"
95463
95735
  }
95464
95736
  },
95737
+ {
95738
+ "kind": "field",
95739
+ "name": "enabledWarnings",
95740
+ "static": true,
95741
+ "description": "TODO: check if this is a false positive or if we can improve",
95742
+ "inheritedFrom": {
95743
+ "name": "LionField",
95744
+ "module": "components/form-core/src/LionField.js"
95745
+ },
95746
+ "privacy": "public"
95747
+ },
95465
95748
  {
95466
95749
  "kind": "method",
95467
95750
  "name": "_triggerInitialModelValueChangedEvent",
@@ -97208,7 +97491,7 @@
97208
97491
  }
97209
97492
  },
97210
97493
  {
97211
- "name": "klass",
97494
+ "name": "classToBeRegistered",
97212
97495
  "type": {
97213
97496
  "text": "typeof HTMLElement"
97214
97497
  }
@@ -98793,6 +99076,17 @@
98793
99076
  "module": "components/form-core/src/LionField.js"
98794
99077
  }
98795
99078
  },
99079
+ {
99080
+ "kind": "field",
99081
+ "name": "enabledWarnings",
99082
+ "static": true,
99083
+ "description": "TODO: check if this is a false positive or if we can improve",
99084
+ "inheritedFrom": {
99085
+ "name": "LionField",
99086
+ "module": "components/form-core/src/LionField.js"
99087
+ },
99088
+ "privacy": "public"
99089
+ },
98796
99090
  {
98797
99091
  "kind": "method",
98798
99092
  "name": "_triggerInitialModelValueChangedEvent",
@@ -100581,7 +100875,7 @@
100581
100875
  }
100582
100876
  },
100583
100877
  {
100584
- "name": "klass",
100878
+ "name": "classToBeRegistered",
100585
100879
  "type": {
100586
100880
  "text": "typeof HTMLElement"
100587
100881
  }
@@ -102300,6 +102594,17 @@
102300
102594
  "module": "components/form-core/src/LionField.js"
102301
102595
  }
102302
102596
  },
102597
+ {
102598
+ "kind": "field",
102599
+ "name": "enabledWarnings",
102600
+ "static": true,
102601
+ "description": "TODO: check if this is a false positive or if we can improve",
102602
+ "inheritedFrom": {
102603
+ "name": "LionField",
102604
+ "module": "components/form-core/src/LionField.js"
102605
+ },
102606
+ "privacy": "public"
102607
+ },
102303
102608
  {
102304
102609
  "kind": "method",
102305
102610
  "name": "_triggerInitialModelValueChangedEvent",
@@ -104033,7 +104338,7 @@
104033
104338
  }
104034
104339
  },
104035
104340
  {
104036
- "name": "klass",
104341
+ "name": "classToBeRegistered",
104037
104342
  "type": {
104038
104343
  "text": "typeof HTMLElement"
104039
104344
  }
@@ -108512,6 +108817,16 @@
108512
108817
  "module": "components/form-core/src/InteractionStateMixin.js"
108513
108818
  }
108514
108819
  },
108820
+ {
108821
+ "kind": "field",
108822
+ "name": "enabledWarnings",
108823
+ "static": true,
108824
+ "description": "TODO: check if this is a false positive or if we can improve",
108825
+ "inheritedFrom": {
108826
+ "name": "InteractionStateMixin",
108827
+ "module": "components/form-core/src/InteractionStateMixin.js"
108828
+ }
108829
+ },
108515
108830
  {
108516
108831
  "kind": "method",
108517
108832
  "name": "_triggerInitialModelValueChangedEvent",
@@ -109368,7 +109683,7 @@
109368
109683
  }
109369
109684
  },
109370
109685
  {
109371
- "name": "klass",
109686
+ "name": "classToBeRegistered",
109372
109687
  "type": {
109373
109688
  "text": "typeof HTMLElement"
109374
109689
  }
@@ -112052,15 +112367,91 @@
112052
112367
  "name": "LocalizeManager",
112053
112368
  "members": [
112054
112369
  {
112055
- "kind": "method",
112056
- "name": "_setupTranslationToolSupport",
112057
- "privacy": "protected"
112370
+ "kind": "field",
112371
+ "name": "formatNumberOptions",
112372
+ "type": {
112373
+ "text": "object"
112374
+ },
112375
+ "default": "{ returnIfNaN: '', /** @type {Map<string, NumberPostProcessor>} */ postProcessors: new Map(), }",
112376
+ "description": "The localize system uses (normalized) Intl for formatting numbers.\nIt's possible to customize this output per locale",
112377
+ "privacy": "public"
112058
112378
  },
112059
112379
  {
112060
- "kind": "method",
112061
- "name": "teardown",
112380
+ "kind": "field",
112381
+ "name": "formatDateOptions",
112382
+ "type": {
112383
+ "text": "object"
112384
+ },
112385
+ "default": "{ /** @type {Map<string, DatePostProcessor>} */ postProcessors: new Map(), }",
112386
+ "description": "The localize system uses (normalized) Intl for formatting dates.\nIt's possible to customize this output per locale",
112062
112387
  "privacy": "public"
112063
112388
  },
112389
+ {
112390
+ "kind": "field",
112391
+ "name": "#shouldHandleTranslationTools",
112392
+ "privacy": "private",
112393
+ "type": {
112394
+ "text": "boolean"
112395
+ },
112396
+ "default": "false",
112397
+ "description": "Although it's common to configure the language via the html[lang] attribute,\nthe lang attribute can be changed by 3rd party translation tools like Google Translate.\n\n## Why is this a potential problem?\nThe localize system reads from html[lang] for its original configuration. Let's say it's\nconfigured as \"en-US\" by the developer. This means all translation data are fetched for locale \"en-US\".\n\nNow the Google Translate plugin kicks in. It will automatically translate all English texts found into\nChinese texts. Everything looks fine... But Google Translate also sets html[lang] to \"zh-CN\":\nour localize system responds by trying to fetch Chinese translation data.\nTwo problems can occur here:\n- the Chinese translations don't exist\n- Google Translate expects to translate from English to Chinese... and now we suddenly serve Chinese text\nourselves... not what we intended.\n\n## How can we solve this?\nVia `html[data-localize-lang]`, developers are allowed to set the initial locale, without\nhaving to worry about whether locale is initialized before 3rd parties like Google Translate.\nWhen this value differs from html[lang], we assume the 3rd party took\ncontrol over the page language and we set this.#localeSetByTranslationTool to html[lang]"
112398
+ },
112399
+ {
112400
+ "kind": "field",
112401
+ "name": "#localeProvidedViaDataLangAttr",
112402
+ "privacy": "private",
112403
+ "type": {
112404
+ "text": "string"
112405
+ },
112406
+ "default": "''",
112407
+ "description": "The locale that is configured on html[data-localize-lang]"
112408
+ },
112409
+ {
112410
+ "kind": "field",
112411
+ "name": "#localeSetByTranslationTool",
112412
+ "privacy": "private",
112413
+ "type": {
112414
+ "text": "string|null"
112415
+ },
112416
+ "default": "null",
112417
+ "description": "The locale that is set on html[lang] by a 3rd party translation tool like Googl Translate"
112418
+ },
112419
+ {
112420
+ "kind": "field",
112421
+ "name": "__storage",
112422
+ "type": {
112423
+ "text": "Object<string, Object<string, Object>>"
112424
+ },
112425
+ "default": "{}",
112426
+ "privacy": "private"
112427
+ },
112428
+ {
112429
+ "kind": "field",
112430
+ "name": "__namespacePatternsMap",
112431
+ "default": "new Map()",
112432
+ "type": {
112433
+ "text": "Map<RegExp|string, function>"
112434
+ },
112435
+ "privacy": "private"
112436
+ },
112437
+ {
112438
+ "kind": "field",
112439
+ "name": "__namespaceLoadersCache",
112440
+ "type": {
112441
+ "text": "Object<string, function|null>"
112442
+ },
112443
+ "default": "{}",
112444
+ "privacy": "private"
112445
+ },
112446
+ {
112447
+ "kind": "field",
112448
+ "name": "__namespaceLoaderPromisesCache",
112449
+ "type": {
112450
+ "text": "Object<string, Object<string, Promise<Object|void>>>"
112451
+ },
112452
+ "default": "{}",
112453
+ "privacy": "private"
112454
+ },
112064
112455
  {
112065
112456
  "kind": "field",
112066
112457
  "name": "locale",
@@ -112071,7 +112462,7 @@
112071
112462
  },
112072
112463
  "parameters": [
112073
112464
  {
112074
- "name": "value",
112465
+ "name": "newLocale",
112075
112466
  "type": {
112076
112467
  "text": "string"
112077
112468
  }
@@ -112079,46 +112470,15 @@
112079
112470
  ],
112080
112471
  "privacy": "public"
112081
112472
  },
112082
- {
112083
- "kind": "method",
112084
- "name": "_setHtmlLangAttribute",
112085
- "parameters": [
112086
- {
112087
- "name": "locale",
112088
- "type": {
112089
- "text": "string"
112090
- }
112091
- }
112092
- ],
112093
- "privacy": "protected"
112094
- },
112095
- {
112096
- "kind": "method",
112097
- "name": "__handleLanguageOnly",
112098
- "parameters": [
112099
- {
112100
- "name": "value",
112101
- "type": {
112102
- "text": "string"
112103
- }
112104
- }
112105
- ],
112106
- "privacy": "private"
112107
- },
112108
112473
  {
112109
112474
  "kind": "field",
112110
112475
  "name": "loadingComplete",
112476
+ "readonly": true,
112111
112477
  "return": {
112112
112478
  "type": {
112113
- "text": "Promise.<Object|void>"
112479
+ "text": "Promise<Object|void>"
112114
112480
  }
112115
112481
  },
112116
- "readonly": true,
112117
- "privacy": "public"
112118
- },
112119
- {
112120
- "kind": "method",
112121
- "name": "reset",
112122
112482
  "privacy": "public"
112123
112483
  },
112124
112484
  {
@@ -112188,7 +112548,7 @@
112188
112548
  ],
112189
112549
  "return": {
112190
112550
  "type": {
112191
- "text": "Promise.<Object>"
112551
+ "text": "Promise<Object>"
112192
112552
  }
112193
112553
  },
112194
112554
  "privacy": "public"
@@ -112216,7 +112576,7 @@
112216
112576
  ],
112217
112577
  "return": {
112218
112578
  "type": {
112219
- "text": "Promise.<Object|void>"
112579
+ "text": "Promise<Object|void>"
112220
112580
  }
112221
112581
  },
112222
112582
  "privacy": "public"
@@ -112235,7 +112595,7 @@
112235
112595
  "name": "vars",
112236
112596
  "optional": true,
112237
112597
  "type": {
112238
- "text": "Object.<string,?>"
112598
+ "text": "Object<string,?>"
112239
112599
  }
112240
112600
  },
112241
112601
  {
@@ -112254,6 +112614,67 @@
112254
112614
  },
112255
112615
  "privacy": "public"
112256
112616
  },
112617
+ {
112618
+ "kind": "method",
112619
+ "name": "teardown",
112620
+ "privacy": "public"
112621
+ },
112622
+ {
112623
+ "kind": "method",
112624
+ "name": "reset",
112625
+ "privacy": "public"
112626
+ },
112627
+ {
112628
+ "kind": "method",
112629
+ "name": "setDatePostProcessorForLocale",
112630
+ "parameters": [
112631
+ {
112632
+ "name": "{ locale, postProcessor }"
112633
+ },
112634
+ {
112635
+ "name": "options",
112636
+ "type": {
112637
+ "text": "{locale:string, postProcessor:DatePostProcessor}"
112638
+ }
112639
+ }
112640
+ ],
112641
+ "privacy": "public"
112642
+ },
112643
+ {
112644
+ "kind": "method",
112645
+ "name": "setNumberPostProcessorForLocale",
112646
+ "parameters": [
112647
+ {
112648
+ "name": "{ locale, postProcessor }"
112649
+ },
112650
+ {
112651
+ "name": "options",
112652
+ "type": {
112653
+ "text": "{locale:string, postProcessor:NumberPostProcessor}"
112654
+ }
112655
+ }
112656
+ ],
112657
+ "privacy": "public"
112658
+ },
112659
+ {
112660
+ "kind": "method",
112661
+ "name": "_setupTranslationToolSupport",
112662
+ "description": "This value allows for support for Google Translate (or other 3rd parties taking control\nof the html[lang] attribute).\n\nHave the following scenario in mind:\n1. locale is initialized by developer via html[data-localize-lang=\"en-US\"] and\nhtml[lang=\"en-US\"]. When localize is loaded (note that this also can be after step 2 below),\nit will sync its initial state from html[data-localize-lang]\n2. Google Translate kicks in for the French language. It will set html[lang=\"fr\"].\nThis new language is not one known by us, so we most likely don't have translations for\nthis file. Therefore, we do NOT sync this value to LocalizeManager. The manager should\nstill ask for known resources (in this case for locale 'en-US')\n3. locale is changed (think of a language dropdown)\nIt's a bit of a weird case, because we would not expect an end user to do this. If he/she\ndoes, make sure that we do not go against Google Translate, so we maintain accessibility\n(by not altering html[lang]). We detect this by reading #localeSetByTranslationTool:\nwhen its value is null, we consider Google translate 'not active'.\n\nWhen Google Translate is turned off by the user (html[lang=auto]),\n`localize.locale` will be synced to html[lang] again\n\nKeep in mind that all of the above also works with other tools than Google Translate,\nbut this is the most widely used tool and therefore used as an example.",
112663
+ "privacy": "protected"
112664
+ },
112665
+ {
112666
+ "kind": "method",
112667
+ "name": "_setHtmlLangAttribute",
112668
+ "parameters": [
112669
+ {
112670
+ "name": "locale",
112671
+ "type": {
112672
+ "text": "string"
112673
+ }
112674
+ }
112675
+ ],
112676
+ "privacy": "protected"
112677
+ },
112257
112678
  {
112258
112679
  "kind": "method",
112259
112680
  "name": "_setupHtmlLangAttributeObserver",
@@ -112333,7 +112754,7 @@
112333
112754
  ],
112334
112755
  "return": {
112335
112756
  "type": {
112336
- "text": "Promise.<Object|void>"
112757
+ "text": "Promise<Object|void>"
112337
112758
  }
112338
112759
  },
112339
112760
  "privacy": "protected"
@@ -112396,7 +112817,7 @@
112396
112817
  ],
112397
112818
  "return": {
112398
112819
  "type": {
112399
- "text": "Promise.<any>"
112820
+ "text": "Promise<any>"
112400
112821
  }
112401
112822
  },
112402
112823
  "privacy": "protected"
@@ -112420,7 +112841,7 @@
112420
112841
  {
112421
112842
  "name": "promise",
112422
112843
  "type": {
112423
- "text": "Promise.<Object|void>"
112844
+ "text": "Promise<Object|void>"
112424
112845
  }
112425
112846
  }
112426
112847
  ],
@@ -112555,56 +112976,28 @@
112555
112976
  },
112556
112977
  {
112557
112978
  "kind": "method",
112558
- "name": "setDatePostProcessorForLocale",
112559
- "parameters": [
112560
- {
112561
- "name": "{ locale, postProcessor }"
112562
- },
112563
- {
112564
- "name": "options",
112565
- "type": {
112566
- "text": "{locale:string, postProcessor:DatePostProcessor}"
112567
- }
112568
- }
112569
- ],
112570
- "privacy": "public"
112571
- },
112572
- {
112573
- "kind": "method",
112574
- "name": "setNumberPostProcessorForLocale",
112979
+ "name": "#assertCorrectLocale",
112980
+ "privacy": "private",
112575
112981
  "parameters": [
112576
112982
  {
112577
- "name": "{ locale, postProcessor }"
112578
- },
112579
- {
112580
- "name": "options",
112983
+ "name": "value",
112581
112984
  "type": {
112582
- "text": "{locale:string, postProcessor:NumberPostProcessor}"
112985
+ "text": "string"
112583
112986
  }
112584
112987
  }
112585
- ],
112586
- "privacy": "public"
112587
- },
112588
- {
112589
- "kind": "field",
112590
- "name": "_autoLoadOnLocaleChange",
112591
- "type": {
112592
- "text": "boolean"
112593
- },
112594
- "privacy": "protected",
112595
- "default": "!!autoLoadOnLocaleChange"
112988
+ ]
112596
112989
  },
112597
112990
  {
112598
112991
  "kind": "field",
112599
- "name": "_fallbackLocale",
112600
- "privacy": "protected",
112601
- "default": "fallbackLocale"
112992
+ "name": "_supportExternalTranslationTools",
112993
+ "deprecated": "true",
112994
+ "privacy": "protected"
112602
112995
  },
112603
112996
  {
112604
112997
  "kind": "field",
112605
- "name": "_showKeyAsFallback",
112606
- "privacy": "protected",
112607
- "default": "showKeyAsFallback"
112998
+ "name": "_langAttrSetByTranslationTool",
112999
+ "deprecated": "true",
113000
+ "privacy": "protected"
112608
113001
  },
112609
113002
  {
112610
113003
  "kind": "field",
@@ -112614,62 +113007,24 @@
112614
113007
  },
112615
113008
  {
112616
113009
  "kind": "field",
112617
- "name": "__storage",
112618
- "type": {
112619
- "text": "Object.<string, Object.<string, Object>>"
112620
- },
112621
- "privacy": "private",
112622
- "default": "{}"
112623
- },
112624
- {
112625
- "kind": "field",
112626
- "name": "__namespacePatternsMap",
112627
- "type": {
112628
- "text": "Map.<RegExp|string, function>"
112629
- },
112630
- "privacy": "private",
112631
- "default": "new Map()"
112632
- },
112633
- {
112634
- "kind": "field",
112635
- "name": "__namespaceLoadersCache",
112636
- "type": {
112637
- "text": "Object.<string, function|null>"
112638
- },
112639
- "privacy": "private",
112640
- "default": "{}"
112641
- },
112642
- {
112643
- "kind": "field",
112644
- "name": "__namespaceLoaderPromisesCache",
112645
- "type": {
112646
- "text": "Object.<string, Object.<string, Promise.<Object|void>>>"
112647
- },
112648
- "privacy": "private",
112649
- "default": "{}"
112650
- },
112651
- {
112652
- "kind": "field",
112653
- "name": "formatNumberOptions",
113010
+ "name": "_autoLoadOnLocaleChange",
112654
113011
  "type": {
112655
- "text": "object"
113012
+ "text": "boolean"
112656
113013
  },
112657
- "default": "{ returnIfNaN: '', /** @type {Map<string,DatePostProcessor>} */ postProcessors: new Map(), }",
112658
- "privacy": "public"
113014
+ "privacy": "protected",
113015
+ "default": "!!autoLoadOnLocaleChange"
112659
113016
  },
112660
113017
  {
112661
113018
  "kind": "field",
112662
- "name": "formatDateOptions",
112663
- "type": {
112664
- "text": "object"
112665
- },
112666
- "default": "{ /** @type {Map<string,DatePostProcessor>} */ postProcessors: new Map(), }",
112667
- "privacy": "public"
113019
+ "name": "_showKeyAsFallback",
113020
+ "privacy": "protected",
113021
+ "default": "showKeyAsFallback"
112668
113022
  },
112669
113023
  {
112670
113024
  "kind": "field",
112671
- "name": "_supportExternalTranslationTools",
112672
- "privacy": "protected"
113025
+ "name": "_fallbackLocale",
113026
+ "privacy": "protected",
113027
+ "default": "fallbackLocale"
112673
113028
  }
112674
113029
  ],
112675
113030
  "events": [
@@ -113951,10 +114306,11 @@
113951
114306
  }
113952
114307
  },
113953
114308
  {
113954
- "name": "{ isAsync, releaseElement }",
113955
- "default": "{ isAsync: false }"
114309
+ "name": "{ isAsync = false, releaseElement }",
114310
+ "default": "{}"
113956
114311
  },
113957
114312
  {
114313
+ "description": "releaseElement can be different when the mouse is dragged before release",
113958
114314
  "name": "config",
113959
114315
  "type": {
113960
114316
  "text": "{isAsync?:boolean, releaseElement?: HTMLElement}"
@@ -114642,10 +114998,36 @@
114642
114998
  "name": "__escKeyHandler",
114643
114999
  "parameters": [
114644
115000
  {
114645
- "name": "ev"
115001
+ "name": "event",
115002
+ "type": {
115003
+ "text": "KeyboardEvent"
115004
+ }
114646
115005
  }
114647
115006
  ],
114648
- "privacy": "private"
115007
+ "return": {
115008
+ "type": {
115009
+ "text": "void"
115010
+ }
115011
+ },
115012
+ "privacy": "protected"
115013
+ },
115014
+ {
115015
+ "kind": "field",
115016
+ "name": "#outsideEscKeyHandler",
115017
+ "privacy": "private",
115018
+ "parameters": [
115019
+ {
115020
+ "name": "event",
115021
+ "type": {
115022
+ "text": "KeyboardEvent"
115023
+ }
115024
+ }
115025
+ ],
115026
+ "return": {
115027
+ "type": {
115028
+ "text": "void"
115029
+ }
115030
+ }
114649
115031
  },
114650
115032
  {
114651
115033
  "kind": "method",
@@ -114905,6 +115287,12 @@
114905
115287
  "name": "_teardownOpenCloseListeners",
114906
115288
  "privacy": "protected"
114907
115289
  },
115290
+ {
115291
+ "kind": "field",
115292
+ "name": "enabledWarnings",
115293
+ "static": true,
115294
+ "description": "// TODO: check if this is a false positive or if we can improve"
115295
+ },
114908
115296
  {
114909
115297
  "kind": "field",
114910
115298
  "name": "_overlayInvokerNode",
@@ -115225,6 +115613,16 @@
115225
115613
  "module": "components/overlays/src/OverlayMixin.js"
115226
115614
  }
115227
115615
  },
115616
+ {
115617
+ "kind": "field",
115618
+ "name": "enabledWarnings",
115619
+ "static": true,
115620
+ "description": "// TODO: check if this is a false positive or if we can improve",
115621
+ "inheritedFrom": {
115622
+ "name": "OverlayMixin",
115623
+ "module": "components/overlays/src/OverlayMixin.js"
115624
+ }
115625
+ },
115228
115626
  {
115229
115627
  "kind": "field",
115230
115628
  "name": "_overlayInvokerNode",
@@ -116073,6 +116471,13 @@
116073
116471
  },
116074
116472
  "privacy": "public"
116075
116473
  },
116474
+ {
116475
+ "kind": "field",
116476
+ "name": "enabledWarnings",
116477
+ "static": true,
116478
+ "description": "// TODO: check if this is a false positive or if we can improve",
116479
+ "privacy": "public"
116480
+ },
116076
116481
  {
116077
116482
  "kind": "field",
116078
116483
  "name": "_progressPercentage",
@@ -118030,6 +118435,17 @@
118030
118435
  "module": "components/form-core/src/FormControlMixin.js"
118031
118436
  }
118032
118437
  },
118438
+ {
118439
+ "kind": "field",
118440
+ "name": "enabledWarnings",
118441
+ "static": true,
118442
+ "description": "TODO: check if this is a false positive or if we can improve",
118443
+ "inheritedFrom": {
118444
+ "name": "FormControlMixin",
118445
+ "module": "components/form-core/src/FormControlMixin.js"
118446
+ },
118447
+ "privacy": "public"
118448
+ },
118033
118449
  {
118034
118450
  "kind": "method",
118035
118451
  "name": "_enhanceLightDomClasses",
@@ -120205,6 +120621,17 @@
120205
120621
  "module": "components/form-core/src/LionField.js"
120206
120622
  }
120207
120623
  },
120624
+ {
120625
+ "kind": "field",
120626
+ "name": "enabledWarnings",
120627
+ "static": true,
120628
+ "description": "TODO: check if this is a false positive or if we can improve",
120629
+ "inheritedFrom": {
120630
+ "name": "LionField",
120631
+ "module": "components/form-core/src/LionField.js"
120632
+ },
120633
+ "privacy": "public"
120634
+ },
120208
120635
  {
120209
120636
  "kind": "method",
120210
120637
  "name": "_triggerInitialModelValueChangedEvent",
@@ -121933,7 +122360,7 @@
121933
122360
  }
121934
122361
  },
121935
122362
  {
121936
- "name": "klass",
122363
+ "name": "classToBeRegistered",
121937
122364
  "type": {
121938
122365
  "text": "typeof HTMLElement"
121939
122366
  }
@@ -122763,7 +123190,7 @@
122763
123190
  }
122764
123191
  },
122765
123192
  {
122766
- "name": "klass",
123193
+ "name": "classToBeRegistered",
122767
123194
  "type": {
122768
123195
  "text": "typeof HTMLElement"
122769
123196
  }
@@ -122877,6 +123304,17 @@
122877
123304
  "module": "components/overlays/src/OverlayMixin.js"
122878
123305
  }
122879
123306
  },
123307
+ {
123308
+ "kind": "field",
123309
+ "name": "enabledWarnings",
123310
+ "static": true,
123311
+ "description": "// TODO: check if this is a false positive or if we can improve",
123312
+ "inheritedFrom": {
123313
+ "name": "LionListbox",
123314
+ "module": "components/listbox/src/LionListbox.js"
123315
+ },
123316
+ "privacy": "public"
123317
+ },
122880
123318
  {
122881
123319
  "kind": "field",
122882
123320
  "name": "_overlayReferenceNode",
@@ -126274,6 +126712,17 @@
126274
126712
  },
126275
126713
  "privacy": "public"
126276
126714
  },
126715
+ {
126716
+ "kind": "field",
126717
+ "name": "enabledWarnings",
126718
+ "static": true,
126719
+ "description": "// TODO: check if this is a false positive or if we can improve",
126720
+ "inheritedFrom": {
126721
+ "name": "LionButton",
126722
+ "module": "components/button/src/LionButton.js"
126723
+ },
126724
+ "privacy": "public"
126725
+ },
126277
126726
  {
126278
126727
  "kind": "method",
126279
126728
  "name": "__internalSetTabIndex",
@@ -126812,6 +127261,17 @@
126812
127261
  "module": "components/form-core/src/LionField.js"
126813
127262
  }
126814
127263
  },
127264
+ {
127265
+ "kind": "field",
127266
+ "name": "enabledWarnings",
127267
+ "static": true,
127268
+ "description": "TODO: check if this is a false positive or if we can improve",
127269
+ "inheritedFrom": {
127270
+ "name": "LionField",
127271
+ "module": "components/form-core/src/LionField.js"
127272
+ },
127273
+ "privacy": "public"
127274
+ },
126815
127275
  {
126816
127276
  "kind": "method",
126817
127277
  "name": "_triggerInitialModelValueChangedEvent",
@@ -129083,7 +129543,7 @@
129083
129543
  }
129084
129544
  },
129085
129545
  {
129086
- "name": "klass",
129546
+ "name": "classToBeRegistered",
129087
129547
  "type": {
129088
129548
  "text": "typeof HTMLElement"
129089
129549
  }
@@ -129575,6 +130035,13 @@
129575
130035
  "readonly": true,
129576
130036
  "privacy": "public"
129577
130037
  },
130038
+ {
130039
+ "kind": "field",
130040
+ "name": "enabledWarnings",
130041
+ "static": true,
130042
+ "description": "// TODO: check if this is a false positive or if we can improve",
130043
+ "privacy": "public"
130044
+ },
129578
130045
  {
129579
130046
  "kind": "method",
129580
130047
  "name": "_goTo",
@@ -129777,6 +130244,13 @@
129777
130244
  ],
129778
130245
  "privacy": "public"
129779
130246
  },
130247
+ {
130248
+ "kind": "field",
130249
+ "name": "enabledWarnings",
130250
+ "static": true,
130251
+ "description": "// TODO: check if this is a false positive or if we can improve",
130252
+ "privacy": "public"
130253
+ },
129780
130254
  {
129781
130255
  "kind": "field",
129782
130256
  "name": "status",
@@ -130096,7 +130570,7 @@
130096
130570
  }
130097
130571
  },
130098
130572
  {
130099
- "name": "klass",
130573
+ "name": "classToBeRegistered",
130100
130574
  "type": {
130101
130575
  "text": "typeof HTMLElement"
130102
130576
  }
@@ -130854,6 +131328,17 @@
130854
131328
  "module": "components/form-core/src/LionField.js"
130855
131329
  }
130856
131330
  },
131331
+ {
131332
+ "kind": "field",
131333
+ "name": "enabledWarnings",
131334
+ "static": true,
131335
+ "description": "TODO: check if this is a false positive or if we can improve",
131336
+ "inheritedFrom": {
131337
+ "name": "LionField",
131338
+ "module": "components/form-core/src/LionField.js"
131339
+ },
131340
+ "privacy": "public"
131341
+ },
130857
131342
  {
130858
131343
  "kind": "method",
130859
131344
  "name": "_triggerInitialModelValueChangedEvent",
@@ -133165,6 +133650,17 @@
133165
133650
  },
133166
133651
  "privacy": "public"
133167
133652
  },
133653
+ {
133654
+ "kind": "field",
133655
+ "name": "enabledWarnings",
133656
+ "static": true,
133657
+ "description": "// TODO: check if this is a false positive or if we can improve",
133658
+ "inheritedFrom": {
133659
+ "name": "DisabledWithTabIndexMixin",
133660
+ "module": "components/core/src/DisabledWithTabIndexMixin.js"
133661
+ },
133662
+ "privacy": "public"
133663
+ },
133168
133664
  {
133169
133665
  "kind": "method",
133170
133666
  "name": "__internalSetTabIndex",
@@ -133381,6 +133877,13 @@
133381
133877
  "readonly": true,
133382
133878
  "privacy": "public"
133383
133879
  },
133880
+ {
133881
+ "kind": "field",
133882
+ "name": "enabledWarnings",
133883
+ "static": true,
133884
+ "description": "// TODO: check if this is a false positive or if we can improve",
133885
+ "privacy": "public"
133886
+ },
133384
133887
  {
133385
133888
  "kind": "method",
133386
133889
  "name": "__setupSlots",
@@ -134470,6 +134973,17 @@
134470
134973
  "module": "components/form-core/src/LionField.js"
134471
134974
  }
134472
134975
  },
134976
+ {
134977
+ "kind": "field",
134978
+ "name": "enabledWarnings",
134979
+ "static": true,
134980
+ "description": "TODO: check if this is a false positive or if we can improve",
134981
+ "inheritedFrom": {
134982
+ "name": "LionField",
134983
+ "module": "components/form-core/src/LionField.js"
134984
+ },
134985
+ "privacy": "public"
134986
+ },
134473
134987
  {
134474
134988
  "kind": "method",
134475
134989
  "name": "_triggerInitialModelValueChangedEvent",
@@ -136203,7 +136717,7 @@
136203
136717
  }
136204
136718
  },
136205
136719
  {
136206
- "name": "klass",
136720
+ "name": "classToBeRegistered",
136207
136721
  "type": {
136208
136722
  "text": "typeof HTMLElement"
136209
136723
  }
@@ -136709,6 +137223,17 @@
136709
137223
  "description": "",
136710
137224
  "name": "LionTooltip",
136711
137225
  "members": [
137226
+ {
137227
+ "kind": "field",
137228
+ "name": "enabledWarnings",
137229
+ "static": true,
137230
+ "description": "// TODO: check if this is a false positive or if we can improve",
137231
+ "inheritedFrom": {
137232
+ "name": "OverlayMixin",
137233
+ "module": "components/overlays/src/OverlayMixin.js"
137234
+ },
137235
+ "privacy": "public"
137236
+ },
136712
137237
  {
136713
137238
  "kind": "method",
136714
137239
  "name": "_defineOverlayConfig",
@@ -139505,6 +140030,16 @@
139505
140030
  "module": "components/form-core/src/InteractionStateMixin.js"
139506
140031
  }
139507
140032
  },
140033
+ {
140034
+ "kind": "field",
140035
+ "name": "enabledWarnings",
140036
+ "static": true,
140037
+ "description": "TODO: check if this is a false positive or if we can improve",
140038
+ "inheritedFrom": {
140039
+ "name": "InteractionStateMixin",
140040
+ "module": "components/form-core/src/InteractionStateMixin.js"
140041
+ }
140042
+ },
139508
140043
  {
139509
140044
  "kind": "method",
139510
140045
  "name": "_enhanceLightDomClasses",
@@ -140308,7 +140843,7 @@
140308
140843
  }
140309
140844
  },
140310
140845
  {
140311
- "name": "klass",
140846
+ "name": "classToBeRegistered",
140312
140847
  "type": {
140313
140848
  "text": "typeof HTMLElement"
140314
140849
  }
@@ -141670,9 +142205,13 @@
141670
142205
  "kind": "javascript-module",
141671
142206
  "path": "components/core/src/ScopedElementsMixin.js",
141672
142207
  "declarations": [
142208
+ {
142209
+ "kind": "function",
142210
+ "name": "supportsScopedRegistry"
142211
+ },
141673
142212
  {
141674
142213
  "kind": "mixin",
141675
- "description": "",
142214
+ "description": "This file is combination of '@open-wc/scoped-elements@v3/lit-element.js' and '@open-wc/scoped-elements@v3/html-element.js'.\nThen on top of those, some code from '@open-wc/scoped-elements@v2' is brought to to make polyfill not mandatory.\nThis can be a great help for ssr scenarios, allowing elements to be consumed without needing knowledge about internall\nconsumption.\n(N.B. at this point in time, this is limited to the scenario where there's one version of lion on the page).\n\n## Considerations\nIn its current state, the [scoped-custom-element-registry](https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry) draft spec has uncertainties:\n- the spec is not yet final; it's not clear how long it will be dependent on a polyfill\n- the polyfill conflicts with new browser functionality (form-associated custom elements in Safari, ShadowRoot.createElement in Chrome Canary, etc.).\n- the spsc is not compatible with SSR and it remains unclear if it will be in the future\n\nAlso see: https://github.com/webcomponents/polyfills/issues?q=scoped-custom-element-registry\n\nIn previous considerations (last year), we betted on the spec to evolve quickly and the polyfill to be stable.\nTill this day, little progress has been made. In the meantime.",
141676
142215
  "name": "ScopedElementsMixin",
141677
142216
  "members": [
141678
142217
  {
@@ -141695,7 +142234,7 @@
141695
142234
  }
141696
142235
  },
141697
142236
  {
141698
- "name": "klass",
142237
+ "name": "classToBeRegistered",
141699
142238
  "type": {
141700
142239
  "text": "typeof HTMLElement"
141701
142240
  }
@@ -141742,6 +142281,14 @@
141742
142281
  }
141743
142282
  ],
141744
142283
  "exports": [
142284
+ {
142285
+ "kind": "js",
142286
+ "name": "supportsScopedRegistry",
142287
+ "declaration": {
142288
+ "name": "supportsScopedRegistry",
142289
+ "module": "components/core/src/ScopedElementsMixin.js"
142290
+ }
142291
+ },
141745
142292
  {
141746
142293
  "kind": "js",
141747
142294
  "name": "ScopedElementsMixin",
@@ -141854,6 +142401,12 @@
141854
142401
  "description": "Why this mixin?\n- it adheres to the \"Member Order Independence\" web components standard:\nhttps://github.com/webcomponents/gold-standard/wiki/Member-Order-Independence\n- sync observers can be dependent on the outcome of the render function (or, more generically\nspeaking, the light and shadow dom). This aligns with the 'updated' callback that is supported\nout of the box by LitElement, which runs after connectedCallback as well.\n- makes the propertyAccessor.`hasChanged` compatible in synchronous updates:\n`updateSync` will only be called when new value differs from old value.\nSee: https://lit-element.polymer-project.org/guide/lifecycle#haschanged\n- it is a stable abstraction on top of a protected/non official lifecycle LitElement api.\nWhenever the implementation of `requestUpdate` changes (this happened in the past for\n`requestUpdate`) we only have to change our abstraction instead of all our components",
141855
142402
  "name": "SyncUpdatableMixin",
141856
142403
  "members": [
142404
+ {
142405
+ "kind": "field",
142406
+ "name": "enabledWarnings",
142407
+ "static": true,
142408
+ "description": "// TODO: check if this is a false positive or if we can improve"
142409
+ },
141857
142410
  {
141858
142411
  "kind": "method",
141859
142412
  "name": "__syncUpdatableHasChanged",
@@ -149340,7 +149893,7 @@
149340
149893
  }
149341
149894
  },
149342
149895
  {
149343
- "name": "klass",
149896
+ "name": "classToBeRegistered",
149344
149897
  "type": {
149345
149898
  "text": "typeof HTMLElement"
149346
149899
  }