react-table-edit 0.8.0 → 0.8.1

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/index.mjs CHANGED
@@ -3781,11 +3781,989 @@ import { Bold, Droplet, Italic, Type, Underline } from "becoxy-icons";
3781
3781
  import { Button as Button6, Input as Input9 } from "reactstrap";
3782
3782
  import classnames10 from "classnames";
3783
3783
  import { Fragment as Fragment20 } from "react";
3784
+
3785
+ // test-app/src/component/input-style/fonts.ts
3786
+ var OptionFont = [
3787
+ {
3788
+ value: 1,
3789
+ label: "Times New Roman"
3790
+ },
3791
+ {
3792
+ value: 2,
3793
+ label: "Arial"
3794
+ },
3795
+ {
3796
+ value: 3,
3797
+ label: "Arial Black"
3798
+ },
3799
+ {
3800
+ value: 4,
3801
+ label: "Calibri"
3802
+ },
3803
+ {
3804
+ value: 5,
3805
+ label: "Cambria"
3806
+ },
3807
+ {
3808
+ value: 6,
3809
+ label: "Candara"
3810
+ },
3811
+ {
3812
+ value: 7,
3813
+ label: "Comic Sans MS"
3814
+ },
3815
+ {
3816
+ value: 8,
3817
+ label: "Consolas"
3818
+ },
3819
+ {
3820
+ value: 9,
3821
+ label: "Courier New"
3822
+ },
3823
+ {
3824
+ value: 10,
3825
+ label: "Georgia"
3826
+ },
3827
+ {
3828
+ value: 11,
3829
+ label: "Impact"
3830
+ },
3831
+ {
3832
+ value: 12,
3833
+ label: "Lucida Console"
3834
+ },
3835
+ {
3836
+ value: 13,
3837
+ label: "Lucida Sans Unicode"
3838
+ },
3839
+ {
3840
+ value: 14,
3841
+ label: "Palatino Linotype"
3842
+ },
3843
+ {
3844
+ value: 15,
3845
+ label: "Segoe UI"
3846
+ },
3847
+ {
3848
+ value: 16,
3849
+ label: "Tahoma"
3850
+ },
3851
+ {
3852
+ value: 17,
3853
+ label: "Trebuchet MS"
3854
+ },
3855
+ {
3856
+ value: 18,
3857
+ label: "Verdana"
3858
+ },
3859
+ {
3860
+ value: 19,
3861
+ label: "Book Antiqua"
3862
+ },
3863
+ {
3864
+ value: 20,
3865
+ label: "Garamond"
3866
+ },
3867
+ {
3868
+ value: 21,
3869
+ label: "Gill Sans"
3870
+ },
3871
+ {
3872
+ value: 22,
3873
+ label: "Helvetica"
3874
+ },
3875
+ {
3876
+ value: 23,
3877
+ label: "Franklin Gothic Medium"
3878
+ },
3879
+ {
3880
+ value: 24,
3881
+ label: "Futura"
3882
+ },
3883
+ {
3884
+ value: 25,
3885
+ label: "Baskerville"
3886
+ },
3887
+ {
3888
+ value: 26,
3889
+ label: "Brush Script MT"
3890
+ },
3891
+ {
3892
+ value: 27,
3893
+ label: "Rockwell"
3894
+ },
3895
+ {
3896
+ value: 28,
3897
+ label: "Century Gothic"
3898
+ },
3899
+ {
3900
+ value: 29,
3901
+ label: "Perpetua"
3902
+ },
3903
+ {
3904
+ value: 30,
3905
+ label: "Didot"
3906
+ },
3907
+ {
3908
+ value: 31,
3909
+ label: "Arial Narrow"
3910
+ },
3911
+ {
3912
+ value: 32,
3913
+ label: "Arial Rounded MT Bold"
3914
+ },
3915
+ {
3916
+ value: 33,
3917
+ label: "Calibri Light"
3918
+ },
3919
+ {
3920
+ value: 34,
3921
+ label: "Cambria Math"
3922
+ },
3923
+ {
3924
+ value: 35,
3925
+ label: "Century"
3926
+ },
3927
+ {
3928
+ value: 36,
3929
+ label: "Charter"
3930
+ },
3931
+ {
3932
+ value: 37,
3933
+ label: "Cochin"
3934
+ },
3935
+ {
3936
+ value: 40,
3937
+ label: "Frank Ruhl"
3938
+ },
3939
+ {
3940
+ value: 43,
3941
+ label: "Lucida Bright"
3942
+ },
3943
+ {
3944
+ value: 44,
3945
+ label: "Lucida Handwriting"
3946
+ },
3947
+ {
3948
+ value: 45,
3949
+ label: "Mongolian Baiti"
3950
+ },
3951
+ {
3952
+ value: 46,
3953
+ label: "Miriam"
3954
+ },
3955
+ {
3956
+ value: 47,
3957
+ label: "MS Gothic"
3958
+ },
3959
+ {
3960
+ value: 48,
3961
+ label: "MS Mincho"
3962
+ },
3963
+ {
3964
+ value: 49,
3965
+ label: "MS PMincho"
3966
+ },
3967
+ {
3968
+ value: 50,
3969
+ label: "MS PGothic"
3970
+ },
3971
+ {
3972
+ value: 51,
3973
+ label: "MT Extra"
3974
+ },
3975
+ {
3976
+ value: 52,
3977
+ label: "Palatino"
3978
+ },
3979
+ {
3980
+ value: 53,
3981
+ label: "Tisa"
3982
+ },
3983
+ {
3984
+ value: 54,
3985
+ label: "Vivaldi"
3986
+ },
3987
+ {
3988
+ value: 55,
3989
+ label: "WST_Gothic"
3990
+ },
3991
+ {
3992
+ value: 56,
3993
+ label: "Andalus"
3994
+ },
3995
+ {
3996
+ value: 57,
3997
+ label: "Angsana New"
3998
+ },
3999
+ {
4000
+ value: 58,
4001
+ label: "Arabic Typesetting"
4002
+ },
4003
+ {
4004
+ value: 59,
4005
+ label: "Avenir"
4006
+ },
4007
+ {
4008
+ value: 60,
4009
+ label: "Browallia New"
4010
+ },
4011
+ {
4012
+ value: 63,
4013
+ label: "Iris"
4014
+ },
4015
+ {
4016
+ value: 64,
4017
+ label: "Jasmine"
4018
+ },
4019
+ {
4020
+ value: 65,
4021
+ label: "Mistral"
4022
+ },
4023
+ {
4024
+ value: 66,
4025
+ label: "Myriad Pro"
4026
+ },
4027
+ {
4028
+ value: 68,
4029
+ label: "Vladimir Script"
4030
+ },
4031
+ {
4032
+ value: 69,
4033
+ label: "Algerian"
4034
+ },
4035
+ {
4036
+ value: 70,
4037
+ label: "Berlin Sans FB"
4038
+ },
4039
+ {
4040
+ value: 71,
4041
+ label: "Bodoni MT"
4042
+ },
4043
+ {
4044
+ value: 72,
4045
+ label: "Bookman Old Style"
4046
+ },
4047
+ {
4048
+ value: 73,
4049
+ label: "Copperplate Gothic"
4050
+ },
4051
+ {
4052
+ value: 74,
4053
+ label: "Elephant"
4054
+ },
4055
+ {
4056
+ value: 75,
4057
+ label: "FangSong"
4058
+ },
4059
+ {
4060
+ value: 76,
4061
+ label: "Garamond Premr"
4062
+ },
4063
+ {
4064
+ value: 77,
4065
+ label: "Jokerman"
4066
+ },
4067
+ {
4068
+ value: 78,
4069
+ label: "Kaiti"
4070
+ },
4071
+ {
4072
+ value: 79,
4073
+ label: "MingLiU"
4074
+ },
4075
+ {
4076
+ value: 80,
4077
+ label: "Myriad"
4078
+ },
4079
+ {
4080
+ value: 81,
4081
+ label: "Oklahoma"
4082
+ },
4083
+ {
4084
+ value: 82,
4085
+ label: "Papyrus"
4086
+ },
4087
+ {
4088
+ value: 83,
4089
+ label: "Perpetua Titling MT"
4090
+ },
4091
+ {
4092
+ value: 84,
4093
+ label: "Rockwell Extra Bold"
4094
+ },
4095
+ {
4096
+ value: 85,
4097
+ label: "Script MT Bold"
4098
+ },
4099
+ {
4100
+ value: 86,
4101
+ label: "Snap ITC"
4102
+ },
4103
+ {
4104
+ value: 88,
4105
+ label: "Viner Hand ITC"
4106
+ },
4107
+ {
4108
+ value: 89,
4109
+ label: "Wingdings"
4110
+ },
4111
+ {
4112
+ value: 90,
4113
+ label: "Zapf Dingbats"
4114
+ },
4115
+ {
4116
+ value: 91,
4117
+ label: "Apple Chancery"
4118
+ },
4119
+ {
4120
+ value: 92,
4121
+ label: "Avant Garde"
4122
+ },
4123
+ {
4124
+ value: 93,
4125
+ label: "Big Caslon"
4126
+ },
4127
+ {
4128
+ value: 94,
4129
+ label: "Bodoni 72"
4130
+ },
4131
+ {
4132
+ value: 95,
4133
+ label: "Caslon"
4134
+ },
4135
+ {
4136
+ value: 96,
4137
+ label: "Chaparral Pro"
4138
+ },
4139
+ {
4140
+ value: 97,
4141
+ label: "Clarendon"
4142
+ },
4143
+ {
4144
+ value: 98,
4145
+ label: "Coolvetica"
4146
+ },
4147
+ {
4148
+ value: 99,
4149
+ label: "Doulos SIL"
4150
+ },
4151
+ {
4152
+ value: 100,
4153
+ label: "Fira Sans"
4154
+ },
4155
+ {
4156
+ value: 101,
4157
+ label: "Frutiger"
4158
+ },
4159
+ {
4160
+ value: 102,
4161
+ label: "Georgia Pro"
4162
+ },
4163
+ {
4164
+ value: 103,
4165
+ label: "Goudy Old Style"
4166
+ },
4167
+ {
4168
+ value: 104,
4169
+ label: "ITC Garamond"
4170
+ },
4171
+ {
4172
+ value: 105,
4173
+ label: "ITC Officina Sans"
4174
+ },
4175
+ {
4176
+ value: 106,
4177
+ label: "Janson Text"
4178
+ },
4179
+ {
4180
+ value: 108,
4181
+ label: "Kabel"
4182
+ },
4183
+ {
4184
+ value: 109,
4185
+ label: "Lato"
4186
+ },
4187
+ {
4188
+ value: 110,
4189
+ label: "Lora"
4190
+ },
4191
+ {
4192
+ value: 111,
4193
+ label: "Mangal"
4194
+ },
4195
+ {
4196
+ value: 112,
4197
+ label: "Marlett"
4198
+ },
4199
+ {
4200
+ value: 113,
4201
+ label: "Minion Pro"
4202
+ },
4203
+ {
4204
+ value: 114,
4205
+ label: "Modern No. 20"
4206
+ },
4207
+ {
4208
+ value: 115,
4209
+ label: "Neutraface"
4210
+ },
4211
+ {
4212
+ value: 116,
4213
+ label: "Noto Sans"
4214
+ },
4215
+ {
4216
+ value: 117,
4217
+ label: "Open Sans"
4218
+ },
4219
+ {
4220
+ value: 118,
4221
+ label: "Orator"
4222
+ },
4223
+ {
4224
+ value: 119,
4225
+ label: "Oswald"
4226
+ },
4227
+ {
4228
+ value: 120,
4229
+ label: "Playfair Display"
4230
+ },
4231
+ {
4232
+ value: 121,
4233
+ label: "Quicksand"
4234
+ },
4235
+ {
4236
+ value: 122,
4237
+ label: "Roboto"
4238
+ },
4239
+ {
4240
+ value: 124,
4241
+ label: "Sabon"
4242
+ },
4243
+ {
4244
+ value: 125,
4245
+ label: "Segoe Print"
4246
+ },
4247
+ {
4248
+ value: 126,
4249
+ label: "Segoe Script"
4250
+ },
4251
+ {
4252
+ value: 128,
4253
+ label: "TeX Gyre Adventor"
4254
+ },
4255
+ {
4256
+ value: 129,
4257
+ label: "TeX Gyre Bonum"
4258
+ },
4259
+ {
4260
+ value: 130,
4261
+ label: "TeX Gyre Chorus"
4262
+ },
4263
+ {
4264
+ value: 131,
4265
+ label: "TeX Gyre Cursor"
4266
+ },
4267
+ {
4268
+ value: 132,
4269
+ label: "TeX Gyre Heros"
4270
+ },
4271
+ {
4272
+ value: 133,
4273
+ label: "TeX Gyre Pagella"
4274
+ },
4275
+ {
4276
+ value: 134,
4277
+ label: "TeX Gyre Schola"
4278
+ },
4279
+ {
4280
+ value: 135,
4281
+ label: "TeX Gyre Termes"
4282
+ },
4283
+ {
4284
+ value: 136,
4285
+ label: "Trajan Pro"
4286
+ },
4287
+ {
4288
+ value: 137,
4289
+ label: "Univers"
4290
+ },
4291
+ {
4292
+ value: 138,
4293
+ label: "Verdana Pro"
4294
+ },
4295
+ {
4296
+ value: 140,
4297
+ label: "Zapf Calligraphic"
4298
+ },
4299
+ {
4300
+ value: 141,
4301
+ label: "Zapf Chancery"
4302
+ },
4303
+ {
4304
+ value: 143,
4305
+ label: "Abadi MT Condensed"
4306
+ },
4307
+ {
4308
+ value: 144,
4309
+ label: "Albertus"
4310
+ },
4311
+ {
4312
+ value: 146,
4313
+ label: "Aldine"
4314
+ },
4315
+ {
4316
+ value: 147,
4317
+ label: "American Typewriter"
4318
+ },
4319
+ {
4320
+ value: 148,
4321
+ label: "Andale Mono"
4322
+ },
4323
+ {
4324
+ value: 149,
4325
+ label: "Apple Gothic"
4326
+ },
4327
+ {
4328
+ value: 150,
4329
+ label: "Apple Symbols"
4330
+ },
4331
+ {
4332
+ value: 151,
4333
+ label: "Arial Unicode MS"
4334
+ },
4335
+ {
4336
+ value: 153,
4337
+ label: "Bernhard Fashion"
4338
+ },
4339
+ {
4340
+ value: 154,
4341
+ label: "Bernhard Gothic"
4342
+ },
4343
+ {
4344
+ value: 155,
4345
+ label: "Bernhard Modern"
4346
+ },
4347
+ {
4348
+ value: 157,
4349
+ label: "Blackadder ITC"
4350
+ },
4351
+ {
4352
+ value: 158,
4353
+ label: "Bodoni MT Condensed"
4354
+ },
4355
+ {
4356
+ value: 160,
4357
+ label: "Bookman"
4358
+ },
4359
+ {
4360
+ value: 162,
4361
+ label: "Bradley Hand ITC"
4362
+ },
4363
+ {
4364
+ value: 163,
4365
+ label: "Brush Script Std"
4366
+ },
4367
+ {
4368
+ value: 164,
4369
+ label: "Calisto MT"
4370
+ },
4371
+ {
4372
+ value: 165,
4373
+ label: "Castle"
4374
+ },
4375
+ {
4376
+ value: 166,
4377
+ label: "Chalkboard SE"
4378
+ },
4379
+ {
4380
+ value: 167,
4381
+ label: "Chalkduster"
4382
+ },
4383
+ {
4384
+ value: 168,
4385
+ label: "Cheltenham"
4386
+ },
4387
+ {
4388
+ value: 170,
4389
+ label: "Copperplate"
4390
+ },
4391
+ {
4392
+ value: 171,
4393
+ label: "Courier"
4394
+ },
4395
+ {
4396
+ value: 172,
4397
+ label: "Creepster"
4398
+ },
4399
+ {
4400
+ value: 173,
4401
+ label: "Crimson Text"
4402
+ },
4403
+ {
4404
+ value: 177,
4405
+ label: "Freestyle Script"
4406
+ },
4407
+ {
4408
+ value: 180,
4409
+ label: "Gill Sans MT"
4410
+ },
4411
+ {
4412
+ value: 181,
4413
+ label: "Gotham"
4414
+ },
4415
+ {
4416
+ value: 182,
4417
+ label: "Harlow Solid Italic"
4418
+ },
4419
+ {
4420
+ value: 183,
4421
+ label: "Harrington"
4422
+ },
4423
+ {
4424
+ value: 184,
4425
+ label: "Hobo Std"
4426
+ },
4427
+ {
4428
+ value: 185,
4429
+ label: "Hoefler Text"
4430
+ },
4431
+ {
4432
+ value: 186,
4433
+ label: "Humin"
4434
+ },
4435
+ {
4436
+ value: 187,
4437
+ label: "Inconsolata"
4438
+ },
4439
+ {
4440
+ value: 189,
4441
+ label: "Kaiti SC"
4442
+ },
4443
+ {
4444
+ value: 190,
4445
+ label: "Klavika"
4446
+ },
4447
+ {
4448
+ value: 191,
4449
+ label: "Kozuka Gothic"
4450
+ },
4451
+ {
4452
+ value: 192,
4453
+ label: "Kozuka Mincho"
4454
+ },
4455
+ {
4456
+ value: 193,
4457
+ label: "Lucida Grande"
4458
+ },
4459
+ {
4460
+ value: 194,
4461
+ label: "Lucida Sans"
4462
+ },
4463
+ {
4464
+ value: 195,
4465
+ label: "Lucida Sans Typewriter"
4466
+ },
4467
+ {
4468
+ value: 196,
4469
+ label: "Merryweather"
4470
+ },
4471
+ {
4472
+ value: 198,
4473
+ label: "Monaco"
4474
+ },
4475
+ {
4476
+ value: 200,
4477
+ label: "Noto Serif"
4478
+ },
4479
+ {
4480
+ value: 201,
4481
+ label: "Odin Rounded"
4482
+ },
4483
+ {
4484
+ value: 202,
4485
+ label: "Open Sans Condensed"
4486
+ },
4487
+ {
4488
+ value: 203,
4489
+ label: "Optima"
4490
+ },
4491
+ {
4492
+ value: 205,
4493
+ label: "Parchment"
4494
+ },
4495
+ {
4496
+ value: 208,
4497
+ label: "PT Serif"
4498
+ },
4499
+ {
4500
+ value: 210,
4501
+ label: "Ravie"
4502
+ },
4503
+ {
4504
+ value: 212,
4505
+ label: "Ruge Boogie"
4506
+ },
4507
+ {
4508
+ value: 214,
4509
+ label: "Segoe MDL2 Assets"
4510
+ },
4511
+ {
4512
+ value: 217,
4513
+ label: "Shonar Bangla"
4514
+ },
4515
+ {
4516
+ value: 218,
4517
+ label: "Simplified Arabic"
4518
+ },
4519
+ {
4520
+ value: 219,
4521
+ label: "Sitka"
4522
+ },
4523
+ {
4524
+ value: 220,
4525
+ label: "Stencil"
4526
+ },
4527
+ {
4528
+ value: 221,
4529
+ label: "Swis721 BT"
4530
+ },
4531
+ {
4532
+ value: 230,
4533
+ label: "Adobe Caslon Pro"
4534
+ },
4535
+ {
4536
+ value: 231,
4537
+ label: "Adobe Garamond Pro"
4538
+ },
4539
+ {
4540
+ value: 232,
4541
+ label: "Avenir Next"
4542
+ },
4543
+ {
4544
+ value: 233,
4545
+ label: "Baskerville Old Face"
4546
+ },
4547
+ {
4548
+ value: 234,
4549
+ label: "Bebas Neue"
4550
+ },
4551
+ {
4552
+ value: 235,
4553
+ label: "Bembo"
4554
+ },
4555
+ {
4556
+ value: 238,
4557
+ label: "Bodoni MT Poster Compressed"
4558
+ },
4559
+ {
4560
+ value: 239,
4561
+ label: "Braggadocio"
4562
+ },
4563
+ {
4564
+ value: 241,
4565
+ label: "Castellar"
4566
+ },
4567
+ {
4568
+ value: 242,
4569
+ label: "Chiller"
4570
+ },
4571
+ {
4572
+ value: 244,
4573
+ label: "Edwardian Script ITC"
4574
+ },
4575
+ {
4576
+ value: 245,
4577
+ label: "Exo"
4578
+ },
4579
+ {
4580
+ value: 246,
4581
+ label: "Fira Code"
4582
+ },
4583
+ {
4584
+ value: 251,
4585
+ label: "Helvetica Neue"
4586
+ },
4587
+ {
4588
+ value: 252,
4589
+ label: "Karla"
4590
+ },
4591
+ {
4592
+ value: 254,
4593
+ label: "Merriweather"
4594
+ },
4595
+ {
4596
+ value: 255,
4597
+ label: "Montserrat"
4598
+ },
4599
+ {
4600
+ value: 257,
4601
+ label: "Old English Text MT"
4602
+ },
4603
+ {
4604
+ value: 258,
4605
+ label: "Oxygen"
4606
+ },
4607
+ {
4608
+ value: 261,
4609
+ label: "Roboto Condensed"
4610
+ },
4611
+ {
4612
+ value: 262,
4613
+ label: "Source Sans Pro"
4614
+ },
4615
+ {
4616
+ value: 263,
4617
+ label: "Space Mono"
4618
+ },
4619
+ {
4620
+ value: 264,
4621
+ label: "Spectral"
4622
+ },
4623
+ {
4624
+ value: 265,
4625
+ label: "Titan One"
4626
+ },
4627
+ {
4628
+ value: 266,
4629
+ label: "Ubuntu"
4630
+ },
4631
+ {
4632
+ value: 267,
4633
+ label: "Ubuntu Condensed"
4634
+ },
4635
+ {
4636
+ value: 268,
4637
+ label: "Varela Round"
4638
+ }
4639
+ ];
4640
+
4641
+ // test-app/src/component/input-style/index.tsx
3784
4642
  import { jsx as jsx18, jsxs as jsxs17 } from "react/jsx-runtime";
