hardpy 0.20.1__py3-none-any.whl → 0.21.0__py3-none-any.whl

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.
@@ -1 +1 @@
1
- import{_ as o,a as _,b as i,p as c,I as u}from"./index-1i9Rm0C7.js";var p=function(n,s){return o(void 0,void 0,void 0,function(){var a,r;return _(this,function(e){switch(e.label){case 0:return a=c(n),s!==u.STANDARD?[3,2]:[4,i(()=>import("./index-DLOviMB1.js").then(t=>t.I),[])];case 1:return r=e.sent(),[3,4];case 2:return[4,i(()=>import("./index-B-fsa5Ru.js").then(t=>t.I),[])];case 3:r=e.sent(),e.label=4;case 4:return[2,r[a]]}})})};export{p as splitPathsBySizeLoader};
1
+ import{_ as o,a as _,b as i,p as c,I as u}from"./index-CtqvceCR.js";var p=function(n,s){return o(void 0,void 0,void 0,function(){var a,r;return _(this,function(e){switch(e.label){case 0:return a=c(n),s!==u.STANDARD?[3,2]:[4,i(()=>import("./index-DLOviMB1.js").then(t=>t.I),[])];case 1:return r=e.sent(),[3,4];case 2:return[4,i(()=>import("./index-B-fsa5Ru.js").then(t=>t.I),[])];case 3:r=e.sent(),e.label=4;case 4:return[2,r[a]]}})})};export{p as splitPathsBySizeLoader};
@@ -25,7 +25,7 @@
25
25
  Learn how to configure a non-root public URL by running `npm run build`.
26
26
  -->
27
27
  <title>HardPy Operator Panel</title>
28
- <script type="module" crossorigin src="/assets/index-1i9Rm0C7.js"></script>
28
+ <script type="module" crossorigin src="/assets/index-CtqvceCR.js"></script>
29
29
  <link rel="stylesheet" crossorigin href="/assets/index-DN3Ur-pw.css">
30
30
  </head>
31
31
  <body>
@@ -367,6 +367,7 @@ class DialogBox:
367
367
  image (ImageComponent | None): image
368
368
  font_size (int): font size
369
369
  pass_fail (bool): enable pass/fail buttons instead of confirm button
