poe-svelte-ui-lib 1.9.13 → 1.9.15
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.
- package/dist/Table/Table.svelte +4 -3
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/Table/Table.svelte
CHANGED
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
class="w-fit cursor-pointer text-left"
|
|
451
451
|
onclick={(e) => {
|
|
452
452
|
e.stopPropagation()
|
|
453
|
-
showModal(data, text?.formatting)
|
|
453
|
+
showModal(data.replace(/<[^>]*>/g, ""), text?.formatting)
|
|
454
454
|
}}
|
|
455
455
|
>
|
|
456
456
|
{@html data}
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
class="mx-2 flex cursor-pointer border-none bg-transparent text-2xl"
|
|
466
466
|
onclick={(e) => {
|
|
467
467
|
e.preventDefault()
|
|
468
|
-
navigator.clipboard.writeText(row[text?.key ?? ""])
|
|
468
|
+
navigator.clipboard.writeText(row[text?.key ?? ""].replace(/<[^>]*>/g, ""))
|
|
469
469
|
copiedCell = { x: j, y: i }
|
|
470
470
|
setTimeout(() => (copiedCell = null), 1000)
|
|
471
471
|
}}
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
transition:fly={{ y: 10, duration: 200 }}
|
|
513
513
|
role="tooltip"
|
|
514
514
|
>
|
|
515
|
-
{@html tooltip.text}
|
|
515
|
+
{@html tooltip.text.replace(/<[^>]*>/g, "")}
|
|
516
516
|
</div>
|
|
517
517
|
{/if}
|
|
518
518
|
<!-- Нижнее поле для сводной информации -->
|
|
@@ -534,6 +534,7 @@
|
|
|
534
534
|
<Button
|
|
535
535
|
content={{ name: $t("constructor.props.copy") }}
|
|
536
536
|
wrapperClass="w-50"
|
|
537
|
+
componentClass="bg-blue"
|
|
537
538
|
onClick={() => {
|
|
538
539
|
navigator.clipboard.writeText(modalData.rawData ?? "")
|
|
539
540
|
modalData.isOpen = false
|
package/dist/types.d.ts
CHANGED