fit-ui 2.8.2 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/Controls/Input/maximize-highres.png +0 -0
  2. package/dist/Controls/Input/maximize.png +0 -0
  3. package/dist/Documentation.html +3 -3
  4. package/dist/Fit.UI.css +71 -6
  5. package/dist/Fit.UI.js +1017 -114
  6. package/dist/Fit.UI.min.css +2 -2
  7. package/dist/Fit.UI.min.js +1 -1
  8. package/dist/Resources/CKEditor/plugins/custombuttons/plugin.js +34 -0
  9. package/dist/Resources/CKEditor-with-maximize-button/CHANGES.md +2148 -0
  10. package/dist/Resources/CKEditor-with-maximize-button/LICENSE.md +1436 -0
  11. package/dist/Resources/CKEditor-with-maximize-button/README-FitUiChanges.txt +8 -0
  12. package/dist/Resources/CKEditor-with-maximize-button/README.md +39 -0
  13. package/dist/Resources/CKEditor-with-maximize-button/adapters/jquery.js +10 -0
  14. package/dist/Resources/CKEditor-with-maximize-button/build-config.js +79 -0
  15. package/dist/Resources/CKEditor-with-maximize-button/ckeditor.js +987 -0
  16. package/dist/Resources/CKEditor-with-maximize-button/config.js +34 -0
  17. package/dist/Resources/CKEditor-with-maximize-button/contents.css +208 -0
  18. package/dist/Resources/CKEditor-with-maximize-button/lang/da.js +5 -0
  19. package/dist/Resources/CKEditor-with-maximize-button/lang/de.js +5 -0
  20. package/dist/Resources/CKEditor-with-maximize-button/lang/en.js +5 -0
  21. package/dist/Resources/CKEditor-with-maximize-button/plugins/autocomplete/skins/default.css +38 -0
  22. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/LICENSE.md +1244 -0
  23. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/README.md +21 -0
  24. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.js +766 -0
  25. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.original.js +503 -0
  26. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/base64image.png +0 -0
  27. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/hidpi/base64image.png +0 -0
  28. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/da.js +12 -0
  29. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/de.js +12 -0
  30. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/en.js +12 -0
  31. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/plugin.js +58 -0
  32. package/dist/Resources/CKEditor-with-maximize-button/plugins/base64imagepaste/plugin.js +91 -0
  33. package/dist/Resources/CKEditor-with-maximize-button/plugins/clipboard/dialogs/paste.js +11 -0
  34. package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/icons/custombuttons.png +0 -0
  35. package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/plugin.js +99 -0
  36. package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/dialogDefinition.js +4 -0
  37. package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/styles/dialog.css +18 -0
  38. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/LICENSE +19 -0
  39. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/_source.css +85 -0
  40. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/package.json +19 -0
  41. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/plugin.js +395 -0
  42. package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/readme.md +35 -0
  43. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.png +0 -0
  44. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.svg +58 -0
  45. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/emoji.json +1 -0
  46. package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/skins/default.css +237 -0
  47. package/dist/Resources/CKEditor-with-maximize-button/plugins/icons.png +0 -0
  48. package/dist/Resources/CKEditor-with-maximize-button/plugins/icons_hidpi.png +0 -0
  49. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/anchor.js +8 -0
  50. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/link.js +30 -0
  51. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/anchor.png +0 -0
  52. package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/hidpi/anchor.png +0 -0
  53. package/dist/Resources/CKEditor-with-maximize-button/plugins/pastefromword/filter/default.js +42 -0
  54. package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/common.js +24 -0
  55. package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/image.js +12 -0
  56. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog.css +1 -0
  57. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie.css +1 -0
  58. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie7.css +1 -0
  59. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie8.css +1 -0
  60. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_iequirks.css +1 -0
  61. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_opera.css +1 -0
  62. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor.css +1 -0
  63. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_gecko.css +1 -0
  64. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie.css +1 -0
  65. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie7.css +1 -0
  66. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie8.css +1 -0
  67. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_iequirks.css +1 -0
  68. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons.png +0 -0
  69. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons_hidpi.png +0 -0
  70. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/arrow.png +0 -0
  71. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/close.png +0 -0
  72. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/close.png +0 -0
  73. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
  74. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock.png +0 -0
  75. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/refresh.png +0 -0
  76. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock-open.png +0 -0
  77. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock.png +0 -0
  78. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/refresh.png +0 -0
  79. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/readme.md +35 -0
  80. package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/skin.js +10 -0
  81. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog.css +5 -0
  82. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie.css +5 -0
  83. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie8.css +5 -0
  84. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_iequirks.css +5 -0
  85. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor.css +5 -0
  86. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_gecko.css +5 -0
  87. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie.css +5 -0
  88. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie8.css +5 -0
  89. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_iequirks.css +5 -0
  90. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons.png +0 -0
  91. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons_hidpi.png +0 -0
  92. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/arrow.png +0 -0
  93. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/close.png +0 -0
  94. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/close.png +0 -0
  95. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  96. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock.png +0 -0
  97. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  98. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock-open.png +0 -0
  99. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock.png +0 -0
  100. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/refresh.png +0 -0
  101. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/spinner.gif +0 -0
  102. package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/readme.md +46 -0
  103. package/dist/Resources/CKEditor-with-maximize-button/styles.js +137 -0
  104. package/dist/Resources/CKEditor-with-maximize-button/vendor/promise.js +13 -0
  105. package/package.json +1 -1
  106. package/types/index.d.ts +266 -113
  107. package/dist/Resources/ckeditor_4.17.2_6f06412961d8.zip +0 -0
