@realsee/dnalogel 2.1.0-alpha.10 → 2.1.0-alpha.11

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 (148) hide show
  1. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  2. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  3. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  4. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  5. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  6. package/dist/CruisePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  7. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  8. package/dist/GuideLinePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  9. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  10. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  11. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  12. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  13. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  14. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  15. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  16. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  17. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  18. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  19. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  20. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  21. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  22. package/dist/ModelViewPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  23. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  24. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  25. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  26. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  27. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  28. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  29. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  30. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  31. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  32. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  33. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  34. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  35. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  36. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  37. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  38. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  39. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  40. package/dist/PanoTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  41. package/dist/PanoTagPlugin/index.js +26 -5
  42. package/dist/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  43. package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
  44. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  45. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  46. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  47. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  48. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  49. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  50. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  51. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  52. package/dist/index.es.js +26 -5
  53. package/dist/index.js +26 -5
  54. package/dist/index.umd.js +26 -5
  55. package/docs/classes/CruisePluginController.html +14 -14
  56. package/docs/classes/Magnifier.html +4 -4
  57. package/docs/classes/ModelRoomLabelController.html +4 -4
  58. package/docs/classes/Object3DHelperController.html +9 -9
  59. package/docs/classes/PanoTagPluginController.html +25 -25
  60. package/docs/enums/CameraMovementEffect.html +1 -1
  61. package/docs/enums/ContentType.html +7 -7
  62. package/docs/enums/DIRECTION.html +1 -1
  63. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  64. package/docs/enums/DimensionType.html +1 -1
  65. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  66. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  67. package/docs/enums/LinkType.html +1 -1
  68. package/docs/enums/PointType.html +1 -1
  69. package/docs/enums/Rotation.html +1 -1
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  71. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  72. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  73. package/docs/interfaces/FloorplanBounding.html +3 -3
  74. package/docs/interfaces/FloorplanData.html +1 -1
  75. package/docs/interfaces/FloorplanEntrance.html +6 -6
  76. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  77. package/docs/interfaces/FloorplanExtraObject3D.html +1 -1
  78. package/docs/interfaces/FloorplanFloorData.html +1 -1
  79. package/docs/interfaces/FloorplanImagePosition.html +1 -1
  80. package/docs/interfaces/FloorplanObserver.html +1 -1
  81. package/docs/interfaces/FloorplanOutlineItem.html +1 -1
  82. package/docs/interfaces/FloorplanPosition.html +1 -1
  83. package/docs/interfaces/FloorplanRoomItem.html +5 -5
  84. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  85. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  86. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  87. package/docs/interfaces/FloorplanServerData.html +1 -1
  88. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  89. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  90. package/docs/interfaces/FloorplanServerEntrance.html +6 -6
  91. package/docs/interfaces/FloorplanServerFloorData.html +1 -1
  92. package/docs/interfaces/FloorplanServerImagePosition.html +1 -1
  93. package/docs/interfaces/FloorplanServerObserver.html +1 -1
  94. package/docs/interfaces/FloorplanServerOutlineItem.html +1 -1
  95. package/docs/interfaces/FloorplanServerPosition.html +1 -1
  96. package/docs/interfaces/FloorplanServerRoomItem.html +6 -6
  97. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  98. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  99. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  100. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  101. package/docs/interfaces/LineJson.html +1 -1
  102. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  103. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  104. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  105. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  106. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  107. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  108. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  109. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  110. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  111. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  112. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  113. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  114. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  115. package/docs/interfaces/Object3DHelperState.html +1 -1
  116. package/docs/interfaces/OpenParameter.html +1 -1
  117. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  118. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  119. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  120. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  121. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  122. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  123. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  124. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  125. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  126. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  127. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  128. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  129. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  130. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  131. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  132. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  133. package/docs/interfaces/Point.html +1 -1
  134. package/docs/interfaces/PointJson.html +1 -1
  135. package/docs/interfaces/Room.html +1 -1
  136. package/docs/interfaces/RoomInfo.html +1 -1
  137. package/docs/interfaces/RoomLabel.html +7 -7
  138. package/docs/interfaces/Scissor.html +4 -4
  139. package/docs/interfaces/TagConfig.html +3 -3
  140. package/docs/interfaces/Tags.html +3 -3
  141. package/docs/modules.html +21 -21
  142. package/libs/PanoTagPlugin/Components/Common/Text.js +19 -2
  143. package/libs/PanoTagPlugin/controller/index.js +1 -1
  144. package/libs/PanoTagPlugin/mocks/mock1.d.ts +0 -7
  145. package/libs/PanoTagPlugin/mocks/mock1.js +2 -2
  146. package/libs/PanoTagPlugin/utils/constants.d.ts +3 -0
  147. package/libs/PanoTagPlugin/utils/constants.js +5 -0
  148. package/package.json +1 -1