4643
+ var InputStyleComponent = (props) => {
4644
+ const { value, onChange, disabled } = props;
4645
+ return /* @__PURE__ */ jsx18(Fragment20, { children: /* @__PURE__ */ jsxs17("div", { className: "d-flex align-items-center", children: [
4646
+ /* @__PURE__ */ jsx18(
4647
+ SelectTable,
4648
+ {
4649
+ options: OptionFont,
4650
+ isDisabled: disabled,
4651
+ noHeader: true,
4652
+ value: value.fontFamily ? OptionFont.find((x) => x.label === value.fontFamily) : null,
4653
+ onChange: (val) => {
4654
+ onChange({ ...value, fontFamily: val.label });
4655
+ },
4656
+ fieldValue: "label",
4657
+ columns: [
4658
+ {
4659
+ field: "label",
4660
+ headerText: "",
4661
+ template: (row) => {
4662
+ return /* @__PURE__ */ jsx18("div", { style: { fontFamily: row.label }, children: row.label });
4663
+ }
4664
+ }
4665
+ ],
4666
+ formatOptionLabel: (props2) => {
4667
+ return /* @__PURE__ */ jsx18("p", { style: {
4668
+ paddingLeft: 3,
4669
+ borderRadius: 2,
4670
+ fontFamily: value.fontFamily,
4671
+ fontWeight: value.bold ? "bold" : "normal",
4672
+ fontStyle: value.italic ? "italic" : "normal",
4673
+ textDecoration: value.underline ? "underline" : "normal",
4674
+ backgroundColor: value.backgroundColor ?? "#ffffff",
4675
+ color: value.color ?? "#000000"
4676
+ }, children: props2.label });
4677
+ }
4678
+ }
4679
+ ),
4680
+ /* @__PURE__ */ jsx18("div", { className: "ms-25", style: { width: 60 }, children: /* @__PURE__ */ jsx18(
4681
+ SelectTable,
4682
+ {
4683
+ options: Array.from({ length: 100 }, (_, i) => ({ value: i + 1, label: i + 1 })),
4684
+ noHeader: true,
4685
+ isDisabled: disabled,
4686
+ value: value.fontSize ? { value: value.fontSize, label: value.fontSize } : null,
4687
+ onChange: (val) => {
4688
+ onChange({ ...value, fontSize: val.value });
4689
+ }
4690
+ }
4691
+ ) }),
4692
+ /* @__PURE__ */ jsx18(
4693
+ "div",
4694
+ {
4695
+ className: classnames10("btn-input-style", { "active-custom": value.bold }),
4696
+ onClick: () => {
4697
+ if (!disabled) {
4698
+ onChange({ ...value, bold: !value.bold });
4699
+ }
4700
+ },
4701
+ children: /* @__PURE__ */ jsx18(Bold, { fontSize: 18 })
4702
+ }
4703
+ ),
4704
+ /* @__PURE__ */ jsx18(
4705
+ "div",
4706
+ {
4707
+ className: classnames10("btn-input-style", { "active-custom": value.italic }),
4708
+ onClick: () => {
4709
+ if (!disabled) {
4710
+ onChange({ ...value, italic: !value.italic });
4711
+ }
4712
+ },
4713
+ children: /* @__PURE__ */ jsx18(Italic, { fontSize: 18 })
4714
+ }
4715
+ ),
4716
+ /* @__PURE__ */ jsx18(
4717
+ "div",
4718
+ {
4719
+ className: classnames10("btn-input-style", { "active-custom": value.underline }),
4720
+ onClick: () => {
4721
+ if (!disabled) {
4722
+ onChange({ ...value, underline: !value.underline });
4723
+ }
4724
+ },
4725
+ children: /* @__PURE__ */ jsx18(Underline, { fontSize: 18 })
4726
+ }
4727
+ ),
4728
+ /* @__PURE__ */ jsxs17(Button6, { tag: "label", color: "none", className: "btn-input-style", children: [
4729
+ /* @__PURE__ */ jsx18(Type, { stroke: value.color ?? "#000000", fontSize: 18 }),
4730
+ /* @__PURE__ */ jsx18(
4731
+ "input",
4732
+ {
4733
+ type: "color",
4734
+ id: "color",
4735
+ disabled,
4736
+ value: value.color,
4737
+ style: { color: "#FFF", border: "none", height: 0, width: 0, outline: "none", padding: 0 },
4738
+ onChange: (e) => {
4739
+ onChange({ ...value, color: e.target.value });
4740
+ }
4741
+ }
4742
+ )
4743
+ ] }),
4744
+ /* @__PURE__ */ jsxs17(Button6, { tag: "label", color: "none", className: "btn-input-style", children: [
4745
+ /* @__PURE__ */ jsx18(Droplet, { fill: value.backgroundColor ?? "#ffffff", fontSize: 18 }),
4746
+ /* @__PURE__ */ jsx18(
4747
+ Input9,
4748
+ {
4749
+ id: "backgroundColor",
4750
+ type: "color",
4751
+ disabled,
4752
+ style: { color: "#FFF", border: "none", height: 0, width: 0, outline: "none", padding: 0 },
4753
+ value: value.backgroundColor,
4754
+ onChange: (e) => {
4755
+ onChange({ ...value, backgroundColor: e.target.value });
4756
+ }
4757
+ }
4758
+ )
4759
+ ] })
4760
+ ] }) });
4761
+ };
3785
4762
 
3786
4763
  // index.ts
3787
4764
  var Table_edit_default = table_default;
3788
4765
  export {
4766
+ InputStyleComponent,
3789
4767
  SelectTable,
3790
4768
  TabsMenuComponent,
3791
4769
  Table_edit_default as default,