package/dist/Fit.UI.css CHANGED
@@ -15,6 +15,8 @@ Stacking context, Z-index:
15
15
  - Emoji panel : 10001 (mounted in <body>) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
16
16
  - Dialogs : 10010 (mounted in <body>, might be re-mounted next to control) - changed to 2000020 in Input.css (+10 compared to modal BG layer) if html[data-fitui-companion="fluent-ui"]
17
17
  - Modal BG layer : 10000 (mounted in <body>) - changed to 2000010 in Input.css (+10 compared to image resize handlers) if html[data-fitui-companion="fluent-ui"]
18
+ - Alert, Confirm, Prompt : 50000 (must stay on top of draggable dialogs with z-index 10000+)
19
+ - Modal BG layer : 50000
18
20
  */
19
21
 
20
22
  .FitUiStyleCheck
@@ -121,10 +123,7 @@ Stacking context, Z-index:
121
123
 
122
124
  .FitDragDropDraggable.FitDragDropDragging
123
125
  {
124
- opacity: 0.6;
125
126
  z-index: 99999;
126
-
127
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
128
127
  }
129
128
 
130
129
  /* Disabled control */
@@ -3335,6 +3334,13 @@ div.FitUiControlDialog:not(#LegacyIE) /* :not() not supported by IE8 and below *
3335
3334
  box-shadow: 0px 0px 10px 0px #333333;
3336
3335
  border-radius: 2px;
3337
3336
  }
3337
+ div.FitUiControlDialog[data-resizable="true"]
3338
+ {
3339
+ min-width: 15em;
3340
+ max-width: 100%;
3341
+ min-height: 10em;
3342
+ max-height: 100%;
3343
+ }
3338
3344
  div.FitUiControlDialog[data-maximized="true"]