@@ -16,7 +16,6 @@ declare const _default: {
16
16
  audioUrl?: undefined;
17
17
  linkType?: undefined;
18
18
  };
19
- element: HTMLParagraphElement;
20
19
  style: {
21
20
  point: {
22
21
  style: string;
@@ -45,7 +44,6 @@ declare const _default: {
45
44
  audioUrl?: undefined;
46
45
  linkType?: undefined;
47
46
  };
48
- element?: undefined;
49
47
  style?: undefined;
50
48
  normal?: undefined;
51
49
  } | {
@@ -69,7 +67,6 @@ declare const _default: {
69
67
  audioUrl?: undefined;
70
68
  linkType?: undefined;
71
69
  };
72
- element?: undefined;
73
70
  style?: undefined;
74
71
  normal?: undefined;
75
72
  } | {
@@ -98,7 +95,6 @@ declare const _default: {
98
95
  iconUrl: string;
99
96
  };
100
97
  };
101
- element?: undefined;
102
98
  normal?: undefined;
103
99
  } | {
104
100
  dimensionType: string;
@@ -118,7 +114,6 @@ declare const _default: {
118
114
  audioUrl?: undefined;
119
115
  linkType?: undefined;
120
116
  };
121
- element?: undefined;
122
117
  style?: undefined;
123
118
  } | {
124
119
  dimensionType: string;
@@ -137,7 +132,6 @@ declare const _default: {
137
132
  price?: undefined;
138
133
  linkType?: undefined;
139
134
  };
140
- element?: undefined;
141
135
  style?: undefined;
142
136
  normal?: undefined;
143
137
  } | {
@@ -157,7 +151,6 @@ declare const _default: {
157
151
  price?: undefined;
158
152
  audioUrl?: undefined;
159
153
  };
160
- element?: undefined;
161
154
  style?: undefined;
162
155
  normal?: undefined;
163
156
  }) & {
@@ -0,0 +1,3 @@
1
+ export declare function random(): string;
2
+ declare const RANDON_STRING: string;
3
+ export { RANDON_STRING };
@@ -16,7 +16,6 @@ declare const _default: {
16
16
  audioUrl?: undefined;
17
17
  linkType?: undefined;
18
18
  };
19
- element: HTMLParagraphElement;
20
19
  style: {
21
20
  point: {
22
21
  style: string;
@@ -45,7 +44,6 @@ declare const _default: {
45
44
  audioUrl?: undefined;
46
45
  linkType?: undefined;
47
46
  };
48
- element?: undefined;
49
47
  style?: undefined;
50
48
  normal?: undefined;
51
49
  } | {
@@ -69,7 +67,6 @@ declare const _default: {
69
67
  audioUrl?: undefined;
70
68
  linkType?: undefined;
71
69
  };
72
- element?: undefined;
73
70
  style?: undefined;
74
71
  normal?: undefined;
75
72
  } | {
@@ -98,7 +95,6 @@ declare const _default: {
98
95
  iconUrl: string;
99
96
  };
100
97
  };
101
- element?: undefined;
102
98
  normal?: undefined;
103
99
  } | {
104
100
  dimensionType: string;
@@ -118,7 +114,6 @@ declare const _default: {
118
114
  audioUrl?: undefined;
119
115
  linkType?: undefined;
120
116
  };
121
- element?: undefined;
122
117
  style?: undefined;
123
118
  } | {
124
119
  dimensionType: string;
@@ -137,7 +132,6 @@ declare const _default: {
137
132
  price?: undefined;
138
133
  linkType?: undefined;
139
134
  };
140
- element?: undefined;
141
135
  style?: undefined;
142
136
  normal?: undefined;
143
137
  } | {
@@ -157,7 +151,6 @@ declare const _default: {
157
151
  price?: undefined;
158
152
  audioUrl?: undefined;
159
153
  };
160
- element?: undefined;
161
154
  style?: undefined;
162
155
  normal?: undefined;
163
156
  }) & {
@@ -0,0 +1,3 @@
1
+ export declare function random(): string;
2
+ declare const RANDON_STRING: string;
3
+ export { RANDON_STRING };
@@ -16,7 +16,6 @@ declare const _default: {
16
16
  audioUrl?: undefined;
17
17
  linkType?: undefined;
18
18
  };
19
- element: HTMLParagraphElement;
20
19
  style: {
21
20
  point: {
22
21
  style: string;
@@ -45,7 +44,6 @@ declare const _default: {
45
44
  audioUrl?: undefined;
46
45
  linkType?: undefined;
47
46
  };
48
- element?: undefined;
49
47
  style?: undefined;
50
48
  normal?: undefined;
51
49
  } | {
@@ -69,7 +67,6 @@ declare const _default: {
69
67
  audioUrl?: undefined;
70
68
  linkType?: undefined;
71
69
  };
72
- element?: undefined;
73
70
  style?: undefined;
74
71
  normal?: undefined;
75
72
  } | {
@@ -98,7 +95,6 @@ declare const _default: {
98
95
  iconUrl: string;
99
96
  };
100
97
  };
101
- element?: undefined;
102
98
  normal?: undefined;
103
99
  } | {
104
100
  dimensionType: string;
@@ -118,7 +114,6 @@ declare const _default: {
118
114
  audioUrl?: undefined;
119
115
  linkType?: undefined;
120
116
  };
121
- element?: undefined;
122
117
  style?: undefined;
123
118
  } | {
124
119
  dimensionType: string;
@@ -137,7 +132,6 @@ declare const _default: {
137
132
  price?: undefined;
138
133
  linkType?: undefined;
139
134
  };
140
- element?: undefined;
141
135
  style?: undefined;
142
136
  normal?: undefined;
143
137
  } | {
@@ -157,7 +151,6 @@ declare const _default: {
157
151
  price?: undefined;
158
152
  audioUrl?: undefined;
159
153
  };
160
- element?: undefined;
161
154
  style?: undefined;
162
155
  normal?: undefined;
163
156
  }) & {
@@ -0,0 +1,3 @@
1
+ export declare function random(): string;
2
+ declare const RANDON_STRING: string;
3
+ export { RANDON_STRING };
@@ -16,7 +16,6 @@ declare const _default: {
16
16
  audioUrl?: undefined;
17
17
  linkType?: undefined;
18
18
  };
19
- element: HTMLParagraphElement;
20
19
  style: {
21
20
  point: {
22
21
  style: string;
@@ -45,7 +44,6 @@ declare const _default: {
45
44
  audioUrl?: undefined;
46
45
  linkType?: undefined;
47
46
  };
48
- element?: undefined;
49
47
  style?: undefined;
50
48
  normal?: undefined;
51
49
  } | {
@@ -69,7 +67,6 @@ declare const _default: {
69
67
  audioUrl?: undefined;
70
68
  linkType?: undefined;
71
69
  };
72
- element?: undefined;
73
70
  style?: undefined;
74
71
  normal?: undefined;
75
72
  } | {
@@ -98,7 +95,6 @@ declare const _default: {
98
95
  iconUrl: string;
99
96
  };
100
97
  };
101
- element?: undefined;
102
98
  normal?: undefined;
103
99
  } | {
104
100
  dimensionType: string;
@@ -118,7 +114,6 @@ declare const _default: {
118
114
  audioUrl?: undefined;
119
115
  linkType?: undefined;
120
116
  };
121
- element?: undefined;
122
117
  style?: undefined;
123
118
  } | {
124
119
  dimensionType: string;
@@ -137,7 +132,6 @@ declare const _default: {
137
132
  price?: undefined;
138
133
  linkType?: undefined;
139
134
  };
140
- element?: undefined;
141
135
  style?: undefined;
142
136
  normal?: undefined;
143
137
  } | {
@@ -157,7 +151,6 @@ declare const _default: {
157
151
  price?: undefined;
158
152
  audioUrl?: undefined;
159
153
  };
160
- element?: undefined;
161
154
  style?: undefined;
162
155
  normal?: undefined;
163
156
  }) & {
@@ -0,0 +1,3 @@
1
+ export declare function random(): string;
2
+ declare const RANDON_STRING: string;
3
+ export { RANDON_STRING };
package/dist/index.es.js CHANGED
@@ -300,7 +300,7 @@ function evenNumber(num, config) {
300
300
  return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
301
301
  }
302
302
 
303
- function random() {
303
+ function random$1() {
304
304
  return Math.random().toString(36).slice(-6);
305
305
  }
306
306
 
@@ -887,7 +887,7 @@ class CSS3DRender {
887
887
  }
888
888
 
889
889
  const VERSION$5 = 'v2.0.0';
890
- const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random()}@${VERSION$5}`;
890
+ const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random$1()}@${VERSION$5}`;
891
891
  class Controller$8 extends CSS3DRender {
892
892
  constructor(five) {
893
893
  super();
@@ -20736,6 +20736,11 @@ class Shadow extends SvelteComponent {
20736
20736
  }
20737
20737
  }
20738
20738
 
20739
+ function random() {
20740
+ return Math.random().toString(36).slice(-6);
20741
+ }
20742
+ const RANDON_STRING = random();
20743
+
20739
20744
  /* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
20740
20745
 
20741
20746
  function add_css$i(target) {
@@ -20750,7 +20755,7 @@ function get_each_context$5(ctx, list, i) {
20750
20755
  return child_ctx;
20751
20756
  }
20752
20757
 
20753
- // (60:0) {#each contentList as item, index}
20758
+ // (80:0) {#each contentList as item, index}
20754
20759
  function create_each_block$5(ctx) {
20755
20760
  let span;
20756
20761
  let t_value = /*item*/ ctx[10] + "";
@@ -20918,7 +20923,23 @@ function instance$i($$self, $$props, $$invalidate) {
20918
20923
 
20919
20924
  $$self.$$.update = () => {
20920
20925
  if ($$self.$$.dirty & /*content*/ 16) {
20921
- $$invalidate(1, contentList = content.slice().split(''));
20926
+ // v0.3.7 emoji support
20927
+ $$invalidate(1, contentList = (() => {
20928
+ const result = [];
20929
+
20930
+ // eslint-disable-next-line prettier/prettier
20931
+ const emojiRegExp = new RegExp(/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})/gu);
20932
+
20933
+ const emojiSplitFlag = `__EMOJI_SPLIT_${RANDON_STRING}__`;
20934
+ const emojiFlag = `__EMOJI_${RANDON_STRING}__`;
20935
+
20936
+ content.slice().replace(emojiRegExp, emoji => `${emojiSplitFlag}${emojiFlag}${emoji}${emojiSplitFlag}`).split(emojiSplitFlag).forEach(item => {
20937
+ if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
20938
+ });
20939
+
20940
+ // console.log(result.filter(Boolean))
20941
+ return result.filter(Boolean);
20942
+ })());
20922
20943
  }
20923
20944
 
20924
20945
  if ($$self.$$.dirty & /*unfolded*/ 32) {
@@ -26571,7 +26592,7 @@ class TagComputer extends TagCacheController {
26571
26592
  }
26572
26593
 
26573
26594
  // declare const __APP_VERSION__: string
26574
- const VERSION$2 = '0.3.6';
26595
+ const VERSION$2 = '0.3.7';
26575
26596
  const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
26576
26597
  const TAG_INITIAL_UNFOLDED = true;
26577
26598
  const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
package/dist/index.js CHANGED
@@ -330,7 +330,7 @@ function evenNumber(num, config) {
330
330
  return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
331
331
  }
332
332
 
333
- function random() {
333
+ function random$1() {
334
334
  return Math.random().toString(36).slice(-6);
335
335
  }
336
336
 
@@ -917,7 +917,7 @@ class CSS3DRender {
917
917
  }
918
918
 
919
919
  const VERSION$5 = 'v2.0.0';
920
- const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random()}@${VERSION$5}`;
920
+ const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random$1()}@${VERSION$5}`;
921
921
  class Controller$8 extends CSS3DRender {
922
922
  constructor(five) {
923
923
  super();
@@ -20766,6 +20766,11 @@ class Shadow extends internal.SvelteComponent {
20766
20766
  }
20767
20767
  }
20768
20768
 
20769
+ function random() {
20770
+ return Math.random().toString(36).slice(-6);
20771
+ }
20772
+ const RANDON_STRING = random();
20773
+
20769
20774
  /* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
20770
20775
 
20771
20776
  function add_css$i(target) {
@@ -20780,7 +20785,7 @@ function get_each_context$5(ctx, list, i) {
20780
20785
  return child_ctx;
20781
20786
  }
20782
20787
 
20783
- // (60:0) {#each contentList as item, index}
20788
+ // (80:0) {#each contentList as item, index}
20784
20789
  function create_each_block$5(ctx) {
20785
20790
  let span;
20786
20791
  let t_value = /*item*/ ctx[10] + "";
@@ -20948,7 +20953,23 @@ function instance$i($$self, $$props, $$invalidate) {
20948
20953
 
20949
20954
  $$self.$$.update = () => {
20950
20955
  if ($$self.$$.dirty & /*content*/ 16) {
20951
- $$invalidate(1, contentList = content.slice().split(''));
20956
+ // v0.3.7 emoji support
20957
+ $$invalidate(1, contentList = (() => {
20958
+ const result = [];
20959
+
20960
+ // eslint-disable-next-line prettier/prettier
20961
+ const emojiRegExp = new RegExp(/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})/gu);
20962
+
20963
+ const emojiSplitFlag = `__EMOJI_SPLIT_${RANDON_STRING}__`;
20964
+ const emojiFlag = `__EMOJI_${RANDON_STRING}__`;
20965
+
20966
+ content.slice().replace(emojiRegExp, emoji => `${emojiSplitFlag}${emojiFlag}${emoji}${emojiSplitFlag}`).split(emojiSplitFlag).forEach(item => {
20967
+ if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
20968
+ });
20969
+
20970
+ // console.log(result.filter(Boolean))
20971
+ return result.filter(Boolean);
20972
+ })());
20952
20973
  }
20953
20974
 
20954
20975
  if ($$self.$$.dirty & /*unfolded*/ 32) {
@@ -26601,7 +26622,7 @@ class TagComputer extends TagCacheController {
26601
26622
  }
26602
26623
 
26603
26624
  // declare const __APP_VERSION__: string
26604
- const VERSION$2 = '0.3.6';
26625
+ const VERSION$2 = '0.3.7';
26605
26626
  const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
26606
26627
  const TAG_INITIAL_UNFOLDED = true;
26607
26628
  const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
package/dist/index.umd.js CHANGED
@@ -316,7 +316,7 @@
316
316
  return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
317
317
  }
318
318
 
319
- function random() {
319
+ function random$1() {
320
320
  return Math.random().toString(36).slice(-6);
321
321
  }
322
322
 
@@ -903,7 +903,7 @@
903
903
  }
904
904
 
905
905
  const VERSION$5 = 'v2.0.0';
906
- const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random()}@${VERSION$5}`;
906
+ const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random$1()}@${VERSION$5}`;
907
907
  class Controller$8 extends CSS3DRender {
908
908
  constructor(five) {
909
909
  super();
@@ -20752,6 +20752,11 @@ void main() {
20752
20752
  }
20753
20753
  }
20754
20754
 
20755
+ function random() {
20756
+ return Math.random().toString(36).slice(-6);
20757
+ }
20758
+ const RANDON_STRING = random();
20759
+
20755
20760
  /* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
20756
20761
 
20757
20762
  function add_css$i(target) {
@@ -20766,7 +20771,7 @@ void main() {
20766
20771
  return child_ctx;
20767
20772
  }
20768
20773
 
20769
- // (60:0) {#each contentList as item, index}
20774
+ // (80:0) {#each contentList as item, index}
20770
20775
  function create_each_block$5(ctx) {
20771
20776
  let span;
20772
20777
  let t_value = /*item*/ ctx[10] + "";
@@ -20934,7 +20939,23 @@ void main() {
20934
20939
 
20935
20940
  $$self.$$.update = () => {
20936
20941
  if ($$self.$$.dirty & /*content*/ 16) {
20937
- $$invalidate(1, contentList = content.slice().split(''));
20942
+ // v0.3.7 emoji support
20943
+ $$invalidate(1, contentList = (() => {
20944
+ const result = [];
20945
+
20946
+ // eslint-disable-next-line prettier/prettier
20947
+ const emojiRegExp = new RegExp(/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})/gu);
20948
+
20949
+ const emojiSplitFlag = `__EMOJI_SPLIT_${RANDON_STRING}__`;
20950
+ const emojiFlag = `__EMOJI_${RANDON_STRING}__`;
20951
+
20952
+ content.slice().replace(emojiRegExp, emoji => `${emojiSplitFlag}${emojiFlag}${emoji}${emojiSplitFlag}`).split(emojiSplitFlag).forEach(item => {
20953
+ if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
20954
+ });
20955
+
20956
+ // console.log(result.filter(Boolean))
20957
+ return result.filter(Boolean);
20958
+ })());
20938
20959
  }
20939
20960
 
20940
20961
  if ($$self.$$.dirty & /*unfolded*/ 32) {
@@ -26587,7 +26608,7 @@ void main() {
26587
26608
  }
26588
26609
 
26589
26610
  // declare const __APP_VERSION__: string
26590
- const VERSION$2 = '0.3.6';
26611
+ const VERSION$2 = '0.3.7';
26591
26612
  const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
26592
26613
  const TAG_INITIAL_UNFOLDED = true;
26593
26614
  const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;