370
+ button_text (list | None): user text for buttons
370
371
  """
371
372
 
372
373
  def __init__( # noqa: PLR0913
@@ -378,6 +379,7 @@ class DialogBox:
378
379
  html: HTMLComponent | None = None,
379
380
  font_size: int = 14,
380
381
  pass_fail: bool = False,
382
+ button_text: list | None = None,
381
383
  ) -> None:
382
384
  self.widget: IWidget = BaseWidget() if widget is None else widget
383
385
  self.image: ImageComponent | None = image
@@ -388,6 +390,7 @@ class DialogBox:
388
390
  self.id = str(uuid4())
389
391
  self.font_size = font_size
390
392
  self.pass_fail: bool = pass_fail
393
+ self.button_text: list = button_text
391
394
 
392
395
  if font_size < 1:
393
396
  msg = "The 'font_size' argument cannot be less than 1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hardpy
3
- Version: 0.20.1
3
+ Version: 0.21.0
4
4
  Summary: HardPy library for device testing
5
5
  Project-URL: Homepage, https://github.com/everypinio/hardpy/
6
6
  Project-URL: Documentation, https://everypinio.github.io/hardpy/
@@ -15,12 +15,12 @@ hardpy/common/stand_cloud/utils.py,sha256=GN3wzbrmF-Xe5iUXf_HurGO-YKltqd3Gc_7vG2
15
15
  hardpy/hardpy_panel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  hardpy/hardpy_panel/api.py,sha256=On7WeTBFg9efFAgsNjh5nAOrikrzX-D0T100y_dF6a4,12662
17
17
  hardpy/hardpy_panel/frontend/dist/favicon.ico,sha256=sgIk5PKUKEKBDpkSrc8dJgjpObp0iF82Mec0GpfKId4,15406
18
- hardpy/hardpy_panel/frontend/dist/index.html,sha256=hfMioKbx9qK3sZsiPvGPMS5U098zRCzwIAqOSxT30wo,1851
18
+ hardpy/hardpy_panel/frontend/dist/index.html,sha256=5D6GpjixszVIZoA0Je6yC9333rPs2VDh67XQRtIAH_g,1851
19
19
  hardpy/hardpy_panel/frontend/dist/logo192.png,sha256=E4K7drvhJCg9HcTpRihOXZhVJVBZ7-W97Se-3tDb46o,14485
20
20
  hardpy/hardpy_panel/frontend/dist/logo512.png,sha256=-fIMbqX7PYUpheK4kX1C1erRTe_hHZwFQYDLrAbhFRU,34188
21
21
  hardpy/hardpy_panel/frontend/dist/manifest.json,sha256=PfmJlN2JMJtHS6OnhU4b4X5wPQC_yRBdjesjoirObSA,502
22
- hardpy/hardpy_panel/frontend/dist/assets/allPaths-CLpOX_m7.js,sha256=A1dosSlyLDlBjZ1R9v43-YvyPs8Z34r48idS497_3sU,309
23
- hardpy/hardpy_panel/frontend/dist/assets/allPathsLoader-BZScMaOY.js,sha256=lwGGRSw1LYgSmwi92ZjD8xL8qJi-KxGgYHKlgYZn1Hk,550
22
+ hardpy/hardpy_panel/frontend/dist/assets/allPaths-DVU_E_XC.js,sha256=FWne8t5xryIJRlKl7QgNYH-UKSDSOeQRvAn9JpXxZk0,309
23
+ hardpy/hardpy_panel/frontend/dist/assets/allPathsLoader-CFAlzjQy.js,sha256=wYrKppgYXtvg827dKGT-X8meQjunLbfAsPE1IFpXViQ,550
24
24
  hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-B2twAPZE.ttf,sha256=OcrUHPBAaLvJxb2DOethXFXg8PClDcyvpsh0mToLFPM,136248
25
25
  hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-C0Unyq1d.eot,sha256=Bl93LjY8pyBj0Iip1lUxMM-0l1zLrRjoGmKPPnAQIgw,136456
26
26
  hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-CVy9qFng.svg,sha256=57jlcc-NFRVJNJ3t-1fOnJvgdbYhcrF5a06LJLhWc5A,601027
@@ -31,13 +31,13 @@ hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-CjKGIKxE.woff,sha256
31
31
  hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-DQ09GSQq.svg,sha256=3gLRYNxd_Y4iz6pspH4Bf7Ql4F6LH5haZzbTfxA53HQ,638634
32
32
  hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-DmR755bS.ttf,sha256=yr5g5Jw9ZnxJJ7e1quOv977VE3NU2GRB60BMRrOJrcI,139424
33
33
  hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-p9MhBXD8.eot,sha256=CFx8t8ONhB4INIrK860N56_t1dmS7FuRF7i0HKKo58k,139632
34
- hardpy/hardpy_panel/frontend/dist/assets/browser-ponyfill-BTcpcLno.js,sha256=_wwd4Fx3J-R8JT2pKBeRD2NyEtuQtOPAj_b0lQcHp04,10294
35
- hardpy/hardpy_panel/frontend/dist/assets/index-1i9Rm0C7.js,sha256=eOyOZeLIAXzHK-gRSQWuF0br4yPPxu94wWUW-MsufoU,6023114
34
+ hardpy/hardpy_panel/frontend/dist/assets/browser-ponyfill-B1gKhtku.js,sha256=z0pbREcHJqZ8dCnI9GGYESltU6TDMJKuVd8EPaBga_w,10294
36
35
  hardpy/hardpy_panel/frontend/dist/assets/index-B-fsa5Ru.js,sha256=IonL7d7ppdDr-_FRJZQPWI4HHFTiygYvZGVlUxHY9R8,294235
36
+ hardpy/hardpy_panel/frontend/dist/assets/index-CtqvceCR.js,sha256=ljFRTUNONzoDwSXbGg4XOPHzGVJJgvJRHt0dYlS7388,6023316
37
37
  hardpy/hardpy_panel/frontend/dist/assets/index-DLOviMB1.js,sha256=sI0W1vvwqvIwKP2_jglrwOhej3n5rJD72-d4ZhlUHqM,285612
38
38
  hardpy/hardpy_panel/frontend/dist/assets/index-DN3Ur-pw.css,sha256=YK8qZP_lqbEIQnwB37MuRXDMPr_n_sQUx09yXvA2S4o,315426
39
39
  hardpy/hardpy_panel/frontend/dist/assets/logo_smol-CK3jE85c.png,sha256=E4K7drvhJCg9HcTpRihOXZhVJVBZ7-W97Se-3tDb46o,14485
40
- hardpy/hardpy_panel/frontend/dist/assets/splitPathsBySizeLoader-CfM4kXSA.js,sha256=x2C21BLoDZkmsUpP4QjwCGUpXU4-n04I_Qw4VzH0W5c,472
40
+ hardpy/hardpy_panel/frontend/dist/assets/splitPathsBySizeLoader-BPAObw1D.js,sha256=I-Se3KiTy6vsKSaXKReDYDWH2OUEtST9GWz-3L68E8k,472
41
41
  hardpy/hardpy_panel/frontend/dist/locales/cs/translation.json,sha256=kCSbBWfQQ6lrVKlOeByXAhAoG5bBxrxf7-PTvvQgR2M,2964
42
42
  hardpy/hardpy_panel/frontend/dist/locales/de/translation.json,sha256=wZRO5iz8VvaEjACSWHJNjjKerd8YcPo7gpziCpjfF1Q,3073
43
43
  hardpy/hardpy_panel/frontend/dist/locales/en/translation.json,sha256=_vsAG4aOto5C-xiCQK0zip02u6f9wHr-T_BRr_DUdTo,2776
@@ -75,13 +75,13 @@ hardpy/pytest_hardpy/result/report_synchronizer/__init__.py,sha256=QezaT_Yk8Lrci
75
75
  hardpy/pytest_hardpy/result/report_synchronizer/synchronizer.py,sha256=r26sfyf__HiYlC385D4Vc3gYNl46jlAc86CaasLzckg,5379
76
76
  hardpy/pytest_hardpy/utils/__init__.py,sha256=zHln8ySBHesYAwYatLYkHol5TuuTTNOqrsMP7ONFEG0,1338
77
77
  hardpy/pytest_hardpy/utils/const.py,sha256=xS3jBrW_D6IUTlAjSnLiHvSthieRHCj3uN_6fFAXS0w,1832
78
- hardpy/pytest_hardpy/utils/dialog_box.py,sha256=eCLGQ-Z8rDPd_8ABHRtbkd7piSZcJoG-bCBmnyq29Pw,11375
78
+ hardpy/pytest_hardpy/utils/dialog_box.py,sha256=Cj8b7Ry8m-ffEqfZwivsvnooQ_shvNbNNVRaVgVjtGQ,11518
79
79
  hardpy/pytest_hardpy/utils/exception.py,sha256=1l2VBZLUnjPDoOs744MtaP7Y9FuXUq7koSdH2Eo31nk,1042
80
80
  hardpy/pytest_hardpy/utils/machineid.py,sha256=6JAzUt7KtjTYn8kL9hSMaCQ20U8liH-zDT9v-5Ch7Q8,296
81
81
  hardpy/pytest_hardpy/utils/node_info.py,sha256=DaW566WvsyWR66CThuZ38UoHwQa-pu-4WRLg61OXDnE,7134
82
82
  hardpy/pytest_hardpy/utils/progress_calculator.py,sha256=TPl2gG0ZSvMe8otPythhF9hkD6fa6-mJAhy9yI83-yE,1071
83
- hardpy-0.20.1.dist-info/METADATA,sha256=4g2wXwyOttcMt7QZ0DDy_IDrEHr0Q71bb5gARZC7lFo,5506
84
- hardpy-0.20.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
85
- hardpy-0.20.1.dist-info/entry_points.txt,sha256=nL2sMkKMScNaOE0IPkYnu9Yr-BUswZvGSrwY-SxHY3E,102
86
- hardpy-0.20.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
87
- hardpy-0.20.1.dist-info/RECORD,,
83
+ hardpy-0.21.0.dist-info/METADATA,sha256=12kd6KZyfmQWHRZt31TUXUJ_Wb-2e8FZAB7IMsIQjpI,5506
84
+ hardpy-0.21.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
85
+ hardpy-0.21.0.dist-info/entry_points.txt,sha256=nL2sMkKMScNaOE0IPkYnu9Yr-BUswZvGSrwY-SxHY3E,102
86
+ hardpy-0.21.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
87
+ hardpy-0.21.0.dist-info/RECORD,,