3339
3345
  {
3340
3346
  /* Using !important due to specificity above (:not(#LegacyIE)).
@@ -3361,13 +3367,24 @@ div.FitUiControlDialog[data-maximized="true"]
3361
3367
 
3362
3368
  div.FitUiControlDialogTitle
3363
3369
  {
3364
- padding: 1em;
3365
- font-size: 1.1em;
3366
3370
  font-weight: bold;
3367
3371
  overflow: hidden;
3368
3372
  white-space: nowrap;
3369
3373
  }
3370
3374
 
3375
+ div.FitUiControlDialogTitle,
3376
+ div.FitUiControlDialogTitleText,
3377
+ div.FitUiControlDialogTitleButtons
3378
+ {
3379
+ height: 3.2em;
3380
+ }
3381
+
3382
+ div.FitUiControlDialogTitleText
3383
+ {
3384
+ padding-left: 1em;
3385
+ line-height: 3.2em;
3386
+ }
3387
+
3371
3388
  div.FitUiControlDialogTitleButtons
3372
3389
  {
3373
3390
  position: absolute;
@@ -3382,7 +3399,6 @@ div.FitUiControlDialogTitleButtons
3382
3399
  background-color: white;
3383
3400
  border-bottom: 0.065em solid silver;
3384
3401
  border-bottom-width: 1px\9;
3385
- height: 3.2em;
3386
3402
  }
3387
3403
 
3388
3404
  .FitUiControlDialogTitle div.FitUiControlButton + div.FitUiControlButton
@@ -3422,6 +3438,24 @@ div.FitUiControlDialog iframe
3422
3438
  height: 100%;
3423
3439
  }
3424
3440
 
3441
+ div.FitUiControlDialogResizer
3442
+ {
3443
+ width: 0.65em;
3444
+ height: 0.65em;
3445
+ border-left: 0.65em solid transparent;
3446
+ border-bottom: 0.65em solid #A0A0A0;
3447
+ cursor: nwse-resize;
3448
+
3449
+ position: absolute;
3450
+ right: 0.1em;
3451
+ bottom: 0.1em;
3452
+
3453
+ user-select: none;
3454
+ -webkit-user-select: none;
3455
+ -moz-user-select: none;
3456
+ -ms-user-select: none;
3457
+ }
3458
+
3425
3459
  div.FitUiControlDialogButtons
3426
3460
  {
3427
3461
  /*background-color: white;*/
@@ -3453,6 +3487,12 @@ div.FitUiControlDialogModalLayer
3453
3487
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
3454
3488
  }
3455
3489
 
3490
+ /* Alert, Confirm and Promp dialogs */
3491
+ div.FitUiControlDialogBaseModalLayer,
3492
+ div.FitUiControlDialogBase
3493
+ {
3494
+ z-index: 50000; /* Remain on top of draggable dialogs with z-index 10000+ */
3495
+ }
3456
3496
  div.FitUiControlDropDown
3457
3497
  {
3458
3498
  min-width: 50px; /* In case width is set to 100% and control is squeezed */
@@ -3790,6 +3830,12 @@ div.FitUiControlDropDown[data-enabled="true"][data-valid="false"] div.FitUiContr
3790
3830
 
3791
3831
  /* Drag and drop */
3792
3832
 
3833
+ div.FitUiControlDropDownItems > span.FitDragDropDragging
3834
+ {
3835
+ opacity: 0.6;
3836
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
3837
+ }
3838
+
3793
3839
  div.FitUiControlDropDownItems > span.FitDragDropDragging input
3794
3840
  {
3795
3841
  visibility: hidden;
@@ -4313,6 +4359,24 @@ div.FitUiControlInput[data-designmode="true"] .cke_chrome a[data-tag-id]
4313
4359
  width: 225px;
4314
4360
  }
4315
4361
 
4362
+ /* Detached and maximizable editor hosted in a modal dialog */
4363
+
4364
+ div.FitUiControlDialog.FitUiControlInputDetached div.FitUiControlDialogContent
4365
+ {
4366
+ padding: 0px;
4367
+ overflow: hidden; /* Make sure scrollbars do not emerge when resizing dialog (reducing height) - editor has scrollbars */
4368
+ }
4369
+
4370
+ div.FitUiControlDialog.FitUiControlInputDetached .cke_chrome
4371
+ {
4372
+ border: none;
4373
+ }
4374
+
4375
+ div.FitUiControlDialog.FitUiControlInputDetached .cke_wysiwyg_div
4376
+ {
4377
+ padding: 0.5em 1.5em;
4378
+ }
4379
+
4316
4380
  /* Fluent UI compatibility */
4317
4381
 
4318
4382
  /* The following elements are mounted in document root - make sure they stay on
@@ -4345,6 +4409,7 @@ html[data-fitui-companion="fluent-ui"] .cke_dialog_container
4345
4409
  {
4346
4410
  z-index: 2000020 !important; /* Using !important to override inline style */
4347
4411
  }
4412
+
4348
4413
  div.FitUiControlListView
4349
4414
  {
4350
4415
  overflow-y: auto;