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